From e24c097d7d28c9ddd58c9debbcacf30a1cee542e Mon Sep 17 00:00:00 2001 From: KV Date: Sun, 9 Jun 2024 23:41:06 +0200 Subject: [PATCH] Add non-empty label to avoid over-sized loops Work-around to improve the #286 use case. --- src/wireviz/Harness.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wireviz/Harness.py b/src/wireviz/Harness.py index 30468a6a..c40a12f6 100644 --- a/src/wireviz/Harness.py +++ b/src/wireviz/Harness.py @@ -281,6 +281,7 @@ def create_graph(self) -> Graph: dot.edge( f"{connector.name}:p{loop[0]}{loop_side}:{loop_dir}", f"{connector.name}:p{loop[1]}{loop_side}:{loop_dir}", + label = " ", # Work-around to avoid over-sized loops. ) # determine if there are double- or triple-colored wires in the harness;