Replies: 1 comment
-
No. You need to write a custom function to position the elements like this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Introduction
I'm using GridLayout to automatically layout elements on graph. Currently, I organize the elements in the following manner:
Now, my requirement is that I need to layout the elements depending on the element type. Let suppose my elements have types 'A', 'B' and 'C'. All the elements of type 'A' must be laid out in first column, all the elements of type 'B' must be laid out in second column and so on.
Since the number of rows per each column is variable, is it possible to implement this sort of layout using grid layout?
Steps to reproduce
No response
Restrictions & Constraints
No response
Does your question relate to JointJS or JointJS+. Select both if applicable.
JointJS+
Beta Was this translation helpful? Give feedback.
All reactions