skinparam shadowing in nwdiag?

0 votes
asked Sep 9 in Question / help by DavidB (120 points)

I have tried setting "skinparam shadowing false" in a nwdiag but the shadows are still generated.

Example showing the problem.

What do I need to change to disable shadow generation?

commented Sep 9 by The-Lu (31,200 points)

Hello D.,

This is a wanted feature.wink

Here are some example (using style):

TypeDeploymentNetwork
Code
@startuml
<style>
root {
 shadowing 0
}
</style>
cloud internet
@enduml
@startuml
<style>
root {
 shadowing 0
}
</style>
nwdiag {
  network dc {
    server;
    internet;
  }
  internet [shape = cloud];
}
@enduml
Output
OK: no shadow

KO: We observe shadow

See also, request in order to manage style on nwdiagram:

If that can help,
Regards.

1 Answer

+2 votes
answered Sep 14 by plantuml (257,940 points)
Shadowing for nwdiag with style has just been added in last beta http://beta.plantuml.net/plantuml.jar

This is the only supported style for now, we will extend it on user requests.

Thanks for the idea!
commented Sep 14 by The-Lu (31,200 points)

Thanks. Good news.  yes

And for:

This is the only supported style for now, we will extend it on user requests.

Here are the users requests cheeky:

...