-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo.html
More file actions
33 lines (26 loc) · 821 Bytes
/
Copy pathdemo.html
File metadata and controls
33 lines (26 loc) · 821 Bytes
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
<html>
<head>
<script type="text/javascript" src="full_graph.js"> </script>
<script type="text/javascript" src="reduced_graph.js"> </script>
<script type="text/javascript" src="mouseHandler.js"> </script>
<title> Results
</title>
</head>
<body>
<script type="text/javascript" src="showGraphs.js"> </script>
<div> <canvas id="myCanvas"
width= 01024
height= 600
></canvas></div>
<!--
<div> Controls: f : Toggle full graph <br/> r : toggle reduced_graph <br/> e: toggle edges</div>
-->
<script>
init();
</script>
<span id="instructions">
This demo shows how closly the reduced graph estimates the full graph. Nodes from the full graph are represented in orange and those from the reduced graph in blue. <br/>
To zoom-in/out use the mouse wheel. Click+drag to move the canvas around.
</span>
</body>
</html>