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

How to add two separate linkdata array to graphlinks model..?

$
0
0

@sidhartharaj wrote:

I am having two separate link data arrays and i want to add it one single diagram
EX:
var model = $(go.GraphLinksModel);

var nodeDataArray = [ nodedata];
var linkDataArray = [ link data];
var linkDataArray1 = [ link data1];

myDiagram.model = new go.GraphLinksModel(nodeDataArray, linkDataArray,linkDataArray1);

The above one is not working,can you please give solution to this..
if possible give me example code link...
Thanks in advance

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles