Ask a question to get started
Enter to send•Shift+Enter new line
Add all nodes and edges from another graph.
Note this doesn't check for duplicates, nor does it connect the graphs.
extend( self, graph: Graph, *, prefix: str = '' ) -> tuple[Node | None, Node | None]
graph
Graph
The graph to add.
prefix
str
''
The prefix to add to the node ids.