Skip to content

Issue with Node Positioning and Container Wrapping in TreeLayout #2674

Answered by kumilingus
Jennygra asked this question in Q&A
Discussion options

You must be logged in to vote

Could you manually create a diagram that looks like what you are trying to achieve automatically? I'm not sure what to look for in this picture.


Is your diagram a tree? The TreeLayout is mean to be used with the tree graphs only.

The DirectedGraph can position and resize the clusters for you if you enable resizeClusters option.

Here's a combination of TreeLayout and containers: https://www.jointjs.com/demos/corporate-organizational-chart
Here's a combination of DirectedGraph and GridLayout: https://www.jointjs.com/demos/jointjs-layouts

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@Jennygra
Comment options

@kumilingus
Comment options

Answer selected by Jennygra
@Jennygra
Comment options

@kumilingus
Comment options

@Jennygra
Comment options

@kumilingus
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants