Commit 961276a1 authored by Philippe Bardou's avatar Philippe Bardou
Browse files

Input directory icon for graph

parent 33743417
......@@ -13576,6 +13576,42 @@ var cytoscape;
context.lineWidth = tmpLineWidth;
context.font = tmpFont;
}
else if(node._private.data.type == 'inputdirectory') {
var tmpLineWidth = context.lineWidth;
context.beginPath();
context.lineWidth = 2;
context.lineCap = 'round';
context.strokeStyle = 'white';
context.shadowOffsetX = 0;
context.shadowOffsetY = 0;
context.shadowBlur = 8;
context.shadowColor = "#353535";
context.arc( 0, 0, 30, 0, 2 * Math.PI, false);
context.stroke();
context.beginPath();
context.shadowOffsetX = 2;
context.shadowOffsetY = 3;
context.moveTo( 11.5, -6);
context.lineTo( 11.5, 9);
context.lineTo(-11.5, 9);
context.lineTo(-11.5, -9);
context.lineTo( -2,-9);
context.lineTo( 2, -6);
context.lineTo( 11.5, -6);
context.stroke();
context.closePath();
context.lineWidth = 0.75;
context.beginPath();
context.moveTo( -8.5,-6);
context.lineTo( -3.5,-6);
context.stroke();
context.closePath();
context.shadowOffsetX = 0;
context.shadowOffsetY = 0;
context.shadowBlur = 0;
}
else if(node._private.data.type == 'inputfile') {
var tmpLineWidth = context.lineWidth;
context.beginPath();
......@@ -13740,7 +13776,6 @@ var cytoscape;
}
context.lineTo(x, y);
}*/
 
context.arc( 2, -9, 8, 0.00, 2.00 * Math.PI, false);
context.arc( 2, -9, 10.4, 0.00, 0.03 * Math.PI, false);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment