LeoVerto / docker-network-graph

Quickly visualize docker networks with graphviz.
https://hub.docker.com/r/leoverto/docker-network-graph/
MIT License
83 stars 22 forks source link

Background colour #30

Open modem7 opened 1 year ago

modem7 commented 1 year ago

Heya,

Thanks for this project! I've been using it on and off for a few years to show how Docker infrastructure can work to others!

By adding [bgcolor=colour]; to the graph syntax, it's possible to make the diagrams a little less retina scarring white.

e.g.

// Docker Network Graph
graph {
    graph [splines=true] [bgcolor=black];

Is a custom background colour something that can be readily implemented at all?

webysther commented 1 year ago

I started a migration of a mess bridge all-in-one to proxy-like and got some black rectangles, you know how fix this?

image

webysther commented 1 year ago

I got a fix, replace #%06x by #ffff99

MuratovAS commented 9 months ago

I fixed the problem with black squares. Added some features. https://github.com/MuratovAS/docker-network-graph

webysther commented 9 months ago

Great job @MuratovAS