Skip to content

Fix: Restore diagram layout quality (arrow spacing, overlaps)#66

Merged
phranck merged 1 commit into
mainfrom
fix/diagram-polish
Jul 22, 2026
Merged

Fix: Restore diagram layout quality (arrow spacing, overlaps)#66
phranck merged 1 commit into
mainfrom
fix/diagram-polish

Conversation

@phranck

@phranck phranck commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • Shared style defaults for all DocC diagrams: subtle semi-transparent edges, smaller arrow heads, and node outsets so arrows keep clear distance from nodes (matching the original diagram feel)
  • render-cycle-dispatch: rebuilt on an integer grid — fractional coordinates bypassed fletcher's cell auto-sizing and caused overlapping nodes; decisions, outcomes, and example boxes now sit in cleanly separated rows
  • keyboard-event-dispatch: consumed edges routed as an orthogonal bus so labels no longer collide with the second focus gate
  • More generous row spacing in the pipeline and keyboard diagrams

Test plan

  • All three diagrams rebuilt via scripts/diagrams/build-diagrams.sh and visually verified (no overlaps, arrows detached from nodes, labels legible)

🤖 Generated with Claude Code

- Add shared diagram defaults: thinner semi-transparent edges, smaller
  arrow heads, and a node outset so arrows keep visible distance from
  every node
- Rebuild the dispatch diagram on an integer grid (fractional cells
  bypassed fletcher's auto-sizing and caused node overlaps); both
  decisions share one row, outcomes and examples get separated rows
- Route the keyboard diagram's consumed edges as an orthogonal bus on
  the right so labels no longer collide with gates or other edges
- Give the pipeline and keyboard diagrams more row spacing
@phranck
phranck merged commit f17fbae into main Jul 22, 2026
6 checks passed
@phranck
phranck deleted the fix/diagram-polish branch July 22, 2026 10:50
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