Defining two groups with a peer network like below results in a java.lang.illegalStateException. Removing either group will successfully render the diagram, but obviously with only a single group defined.
@startuml
nwdiag {
group group01 {
a01;
}
group group02 {
a02;
}
network net01 {
a01;
}
a01 -- a02;
network net02 {
a02;
}
}
@enduml
Results in the following output:
Removing group02 like so successfully renders:
@startuml
nwdiag {
group group01 {
a01;
}
network net01 {
a01;
}
a01 -- a02;
network net02 {
a02;
}
}
@enduml