Quotes in digraph name causes Syntax Error

0 votes
asked Oct 4 in Bug by rquinio (120 points)

Double quoting the digraph name "foo", causes a Syntax Error:

@startuml
digraph "foo" {
  node1 -> node2
}
@enduml

Example on PlantUML server: http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuKh9J2zABCXGK4hBprTIgEPIKCZBJqarLD2r0pECk6gv75BpKe1A0G00

But this is perfectly valid in graphviz (can be tested via http://webgraphviz.com/ ) and some tools that generate dot files will use double quotes when the graph name contains characters like "-".

Note: problem was initially reported as https://avono-support.atlassian.net/browse/PUML-520

1 Answer

0 votes
answered Oct 5 by plantuml (232,640 points)
Thanks for the report.

This is fixed in last beta http://beta.plantuml.net/plantuml.jar and on the online server.
...