Permalink
Browse files

Changed the name of the renderers to dotCurvedArrow and dotCurve.

This was done from @Yomguithereal comment on the pull request.
1 parent b1e82f5 commit c27271f83a954a8c6d42b51cc3232eca1768a838 Joakim af Sandeberg committed Mar 21, 2016
View
@@ -39,9 +39,9 @@ module.exports = function(grunt) {
'src/renderers/canvas/sigma.canvas.hovers.def.js',
'src/renderers/canvas/sigma.canvas.nodes.def.js',
'src/renderers/canvas/sigma.canvas.edges.def.js',
- 'src/renderers/canvas/sigma.canvas.edges.curve.js',
+ 'src/renderers/canvas/sigma.canvas.edges.dotCurve.js',
'src/renderers/canvas/sigma.canvas.edges.arrow.js',
- 'src/renderers/canvas/sigma.canvas.edges.curvedArrow.js',
+ 'src/renderers/canvas/sigma.canvas.edges.dotCurvedArrow.js',
'src/renderers/canvas/sigma.canvas.edgehovers.def.js',
'src/renderers/canvas/sigma.canvas.edgehovers.curve.js',
'src/renderers/canvas/sigma.canvas.edgehovers.arrow.js',
@@ -46,7 +46,7 @@
<script src="../src/misc/sigma.misc.bindDOMEvents.js"></script>
<script src="../src/misc/sigma.misc.drawHovers.js"></script>
<!-- END SIGMA IMPORTS -->
-<script src="../plugins/sigma.renderers.edgeDots/sigma.canvas.edges.curve.js"></script>
+<script src="../plugins/sigma.renderers.edgeDots/sigma.canvas.edges.dotCurve.js"></script>
<div id="container">
<style>
#graph-container {
@@ -12,7 +12,7 @@
* @param {CanvasRenderingContext2D} context The canvas context.
* @param {configurable} settings The settings function.
*/
- sigma.canvas.edges.curve = function(edge, source, target, context, settings) {
+ sigma.canvas.edges.dotCurve = function(edge, source, target, context, settings) {
var color = edge.color,
prefix = settings('prefix') || '',
size = edge[prefix + 'size'] || 1,
@@ -12,7 +12,7 @@
* @param {CanvasRenderingContext2D} context The canvas context.
* @param {configurable} settings The settings function.
*/
- sigma.canvas.edges.curvedArrow =
+ sigma.canvas.edges.dotCurvedArrow =
function(edge, source, target, context, settings) {
var color = edge.color,
prefix = settings('prefix') || '',

0 comments on commit c27271f

Please sign in to comment.