Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Saving the node position/location when creating a group

$
0
0

@Tany wrote:

Hi,
Suppose that i have a node with a fixed position set to (x,y)=(100,200).
Now, i create a group. The group is located by Group.layout algorithm and set, for example to (x,y)=(400,600).
By the way, we can assume that i didn't use the Group.Layout and locate the node to a fixed position (400,600)
I also add the node to the group.
When expanding the group, the node is located relative to the group location, thus the node location is moved to a position around (400+100, 600+200).
Is there any way to maintain the node position regardless its parent group position ?
Regards,
Tany

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles