Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background colour #30

Open
modem7 opened this issue Mar 9, 2023 · 4 comments
Open

Background colour #30

modem7 opened this issue Mar 9, 2023 · 4 comments

Comments

@modem7
Copy link

modem7 commented Mar 9, 2023

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
Copy link

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
Copy link

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

@MuratovAS
Copy link

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

@webysther
Copy link

Great job @MuratovAS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants