WireViz icon indicating copy to clipboard operation
WireViz copied to clipboard

How to deal with a lot of connection ?

Open bigboss59400 opened this issue 1 year ago • 2 comments

hello, I have a big connector (100+ pins), I can't find a way to make it more viewable, I thought about increasing the space between the connector and the connections however I don't know if it's psosible ? if so how to do it ? is it possible to apply this kind of settings only for a particular connector ?

I'm open to suggestions too

Capture d’écran 2024-07-20 171048

bigboss59400 avatar Jul 20 '24 15:07 bigboss59400

This looks very similar to #174, so I recommend a similar work-around:

tweak:
  override:
    graph:
      ranksep: '6'  # Larger horizontal separation between all nodes

Default ranksep value is 2. You should try out how much you need to increase it in your use case.

Unless you argue why your use case is not covered by #174, I'm tempted to close this issue as a duplicate.

kvid avatar Jul 20 '24 18:07 kvid

My suggested work-around above affects the global spacing. I don't know any way to specify a larger spacing for only one node (connector in your case) - except maybe to insert an invisible point node before and/or after your node and connect them with invisible edges using tweak.append, but I haven't tried it (yet), and it might depend on other nodes in your diagram. Are you able to share the YAML input?

Update: Se also my similar suggestion in https://github.com/wireviz/WireViz/issues/417#issuecomment-2254466712

kvid avatar Jul 21 '24 12:07 kvid