Skip to content

Reproduce off-wire inline label attachment points - #1344

Merged
MustafaMulla29 merged 6 commits into
mainfrom
repro/inline-label-wire-anchors
Oct 21, 2026
Merged

MustafaMulla29 merged 6 commits into
mainfrom
repro/inline-label-wire-anchors

Conversation

@MustafaMulla29

@MustafaMulla29 MustafaMulla29 commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Reproduce inline attachment points falling off bent wires in core's existing TB67S579FTG breakout. Only J4's schematic position changes, from (7, -0.4) to (4.6, 0.5); the captured solver input retains the original components and connections.

The test generates an overview and a close-up of OUT_A_P / OUT_B_P. Dashed boxes show the solver's actual text bounds, and blue dots show its returned anchorPoint. On the current implementation, both dots are 0.1 mm off their wires. The guides use graphics-debug only in the test and do not change routing or placement.

The repro also includes a vertical layout of the same TB67 circuit, captured from a layout variant of core's existing repro-tb67s579ftg-inline-net-labels.test.tsx circuit. Components and connections are unchanged; normal schematic layout props place the pin rows at the top/bottom and J4 above U1. Open repro-core-tb67s579ftg-vertical-inline-label-attachments-detail.snap.svg: both blue attachment points are 0.1 mm off their wires before the fix.

This PR records the current behavior and passes without the fix. It adds the regression tests, captured inputs, and snapshots without changing the solver implementation. The fix in #1339 will be stacked on this branch, adding on-wire assertions and updating these same snapshots so reviewers can see the points move onto the wires while the text boxes stay in place.

Validation: the repro test and bunx tsc --noEmit pass on the unmodified solver implementation.

Straight vertical terminal coverage: repro-core-tb67s579ftg-vertical-inline-label-attachments-straight-stub.snap.svg shows AGC_OUT from that same captured input, with the text bounds and attachment point. Its attachment is already on the straight wire on main, so this snapshot is unchanged by #1339.

@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
schematic-trace-solver Ready Ready Preview Oct 21, 2026 10:34am UTC

Request Review

@MustafaMulla29
MustafaMulla29 merged commit d28bffd into main Oct 21, 2026
5 of 6 checks passed
@MustafaMulla29
MustafaMulla29 deleted the repro/inline-label-wire-anchors branch October 21, 2026 10:36
@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


This branch was successfully deployed

1 active deployment
Preview — f122300e Deployed Oct 21, 2026 by vercel[bot]
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