-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
203 lines (191 loc) · 8.1 KB
/
test.html
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<html>
<head>
<title>Epistemics | Persons Intelligence for Legal Business</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- vis.js -->
<script type="text/javascript" src="node_modules/vis/dist/vis.js"></script>
<link rel="stylesheet" href="node_modules/vis/dist/vis.css" type="text/css" />
<!-- JQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css">
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<!-- Font Awesome -->
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="style.css" type="text/css" />
<style type="text/css">
#mynetwork {
width: 1400px;
height: 800px;
border: 1px solid lightgray;
background-color: #efefef;
}
</style>
</head>
<body>
<h1>Network graph</h1>
<div id="mynetwork"></div>
<h2>Legend</h2>
<h3>Relations</h3>
<ul>
<li>O: owner</li>
<li>MD: managing director</li>
<li>AP: authorised representative</li>
<li>GP: general partner (Komplementär)</li>
<li>LP: limited partner (Kommanditist)</li>
<li>L: liquidator</li>
</ul>
<p>Relations in brackets are historical.</p>
<h3>Entities</h3>
<ul>
<li>light blue: natural person</li>
<li>light green: legal entity</li>
<li>yellow: base entity</li>
</ul>
<script type="text/javascript">
// create an array with nodes
var nodes = new vis.DataSet([
{id: 1, group: 'lE', label: 'Mantigma GmbH', title: 'AT FN 447445 h'},
{id: 2, group: 'lE', label: 'IntraBase GmbH in Liqu.', title: 'AT FN 464250 x'},
{id: 3, group: 'lE', label: 'borisgloger beteiligungs gmbh', title: 'DE HRB 710013'},
{id: 4, group: 'nP', label: 'Jakob Etzel', title: '23.03.1992', shape: 'box', color: 'yellow'},
{id: 5, group: 'nP', label: 'Martin Prebio', title: '31.12.1990'},
{id: 6, group: 'nP', label: 'Jan Michael Auer', title: '28.04.1993'},
{id: 7, group: 'nP', label: 'Richard Knoll', title: '13.02.1992'},
{id: 8, group: 'nP', label: 'Boris Gloger', title: '26.11.1968'},
{id: 9, group: 'nP', label: 'Sasan Haji Hashemi', title: '06.11.1991'},
{id: 10, group: 'nP', label: 'Alexander Rapatz', title: '26.10.1985'},
{id: 11, group: 'lE', label: '25th-floor GmbH', title: 'AT FN 409170 x'},
{id: 12, group: 'nP', label: 'Andreas de Pretis', title: '11.05.1980'},
{id: 13, group: 'nP', label: 'Florian Helmberger', title: '11.08.1975'},
{id: 14, group: 'lE', label: 'HELMBERGER & Partner KG', title: 'AT FN 241358 p'},
{id: 15, group: 'nP', label: 'Lukas Helmberger', title: '1971'},
{id: 16, group: 'lE', label: 'Venionaire Capital Ges.m.b.H.', title: 'AT FN 385799 b'},
{id: 17, group: 'lE', label: 'FRABANTO KG', title: 'AT FN 450386 h'},
{id: 18, group: 'nP', label: 'Anton Scharmitzer'},
{id: 19, group: 'lE', label: 'Panamin GmbH', title: 'AT FN 400232 b'},
{id: 20, group: 'nP', label: 'Mihail Kraus'},
{id: 21, group: 'nP', label: 'Ivan Dobrev'},
{id: 22, group: 'nP', label: 'Berthold Baurek-Karlic'},
{id: 23, group: 'lE', label: 'March15 Unternehmensbeteiligungs und -beratungs GmbH'},
{id: 24, group: 'lE', label: 'System 7 - Railsupport GmbH'},
{id: 25, group: 'lE', label: 'Venionaire Investment GmbH', title: 'AT FN 423477 k'},
{id: 26, group: 'lE', label: 'EGO Sports GmbH'},
{id: 27, group: 'lE', label: 'DealMatrix GmbH'},
{id: 28, group: 'nP', label: 'Martin Steininger'},
{id: 29, group: 'lE', label: 'BAF 10 GmbH'},
{id: 30, group: 'nP', label: 'Dan Choon'},
{id: 31, group: 'nP', label: 'Bernhard Fichtenthal'},
{id: 32, group: 'nP', label: 'Christoph Drescher'},
{id: 33, group: 'lE', label: 'result-consult e.U.'},
{id: 34, group: 'further'},
{id: 35, group: 'further'},
]);
// create an array with edges
var edges = new vis.DataSet([
{from: 4, to: 1, label: 'O', title: 'since 2016'},
{from: 4, to: 1, label: 'MD', title: 'since 2016'},
{from: 5, to: 1, label: 'O', title: 'since 2016'},
{from: 5, to: 1, label: '(MD)', title: 'from 2016 to 2017'},
{from: 3, to: 1, label: 'O', title: 'since 2016'},
{from: 4, to: 2, label: 'O', title: 'since 2017'},
{from: 4, to: 2, label: '(AR)', title: 'from 2017 to 2017'},
{from: 6, to: 1, label: 'O', title: 'since 2017'},
{from: 6, to: 1, label: '(AR)', title: 'from 2016 to 2017'},
{from: 7, to: 1, label: 'O', title: 'since 2017'},
{from: 7, to: 1, label: '(AR)', title: 'from 2016 to 2017'},
{from: 8, to: 3, label: 'O'},
{from: 8, to: 3, label: 'MD'},
{from: 6, to: 2, label: 'O'},
{from: 6, to: 2, label: '(MD)'},
{from: 7, to: 2, label: 'O'},
{from: 7, to: 2, label: '(AP)'},
{from: 9, to: 2, label: '(MD)'},
{from: 9, to: 2, label: 'O'},
{from: 10, to: 2, label: 'L'},
{from: 10, to: 2, label: 'O'},
{from: 3, to: 11, label: 'O'},
{from: 12, to: 11, label: 'O'},
{from: 13, to: 11, label: 'O'},
{from: 12, to: 11, label: 'MD'},
{from: 13, to: 11, label: '(MD)'},
{from: 13, to: 14, label: 'LP'},
{from: 15, to: 14, label: 'GP'},
{from: 9, to: 16, label: '(O)'},
{from: 10, to: 16, label: 'O'},
{from: 10, to: 17, label: 'LP'},
{from: 18, to: 17, label: 'GP'},
{from: 18, to: 19, label: 'O'},
{from: 20, to: 19, label: 'O'},
{from: 20, to: 19, label: 'MD'},
{from: 21, to: 19, label: 'O'},
{from: 22, to: 16, label: 'O'},
{from: 22, to: 16, label: 'MD'},
{from: 23, to: 16, label: 'O'},
{from: 16, to: 24, label: 'O'},
{from: 16, to: 25, label: 'O'},
{from: 16, to: 26, label: 'O'},
{from: 16, to: 27, label: 'O'},
{from: 28, to: 23, label: 'O'},
{from: 28, to: 23, label: 'MD'},
{from: 23, to: 25, label: 'O'},
{from: 22, to: 25, label: 'MD'},
{from: 29, to: 25, label: 'O'},
{from: 30, to: 25, label: 'O'},
{from: 31, to: 29, label: 'O'},
{from: 31, to: 29, label: 'MD'},
{from: 32, to: 27, label: 'MD'},
{from: 32, to: 27, label: 'O'},
{from: 32, to: 33, label: 'O'},
{from: 34, to: 24},
{from: 35, to: 26},
]);
// create a network
var container = document.getElementById('mynetwork');
// provide the data in the vis format
var data = {
nodes: nodes,
edges: edges,
};
var options = {
groups: {
nP: {
color: {background: 'black'},
borderWidth: 3,
shape: 'icon',
icon: {
face: 'FontAwesome',
code: '\uf007',
size: 50,
color: 'black',
},
},
lE: {
color: {background: 'white', border: 'blue'},
borderWidth: 3,
},
further: {
color: {background: 'red', border: 'black'},
shape: 'diamond',
label: 'more',
},
test: {
color: 'red',
},
},
edges: {
arrows: 'to',
},
layout: {
hierarchical: false,
improvedLayout: true,
},
};
// initialize your network!
var network = new vis.Network(container, data, options);
</script>
</body>
</html>