Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to deal with a lot of connection ? #413

Open
bigboss59400 opened this issue Jul 20, 2024 · 2 comments
Open

How to deal with a lot of connection ? #413

bigboss59400 opened this issue Jul 20, 2024 · 2 comments

Comments

@bigboss59400
Copy link

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

@kvid
Copy link
Collaborator

kvid commented Jul 20, 2024

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
Copy link
Collaborator

kvid commented Jul 21, 2024

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 #417 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants