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

Using PlantUML new activity syntax renders arrow text as activity #41

Open
ztorage opened this issue Jan 4, 2018 · 4 comments
Open

Comments

@ztorage
Copy link

ztorage commented Jan 4, 2018

@startuml
start
-> transition;
end
@enduml

renders as

gr1

instead of

gr2

Anything can be done? Special escaping? Workaround?

Thanks.

@TLmaK0
Copy link
Owner

TLmaK0 commented Jan 4, 2018

Hi @ztorage, I have tested this code in plantuml server online, and returns the same result as gravizo:

http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuG8pk7Jj54gA4lEACqioy_EuKlDIk1o0150U0000

@TLmaK0 TLmaK0 closed this as completed Jan 4, 2018
@ztorage
Copy link
Author

ztorage commented Jan 4, 2018

Hi again,
Mind the semicolon trailing -> transition;. This is the correct example on PlantUML's server:
http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuG8pk7Jj54gA4lEACqioy_EikLBpKhWSW0HG0G00

The syntax is outlined here: http://plantuml.com/activity-diagram-beta#arrow

@TLmaK0
Copy link
Owner

TLmaK0 commented Jan 5, 2018

ops!!! sorry! I will take a look! thanks

@TLmaK0 TLmaK0 reopened this Jan 5, 2018
@cczhong11
Copy link

cczhong11 commented May 25, 2018

I don't know which version of plantUML is used in backend of gravizo now. PlantUML has new syntax for activity diagram. http://plantuml.com/activity-diagram-beta.

I have tried the following code

@startuml

start

repeat
  :read data;
  :generate diagrams;
repeat while (more data?)

stop

@enduml

![](<img src='https://g.gravizo.com/svg?
@startuml;

start'

repeat;
:read data;
:generate diagrams;
repeat while (more data?)

stop;

@enduml;
'/>)

It could not be rendered by gravizo. It would be great if you could take look into it. By the way, the old syntax could not see if you browse in plantUML website without direct link to http://plantuml.com/activity-diagram-legacy

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

No branches or pull requests

3 participants