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

Get Selected Node Data In Selected Order

$
0
0

@YogeshMohan wrote:

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 : http://gojs.net/latest/intro/collections.html

$scope.myDiagram.selection.each(function (part) {
if (part instanceof go.Node) {
console.log(part.data);
}
});

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles