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:
"Control"!=L.type&&(x=L.createRange(),x.collapse(!0),Q=L.createRange(),Q.setEndPoint("StartToStart",x),Q.select())};Graph.prototype.flipEdgePoints=function(x,L,Q){var X=this.getCellGeometry(x);if(null!=X){X=X.clone();if(null!=X.points)for(var ea=0;ea<X.points.length;ea++)L?X.points[ea].x=Q+(Q-X.points[ea].x):X.points[ea].y=Q+(Q-X.points[ea].y);ea=function(la){null!=la&&(L?la.x=Q+(Q-la.x):la.y=Q+(Q-la.y))};ea(X.getTerminalPoint(!0));ea(X.getTerminalPoint(!1));this.model.setGeometry(x,X)}};Graph.prototype.flipChildren=