From 66ca5e621700b72946670f236321ae6ad982b9b3 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 (#381) 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 5ef2f6d1..41f41445 100644 --- a/src/wireviz/Harness.py +++ b/src/wireviz/Harness.py @@ -284,6 +284,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;