pub fn from_pattern_graph<Extra, V>(
classifier: &GraphClassifier<Extra, V>,
graph: &PatternGraph<Extra, V>,
) -> GraphView<Extra, V>Expand description
Builds a GraphView from an existing PatternGraph and classifier.
The view’s query is built from the graph (shared ownership via Rc/Arc).
view_elements contains every element in the graph classified by the
given classifier, in an unspecified but stable order.