Skip to content

feat(sdk): edge template prop#28

Open
kacpercierzniewski wants to merge 5 commits into
mainfrom
WB-220-edge-template-prop
Open

feat(sdk): edge template prop#28
kacpercierzniewski wants to merge 5 commits into
mainfrom
WB-220-edge-template-prop

Conversation

@kacpercierzniewski
Copy link
Copy Markdown
Contributor

No description provided.

kacpercierzniewski and others added 5 commits June 3, 2026 09:46
The demo custom edge painted a fixed stroke, so it didn't highlight on
select/hover like the built-in edges — a misleading reference. Delegate
styling to the SDK's exported useLabelEdgeHover (the same hook LabelEdge
uses), keeping only strokeDasharray on top. Selected/hover now match the
built-in edge while the edge stays visually dashed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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