Created
July 27, 2018 14:08
-
-
Save igauravsehrawat/8fdf0f3c70b30e88761d3c560e8f68de to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const model: EntityState = [ | |
{ | |
"linksTo": [ | |
{ | |
"points": [ | |
{ | |
"y": 375, | |
"x": 150 | |
}, | |
{ | |
"x": 150, | |
"y": 475 | |
}, | |
{ | |
"x": 300, | |
"y": 475 | |
}, | |
{ | |
"x": 300, | |
"y": 525 | |
} | |
], | |
"label": "active", | |
"name": "Node-2", | |
"target": 2, | |
"type": "Task" | |
}, | |
{ | |
"points": [ | |
{ | |
"y": 400, | |
"x": 250 | |
}, | |
{ | |
"x": 350, | |
"y": 400 | |
}, | |
{ | |
"x": 350, | |
"y": 475 | |
}, | |
], | |
"label": "inactive", | |
"name": "Node-2", | |
"target": 2, | |
"type": "Task" | |
} | |
], | |
"y": 325, | |
"x": 50, | |
"name": "Node-1", | |
"height": 100, | |
"width": 200, | |
"type": "Task", | |
"id": 1 | |
}, | |
{ | |
"linksTo": [], | |
"y": 475, | |
"x": 275, | |
"height": 100, | |
"width": 200, | |
"type": "Task", | |
"name": "Node-2", | |
"nodeId": 2, | |
"id": 2 | |
} | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment