-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting Color via addMarker on Sequence Flows does not color Arrowhead #4307
Comments
Root CauseArrow heads (and some other SVG elements) are rendered using All markers are shared and referenced by ID. The definitions are in the root of the SVG, not in the Solution SketchTo allow styling of connections with markers, instead of having a shared marker for all, we could create a marker for every connection and add it in the
This way, css will also affect the marker:
This could have performance implications, since we are adding more elements to the SVG, but I do not expect this to have a huge impact, as we are still rendering the same amount of markers |
@marstamm Thanks for the analysis. The one global |
I'd like to look into this in Spring Cleaning and evaluate if this can be achieved in a timely manner |
deps: update to [email protected] Closes #4317 Closes #4315 Closes #4307
Describe the bug
When styling a connection via addMarker (as described here), the arrowhead is not colored.
Steps to reproduce
Expected behavior
I would expect addMarker to work also on sequence flows. Alternatively, I would wish for a convenience function for sequence flows to achieve the same behavior.
Environment
Additional context
Slack discussion: https://camunda.slack.com/archives/C032H77434N/p1716470720927639
The text was updated successfully, but these errors were encountered: