|
This function splits a node. First a new node is added to the graph, then the source of each outgoing edge of n is moved to this new node. If connect is true (this is the default value), then a new edge from n to the newly created node is also added. - Returns:
- The newly created node.
- Note:
- The
Edge s referencing a moved edge remain valid. However InEdge 's and OutEdge 's may be invalidated.
- Warning:
- This functionality cannot be used together with the Snapshot feature.
- Todo:
- It could be implemented in a bit faster way.
|