Skip to content

Fixes #15: deterministic layout for decoupling caps & dependency bumps#109

Open
EmptyPokerCards wants to merge 2 commits into
tscircuit:mainfrom
EmptyPokerCards:patch-1
Open

Fixes #15: deterministic layout for decoupling caps & dependency bumps#109
EmptyPokerCards wants to merge 2 commits into
tscircuit:mainfrom
EmptyPokerCards:patch-1

Conversation

@EmptyPokerCards
Copy link
Copy Markdown

@EmptyPokerCards EmptyPokerCards commented May 25, 2026

Fixes #15.
This PR implements a deterministic layout algorithm for decoupling capacitors. It calculates the correct stacking direction and automatically rotates the capacitors by 90 degrees if necessary to place them perfectly side-by-side (edge-sliding placement), matching the official layout guidelines.

As a bonus, this PR also updates tscircuit and circuit-to-svg in package.json to their latest versions to fix a SyntaxError: Export named 'convertCircuitJsonToSchematicSimulationSvg' not found which was breaking your IdentifyDecouplingCapsSolver06.test.ts test suite.

/claim #15

@vercel
Copy link
Copy Markdown

vercel Bot commented May 25, 2026

@EmptyPokerCards is attempting to deploy a commit to the tscircuit Team on Vercel.

A member of the Team first needs to authorize it.

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.

Specialized Layout for Decoupling Capacitors

1 participant