Skip to content

LAYOUT-4: pure hierarchy-aware layout module (#30 phase 1)#115

Merged
mvalancy merged 1 commit into
devfrom
feat/structured-layout
Jun 18, 2026
Merged

LAYOUT-4: pure hierarchy-aware layout module (#30 phase 1)#115
mvalancy merged 1 commit into
devfrom
feat/structured-layout

Conversation

@mvalancy

Copy link
Copy Markdown
Member

Foundation for #30 (structured layout): pure, unit-tested layering math — assignLayersByDependencyDirection (longest-path topological by DEPENDS_ON, cycle-safe), computeLayerYPositions, isHierarchicalLayout. Test-first, 9/9. Simulation wiring (hierarchical toggle) is phase 2, sequenced after the in-flight graph PRs merge.

🤖 Generated with Claude Code

Foundation for an optional structured (hierarchical) layout: pure, unit-tested
layout math — assignLayersByDependencyDirection (longest-path topological
layering by DEPENDS_ON, cycle-safe), computeLayerYPositions (spread layers
top→bottom in the viewport), isHierarchicalLayout (mode gate). No D3/DOM.

Test-first: layoutAlgorithms.test.ts 9/9. Simulation wiring (a 'hierarchical'
toggle that seeds layer Y) is phase 2 — touches InteractiveGraphVisualization,
sequenced after the in-flight graph PRs merge.

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 40e372d into dev Jun 18, 2026
16 checks passed
@mvalancy mvalancy deleted the feat/structured-layout branch June 18, 2026 15:04
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