mermaid-js / mermaid-cli

Command line tool for the Mermaid library
MIT License
2.48k stars 234 forks source link

docs: fix broken animated flowchart #481

Closed aloisklink closed 1 year ago

aloisklink commented 1 year ago

:bookmark_tabs: Summary

It looks like one of the recent Mermaid updates changed how the Mermaid flowcharts use CSS, so stroke-dasharray: 0; doesn't work anymore.

It's not too big of a deal, we can use -.-> dashed arrows instead, since they are already dashed.

Resolves #473

:straight_ruler: Design Decisions

N/A

:clipboard: Tasks

Make sure you

aloisklink commented 1 year ago

@tstarbow-sfdc, I adapted your example from https://github.com/mermaid-js/mermaid-cli/issues/473#issuecomment-1407504177 to make this fix.

Do you mind if I credit you as a co-author by sticking a Co-authored-by: @tstarbow-sfdc <26944190+tstarbow-sfdc@users.noreply.github.com> in my commit (feel free to let me know if you'd prefer a different name/email).

tstarbow-sfdc commented 1 year ago

Glad I was able to help :) Happy to be co-author, or not. Either is fine with me.

MindaugasLaganeckas commented 1 year ago

Thank you both for a fine PR 😄