Custom marker ends & starts? #807
-
Hi. I use custom edge via <template #edge-…="props">
<BaseEdge :id="…" :path="…" :marker-end="…" :marker-start="…"/>
</template> It automatically renders defs for markers (in The problem is that it includes Is there any way to inject or define |
Beta Was this translation helpful? Give feedback.
Answered by
bcakmakoglu
Mar 28, 2023
Replies: 1 comment 4 replies
-
You'll have to add your own marker defs to your component. Some thing like <svg :style="{ position: 'absolute', top: 0, left: 0 }">
<defs>
<marker
id="logo"
viewBox="0 0 40 40"
markerHeight="20"
markerWidth="20"
refX="20"
refY="40"
>
<!-- marker here -->
...
<VueFlow ...> ...</VueFlow> |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
shsmad
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You'll have to add your own marker defs to your component.
Some thing like