@Tany wrote:
When i create a group, i would like the nodes to be layout, for example CircularLayout.
After, the group is created, i would like to avoid auto layout and let the user arrange the nodes within the group.
The default way that i know is to set the { layout: $(go.CircularLayout) } in the group template and after the group is create set the :
group.layout.isInitial =false;
group.layout.isOngoing= false;I am reluctant to put the layout: $(go.CircularLayout) in the group template because every time a group is created i will have to remember to unset the isInitial and isOngoing values.
Is there any other way to layout group nodes without setting the layout in the template ?
Posts: 2
Participants: 2