-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
97 lines (97 loc) · 3.27 KB
/
index.html
File metadata and controls
97 lines (97 loc) · 3.27 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Color Refinement</title>
<link rel="shortcut icon" type="image/x-icon" href="./favicon.ico" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css"
/>
<link
rel="stylesheet"
href="https://cdn.rawgit.com/tobiasahlin/SpinKit/master/spinkit.min.css"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/icon?family=Material+Icons"
/>
<link rel="stylesheet" href="./assets/css/style.css" />
<script
src="https://cdnjs.cloudflare.com/ajax/libs/seedrandom/3.0.5/seedrandom.min.js"
async
></script>
<script type="module" src="./assets/js/main.js" async></script>
</head>
<body>
<header>
<h1>Color Refinement</h1>
Round
<div class="button" id="left">
<i class="material-icons">keyboard_arrow_left</i>
<div>Previous round of color refinement [left, backspace, h]</div>
</div>
<span id="displayRound">0</span>
<div class="button" id="right">
<i class="material-icons">keyboard_arrow_right</i>
<div>Next round of color refinement [right, space, l]</div>
</div>
of <span id="numRounds"></span>
</header>
<nav id="nav">
<div class="button" id="help">
<i class="material-icons">help</i>
<div>
URL parameters:<br />
#n=<span id="n"></span>&m=<span id="m"></span>&charge=<span
id="charge"
></span>
<br />
Also try:
<ul style="padding-left: 2em">
<li>&seed=hello (to set the random seed)</li>
<li>&navbar=false (hide navbar)</li>
<li>&crtrees=false (hide trees and improve performance)</li>
</ul>
</div>
</div>
<div class="button" id="reload">
<i class="material-icons">replay</i>
<div>Resample random graph from a new seed [r]</div>
</div>
<div class="button" id="up">
<i class="material-icons">keyboard_arrow_up</i>
<div>Increase charge [up, k]</div>
</div>
<div class="button" id="down">
<i class="material-icons">keyboard_arrow_down</i>
<div>Decrease charge [down, j]</div>
</div>
<div class="button" id="count">
<i class="material-icons">functions</i>
<div>Show number of nodes with given color [c]</div>
</div>
</nav>
<main id="main" class="loading">
<div class="loading-animation sk-fold sk-center">
<div class="sk-fold-cube"></div>
<div class="sk-fold-cube"></div>
<div class="sk-fold-cube"></div>
<div class="sk-fold-cube"></div>
</div>
<svg class="center-screen"></svg>
<div id="creator">
by <a href="https://holgerdell.com">Holger Dell</a> (2020). Source code
on <a href="https://github.com/holgerdell/color-refinement">github</a>.
</div>
</main>
<aside id="crtrees" class="loading">
<div class="loading-animation sk-fold sk-center">
<div class="sk-fold-cube"></div>
<div class="sk-fold-cube"></div>
<div class="sk-fold-cube"></div>
<div class="sk-fold-cube"></div>
</div>
</aside>
</body>
</html>