298 <canvas id="graph"></canvas> |
298 <canvas id="graph"></canvas> |
299 <ul id="graphnodes"></ul> |
299 <ul id="graphnodes"></ul> |
300 </div> |
300 </div> |
301 |
301 |
302 <script type="text/javascript"> |
302 <script type="text/javascript"> |
303 <!-- hide script content |
|
304 |
|
305 var data = []; |
303 var data = []; |
306 var graph = new Graph(); |
304 var graph = new Graph(); |
307 graph.scale(39); |
305 graph.scale(39); |
308 |
306 |
309 graph.vertex = function(x, y, radius, color, parity, cur) { |
307 graph.vertex = function(x, y, radius, color, parity, cur) { |
310 Graph.prototype.vertex.apply(this, arguments); |
308 Graph.prototype.vertex.apply(this, arguments); |
311 return ['<li class="bg"></li>', '']; |
309 return ['<li class="bg"></li>', '']; |
312 } |
310 } |
313 |
311 |
314 graph.render(data); |
312 graph.render(data); |
315 |
|
316 // stop hiding script --> |
|
317 </script> |
313 </script> |
318 |
314 |
319 <div class="navigate"> |
315 <div class="navigate"> |
320 <a href="/graph/tip?revcount=30">less</a> |
316 <a href="/graph/tip?revcount=30">less</a> |
321 <a href="/graph/tip?revcount=120">more</a> |
317 <a href="/graph/tip?revcount=120">more</a> |