From 4361c1eb1171272739522f1b80aac2170e5105d0 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Tue, 19 Mar 2024 22:45:43 +0100 Subject: [PATCH] add transparenz background --- docker-network-graph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-network-graph.py b/docker-network-graph.py index 1d9f0be..145c0c9 100755 --- a/docker-network-graph.py +++ b/docker-network-graph.py @@ -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():