feat(edges): add pointerRadius prop to edges

This commit is contained in:
braks
2022-11-13 08:42:06 +01:00
committed by Braks
parent c8c9daffb7
commit a4fd0ebda4
9 changed files with 32 additions and 1 deletions
@@ -20,6 +20,7 @@ const BezierEdge: FunctionalComponent<EdgeProps> = function ({
markerEnd,
markerStart,
style,
pointerRadius,
}) {
const [path, labelX, labelY] = getBezierPath({
sourceX,
@@ -44,6 +45,7 @@ const BezierEdge: FunctionalComponent<EdgeProps> = function ({
style,
markerEnd,
markerStart,
pointerRadius,
})
}
@@ -64,6 +66,7 @@ BezierEdge.props = [
'markerEnd',
'markerStart',
'style',
'pointerRadius',
]
BezierEdge.inheritAttrs = false