I have a custom Edge, and I want to dynamically set markerEnd color within the Edge component.
For example, the passed markerEnd config is converted to string url('#1__color=#6D6E70&height=16&type=arrow&width=16'). Under some condition, I'd like to change the color to another. When I try change the color code in the string and pass to the Edge props, the whole MakerEnd disappeared.
Is there a way to work around that? Thank you!