macro_rules! filter_pattern {
($graph:expr, node_pattern: $node_pattern:pat, edge_pattern: $edge_pattern:pat) => { ... };
($graph:expr, node_pattern: $node_pattern:pat) => { ... };
($graph:expr, edge_pattern: $edge_pattern:pat) => { ... };
}
Expand description
Filters nodes and edges based on the provided patterns.