Language: JavaScript
Label: safe
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
return f};m.prototype.addUnconnectedEdge=function(c,a,b,d){if(null!=a){var f=c.getModel().getGeometry(a);null!=f&&(d=f.height)}f=b.getStartXY(d);var k=b.getEndXY(d),p=b.getStyleFromEdgeShape(d),n=b.getRoutingPoints(d,f,b.getRotation()),x=b.getRotation();var A="";var C=b.isDisplacedLabel()||b.isRotatedLabel()||0!==x,J=b.getLblEdgeOffset(c.getView(),n);C||(A=b.getTextLabel(!0));0===b.getShapeIndex()?A=c.insertEdge(a,null,A,null,null,g.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(p,"=")):(A=c.createEdge(a,
null,A,null,null,g.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(p,"=")),A=c.addEdge(A,a,null,null,b.getShapeIndex()+this.shapeIndexShift++));C?h(c,A,b,x,J):A.getGeometry().offset=J;this.rotateChildEdge(c.getModel(),a,f,k,n);a=c.getModel().getGeometry(A);n.pop();n.shift();a.points=n;a.setTerminalPoint(f,!0);a.setTerminalPoint(k,!1);p.hasOwnProperty("curved")&&function(M,K){return M&&M.equals?M.equals(K):M===K}(function(M,K){return M[K]?M[K]:null}(p,"curved"),"1")&&(a=c.getModel().getGeometry(A),c=b.getControlPoints(d),
a.points=c);this.processEdgeGeo(b,A);return A};m.prototype.rotateChildEdge=function(c,a,b,d,f){if(null!=a){var k=c.getGeometry(a);c=c.getStyle(a);if(null!=k&&null!=c&&(a=c.indexOf("rotation="),-1<a))for(c=parseFloat(c.substring(a+9,c.indexOf(";",a))),a=k.width/2,k=k.height/2,m.rotatedEdgePoint(b,c,a,k),m.rotatedEdgePoint(d,c,a,k),b=0;b<f.length;b++)m.rotatedEdgePoint(f[b],c,a,k)}};m.prototype.sanitiseGraph=function(c){var a=c.getModel().getRoot();this.sanitiseCell(c,a)};m.prototype.sanitiseCell=function(c,