Hi Gergely,
We have created a sample to show how to programmatically change the group container. We also showed on initial render also we can set height and width for the group node. So based on the given height and width group node gets rendered in the diagram.
{
id: 'group', children: ['node1', 'node2'], style: { strokeWidth: 0, fill: 'transparent'},
height: 150, width: 200
}
public Change() {
this.diagram.selectedItems.nodes[0].height = 300;
this.diagram.selectedItems.nodes[0].width = 400;
this.diagram.dataBind();
}
|
Regards
Aravind Ravi