Ability to add a background color to a component of a network in nwdiag

+2 votes
asked Dec 23, 2020 in Wanted features by The-Lu (64,760 points)

Hello PlantUML team,

After an evening nwdiagram testing, color for network is good, but not for component, we request also this wanted feature:

  • Could be possible to add a background color to a component of a network in nwdiag?

Here is an example:

@startuml
nwdiag {
  network Sample_front {
    address = "192.168.10.0/24"
    color = "blue"

    test_address [address = " .1,  .5", color = "#aaffaa"]
    test_color [address = ".2", color = "blue"]
    test_description [address = ".3", description = "<color:green>Description #3 ", color = "#00000000"]
    test_shape [address = ".4", shape = "node", color = "transparent"]
  }
}
@enduml

Thanks for your support,
Regards,
Th.

1 Answer

0 votes
answered Jan 9, 2023 by plantuml (295,000 points)

This should be fixed in V1.2023.0. See this example.

Hope this helps!

...