Container Component

I would like to know if there is a way to create container components in the diagram product. We need to make drawings where some objects are inside others. For example, a rectangle represents a container and I have other elements inside it. This relationship needs to be registered with the json. Thank you!

Currently the only solution is to create a massive complex template for your diagram, which sould contain different shapes in it, but we’re planning to add the “groups” in one of the future udpates for the dhx.Diagram.