equal
deleted
inserted
replaced
304 |
304 |
305 var data = []; |
305 var data = []; |
306 var graph = new Graph(); |
306 var graph = new Graph(); |
307 graph.scale(39); |
307 graph.scale(39); |
308 |
308 |
309 graph.vertex = function(x, y, color, parity, cur) { |
309 graph.vertex = function(x, y, radius, color, parity, cur) { |
310 |
310 |
311 this.ctx.beginPath(); |
311 this.ctx.beginPath(); |
312 color = this.setColor(color, 0.25, 0.75); |
312 color = this.setColor(color, 0.25, 0.75); |
313 this.ctx.arc(x, y, radius, 0, Math.PI * 2, true); |
313 this.ctx.arc(x, y, radius, 0, Math.PI * 2, true); |
314 this.ctx.fill(); |
314 this.ctx.fill(); |