How can i get selected node data in the same order as it is placed using Diagram.selection collection
i am getting data in reverse order while i am using this …
taken reference form Link : GoJS Collections -- Northwoods Software
$scope.myDiagram.selection.each(function (part) {
if (part instanceof go.Node) {
console.log(part.data);
}
});