Adds a node in the graph.
Checks the integrity of the graph. All the arcs must have an existing head node.
True if the graph is correct, false otherwise.
Returns an instance of the copy of the current graph.
Returns the graph data of the graph.
The graph data.
Returns a node from the graph.
The node to return.
Returns all the nodes of the graph.
The graph nodes.
Checks if there is a node in the graph.
Removes a node from the graph.
Returns the number of the nodes of the graph.
The number of the graph nodes.
Generated using TypeDoc
The Graph class is a data structure that allow you to create a directed graph, in which to add, remove and modify nodes and arcs in constant time. Nodes and arcs are stored in maps.