Class: NodeGraph

NodeGraph()

new NodeGraph()

Node graph object should be used as a container for node elements. The node graph object specifies how the nodes are processed, each individual node can store and process data, the node graph specified how this information is processed. All node elements are stored as children of the node graph.
Source:

Methods

addNode(node) → {Node}

Create and add a new node of specific node type to the graph. Automatically finds an empty space as close as possible to other nodes to add this new node.
Parameters:
Name Type Description
node Node Node object to be added.
Source:
Returns:
Node created (already added to the graph).
Type
Node