Node Management Routes
This section documents the node management API endpoints.
backend.routes.nodes
Classes
Functions
set_node_nbh(user_id: str, graph_id: str, node_id: str, nbh: str)
Set the active morph (neighborhood) for a polynode. This determines which morph state the node is currently in.
Source code in backend/routes/nodes.py
get_node_registry(user_id: str)
Return the user's canonical node_registry.json for fast node lookup and autocomplete.
Source code in backend/routes/nodes.py
get_cross_graph_reuse_stats(user_id: str, graph_id: str)
Get statistics about cross-graph node reuse for a specific graph.