Skip to content

[agent] feat: add net-based trace hover highlighting#221

Open
royliz3090-jpg wants to merge 1 commit into
tscircuit:mainfrom
royliz3090-jpg:feat/trace-hover-highlighting
Open

[agent] feat: add net-based trace hover highlighting#221
royliz3090-jpg wants to merge 1 commit into
tscircuit:mainfrom
royliz3090-jpg:feat/trace-hover-highlighting

Conversation

@royliz3090-jpg

Copy link
Copy Markdown

Description

This PR implements trace hover highlighting in the schematic viewer.
When a user hovers over a trace, all traces belonging to the same net are highlighted with a blue color and increased stroke width.

This was achieved by:

  1. Adding a new SchematicTraceMouseTarget component to detect hover events on traces.
  2. Updating SchematicViewer to manage hoveredNetId state and apply dynamic CSS styles to highlight connected traces.

/claim #1130

@vercel

vercel Bot commented Jun 6, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
schematic-viewer Ready Ready Preview, Comment Jun 6, 2026 4:33pm

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