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

More space between nodes/edges #615

Open
AKC0 opened this issue Nov 9, 2021 · 6 comments
Open

More space between nodes/edges #615

AKC0 opened this issue Nov 9, 2021 · 6 comments

Comments

@AKC0
Copy link

AKC0 commented Nov 9, 2021

Hello, first of thanks for this Project! Unfortunatly I am only getting unclear outputs. In my case a lot of edges are going parallel which makes it hard to differ them. I didn't find a way to get more space between them. I did find Graphviz attributes like 'concentrate' or 'mindist' but they either just didn't do anything or even said:
"Warning: node 'xy', graph 'xy' size too small for label"
Thanks in advance and kind regards!

@clayms
Copy link

clayms commented Jan 24, 2022

@AKC0
Please post an example of your code actual output, and describe how the desired output would be different.

@AKC0
Copy link
Author

AKC0 commented Jan 26, 2022

screenshot output
@clayms As you can see it is really hard to follow a line because they are too close together. I'd like to be able to set a minimum distance between parallel lines.

@clayms
Copy link

clayms commented Jan 26, 2022

@AKC0 Please post your code.

Also have a look at the following:
#579 (comment)
#579 (comment)

and
#358 (comment)
#358 (comment)
#358 (comment)

@AKC0
Copy link
Author

AKC0 commented Jan 27, 2022

@clayms Well your solutions are funny and pragmatic to me. But I should state that my diagram is generated dynamically out of an excel table. So I can't manually place invisible edges or nodes with width and height of 0 as I don't even know how many nodes and edges I get. I just presupposed that there would be a simple parameter I could use but apperently there is nothing fitting. Closest I got was "nodesep" but it doesn't help that some don't work wit dot and even when they should it may not work because you have e.g. "ortho"... For me it is to complicated. Still thanks for your suggestions!

@clayms
Copy link

clayms commented Jan 27, 2022

@AKC0
You are not required to use "ortho", change it to "spline" .

If you are using python to generate the code from the excel file, then you should be able to also modify the Edge()s dynamically.

@AKC0
Copy link
Author

AKC0 commented Jan 28, 2022

@clayms yeah but I want to use ortho 😄 As I said: I thought there would be the one attribute I could use but apparently there are only kludges so it's fine.

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