-
Notifications
You must be signed in to change notification settings - Fork 302
/
basic.json
54 lines (54 loc) · 973 Bytes
/
basic.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"container": "",
"elements": [
{
"data": {"id": "a"}
},
{
"data": {"id": "b"}
},
{
"data": {"id": "c"}
},
{
"data": {"id": "d", "position": {"x": 10, "y": 100}}
},
{
"data": {"id": "ab", "source": "a", "target": "b"}
},
{
"data": {"id": "bc", "source": "b", "target": "c"}
},
{
"data": {"id": "ac", "source": "a", "target": "c"}
},
{
"data": {"id": "bd", "source": "b", "target": "d"}
},
{
"data": {"id": "ad", "source": "a", "target": "d"}
}
],
"style": [
{
"selector": "node",
"style": {
"background-color": "blue",
"label": "data(id)"
}
},
{
"selector": "edge",
"style": {
"width": 3,
"line-color": "green",
"target-arrow-color": "#ccc",
"target-arrow-shape": "triangle"
}
}
],
"layout": {
"name": "grid",
"rows": 1
}
}