-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·69 lines (55 loc) · 2.12 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<html>
<head>
<title>
Agents NN
</title>
<!-- dependencies-css:css -->
<link rel="stylesheet" href="node_modules/svg.select.js/dist/svg.min.css">
<!-- endinject -->
<!-- styles:css -->
<link rel="stylesheet" href="app/styles/app.css">
<!-- endinject -->
</head>
<body ng-app="AngularApp" style="margin: 10px;">
<div style="height: 300px;">
<app-canvas handler-get-groups="handlers.getGroups"
handler-export="handlers.export">
</app-canvas>
</div>
<div>
<h4>
Controls:
</h4>
<button ng-click="getGroups()">
Get groups
</button>
<br>
<br>
<button ng-click="handlers.export('json')">
Export groups to JSON
</button>
</div>
<script src="node_modules/angular/angular.min.js"></script>
<!-- dependencies-js:js -->
<script src="node_modules/svg.js/dist/svg.min.js"></script>
<script src="node_modules/svg.draggable.js/dist/svg.draggable.min.js"></script>
<script src="node_modules/svg.path.js/svg.path.min.js"></script>
<script src="node_modules/svg.select.js/dist/svg.select.min.js"></script>
<script src="node_modules/svg.resize.js/dist/svg.resize.min.js"></script>
<script src="node_modules/svg.easing.js/dist/svg.easing.min.js"></script>
<script src="node_modules/svg-pan-zoom/dist/svg-pan-zoom.min.js"></script>
<script src="node_modules/save-svg-as-png/saveSvgAsPng.js"></script>
<script src="node_modules/synaptic/dist/synaptic.js"></script>
<script src="app/vendor/svg.math.js/svg.math.min.js"></script>
<script src="app/vendor/svg.foreignobject.js/svg.foreignobject.js"></script>
<script src="app/vendor/line-circle-collision/index.js"></script>
<script src="app/vendor/requirejs/require.js"></script>
<!-- endinject -->
<!-- components:js -->
<script src="app/app.js"></script>
<script src="app/helpers.js"></script>
<script src="app/components/appCanvas/appCanvas.js"></script>
<script src="classes/main.js"></script>
<!-- endinject -->
</body>
</html>