Styled diagram node tooltips instead of native browser tooltip #67
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Problem
Node tooltips use SVG
<title>elements which render as plain browser-native tooltips. These are unstyled, have a delay before appearing, and look inconsistent across browsers.Expected
Replace
<title>with a custom styled tooltip that:Approach
Use a single tooltip
<div>positioned absolutely over the SVG canvas, updated on node hover viaonMouseEnter/onMouseLeavehandlers. No external tooltip library needed.Implemented in
7b9dc32. Replaced native<title>tooltips with styled HTML overlay positioned next to cursor. Shows node type (color-coded dot + uppercase label), full node label, and when overlay is active: execution status (OK/FAILED) and duration in ms.