Skip to content

Is it possible to define two layouts for different groups in stencil container? #2568

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

You must be logged in to vote

Yes. The Stencil layout option can be:

  • defined as a function
  • you can override the layout options on per group-basis

Here's an example of the latter: https://www.jointjs.com/demos/planogram
(Note that drinks are spread over 4 columns)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@gintarasgraciovas
Comment options

@gintarasgraciovas
Comment options

@kumilingus
Comment options

Answer selected by gintarasgraciovas
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