Language: JavaScript
Label: safe
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Code:
arguments);k()};k();var H=document.createElement("canvas");H.width=L.offsetWidth;H.height=L.offsetHeight;L.style.overflow="hidden";H.style.position="relative";L.appendChild(H);var d=H.getContext("2d");this.ui=b;var g=b.editor.graph;this.graph=g;this.container=L;this.canvas=H;var n=function(B,G,I,F,U){B=Math.round(B);G=Math.round(G);I=Math.round(I);F=Math.round(F);d.beginPath();d.moveTo(B+.5,G+.5);d.lineTo(I+.5,F+.5);d.stroke();U&&(f?(d.save(),d.translate(B,G),d.rotate(-Math.PI/2),d.fillText(U,0,0),
d.restore()):d.fillText(U,B,G))},q=function(){d.clearRect(0,0,H.width,H.height);d.beginPath();d.lineWidth=.7;d.strokeStyle=A.strokeClr;d.setLineDash([]);d.font="9px Arial";d.textAlign="center";var B=g.view.scale,G=g.view.getBackgroundPageBounds(),I=g.view.translate,F=g.pageVisible;I=F?E+(f?G.y-g.container.scrollTop:G.x-g.container.scrollLeft):E+(f?I.y*B-g.container.scrollTop:I.x*B-g.container.scrollLeft);var U=0;F&&(U=g.getPageLayout(),U=f?U.y*g.pageFormat.height:U.x*g.pageFormat.width);var R;switch(D.unit){case mxConstants.POINTS:var N=