When copying a subtree using ctrl+drag in the treeapp demo, I would
like to also create an extra link so that the newly created copy is
linked to the same parent as the original subtree.
If I add the original parent link to the effective selection it is
copied during the drag but the links FromPort is not assigned to the
parent, and when the selection is dropped the link disappears.
Does this make sense? Any suggestions on a fix?
Also, my nodes contain extra data that isn’t being copied. Where
is the best place to copy the extra data? I see some sugestions
throughout the forums that I will try (GoObject.CopyObject,
GoDocument.CopyFromCollection, etc) but more fundamentally: what is the
process (functions called) during this ctrl+drag operation/how are the
node copies created?
Thanks for your help.