Ask a question to get started
Enter to send•Shift+Enter new line
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.
trim_last_node( self, ) -> None