From 6d772cf6973330fc37d24f6c7ebaa638dcb03ade 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. - https://github.com/wireviz/WireViz/issues/286#issuecomment-2094309143 - https://stackoverflow.com/questions/70996779/graphviz-edges-between-cells-in-the-same-html-table-are-too-long --- src/wireviz/Harness.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wireviz/Harness.py b/src/wireviz/Harness.py index 34df9a2..b01049b 100644 --- a/src/wireviz/Harness.py +++ b/src/wireviz/Harness.py @@ -284,6 +284,7 @@ class Harness: 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;