Node

class Node()

Node interface.

interface

Node.dynamicTemplate?

type: string

The id of the dynamic node template to use for this node.

Node.height?

type: number

An optional node height. Attribute is used by resize manager.

Node.id

type: string|number

Unique identifier.

Node.type?

type: string

Node type. Can be used for styling.

Node.width?

type: number

An optional node width. Attribute is used by resize manager.

Node.x

type: number

X coordinate of Node(center).

Node.y

type: number

Y coordinate of Node(center).

NodeMovementInformation

class NodeMovementInformation()

Interface storing all informatein needed when moving a node.

interface

NodeMovementInformation.children?

type: Set<string>

The affected children that need to move with the node.

NodeMovementInformation.needsFullRender?

type: boolean

Flag, true if the next render should be a complete render instead of only updating positions. Reset after render.

NodeMovementInformation.node

type: Node

The node to be moved.

NodeMovementInformation.offset?

type: RotationVector

The initial offset from the movement start position to the node.