@Tany wrote:
Hi,
I have a set of nodes, some are grouped and some are not.
I want to have full control on the node location.
I binded the "postion" to "loc" and when the diagram is run the nodes are located exactly on the "loc" value.
But when i expand one of the group and then collapse it, the nodes loose their original location although i run thru the nodes and restore their original location.
I have tried all options :
layoutConditions: go.Part.LayoutStandard & ~go.Part.LayoutNodeSized,
diagram.layout.isOngoing = false;
diagram.layout.isIntial = false;
diagram.model.setDataProperty(nodeData, "loc", nodeData.origLoc);
node.isLayoutPositioned = false;But still the nodes shifted down to the middle of the diagram.
How can i have full control on node location and ignore any invalidation also when collapsing a group ?
Regards,
Tany
Posts: 12
Participants: 2