add transparenz background
This commit is contained in:
parent
616572fab8
commit
4361c1eb11
1 changed files with 2 additions and 2 deletions
|
@ -233,13 +233,13 @@ def generate_graph(verbose: bool, file: str, url: str):
|
|||
comment="Docker Network Graph",
|
||||
engine="sfdp",
|
||||
format=ext[1:],
|
||||
graph_attr={'splines': 'true', 'rankdir': 'LR'},
|
||||
graph_attr=dict(splines="true", rankdir="LR", bgcolor="transparent"),
|
||||
)
|
||||
else:
|
||||
g = Graph(
|
||||
comment="Docker Network Graph",
|
||||
engine="sfdp",
|
||||
graph_attr={'splines': 'true', 'rankdir': 'LR'},
|
||||
graph_attr=dict(splines="true", rankdir="LR", bgcolor="transparent"),
|
||||
)
|
||||
|
||||
for _, network in networks.items():
|
||||
|
|
Loading…
Reference in a new issue