make "as" work consistent

0 votes
asked Mar 23, 2017 in To be sorted by stephan (270 points)
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!
commented Mar 23, 2017 by stephan (270 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
answered Mar 23, 2017 by plantuml (294,960 points)
The first issue is fixed in last beta5 https://www.dropbox.com/s/koo42q3d9gxw288/plantuml.jar?dl=0

Thanks again!
commented Mar 23, 2017 by stephan (270 points)
thank you too,
this project is really awesome!
...