blockdiag / nwdiag

Apache License 2.0
113 stars 18 forks source link

background color for rackdiag items #11

Open tk0miya opened 6 years ago

tk0miya commented 6 years ago

Hello,

could it be possible to add an attribute to rackdiag items to change the background color for each U separately?

just an idea, thanks.


grubbins commented 1 year ago

You can use various blockdiag attributes on the items in the rack. I was able to get colors like this:

rackdiag {
  rack {
    10U;
    1: "blue thing" [color="#0000C0"];
    2: "red thing" [color="#C00000",2U];
  }
}