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

Control of cluster positioning #196

Open
withnale opened this issue Feb 16, 2016 · 1 comment
Open

Control of cluster positioning #196

withnale opened this issue Feb 16, 2016 · 1 comment

Comments

@withnale
Copy link

I know that clustering support is experimental but I thought I'd write to the list to see if there are any hints to get my examples working.

I have a complex graph of dependencies - a screenshot of which is below. However, I would really like to have the clusters/parent nodes in columns left-to-right. However, as you can see the 4th and 5th clusters (in purple) always seem to be ranked/laid-out on an additional level below the original three clusters.

I've tried experimenting through the various options available, be it setting rank, minrank, maxrank, etc from the dagre test examples but these do not seem to be helping. I believe most of these params are being filtered out during the dagre 'buildLayoutGraph' call anyway.

Is there any way to influence the existing dagre to get a layout closer to the one I'm after? Alternatively, is there an alternate JS library which might be more suited to this?

screen shot 2016-02-16 at 13 31 45

@sanmaopep
Copy link

looking forward to this feature too, I hope to assign clusters into different horizontal layers

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