Skip to content

feat: highlight connected schematic traces on hover#187

Open
zhangdaren7-byte wants to merge 2 commits into
tscircuit:mainfrom
zhangdaren7-byte:main
Open

feat: highlight connected schematic traces on hover#187
zhangdaren7-byte wants to merge 2 commits into
tscircuit:mainfrom
zhangdaren7-byte:main

Conversation

@zhangdaren7-byte
Copy link
Copy Markdown

Summary

  • add a hook that groups schematic traces by shared source trace, source net, source port, or subcircuit connectivity
  • highlight every connected schematic trace group on hover while preserving trace crossing outline behavior

Testing

  • npm exec -- biome check lib/hooks/useHighlightConnectedSchematicTraces.ts lib/components/SchematicViewer.tsx
  • npm exec -- tsc --noEmit
  • npm exec -- tsup-node ./lib/index.ts --dts --format esm --sourcemap

Fixes tscircuit/tscircuit#1130

@vercel
Copy link
Copy Markdown

vercel Bot commented May 11, 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 11, 2026 3:16pm

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.

Change of color on hover for traces are missing

1 participant