TLmaK0 / gravizo

How to include graphviz graphs in github README

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using PlantUML new activity syntax renders arrow text as activity

ztorage opened this issue · comments

@startuml
start
-> transition;
end
@enduml

renders as

gr1

instead of

gr2

Anything can be done? Special escaping? Workaround?

Thanks.

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

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

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

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