forked from cioportfolio/swardley-script
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmap.js
More file actions
125 lines (125 loc) · 1.41 KB
/
map.js
File metadata and controls
125 lines (125 loc) · 1.41 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
var mapHeight = 600;
var mapWidth = 900;
var mapScript = {
title: "Example Map",
elements: [
{
id: "1",
name: "Customer",
visibility: 1.0,
maturity: 0.4
},
{
id: "2",
name: "Online image maniputation",
visibility: 0.95,
maturity: 0.3
},
{
id: "3",
name: "Online photo storage",
visibility: 0.8,
maturity: 0.375
},
{
id: "4",
name: "Print",
visibility: 0.8,
maturity: 0.625
},
{
id: "5",
name: "Web site",
visibility: 0.7,
maturity: 0.65
},
{
id: "6",
name: "CRM",
visibility: 0.6,
maturity: 0.7
},
{
id: "7",
name: "Platform",
visibility: 0.45,
maturity: 0.575
},
{
id: "8",
name: "Compute",
visibility: 0.2,
maturity: 0.725
},
{
id: "9",
name: "Data Centre",
visibility: 0.15,
maturity: 0.58
},
{
id: "10",
name: "Power",
visibility: 0.1,
maturity: 0.9
}
],
links: [
{
start: "1",
end: "2"
},
{
start: "1",
end: "3"
},
{
start: "1",
end: "5"
},
{
start: "1",
end: "4"
},
{
start: "2",
end: "3"
},
{
start: "3",
end: "5"
},
{
start: "4",
end: "5"
},
{
start: "5",
end: "7"
},
{
start: "5",
end: "6"
},
{
start: "7",
end: "8"
},
{
start: "6",
end: "8"
},
{
start: "8",
end: "9"
},
{
start: "8",
end: "10"
},
{
start: "9",
end: "10"
}
]
};