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:
function(){var l=this.editorUi.getSelectionState();null!=this.defaultColorSchemes&&0<this.defaultColorSchemes.length&&"image"!=l.style.shape&&!l.containsLabel&&0<l.cells.length&&this.container.appendChild(this.addStyles(this.createPanel()));H.apply(this,arguments);if(Editor.enableCustomProperties){for(var z={},J=l.vertices,O=l.edges,T=0;T<J.length;T++)this.findCommonProperties(J[T],z,0==T);for(T=0;T<O.length;T++)this.findCommonProperties(O[T],z,0==J.length&&0==T);null!=Object.getOwnPropertyNames&&
0<Object.getOwnPropertyNames(z).length&&this.container.appendChild(this.addProperties(this.createPanel(),z,l))}};var d=StyleFormatPanel.prototype.addStyleOps;StyleFormatPanel.prototype.addStyleOps=function(l){var z=this.editorUi.getSelectionState();1==z.cells.length?this.addActions(l,["copyStyle","pasteStyle"]):1<=z.cells.length&&this.addActions(l,["pasteStyle","pasteData"]);return d.apply(this,arguments)};EditorUi.prototype.propertiesCollapsed=!0;StyleFormatPanel.prototype.addProperties=function(l,