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

Links are not showing in the diagram

$
0
0

@utpal wrote:

Hi,
I am using your JS and it is licensed version.But I am facing some issue regarding the links in the diagram.When I am drawing the links between two nodes it is not showing in the diagram .But the links data are present in the linkdataarray object in the model.My final model is appearing linke this.

{ “class”: “go.GraphLinksModel”,
“linkFromPortIdProperty”: “fromPort”,
“linkToPortIdProperty”: “toPort”,
“nodeDataArray”: [
{“appId”:“f89e1c6f-930f-49c5-a6ca-4c0d86d46d58”, “text”:“Acumatica”, “category”:“Default”, “type”:“app”, “imagePath”:“https://www.appseconnect.com/wp-content/uploads/2018/01/SAp-business-one.png”, “key”:“86798485-fce7-4e68-ae28-e1c6953e8da1”, “loc”:“280 -180”, “nodedata”:{“Label”:“dd”, “ExecutionType”:“get”, “AppId”:“c7bb36c4-4ee9-49bc-bdf7-12112d14668d”, “AppVersionid”:“52”, “AppEntityId”:“8a5fc46f-168b-473c-845a-610cab7f491a”, “AppEntityActionId”:“668145a0-35a1-413b-922a-ed402ebab7d5”}},
{“appId”:“a9f5369d-0921-4618-837c-fedb43af05ee”, “text”:“Amazon”, “category”:“Default”, “type”:“app”, “imagePath”:“https://www.appseconnect.com/wp-content/uploads/2018/01/SAp-business-one.png”, “key”:“217f51e3-733d-49d6-b408-7c66aea3f3d2”, “loc”:“530 -20”, “nodedata”:{“Label”:"", “ExecutionType”:"", “AppId”:"", “AppVersionid”:null, “AppEntityId”:null, “AppEntityActionId”:null}}
],
“linkDataArray”: [ {“from”:“86798485-fce7-4e68-ae28-e1c6953e8da1”, “to”:“217f51e3-733d-49d6-b408-7c66aea3f3d2”, “fromPort”:“B”, “toPort”:“T”, “text”:2, “ExecutionOrder”:1, “key”:“e573167f-105c-41af-aaca-d019abf0156c”} ]}

And my diagram is looking like this

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles