-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Theming of lineColor using directives spills over into subsequent diagrams #1871
Comments
@knsv I have a fix for this where the marker id is now prefixed with the id of its diagram svg element. I think this is an important fix as there are three related issues as well as a new one from livebook-dev/livebook#1440. I would love to get this fix pushed ... but I am not a collaborator. What would you suggest for next steps? |
I would also love to see a fix for this - happy to help review the pull request from @dwhelan for example. We're seeing the same issue in our Mermaid integration in our presentation app and it's a bit of a blocker at the moment. |
When setting the line color in a page this affects the styling of the arrowheads, the markers in svg. These ids are not properly contained within each svg. This results in the subsequent diagrams linking to the arrowhead definitions highest up in the page.
This can easily be reproduced by the example below:
The text was updated successfully, but these errors were encountered: