-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (49 loc) · 1.85 KB
/
index.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
<!DOCTYPE html>
<!-- Navigation -->
<!-- "a": Timestep backwards -->
<!-- "s": Stop Simulation -->
<!-- "d": Timestep forwards -->
<!-- "Ctrl+p": Print SVG to PDF (in Chrome) -->
<!-- Info: -->
<!-- Nodesize: Within-layer total degree -->
<!-- Edgesize: Individual-connection weight -->
<!-- Actions: -->
<!-- Hover: Across-layer 1st-order neighbourhood -->
<!-- Ctrl+Hover: Across-layer 1st-order out-neighbourhood -->
<!-- Alt+Hover: Across-layer 1st-order in-neighbourhood -->
<!-- Click: Across-layer next-order neighbourhood -->
<!-- Ctrl+Click Across-layer next-order out-neighbourhood -->
<!-- Alt+Click Across-layer next-order in-neighbourhood -->
<!-- Shift+Click: Across-layer max-order neighbourhood -->
<!-- Shift+Ctrl+Click: Across-layer max-order out-neighbourhood -->
<!-- Shift+Alt+Click: Across-layer max-order in-neighbourhood -->
<!-- Click Layer: Stop simulation -->
<!-- Drag Node: Resume simulation -->
<!-- Utilities -->
<!-- Hover Node + Click Shift Immediately: Prevent Tooltip (from blocking space) -->
<!-- Hold Shift with last Click: Display all remaining connections of neighbourhood in last step -->
<!-- In Reveal.js: scrolling backwards through slides and starting d3.js simulation from the end causes d3 to show the first simulation slide -- solution: scroll back to beginning, then forward -->
<html>
<head>
<meta charset="utf-8">
<style>
.link {
fill: none;
stroke: #666;
stroke-width: 1.5px;
}
text {
font: 14px sans-serif;
pointer-events: none;
}
button {
width: 2cm;
}
</style>
</head>
<body>
<script src="//d3js.org/d3.v4.min.js"></script>
<script src="d3.min.js"></script>
<script src="index.js"></script>
</body>
</html>