Skip to content

fix: keep edge labels clear, slow the flow with a speed control, and open delivered diagrams - #38

Merged
hyamero merged 6 commits into
stagingfrom
fix/labels-flow-speed-open
Oct 2, 2026
Merged

hyamero merged 6 commits into
stagingfrom
fix/labels-flow-speed-open

Conversation

@hyamero

@hyamero hyamero commented Oct 2, 2026

Copy link
Copy Markdown
Member

Three fixes from using the 0.1.0 skill on a real diagram.

  • Labels no longer overlap (fix(layout)). Full-card layouts never placed their edge labels: the viewer put each one at its route's midpoint, so routes sharing a trunk stacked their labels, and some landed on cards. Every layout now places labels clear of cards, other labels and other edges' lines. A label whose midpoint was already clear stays where it was, so diagrams that looked right don't move. A new test checks every shipped example (samples, archify gallery, skill and site examples); it found 21 failures before the fix.
  • Calmer flow and a speed control (feat(viewer)). Flow timing is 1.5× slower by default. Pulse speed only ever followed drawn edge length; diagrams carry no real timing. While the flow plays, a button beside Play cycles 1×, 2× and 0.5× (also when presenting). The speed is kept in the link as speed=, and video export records at it.
  • Delivered diagrams open (feat(cli)). deliver --open opens the viewer in the default browser (open, xdg-open, start). When no browser opens it warns and still exits 0. The skill now delivers with --open.

Docs: the site's viewer and CLI pages and the README cover the speed control, the speed link parameter and --open.

Labels moved a few pixels in the workflow and lifecycle samples, so the Linux visual baselines need regenerating. A follow-up commit on this branch will update them from CI's update-visual run.

@vercel

vercel Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
stackmap-site Ready Ready Preview Oct 2, 2026 7:32am UTC

@hyamero
hyamero merged commit 2030fdb into staging Oct 2, 2026
7 checks passed
@hyamero
hyamero deleted the fix/labels-flow-speed-open branch October 2, 2026 07:35
@hyamero hyamero mentioned this pull request Oct 2, 2026
@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.2.0-rc.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

This branch was successfully deployed

1 active deployment
Preview — 8161a8da Deployed Oct 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant