Skip to main content

Module query

Module query 

Source
Expand description

Query primitives.

Two builder structs (NodeQuery, EdgeQuery) plus a small traverse function for breadth-first walks. The query language is intentionally tiny; the goal is to expose composable predicates rather than to reinvent Cypher / Gremlin.

Structs§

EdgeQuery
Filter for Edges incident to a given node.
NodeQuery
Filter for Nodes.

Enums§

EdgeDirection
Edge direction relative to an anchor node.

Functions§

traverse
Breadth-first traversal that walks edges matching edge_label outward from start, returning every node reached within max_depth.