Fetch a single node by ID.
(node_id: str)
| 151 | |
| 152 | |
| 153 | def get_node(node_id: str) -> dict | None: |
| 154 | """Fetch a single node by ID.""" |
| 155 | graph = _load() |
| 156 | return graph["nodes"].get(node_id) |
| 157 | |
| 158 | |
| 159 | def get_subgraph(node_ids: list[str]) -> dict: |