See Graph.__init__ for more details.
A small usage example:
graph = skeleton.add_graph("a graph") node_1 = graph.add_node(position=(0, 0, 0), comment="node 1") node_2 = graph.add_node(position=(100, 100, 100), comment="node 2") graph.add_edge(node_1, node_2)
To create a graph, it is recommended to use
Group.add_graph. That way, the newly created graph is automatically
attached as a child to the object the method was called on.
Returns an numpy array with the positions of all nodes of this graph.
Returns the node in this graph with the requested id.
Adds a node to the graph. Apart from the mandatory
there are several optional parameters which can be used to encode
additional information. For example, the comment will be shown by the
Returns the highest node id.