-
Notifications
You must be signed in to change notification settings - Fork 230
/
static.data.js
50 lines (50 loc) · 844 Bytes
/
static.data.js
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
module.exports = {
links: [
{
source: 1,
target: 2,
label: "A-B",
},
{
source: 1,
target: 3,
label: "A-C",
},
{
source: 1,
target: 4,
label: "A-D",
},
{
source: 3,
target: 4,
label: "C-D",
},
],
nodes: [
{
id: 1,
name: "A",
x: 50,
y: 310,
},
{
id: 2,
name: "B",
x: 300,
y: 50,
},
{
id: 3,
name: "C",
x: 400,
y: 100,
},
{
id: 4,
name: "D",
x: 400,
y: 200,
},
],
};