Expand description
The vault graph view (C0 1.9, section 3).
GET /v1/vaults/{vault_id}/graph?revision= → GraphV1 (right
knowledge.read): one released revision’s knowledge as typed nodes and
edges, for the web view and for engines that link it to their code graph.
Hive derives it from the document, the anchors, the tasks and the
contribution credits; nobody writes it.
With a published code graph (section 8, code_graph full, clear
vaults) the code nodes and their contains|imports|calls edges come
from it as well.
Node ids are typed so they never collide: fact:<fact id>,
page:<page id>, code:<path> or code:<path>#<symbol>,
task:<number>, proposal:<number>, actor:<label>.
Structs§
Enums§
Constants§
- GRAPH_
EDGE_ TYPES - Edge types: the document’s relation types between facts
(
knowledge::RELATION_TYPES), plus the derived ones. - GRAPH_
SCHEMA - MAX_
GRAPH_ EDGES - MAX_
GRAPH_ NODES