Skip to content

feat: highlight all connected traces on hover#172

Open
RyanmartinCRE wants to merge 1 commit intotscircuit:mainfrom
RyanmartinCRE:main
Open

feat: highlight all connected traces on hover#172
RyanmartinCRE wants to merge 1 commit intotscircuit:mainfrom
RyanmartinCRE:main

Conversation

@RyanmartinCRE
Copy link
Copy Markdown

/claim #1130

This PR implements trace hover highlighting that shows all connected traces on the same net when hovering over any trace.

Features

  • Highlights all traces connected to the same net on hover
  • Dims unconnected traces for better visual clarity
  • Uses brightness and saturation filters for highlighting
  • Efficient net group caching for performance

Implementation

  • Added useTraceHoverHighlight hook in lib/hooks/useTraceHoverHighlight.ts
  • BFS traversal to find all connected source traces
  • MutationObserver to handle dynamic SVG updates

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 6, 2026

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

Project Deployment Actions Updated (UTC)
schematic-viewer Ready Ready Preview, Comment Apr 6, 2026 5:59pm

Request Review

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.

1 participant