Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

make "as" work consistent

0 votes
I think this is worth an improvement: If I use something like

@startuml
database db1 as "My Data"
database "Your Data" as db2
db1->db2
@enduml

it works seamlessly, suggesting that the order of as is not important at all, but rather creates a second identifier

However when using {} this does not work always

@startuml
database db3  as "My Database" {
  [test]
}
@enduml

does not work, while using  <"My Database" as db3>  instead works.

Thank you very much for being open to such feedback/suggestions!
asked Mar 23 by stephan (390 points)
similar inconsistent behaviour I find with multi line strings
e.g.
@startuml
frame hi as "hi
ho"
@enduml
works, while
@startuml
frame "hi
ho" as hi
@enduml
does not for me

1 Answer

0 votes
The first issue is fixed in last beta5 https://www.dropbox.com/s/koo42q3d9gxw288/plantuml.jar?dl=0

Thanks again!
answered Mar 23 by plantuml (126,850 points)
thank you too,
this project is really awesome!
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...