Is it possible to define two layouts for different groups in stencil container? #2568
-
IntroductionI have a few groups with assets in stencil container. The problem is that our assets have different sizes and I have to specify different layouts as well. Is there any ways to do so without creating additional stencil or with creation of a new stencil, but in the same place or smth...? Steps to reproduceNo response Restrictions & ConstraintsNo response Does your question relate to JointJS or JointJS+. Select both if applicable.JointJS, JointJS+ |
Beta Was this translation helpful? Give feedback.
Answered by
kumilingus
Mar 7, 2024
Replies: 1 comment 3 replies
-
Yes. The Stencil
Here's an example of the latter: https://www.jointjs.com/demos/planogram |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
gintarasgraciovas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes. The Stencil
layout
option can be:layout
options on per group-basisHere's an example of the latter: https://www.jointjs.com/demos/planogram
(Note that drinks are spread over 4 columns)