Skip to content

Commit

Permalink
Add non-empty label to avoid over-sized loops (#381)
Browse files Browse the repository at this point in the history
Work-around to improve the #286 use case.
  • Loading branch information
kvid authored and formatc1702 committed Jun 14, 2024
1 parent 2f4fe11 commit 66ca5e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wireviz/Harness.py
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 66ca5e6

Please sign in to comment.