Skip to content

Commit

Permalink
Add non-empty label to avoid over-sized loops
Browse files Browse the repository at this point in the history
Work-around to improve the #286 use case.
  • Loading branch information
kvid committed Jun 9, 2024
1 parent 954c4f5 commit e24c097
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 @@ -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;
Expand Down

0 comments on commit e24c097

Please sign in to comment.