-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfile.html
26 lines (26 loc) · 3.15 KB
/
file.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
<!DOCTYPE html>
<html>
<head>
<title>Evolutionary Computation Project</title>
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.min.css">
</head>
<body>
<div id="visualize" class="row">
<div id="container" class="col-md-12"></div>
</div>
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="bower_components/d3/d3.min.js" charset="utf-8"></script>
<script src="compiled/graph.js"></script>
<script>
$(document).ready(function() {
var nodes = [[50,50],[58,48],[60,60],[53,58],[54,52],[40,55],[45,52],[48,53],[52,48],[58,58],[53,42],[49,57],[43,51],[51,58],[56,54],[53,48],[58,51],[42,51],[46,57],[57,48],[50,100],[51,95],[40,103],[47,102],[53,91],[60,92],[57,93],[54,99],[53,100],[42,105],[55,94],[55,93],[43,90],[47,107],[57,99],[54,98],[48,110],[44,110],[58,102],[44,97],[50,150],[51,156],[42,150],[58,144],[53,159],[41,140],[45,148],[60,155],[48,149],[57,152],[51,158],[45,153],[45,157],[55,141],[41,154],[41,157],[56,148],[42,155],[58,148],[48,160],[100,50],[105,43],[105,49],[94,41],[107,49],[97,49],[93,57],[101,41],[100,52],[108,51],[101,45],[95,57],[98,47],[96,58],[91,53],[96,40],[106,56],[103,50],[91,59],[91,46],[100,100],[109,100],[93,92],[105,94],[90,102],[98,109],[108,102],[90,102],[99,93],[104,97],[94,100],[102,102],[93,110],[104,103],[96,109],[103,94],[105,97],[108,98],[102,96],[101,90],[100,150],[104,141],[107,160],[94,159],[93,146],[92,147],[95,148],[97,150],[96,140],[104,146],[95,149],[99,149],[103,151],[90,160],[98,156],[93,143],[98,141],[98,145],[110,146],[106,158],[150,50],[158,59],[149,45],[144,41],[146,58],[145,56],[149,40],[141,60],[149,41],[151,47],[149,49],[156,55],[150,45],[143,59],[158,42],[149,50],[160,44],[156,42],[150,45],[145,41],[150,100],[147,98],[155,109],[149,91],[153,90],[159,90],[151,93],[146,98],[140,106],[143,103],[156,105],[146,108],[147,95],[150,96],[160,94],[154,95],[160,96],[153,98],[140,97],[145,92],[150,150],[150,157],[157,150],[156,155],[159,160],[158,154],[158,159],[147,154],[155,140],[157,153],[141,140],[145,157],[158,144],[142,141],[141,147],[141,144],[149,140],[160,154],[142,149],[155,154]];
var modulus = 20;
var lines = {"8":[0,1,2,3,4,5,6,7,9,10,11,12,13,14,15,16,17,18,19],"28":[20,21,22,23,24,25,26,27,29,30,31,32,33,34,35,36,37,38,39],"58":[40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,59],"78":[60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,79],"89":[80,81,82,83,84,85,86,87,88,90,91,92,93,94,95,96,97,98,99],"106":[100,101,102,103,104,105,107,108,109,110,111,112,113,114,115,116,117,118,119],"120":[121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139],"146":[140,141,142,143,144,145,147,148,149,150,151,152,153,154,155,156,157,158,159],"167":[160,161,162,163,164,165,166,168,169,170,171,172,173,174,175,176,177,178,179]};
window.generate_graph(nodes, modulus, lines);
});
</script>
</body>
</html>