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:
[];this.traverse(y,!0,mxUtils.bind(this,function(L,T){var G=null!=T&&this.isTreeEdge(T);G&&q.push(T);L==y||null!=T&&!G||q.push(L);return(null==T||G)&&(L==y||!this.model.isCollapsed(L))}));this.model.setCollapsed(y,n);for(var E=0;E<q.length;E++)this.model.setVisible(q[E],!n)}finally{this.model.endUpdate()}};Graph.prototype.isTreeEdge=function(n){return!this.isEdgeIgnored(n)};Graph.prototype.getTreeEdges=function(n,y,q,E,L,T){return this.model.filterCells(this.getEdges(n,y,q,E,L,T),mxUtils.bind(this,
function(G){return this.isTreeEdge(G)}))};Graph.prototype.getIncomingTreeEdges=function(n,y){return this.getTreeEdges(n,y,!0,!1,!1)};Graph.prototype.getOutgoingTreeEdges=function(n,y){return this.getTreeEdges(n,y,!1,!0,!1)};var e=EditorUi.prototype.init;EditorUi.prototype.init=function(){e.apply(this,arguments);this.editor.isChromelessView()&&!this.editor.editable||this.addTrees()};EditorUi.prototype.addTrees=function(){function n(Z){return k.isVertex(Z)&&q(Z)}function y(Z){var S=!1;null!=Z&&(S="1"==