Ask a question to get started
Enter to sendā¢Shift+Enter new line
trim_last_node( self, ) -> None
Remove the last node if it exists and has a single incoming edge.
i.e., if removing it would not leave the graph without a "last" node.