Skip to content

Rotate vertical inline net labels in the debug visualization - #794

Merged
seveibar merged 1 commit into
mainfrom
inline-label-viz-rotation
Aug 8, 2026
Merged

Rotate vertical inline net labels in the debug visualization#794
seveibar merged 1 commit into
mainfrom
inline-label-viz-rotation

Conversation

@seveibar

@seveibar seveibar commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #792. A vertical trace's inline label was drawn horizontally across the wire in visualize() output — flagged during review:

before after
SPI_SCK lying across the vertical wire SPI_SCK reading bottom-to-top alongside it

vertical inline label rotated along the wire

graphics-debug texts support rotation as of 0.0.98 (graphics-debug#228), so visualize() passes rotation: 90 (counter-clockwise, bottom-to-top) for y-axis labels, and the devDependency is bumped ^0.0.96^0.0.98.

Only the debug visualization changes — solver output (inlineNetLabelPlacements) is untouched. One snapshot regenerated. bun test: 174 pass / 0 fail against the published package. Typecheck clean.

Note: independent of #793 (overhang sliding); the two touch different code and can merge in either order.

🤖 Generated with Claude Code

A vertical trace's inline label was drawn horizontally across the wire in
visualize() output. graphics-debug texts now support rotation, so pass 90
(counter-clockwise, bottom-to-top) for y-axis labels.

Needs graphics-debug with Text.rotation (tscircuit/graphics-debug#228);
the devDependency bump lands here once that releases.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 8, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
schematic-trace-solver Ready Ready Preview Aug 8, 2026 7:48pm

Request Review

@seveibar
seveibar merged commit 65300d1 into main Aug 8, 2026
5 checks passed
@seveibar
seveibar deleted the inline-label-viz-rotation branch August 8, 2026 21:56
@tscircuitbot

Copy link
Copy Markdown
Contributor

Thank you for your contribution! 🎉

PR Rating:
Impact: Tiny

Track your contributions and see the leaderboard at: tscircuit Contribution Tracker


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.

2 participants