hallvard / plantuml

Embed UML diagrams in files and view them in Eclipse
http://plantuml.sourceforge.net/
209 stars 57 forks source link

newpage not working for state diagrams #153

Open Shoggomo opened 2 years ago

Shoggomo commented 2 years ago

The newpage keyword is not working when used for state diagrams. Nothing about this behaviour is noted in the language reference. If this is intended behaviour, this should be added to the reference.

Example: This does not work.

@startuml
[*] --> State1
State1 -> State2
newpage
State3 -> State4
@enduml

grafik

When commenting out newpage it works.

@startuml
[*] --> State1
State1 -> State2
'newpage
State3 -> State4
@enduml

grafik