Repository navigation
DAG-aware canvas organization: convergence, crossing reduction and safe preview - #1060
Conversation
…s layout previews
dovvnloading
left a comment
There was a problem hiding this comment.
Merge-readiness review
Reviewed the nine changed files at 266046200e3825b0262bb69377386619d3bf9dec (DAG ranking, layout diagnostics, server preview/apply, client controls and transport, tests and documentation). No blocking findings. The opt-in DAG path preserves tree mode as the default, retains edges when breaking rank cycles, and includes the requested/effective style in the server-side preview fingerprint. Grouped and oversized scenes fall back to tree mode.
Validation: All four required CI jobs passed (Windows Python, frontend, wheel/build, POSIX); MCP Connect and scientific workbench Chromium jobs also passed. Playwright boot-smoke was skipped as expected for PR CI. Independently ran the exact two new Python modules (verified their Git blob hashes) with a lightweight SceneDocument/geometry test double: convergence, varied footprints, cycle priority, docking, edge preservation, crossing reduction (1→0), fallback bounds, diagnostic accuracy/caps, and 150 seeded randomized graphs passed checks for rank clearance, non-overlap, deterministic placement and unchanged edges. This is isolated testing, not a native desktop or full application walkthrough; a local repository clone was blocked by DNS. The PR is five commits behind current main, but the changed files do not overlap main’s intervening changes and GitHub reports it mergeable. No checks or branch protections were bypassed. Recording a review comment rather than self-approving because the connected account is the PR author.
Additional: measurable before/after graph quality
Implemented
Validation: This is a draft PR until CI and relevant local behavior checks pass. It is deliberately independent of the advanced chart engine in PR #1057 and does not claim full ELK-style compound routing yet.