* Lightweight (nodes, edges) count snapshot. Used around an index/sync * run to compute true additions across extraction + resolution + * synthesis — the per-phase counter in the orchestrator only sees * extraction's contribution, which is why the CLI summary under-reported * the edge co
()
| 2793 | * the edge count (resolution + synthesizer edges were invisible). |
| 2794 | */ |
| 2795 | getNodeAndEdgeCount(): { nodes: number; edges: number } { |
| 2796 | return this.db |
| 2797 | .prepare('SELECT (SELECT COUNT(*) FROM nodes) AS nodes, (SELECT COUNT(*) FROM edges) AS edges') |
| 2798 | .get() as { nodes: number; edges: number }; |
| 2799 | } |
| 2800 | |
| 2801 | /** |
| 2802 | * Get graph statistics |
no test coverage detected