Skip to content

Commit f59b6dd

Browse files
committed
Added object selection.
1 parent e290bb5 commit f59b6dd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index_example.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@
66
<script type="text/javascript" src="utils/Stats.js"></script>
77
<script type="text/javascript" src="utils/threejs-interaction.js"></script>
88
<script type="text/javascript" src="webgl-frameworks/Three.js"></script>
9+
<script type="text/javascript" src="utils/ObjectSelection.js"></script>
910
<script type="text/javascript" src="Graph.js"></script>
1011
<script type="text/javascript" src="layouts/force-based-layout.js"></script>
1112
<script type="text/javascript" src="layouts/force-based-layout-3d.js"></script>
13+
<script type="text/javascript" src="layouts/force-directed-sphere.js"></script>
1214
<script type="text/javascript" src="drawings/simple_graph.js"></script>
15+
<script type="text/javascript" src="drawings/sphere_graph.js"></script>
1316

1417
<style type="text/css">
1518
body {
@@ -21,7 +24,7 @@
2124
}
2225
</style>
2326
</head>
24-
<body onload="new Drawing.SimpleGraph({layout: '3d'})">
27+
<body onload="new Drawing.SimpleGraph({layout: '3d', selection: true})">
2528
<div id="info">
2629

2730
</div>

0 commit comments

Comments
 (0)