chore(base-edge): wider default interaction width
This commit is contained in:
@@ -14,7 +14,7 @@ const BaseEdge = ({
|
|||||||
style,
|
style,
|
||||||
markerEnd,
|
markerEnd,
|
||||||
markerStart,
|
markerStart,
|
||||||
interactionWidth = 15,
|
interactionWidth = 20,
|
||||||
}: BaseEdgeProps) => {
|
}: BaseEdgeProps) => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
@@ -26,7 +26,7 @@ const BaseEdge = ({
|
|||||||
markerEnd={markerEnd}
|
markerEnd={markerEnd}
|
||||||
markerStart={markerStart}
|
markerStart={markerStart}
|
||||||
/>
|
/>
|
||||||
{interactionWidth && <path d={path} fill="none" strokeWidth={interactionWidth} />}
|
{interactionWidth && <path d={path} fill="none" strokeOpacity={0} strokeWidth={interactionWidth} />}
|
||||||
{label ? (
|
{label ? (
|
||||||
<EdgeText
|
<EdgeText
|
||||||
x={centerX}
|
x={centerX}
|
||||||
|
|||||||
Reference in New Issue
Block a user