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

Layout does not work when edges exist in the model that are along the heirarchy tree. #48

Open
finger563 opened this issue Jul 13, 2017 · 3 comments

Comments

@finger563
Copy link

I.e. edges from a parent node to one of its children, grand-children, etc. or the reverse.
Example:
image

When at least one such edge exists in the model, the layout does not do anything (i.e. no nodes are moved).

@ugurdogrusoz
Copy link
Contributor

Correct, we consider such edges illegal and do not do anything. You could remove such edges prior to layout and restore them back when layout is finished.

@finger563
Copy link
Author

Hmm, wouldn't it be easier (since they don't affect layout much) for that to happen internally within the layout routine? :)

@ugurdogrusoz
Copy link
Contributor

CoSE is a compound graph layout algorithm and such edges are illegal for compound graphs by definition. Feel free to make the necessary changes and make a PR though.

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