petgraph
petgraph copied to clipboard
Feature Request: filter_map for GraphMap
Summary
Add the filter_map function to the GraphMap type
Motivation
filter_map is a simple way to filter nodes and edges from Graph and StableGraph, but seems missing from GraphMap.
Details
- What code needs to change? New traits? Which modules?
Sorry I'm not sure.
Ok I created a solution here #703
@mark-addams001881 thanks for your solution. It wasn't quite right, so I didn't use it.