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

State diagram long name renders incorrect as description compared to plantuml #1022

Closed
Pyrolistical opened this issue Oct 22, 2019 · 2 comments
Assignees
Labels
Area: Development Graph: State Retained Nonperishable Status: Approved Is ready to be worked on Type: Bug / Error Something isn't working or is incorrect

Comments

@Pyrolistical
Copy link

Given

stateDiagram

[*] --> S1
state "Some long name" as S1

renders
Screen Shot 2019-10-22 at 11 39 11

But the equivalent diagram in plantuml is

@startuml

[*] --> S1
state "Some long name" as S1

@enduml

renders
SoWkIImgAStDuUAArefLqDMrKmWsv08AbgGgA0NdvwOgvEJdfIla9UQcAYaa5eCakHnIyrA0EW00

The plantuml way of adding a description is

@startuml

[*] --> S1
state "Some long name" as S1: some description

@enduml

renders
SoWkIImgAStDuUAArefLqDMrKmWsv08AbgGgA0NdvwOgvEJdfIla9UQcAYaa5WCbhHIAGS8fgSN9HPa59PdvULnS3gbvAK0p0000

I used https://www.planttext.com to produce the plantuml diagrams

@Pyrolistical Pyrolistical added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Oct 22, 2019
@Pyrolistical Pyrolistical changed the title State diagram renders incorrect compared to plantuml State diagram long name renders incorrect as description compared to plantuml Oct 22, 2019
@IOrlandoni
Copy link
Member

Kept as a bug since, I believe, the original intention was to utilize plantuml's syntax.

@IOrlandoni IOrlandoni added Area: Development Graph: State Contributor needed Status: Approved Is ready to be worked on and removed Status: Triage Needs to be verified, categorized, etc labels Oct 22, 2019
@IOrlandoni IOrlandoni added the Retained Nonperishable label Oct 28, 2019
@knsv
Copy link
Collaborator

knsv commented Nov 6, 2019

Part of release 8.4.1

@knsv knsv closed this as completed Nov 6, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Nov 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Area: Development Graph: State Retained Nonperishable Status: Approved Is ready to be worked on Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

3 participants