Bug: linkStyle
can't specify IDs that don't exist at the point in the diagram
#3251
Labels
Area: Development
Graph: Flow
Status: Approved
Is ready to be worked on
Type: Bug / Error
Something isn't working or is incorrect
Describe the bug
A clear and concise description of what the bug is.
If I try to specify a linkstyle with a id that exists after the current
linkStyle
, Mermaid.js throws an error.To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
linkStyles
are applied after.Screenshots
If applicable, add screenshots to help explain your problem.
Code Sample
If applicable, add the code sample or a link to the live editor.
https://mermaid.live/edit#pako:eNo1js0KwjAQhF8l7Lk9eI1QUPQJ6jGXpbu1wfyUdHMIpe_uijqnge9jmB2mTAwWngXXxTyuLhlN8Ok1SgtsTob8tgZsNuXE5y--mL4fjLrQQeQS0ZNO7B_oQBaO7MBqJZ6xBnHg0qFqXQmF7-QlF7Azho07wCp5bGkCK6XyX7p51EfxZx1vfqY3UQ
Versions: mermaid.live v9.1.3
Additional context
Add any other context about the problem here.
N/a
The text was updated successfully, but these errors were encountered: