Skip to content

feat: merge close same-net trace segments#327

Open
Havarry wants to merge 13 commits into
tscircuit:mainfrom
Havarry:patch-2
Open

feat: merge close same-net trace segments#327
Havarry wants to merge 13 commits into
tscircuit:mainfrom
Havarry:patch-2

Conversation

@Havarry
Copy link
Copy Markdown

@Havarry Havarry commented May 13, 2026

Closes #29

/claim #29

Clean resubmission with the final target diff rebased from upstream main.

Summary

  • merge close collinear same-net trace segments inside TraceSegmentMergingSolver
  • integrate the merging solver into the schematic trace pipeline
  • add a regression test for adjacent same-net segments and refresh example snapshots

Verification

  • npx bun test
  • npx tsc --noEmit

Havarry added 13 commits May 13, 2026 12:24
Integrate same-net trace segment merging into the schematic trace pipeline.
Merge close collinear trace segments that belong to the same net.
Added tests for the TraceSegmentMergingSolver to verify merging behavior for close trace segments on the same net and ensuring no merging occurs on different nets.Add regression coverage for merging adjacent same-net trace segments.
Refresh SVG output after same-net trace segment merging.
…mple02.snap.svg snapshot

Refresh SVG output after same-net trace segment merging.
…3.snap.svg snapshot

Refresh SVG output after same-net trace segment merging.
Refresh SVG output after same-net trace segment merging.
Refresh SVG output after same-net trace segment merging.
Refresh SVG output after same-net trace segment merging.
Refresh SVG output after same-net trace segment merging.
Refresh SVG output after same-net trace segment merging.
…27.snap.svg snapshot

Refresh SVG output after same-net trace segment merging.
…9.snap.svg snapshot

Refresh SVG output after same-net trace segment merging.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

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

Project Deployment Actions Updated (UTC)
schematic-trace-solver Ready Ready Preview, Comment May 13, 2026 4:31am

Request Review

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.

New Phase To combine same-net trace segments that are close together

1 participant