Custom Edge with marker-end Arrow #1757
-
Hi, I am having difficulties to create a custom edge with an arrow as the marker-end. I have forked the codesandbox template and just changed a single line, expecting this to work: The line I have changed is in <BaseEdge :path="path[0]" :marker-end="MarkerType.ArrowClosed" /> I have browsed the discussions here, but could not find a good answer to this problem. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You're not using the There's an example on how to customize markers in the docs right here. |
Beta Was this translation helpful? Give feedback.
You're not using the
markerEnd
property correctly.<BaseEdge>
expects a string that represents a reference to a marker, for exampleurl(#marker-id)
There's an example on how to customize markers in the docs right here.