Skip to content

Highlight connected schematic traces on hover#210

Open
atukunare wants to merge 3 commits into
tscircuit:mainfrom
atukunare:main
Open

Highlight connected schematic traces on hover#210
atukunare wants to merge 3 commits into
tscircuit:mainfrom
atukunare:main

Conversation

@atukunare
Copy link
Copy Markdown

Summary

  • add a hover hook that groups schematic traces by connected source ports/nets
  • apply a shared hover class to every trace in the same connected group
  • wire the hook into SchematicViewer so hovering one trace highlights the full connected net

Fixes tscircuit/tscircuit#1130

Testing

  • git diff --check
  • not run: full package checks require installing project dependencies, which was blocked in this environment

atukunare added 2 commits May 22, 2026 05:12
Call the connected-trace hover hook from the schematic viewer.
Group schematic traces by their source trace net connections and highlight the whole group on hover.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

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

Project Deployment Actions Updated (UTC)
schematic-viewer Ready Ready Preview, Comment May 21, 2026 9:20pm

Request Review

Wrap querySelectorAll results with Array.from so TypeScript can iterate them under this project configuration.
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.

Change of color on hover for traces are missing

1 participant