Tree: Legend by the pan/zoom hint + clickable ×N duplicate badges #248
Reference in New Issue
Block a user
Delete Branch "tree-legend-and-duplicate-flash"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Prompted by "why do some people show ×2".
×Nbadge (the same person drawn N times because they connect through more than one line — a shared ancestor or intermarriage), the gender card colors, and the pan/zoom/recenter controls.×N— the badge now reads as clickable (cursor + hover), and clicking it flashes every copy of that person in the view (a bronze outline pulse) so you can spot where else they appear. Delegated on the chart container, matching the d3-bound person id across cards; capture-phase +stopPropagationso a badge click flashes instead of recentering.Frontend only, type-checks clean. Honest follow-up: the flash finds on-screen copies; a true "fly to an off-screen copy" needs d3-zoom transform work (the chart pans by transform, not scroll).
🤖 Generated with Claude Code