yasmin_editor.editor_gui.connection.groups module

Grouping helpers for connection lines that share endpoints.

yasmin_editor.editor_gui.connection.groups.get_direction_group(connection: ConnectionLine) List[ConnectionLine]

Return all connections with the same source and target nodes.

yasmin_editor.editor_gui.connection.groups.get_opposite_direction_group(connection: ConnectionLine) List[ConnectionLine]

Return all connections running in the opposite direction.

yasmin_editor.editor_gui.connection.groups.get_self_loop_group(connection: ConnectionLine) List[ConnectionLine]

Return all self-loop connections on the source node.