Skip to content

Commit 07233e9

Browse files
wip: preintroduces component attribute to dev json
1 parent 7f644dd commit 07233e9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

srcjs/src/lib/graphJSON.dev.js

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ const graphJSON = {
44
{ "id": "2", "size": 40, "color": "#00ff00" },
55
{ "id": "3", "size": 5 },
66
{ "id": "4", "color": "#0000ff" },
7+
{ "id": "5", "color": "#ff00ff", "component": "abc" },
8+
{ "id": "6", "color": "#ff00ff", "component": "abc" },
9+
{ "id": "7", "color": "#ff00ff", "component": "def" },
10+
{ "id": "8", "color": "#ff00ff", "component": "ghi" },
711
],
812
links: [
913
{ "from": "1", "to": "2" },
@@ -12,6 +16,7 @@ const graphJSON = {
1216
{ "from": "2", "to": "3" },
1317
{ "from": "2", "to": "4" },
1418
{ "from": "3", "to": "4" },
19+
{ "from": "5", "to": "6" },
1520
]
1621
}
1722

0 commit comments

Comments
 (0)