Hello everybody!
I encountered a challenge while working with edges - i have multiple nodes connected to one node in one handle. At the end of edges i have arrowhead, and surprisingly each edge has its own ;P the problem is that when one of the edges changes color (to red as marking error), i cannot find a way to put the red arrowhead on top of another, to actually display red one. Any ideas?
#Positioning edges arrows one on another
1 messages · Page 1 of 1 (latest)
and that is exactly what I do, but i cannot find a way to conditionally place one edge over another, since there place on stack following order from edges config file (where i descirbe source and target)
the selected edge should always be on top?
unfortunatelly, it does not ;/
MarkerEnd does not change color, no matter which edge i choose
if you want it to be always on top, you need to set "elevateEdgesOnSelect" https://reactflow.dev/api-reference/react-flow#elevate-edges-on-select
marker end is a different thing