Skip to content

Commit 6cd04b3

Browse files
committed
Update example html page
1 parent 3b398ca commit 6cd04b3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

index_example.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!--
1+
<!--
22
This is an example html file with some options added. The minimum html file for
33
the graph visualization is:
44
<!DOCTYPE html>
@@ -9,13 +9,13 @@
99
</head>
1010
<body onload="new Drawing.SimpleGraph({layout: '3d', showStats: true, showInfo: true})">
1111
</bod>
12-
</html>
12+
</html>
1313
-->
1414
<!DOCTYPE html>
1515
<html>
1616
<head>
1717
<title>Graph Visualization</title>
18-
<script type="text/javascript" src="build/graph-min.js"></script>
18+
<script type="text/javascript" src="build/graph.min.js"></script>
1919

2020
<script type="text/javascript">
2121
var drawing;
@@ -41,8 +41,8 @@
4141
document.getElementById("drawing_select").selectedIndex = index;
4242
}
4343
</script>
44-
45-
<style type="text/css">
44+
45+
<style type="text/css">
4646
body {
4747
margin: 0;
4848
padding: 0;
@@ -83,15 +83,15 @@
8383
<label for="show_labels">Show labels</label>
8484
</p>
8585
<p>
86-
<input type="button" value="Stop layout" onclick="drawing.stop_calculating();">
86+
<input type="button" value="Stop layout" onclick="drawing.stop_calculating();">
8787
</p>
8888
</form>
8989
</div>
9090

9191
<div style="position: absolute; bottom: 0;">
9292
Rotate: Left Mouse Button and Move<br />
93-
Zoom: Press Key S + Left Mouse Button and Move<br />
93+
Zoom: Press Key S + Left Mouse Button and Move<br />
9494
Drag: Press Key D + Left Mouse Button and Move
95-
</div>
95+
</div>
9696
</body>
9797
</html>

0 commit comments

Comments
 (0)