Function graphlang::match_subgraph
source · [−]pub fn match_subgraph<I: Index, NL: Label, EL: Label>(
graph: &Graph<I, NL, EL>,
subgraph: &Graph<I, NL, EL>
) -> Option<Isomorphism<I>>
Expand description
Tries to find an partial isomorphism from subgraph
to graph
. subgraph
can be a
disconnected graph. If None
is returned if there is no mapping.