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