Skip to content

Instantly share code, notes, and snippets.

@colllin
Last active February 12, 2024 18:36
Show Gist options
  • Save colllin/637f6d34a1e51512d7f27c702fb41e9a to your computer and use it in GitHub Desktop.
Save colllin/637f6d34a1e51512d7f27c702fb41e9a to your computer and use it in GitHub Desktop.
rustworkx issues / rough edges / room for improvement
- serialization/deserialization
- no node_index_map?
- subgraph resets node indices
- "add_nodes_from" should just be "add_nodes", same for add_edges_from
- compose accepts an edge map which prevents having multiple edges from one node in the main graph to multiple nodes in the added fragment.
- union should accept a merge predicate function to determine which nodes to merge, and/or the attrs of the merged node
-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment