Expand description
GraphView: a universal view over a classified graph.
Ported from Pattern.Graph.GraphView in the Haskell reference implementation.
A GraphView pairs a GraphQuery (read-only query interface) with a flat
list of classified elements. All graph transformations operate over GraphView
and produce a new GraphView; only materialize converts back to PatternGraph.
Structs§
- Graph
View - A universal graph-like interface: a query over the graph plus a list of classified elements.
Functions§
- from_
graph_ lens - Builds a
GraphViewfrom aGraphLens. - from_
pattern_ graph - Builds a
GraphViewfrom an existingPatternGraphand classifier. - materialize
- Consumes a
GraphViewand produces aPatternGraph.