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 set layout? #15

Closed
fabiogra opened this issue Apr 2, 2021 · 2 comments
Closed

How to set layout? #15

fabiogra opened this issue Apr 2, 2021 · 2 comments

Comments

@fabiogra
Copy link
Contributor

fabiogra commented Apr 2, 2021

Is it possible to set layout to display nodes and edges using a specific layout/algorithm?

It could be useful draw a directed tree graph, for example to show pipelines.

@ChrisDelClea
Copy link
Owner

Hey @fabiogra,

good question. I had a similar question before. So far, there is no function for it.
However, I agree that it would be nice to have it! Are you interested in making a function for it?

This is how it could go:

  1. Set staticGraph=True or staticGraphWithDragAndDrop=True, (in the config).
  2. define some hierachies and based on that:
  3. Add cords (x, y) to each node.

Best regards
Chris

@ChrisDelClea
Copy link
Owner

well done.

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