Hi PhuND,
Could you
please confirm whether you need to resize a group node along with its
children at runtime? If yes, we have created a sample in which we have rendered
a group node and updated its size along with the children dynamically. If we
misunderstood your requirement, could you please share more details such as
modifying the below sample or sharing your exact requirement with video/screenshot.
Code sample:
|
<button
id='Changesize'>Changesize</button>
let
Changesize = document.getElementById('Changesize');
Changesize.onclick
= function () {
diagramInstance.nameTable.group.height =
100;
diagramInstance.nameTable.group.width =
200;
};
|
Sample: https://stackblitz.com/edit/react-jjbmni-sjvxb5?file=index.js
Regards
Arun Kumar.