The nwdiag mode ignores on "title" keyword in plantuml.1.2020.7, and fails to add the string to the image.
The following diagram script does not generate a title, but fails to do so gracefully (no error generated) and any variant/combination of the three "title" commands included results in the same generated diagram image as not having it at all:
title "My title"
@startuml
title "My title"
nwdiag {
title "My title"
network dmz {
address = "210.x.x.x/24"
web01 [address = "210.x.x.1"];
web02 [address = "210.x.x.2"];
}
network internal {
address = "172.x.x.x/24";
web01 [address = "172.x.x.1"];
web02 [address = "172.x.x.2"];
db01;
db02;
}
}
@enduml
Also, since this is my first post, I just wanted to thank the whole team of people that contributed to plantuml. Thanks for building this FOSS tool!