Ask a question to get started
Enter to send•Shift+Enter new line
Find the single node that is not a target of any edge.
If there is no such node, or there are multiple, return None. When drawing the graph, this node would be the origin.
None
first_node( self, ) -> Node | None