Class: Node

Graph.Node

new Node(x, y, id)

Represents a graph node
Parameters:
Name Type Description
x number the horizontal position
y number the vertical position
id number a unique id
Source:

Methods

getInEdges()

Incoming edges of the node.
Source:
Returns:
[Graph.Edge]

getOutEdges()

Outgoing edges of the node.
Source:
Returns:
[Graph.Edge]

toString(full, fopt)

Returns a string representation of this node together with its resources
Parameters:
Name Type Attributes Description
full boolean wheater to include the id
f function <optional>
optional resource accessor function
Source: