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