@saicharit wrote:
hi, i have a problem, before adding the functionality of the group resize my node is getting resized properly, but when i have added the functionality for group to resize, then my node is not getting resized, its throwing the error of cannot read i of undefined.
"resizingTool.computeMinSize": function() {
var group = this.adornedObject.part;
var shape = group.resizeObject;
var membnds = group.diagram.computePartsBounds(group.memberParts);
membnds.addMargin(GroupMargin);
membnds.unionPoint(group.location);
return membnds.size;
}the above is the code which i have added in the go.diagram.
what should i do for making the node to resize?
Posts: 2
Participants: 2