@Tany wrote:
Hi,
My group template is binded to “position” as follows :
new go.Binding(“position” “loc”, go.Parse.point).makeTwoWay(go.point.stringify);When a group is expanded i save the group current location :
group.data.origLoc = group.data.loc;
When the group is collapsed, i try to restore its original location by :
diagram.model.setDataProperty(group.data,“loc”,group.data.origLoc);But, the group location moves to a new arbitrary position.
How can i restore its original location ?
Posts: 6
Participants: 2