feat(edges): add interactionWidth option #1580 #1114

This commit is contained in:
moklick
2022-09-07 17:43:36 +02:00
parent 7a96817114
commit 51e957e5db
10 changed files with 62 additions and 61 deletions
+5 -3
View File
@@ -81,9 +81,10 @@ const edges: Edge[] = [
markerEnd: {
type: MarkerType.ArrowClosed,
},
options: {
pathOptions: {
offset: 30,
},
interactionWidth: 0,
},
{
id: 'e3-4',
@@ -93,9 +94,10 @@ const edges: Edge[] = [
markerEnd: {
type: MarkerType.ArrowClosed,
},
options: {
pathOptions: {
borderRadius: 2,
},
interactionWidth: 0,
},
{
@@ -121,7 +123,7 @@ const edges: Edge[] = [
const defaultEdgeOptions = {
style: {
strokeWidth: 2,
strokeWidth: 1,
},
};