Skip to main content

Module graph

Module graph 

Source
Expand description

The graph neighborhood macro (spec/surface/README.md §4): compiled to an OQX follow out_links collect { from dst } / follow in_links collect { from doc } walk over the link rows (3.0 follow-up: there are no out/in relations — dst is a link’s destination document, doc its source; an absent dst, an external or phantom target, contributes no successor) run through the shared runner and shaped into { documents, links, frontier }. Port of packages/core/src/mcp/graph.ts; nothing here walks the graph itself.

Structs§

GraphArgs
graph’s arguments.

Functions§

graph_neighborhood
Run the macro.