Reordering Nodes

Hi,

Quick question in regards to the following sample I attached for reordering nodes. Is there any way to get a copy of the node we initiated a drag on and can it be such that the copy does not have the links? Almost like we have the grayed out original still in the original position and have the dragged item as a separate node. I know that traditional drag and drop has this kind of behavior and was wondering if there is a simple approach to achieve the same behavior.

https://gojs.net/extras/reordering.html

If I understand your requirement correctly, just use the NonRealtimeDraggingTool extension:

From a copy of the extras/reordering.html sample, add this line:

  <script src="../extensions/NonRealtimeDraggingTool.js"></script>

And replace the standard DraggingTool with an instance of this tool:

  new go.Diagram("myDiagramDiv",
    {
      draggingTool: $(NonRealtimeDraggingTool, { duration: 600 }),
      . . .

That is what I was looking for, thank you very much!