We are using a code similar to the macros sample, where we dnd a group from the toolbox to the diagram and expand them by ungrouping them.
We need to keep the expanded nodes layout, just as they were inside the group, and also we need them to be expanded on the spot, aka where they were dropped.
In reality they lose the layout and location, and move automatically to the initial spot of the diagram (center in our case).
How can we keep the layout and force expansion on the drop location?
10x
P.S
A similar issue can be viewed on the origial the macros sample (http://gojs.net/latest/samples/macros.html).