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
@@ -21,6 +21,7 @@ const SmoothStepEdge: FunctionalComponent<SmoothStepEdgeProps> = function ({
borderRadius,
offset,
style,
pointerRadius,
}) {
const [path, labelX, labelY] = getSmoothStepPath({
sourceX,
@@ -46,6 +47,7 @@ const SmoothStepEdge: FunctionalComponent<SmoothStepEdgeProps> = function ({
style,
markerEnd,
markerStart,
pointerRadius,
})
}
@@ -67,6 +69,7 @@ SmoothStepEdge.props = [
'markerEnd',
'markerStart',
'style',
'pointerRadius',
]
SmoothStepEdge.inheritAttrs = false