Skip to content
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

mermaid: Use stateDiagram-v2 to beautify state diagram. #65

Merged
merged 1 commit into from
Jan 12, 2021

Conversation

atlas-comstock
Copy link
Contributor

No description provided.

@maxekman
Copy link
Member

Nice! Thanks.

Out of curiosity, could you provide a screenshot of the output result?

@atlas-comstock
Copy link
Contributor Author

Sure, example of test file:

stateDiagram-v2
    [*] --> closed
    closed --> open: open
    intermediate --> closed: part-close
    open --> closed: close

pic is :
image

U can test it in https://mermaid-js.github.io/mermaid-live-editor/#/edit/dW5kZWZpbmVk

@atlas-comstock
Copy link
Contributor Author

This is v1 staus:
image

while this is v2, it is much better:
image

@maxekman
Copy link
Member

Very nice! Thanks again!

@maxekman maxekman merged commit 8729525 into looplab:master Jan 12, 2021
@atlas-comstock atlas-comstock deleted the mermaid-use-stateDiagram-v2 branch January 12, 2021 15:50
wahyurudiyan pushed a commit to ruang-guru/fsm that referenced this pull request Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants