Skip to content

Hierarchical graphs PR1: WorkItem drills into a Graph (schema + queries)#59

Merged
mvalancy merged 1 commit into
developfrom
feat/hierarchical-graphs-pr1
Jun 14, 2026
Merged

Hierarchical graphs PR1: WorkItem drills into a Graph (schema + queries)#59
mvalancy merged 1 commit into
developfrom
feat/hierarchical-graphs-pr1

Conversation

@mvalancy

Copy link
Copy Markdown
Member

First slice of the Altium-style "graphs of graphs" feature (see approved plan).

A WorkItem can now be a sheet symbol that drills into a sub-graph:

  • neo4j-schema.ts: WorkItem.subgraph (DRILLS_INTO → Graph) + denormalized subgraphId scalar; inverse Graph.drillSources. Additive — no Neo4j data migration; existing nodes resolve null.
  • queries.ts: fetch subgraphId + subgraph { id name nodeCount edgeCount type }.
  • types/graph.ts: WorkItem gains the optional fields.

No behavior change yet — navigation (PR3) and seed data (PR2) build on this.

Verified: GraphQL exposes the fields (null for existing nodes), THE GATE 5/5, web+server typecheck clean.

🤖 Generated with Claude Code

First slice of Altium-style "graphs of graphs": a WorkItem can be a sheet
symbol that drills into a sub-graph.

- neo4j-schema.ts: WorkItem.subgraph (DRILLS_INTO -> Graph) + denormalized
  subgraphId scalar; inverse Graph.drillSources. Additive, no data migration.
- queries.ts: fetch subgraphId + subgraph{ id name nodeCount edgeCount type }
  in GET_WORK_ITEMS / GET_WORK_ITEM_BY_ID.
- types/graph.ts: WorkItem gains subgraphId? + subgraph? summary.

Verified: GraphQL exposes the fields and returns null for existing nodes;
THE GATE 5/5; web + server typecheck clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🧪 Comprehensive Test Suite

  • Unit suites (Node 18.x & 20.x) — core, web, server, mcp-server: ✅ passed
  • Installer & deploy config: ✅ passed

Full-stack smoke gate runs in the CI workflow.

@mvalancy mvalancy merged commit 583ea3f into develop Jun 14, 2026
16 checks passed
@mvalancy mvalancy deleted the feat/hierarchical-graphs-pr1 branch June 14, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant