Skip to content

EnhancedBaseEdge

EnhancedBaseEdge(__namedParameters): Element

Drop-in replacement for xyflow’s <BaseEdge> that paints a transparent thicker stroke underneath the visible path. The transparent overlay widens the edge’s hover / click target without altering its visual appearance — useful for thin edges that would otherwise be hard to grab.

Use it inside a custom edge component the same way you’d use BaseEdge.

BaseEdgeProps

Element