-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgraph.html
53 lines (52 loc) · 1.25 KB
/
graph.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jsPlumb/2.7.9/css/jsplumbtoolkit-defaults.css">
<style type="text/css">
html, body {
margin: 0;
padding: 0;
}
.container {
width: 100vw;
height: 100vh;
position: relative;
}
.jtk-draggable,
.jtk-endpoint-anchor {
position: absolute;
}
.node {
text-align: center;
vertical-align: middle;
overflow: hidden;
}
.node .circle {
-webkit-border-radius: 50px;
-moz-border-radius: 50px;
border-radius: 50px;
background-color: #eee;
padding: 10px;
}
.node .circle .fa {
display: block;
margin: 5px;
text-align: center;
vertical-align: middle;
}
.node .label {
display: block;
margin: 5px;
text-align: center;
vertical-align: middle;
}
</style>
</head>
<body>
<div class="container"></div>
<script data-main="scripts/main" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.5/require.min.js"></script>
</body>
</html>