Expand description
PatternGraph: typed container for nodes, relationships, walks, and annotations.
Ported from Pattern.PatternGraph in the Haskell reference implementation.
Patterns are routed into six typed collections by a GraphClassifier.
Duplicate identities are resolved via ReconciliationPolicy.
Structs§
- Pattern
Graph - Materialized graph container with six typed collections, each keyed by identity.
Functions§
- from_
pattern_ graph - Wraps a
PatternGraphin aGraphQuery<V>. - from_
patterns - Builds a graph from an iterable of patterns using
LastWriteWins. - from_
patterns_ with_ policy - Builds a graph from an iterable of patterns using the given policy.
- merge
- Inserts one pattern using
LastWriteWinspolicy. - merge_
with_ policy - Inserts one pattern using the given reconciliation policy.