UNPKG

drawio-offline

Version:
506 lines (495 loc) 107 kB
(function() { // Adds Cisco Safe stencils Sidebar.prototype.addCiscoSafePalette = function() { this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeArchitecture'); this.addCiscoSafeArchitecturePalette(); this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeBusiness Icons'); this.addCiscoSafeBusinessIconsPalette(); this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeCapability'); this.addCiscoSafeCapabilityPalette(); this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeDesign'); this.addCiscoSafeDesignPalette(); this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeIoT Things Icons'); this.addCiscoSafeIoTThingsIconsPalette(); this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safePeople Places Things Icons'); this.addCiscoSafePeoplePlacesThingsIconsPalette(); this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeSecurity Icons'); this.addCiscoSafeSecurityIconsPalette(); this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeTechnology Icons'); this.addCiscoSafeTechnologyIconsPalette(); this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeThreat'); this.addCiscoSafeThreatPalette(); this.setCurrentSearchEntryLibrary(); }; Sidebar.prototype.addCiscoSafeArchitecturePalette = function() { var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;html=1;fillColor=#6ABD46;strokeColor=#ffffff;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;align=center;' + 'points=[[0.085,0.085,0],[0.915,0.085,0],[0.915,0.915,0],[0.085,0.915,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];pointerEvents=1;' + mxConstants.STYLE_SHAPE + "=mxgraph.cisco_safe."; var gn = 'mxgraph.cisco_safe.architecture'; var dt = 'cisco safe architecture'; var w = 50; this.addPaletteFunctions('cisco_safeArchitecture', 'Cisco Safe / Architecture', false, [ this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.switch;', w, w, '', 'Access Switch', null, null, this.getTagsForStencil(gn, 'access switch', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_controller;', w, w, '', 'ACI Controller', null, null, this.getTagsForStencil(gn, 'aci controller', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_leaf_switch;', w, w, '', 'ACI Leaf Switch', null, null, this.getTagsForStencil(gn, 'aci leaf switch', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_spine_switch;', w, w, '', 'ACI Spine Switch', null, null, this.getTagsForStencil(gn, 'aci spine switch', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.actuator;', w, w, '', 'Actuator', null, null, this.getTagsForStencil(gn, 'actuator', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.adaptive_security_appliance;', w, w, '', 'Adaptive Security Appliance', null, null, this.getTagsForStencil(gn, 'adaptive security appliance', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.automated_system;', w, w, '', 'Automated System', null, null, this.getTagsForStencil(gn, 'automated system', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.blade_server;', w, w, '', 'Blade Server', null, null, this.getTagsForStencil(gn, 'blade server', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.catalyst_switch;', w, w, '', 'Catalyst Switch', null, null, this.getTagsForStencil(gn, 'catalyst switch', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.cisco_appliance;', w, w, '', 'Cisco Appliance', null, null, this.getTagsForStencil(gn, 'cisco appliance', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.l3_switch;', w, w, '', 'Core Switch', null, null, this.getTagsForStencil(gn, 'core switch', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.corporate_device1;', w, w, '', 'Corporate Device', null, null, this.getTagsForStencil(gn, 'corporate device', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.corporate_device;', w, w, '', 'Corporate Wireless Device', null, null, this.getTagsForStencil(gn, 'corporate wireless device', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.ddos_protection_appliance;', w, w, '', 'DDOS Protection Appliance', null, null, this.getTagsForStencil(gn, 'ddos protection appliance', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.stacked_switch;', w, w, '', 'Distribution Switch', null, null, this.getTagsForStencil(gn, 'distribution switch', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.email_security;', w, w, '', 'Email Security', null, null, this.getTagsForStencil(gn, 'email security', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.endpoint_concentrator;', w, w, '', 'Endpoint Concentrator', null, null, this.getTagsForStencil(gn, 'endpoint concentrator', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.fabric_switch;', w, w, '', 'Fabric Switch', null, null, this.getTagsForStencil(gn, 'fabric switch', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.firepower_appliance;', w, w, '', 'Firepower Appliance', null, null, this.getTagsForStencil(gn, 'firepower appliance', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.firepower_management_center;', w, w, '', 'Firepower Management Center', null, null, this.getTagsForStencil(gn, 'firepower management center', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.firewall;', w, w, '', 'Firewall', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.flow_collector;', w, w, '', 'Flow Collector', null, null, this.getTagsForStencil(gn, 'flow collector', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.flow_sensor;', w, w, '', 'Flow Sensor', null, null, this.getTagsForStencil(gn, 'flow sensor', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.generic_appliance;', w, w, '', 'Generic Appliance', null, null, this.getTagsForStencil(gn, 'generic appliance', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.identity_directory;', w, w, '', 'Identity Directory', null, null, this.getTagsForStencil(gn, 'identity directory', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.intrusion_detection;', w, w, '', 'Intrusion Detection', null, null, this.getTagsForStencil(gn, 'intrusion detection', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.intrusion_detection;', w, w, '', 'Intrusion Prevention', null, null, this.getTagsForStencil(gn, 'intrusion prevention', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.l3_switch;', w, w, '', 'L3 Switch', null, null, this.getTagsForStencil(gn, 'l3 switch', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_leaf_switch;', w, w, '', 'Leaf Switch', null, null, this.getTagsForStencil(gn, 'leaf switch', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.load_balancer;', w, w, '', 'Load Balancer', null, null, this.getTagsForStencil(gn, 'load balancer', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.log_collector;', w, w, '', 'Log Collector', null, null, this.getTagsForStencil(gn, 'log collector', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.mgmt_console;', w, w, '', 'Management Console', null, null, this.getTagsForStencil(gn, 'mgmt management console', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.mdm;', w, w, '', 'MDM', null, null, this.getTagsForStencil(gn, 'mdm', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.mobile;', w, w, '', 'Mobile', null, null, this.getTagsForStencil(gn, 'mobile', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.monitoring;', w, w, '', 'Monitoring', null, null, this.getTagsForStencil(gn, 'monitoring', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.nexus_1kv;', w, w, '', 'Nexus 1kv', null, null, this.getTagsForStencil(gn, 'nexus 1kv', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.nexus_data_center_switch;', w, w, '', 'Nexus Data Center Switch', null, null, this.getTagsForStencil(gn, 'nexus data center switch', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.nexus_fabric_switch;', w, w, '', 'Nexus Fabric Switch', null, null, this.getTagsForStencil(gn, 'nexus fabric switch', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.nexus_switch;', w, w, '', 'Nexus Switch', null, null, this.getTagsForStencil(gn, 'nexus switch', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.ntp;', w, w, '', 'NTP', null, null, this.getTagsForStencil(gn, 'ntp', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.phone;', w, w, '', 'Phone', null, null, this.getTagsForStencil(gn, 'phone', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.policy;', w, w, '', 'Policy', null, null, this.getTagsForStencil(gn, 'policy', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.radware_appliance;', w, w, '', 'Radware Appliance', null, null, this.getTagsForStencil(gn, 'radware appliance', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.router;', w, w, '', 'Router', null, null, this.getTagsForStencil(gn, 'router', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.sandbox_appliance;', w, w, '', 'Sandbox Appliance', null, null, this.getTagsForStencil(gn, 'sandbox appliance', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_controller;', w, w, '', 'SD Controller', null, null, this.getTagsForStencil(gn, 'sd controller', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.sd_wan;', w, w, '', 'SD WAN', null, null, this.getTagsForStencil(gn, 'sd wan wireless area network', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.sd_wan_2;', w, w, '', 'SD WAN', null, null, this.getTagsForStencil(gn, 'sd wan wireless area network', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.secure_dns;', w, w, '', 'Secure DNS', null, null, this.getTagsForStencil(gn, 'secure dns domain name server', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.secure_server;', w, w, '', 'Secure Server', null, null, this.getTagsForStencil(gn, 'secure server', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.sensor;', w, w, '', 'Sensor', null, null, this.getTagsForStencil(gn, 'sensor', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.server;', w, w, '', 'Server', null, null, this.getTagsForStencil(gn, 'server', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.siem;', w, w, '', 'SIEM', null, null, this.getTagsForStencil(gn, 'siem', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_spine_switch;', w, w, '', 'Spine Switch', null, null, this.getTagsForStencil(gn, 'spine switch', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.stacked_switch;', w, w, '', 'Stacked Switch', null, null, this.getTagsForStencil(gn, 'stacked switch', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.storage;', w, w, '', 'Storage', null, null, this.getTagsForStencil(gn, 'storage', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.switch;', w, w, '', 'Switch', null, null, this.getTagsForStencil(gn, 'switch', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.tetration_analytics;', w, w, '', 'Tetration Analytics', null, null, this.getTagsForStencil(gn, 'tetration analytics', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.tls_appliance;', w, w, '', 'TLS Appliance', null, null, this.getTagsForStencil(gn, 'tls appliance', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.unified_access_switch;', w, w, '', 'Unified Access Switch', null, null, this.getTagsForStencil(gn, 'unified access switch', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.udp_director;', w, w, '', 'UDP Director', null, null, this.getTagsForStencil(gn, 'udp director', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.video_endpoint;', w, w, '', 'Video Endpoint', null, null, this.getTagsForStencil(gn, 'video endpoint', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.vpn_concentrator;', w, w, '', 'VPN Concentrator', null, null, this.getTagsForStencil(gn, 'vpn virtual private network concentrator', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.vulnerability_management;', w, w, '', 'Vulnerability Management', null, null, this.getTagsForStencil(gn, 'vulnerability management', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.web_application_firewall;', w, w, '', 'Web Application Firewall', null, null, this.getTagsForStencil(gn, 'web application firewall', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.web_application_firewall_2;', w, w, '', 'Web Application Firewall', null, null, this.getTagsForStencil(gn, 'web application firewall', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.web_filtering;', w, w, '', 'Web Filtering', null, null, this.getTagsForStencil(gn, 'web filtering', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.web_security;', w, w, '', 'Web Security', null, null, this.getTagsForStencil(gn, 'web security', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.wide_area_application_engine;', w, w, '', 'Wide Area Application Engine', null, null, this.getTagsForStencil(gn, 'wide area application engine', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.wireless_access_point;', w, w, '', 'Wireless Access Point', null, null, this.getTagsForStencil(gn, 'wireless access point', dt).join(' ')), this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.wireless_lan_controller;', w, w, '', 'Wireless LAN Controller', null, null, this.getTagsForStencil(gn, 'wireless lan controller', dt).join(' ')) ]); }; Sidebar.prototype.addCiscoSafeBusinessIconsPalette = function() { var w = 50; var h = 50; var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;html=1;fillColor=#282828;strokeColor=none;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;pointerEvents=1;align=center;shape=mxgraph.cisco_safe.business_icons.'; var gn = 'mxgraph.cisco_safe.business_icons'; var dt = 'cisco safe business'; this.addPaletteFunctions('cisco_safeBusiness Icons', 'Cisco Safe / Business Icons', false, [ this.createVertexTemplateEntry(s + 'icon1;', w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon2;', w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon3;', w * 0.9, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon4;', w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon5;', w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon6;', w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon7;', w, h * 0.7, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon8;', w * 0.77, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon9;', w * 0.81, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon10;', w, h * 0.88, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon11;', w, h * 0.84, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon12;', w, h * 0.89, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon13;', w, h * 0.56, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon14;', w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon15;', w * 0.76, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon16;', w, h * 0.75, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon17;', w, h * 0.69, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon18;', w * 0.82, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon19;', w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon20;', w * 0.89, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon21;', w * 0.99, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon22;', w * 0.93, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon23;', w * 0.87, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon24;', w, h * 0.62, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon25;', w, h * 0.81, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon26;', w, h * 0.71, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon27;', w, h * 0.99, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon28;', w * 0.94, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon29;', w, h * 0.84, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.createVertexTemplateEntry(s + 'icon30;', w, h * 0.97, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')) ]); }; Sidebar.prototype.addCiscoSafeCapabilityPalette = function() { var ptss = 'points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];'; var n2 = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;html=1;strokeColor=#ffffff;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;align=center;' + ptss + 'pointerEvents=1;' + mxConstants.STYLE_SHAPE + "=mxgraph.cisco_safe."; var n3 = 'fillColor=#6ABD46;' + n2; var n4 = 'fillColor=#999999;' + n2; var n2 = 'fillColor=#28A8E0;' + n2; var gn = 'mxgraph.cisco_safe.capability'; var dt = 'cisco safe capability'; var w = 43; this.addPaletteFunctions('cisco_safeCapability', 'Cisco Safe / Capability', false, [ this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.access_control_using_trustsec;', w, w, '', 'Access Control Using TrustSec', null, null, this.getTagsForStencil(gn, 'access control using trustsec', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.analysis_correlation;', w, w, '', 'Analysis Correlation', null, null, this.getTagsForStencil(gn, 'analysis correlation', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.anomaly_detection;', w, w, '', 'Anomaly Detection', null, null, this.getTagsForStencil(gn, 'anomaly detection', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.anti_malware;', w, w, '', 'Anti-Malware', null, null, this.getTagsForStencil(gn, 'anti malware', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.anti_spam;', w, w, '', 'Anti-Spam', null, null, this.getTagsForStencil(gn, 'anti spam', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.anti_virus;', w, w, '', 'Anti-Virus', null, null, this.getTagsForStencil(gn, 'anti virus', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.application;', w, w, '', 'Application', null, null, this.getTagsForStencil(gn, 'application', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.application_visibility_control;', w, w, '', 'Application Visibility Control', null, null, this.getTagsForStencil(gn, 'application visibility control', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.casb;', w, w, '', 'CASB', null, null, this.getTagsForStencil(gn, 'casb', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.client_based_security;', w, w, '', 'Client-Based Security', null, null, this.getTagsForStencil(gn, 'client based security', dt).join(' ')), this.createVertexTemplateEntry(n3 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.block;', w, w, '', 'Block', null, null, this.getTagsForStencil(gn, 'block', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.cloud_web_security;', w, w, '', 'Cloud Web Security', null, null, this.getTagsForStencil(gn, 'cloud web security', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.conference_bridge;', w, w, '', 'Conference Bridge', null, null, this.getTagsForStencil(gn, 'conference bridge', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.database;', w, w, '', 'Database', null, null, this.getTagsForStencil(gn, 'database', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.data_loss_prevention;', w, w, '', 'Data Loss Prevention', null, null, this.getTagsForStencil(gn, 'data loss prevention', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.device_profiling;', w, w, '', 'Device Profiling', null, null, this.getTagsForStencil(gn, 'device profiling', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.device_trajectory;', w, w, '', 'Device Trajectory', null, null, this.getTagsForStencil(gn, 'device trajectory', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.disk_encryption;', w, w, '', 'Disk Encryption', null, null, this.getTagsForStencil(gn, 'disk encryption', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.distributed_denial_of_service_protection;', w, w, '', 'Distributed Denial of Service Protection', null, null, this.getTagsForStencil(gn, 'distributed denial of service protection', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.dns;', w, w, '', 'DNS', null, null, this.getTagsForStencil(gn, 'dns', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.dns_security;', w, w, '', 'DNS Security', null, null, this.getTagsForStencil(gn, 'dns security', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.email_encryption;', w, w, '', 'Email Encryption', null, null, this.getTagsForStencil(gn, 'email encryption', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.email_security;', w, w, '', 'Email Security', null, null, this.getTagsForStencil(gn, 'email security', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.file_trajectory;', w, w, '', 'File Trajectory', null, null, this.getTagsForStencil(gn, 'file trajectory', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.fabric_switching;', w, w, '', 'Fabric Switching', null, null, this.getTagsForStencil(gn, 'fabric switching', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.firewall;', w, w, '', 'Firewall', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.flow_analytics;', w, w, '', 'Flow Analytics', null, null, this.getTagsForStencil(gn, 'flow analytics', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.identity_authorization;', w, w, '', 'Identity Authorization', null, null, this.getTagsForStencil(gn, 'identity authorization', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.identity_authorization_alt;', w, w, '', 'Identity Authorization (alternative)', null, null, this.getTagsForStencil(gn, 'identity authorization alt alternative', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.intrusion_detection;', w, w, '', 'Intrusion Detection', null, null, this.getTagsForStencil(gn, 'intrusion detection', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.intrusion_prevention;', w, w, '', 'Intrusion Prevention', null, null, this.getTagsForStencil(gn, 'intrusion prevention', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l2_l3_network;', w, w, '', 'L2 L3 Network', null, null, this.getTagsForStencil(gn, 'l2 l3 network', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l2_l3_network_virtual;', w, w, '', 'L2 L3 Network (virtual)', null, null, this.getTagsForStencil(gn, 'l2 l3 network virtual', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l2_switching;', w, w, '', 'L2 Switching', null, null, this.getTagsForStencil(gn, 'l2 switching', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l3_switching;', w, w, '', 'L3 Switching', null, null, this.getTagsForStencil(gn, 'l3 switching', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.load_balancer;', w, w, '', 'Load Balancer', null, null, this.getTagsForStencil(gn, 'load balancer', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.logging_reporting;', w, w, '', 'Logging Reporting', null, null, this.getTagsForStencil(gn, 'logging reporting', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.malware_sandbox;', w, w, '', 'Malware Sandbox', null, null, this.getTagsForStencil(gn, 'malware sandbox', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.micro_segmentation;', w, w, '', 'Micro-Segmentation', null, null, this.getTagsForStencil(gn, 'micro segmentation', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.mobile_device_manager;', w, w, '', 'Mobile Device Manager', null, null, this.getTagsForStencil(gn, 'mobile device manager', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.multi_factor_identification;', w, w, '', 'Multi-Factor Identification', null, null, this.getTagsForStencil(gn, 'multi factor identification', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.monitoring;', w, w, '', 'Monitoring', null, null, this.getTagsForStencil(gn, 'monitoring', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.policy_configuration;', w, w, '', 'Policy Configuration', null, null, this.getTagsForStencil(gn, 'policy configuration', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.posture_assessment;', w, w, '', 'Posture Assessment', null, null, this.getTagsForStencil(gn, 'posture assessment', dt).join(' ')), this.createVertexTemplateEntry(n3 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.quarantine;', w, w, '', 'Quarantine', null, null, this.getTagsForStencil(gn, 'quarantine', dt).join(' ')), this.createVertexTemplateEntry(n3 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.remediate;', w, w, '', 'Remediate', null, null, this.getTagsForStencil(gn, 'remediate', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.routing;', w, w, '', 'Routing', null, null, this.getTagsForStencil(gn, 'routing', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.server_based_security;', w, w, '', 'Server Based Security', null, null, this.getTagsForStencil(gn, 'server based security', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.tagging;', w, w, '', 'Tagging', null, null, this.getTagsForStencil(gn, 'tagging', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.ssl_tls_offload;', w, w, '', 'SSL TLS Offload', null, null, this.getTagsForStencil(gn, 'ssl tls offload', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.storage;', w, w, '', 'Storage', null, null, this.getTagsForStencil(gn, 'storage', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.threat_intelligence;', w, w, '', 'Threat Intelligence', null, null, this.getTagsForStencil(gn, 'threat intelligence', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.time_synchronization;', w, w, '', 'Time Synchronization', null, null, this.getTagsForStencil(gn, 'time synchronization', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.user;', w, w, '', 'User', null, null, this.getTagsForStencil(gn, 'user', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.video;', w, w, '', 'Video', null, null, this.getTagsForStencil(gn, 'video', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.virtualized_capability;', w, w, '', 'Virtualized Capability', null, null, this.getTagsForStencil(gn, 'virtualized capability', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.virtual_firewall;', w, w, '', 'Virtual Firewall', null, null, this.getTagsForStencil(gn, 'virtual firewall', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.virtual_l2_switching;', w, w, '', 'Virtual L2 Switching', null, null, this.getTagsForStencil(gn, 'virtual l2 switching', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.virtual_private_network;', w, w, '', 'Virtual Private Network', null, null, this.getTagsForStencil(gn, 'virtual private network vpn', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.voice;', w, w, '', 'Voice', null, null, this.getTagsForStencil(gn, 'voice', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.vpn_concentrator;', w, w, '', 'VPN Concentrator', null, null, this.getTagsForStencil(gn, 'vpn concentrator virtual private network', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.vulnerability_management;', w, w, '', 'Vulnerability Management', null, null, this.getTagsForStencil(gn, 'vulnerability management', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.web_application_firewall;', w, w, '', 'Web Application Firewall', null, null, this.getTagsForStencil(gn, 'web application firewall', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.web_reputation_filtering_dcs;', w, w, '', 'Web Reputation Filtering DCS', null, null, this.getTagsForStencil(gn, 'web reputation filtering dcs', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.web_security;', w, w, '', 'Web Security', null, null, this.getTagsForStencil(gn, 'web security', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.wireless_connection;', w, w, '', 'Wireless Connection', null, null, this.getTagsForStencil(gn, 'wireless connection', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.wireless_intrusion_detection_system;', w, w, '', 'Wireless Intrusion Detection System', null, null, this.getTagsForStencil(gn, 'wireless intrusion detection system', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.wireless_intrusion_prevention_system;', w, w, '', 'Wireless Intrusion Prevention System', null, null, this.getTagsForStencil(gn, 'wireless intrusion prevention system', dt).join(' ')), this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.wireless_rogue_detection;', w, w, '', 'Wireless Rogue Detection', null, null, this.getTagsForStencil(gn, 'wireless rogue detection', dt).join(' ')), this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.routing;', w, w, '', 'Routing', null, null, this.getTagsForStencil(gn, 'routing', dt).join(' ')), this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l2_switching;', w, w, '', 'L2 Switching', null, null, this.getTagsForStencil(gn, 'l2 switching', dt).join(' ')), this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l3_switching;', w, w, '', 'L3 Switching', null, null, this.getTagsForStencil(gn, 'l3 switching', dt).join(' ')), this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.fabric_switching;', w, w, '', 'Fabric Switching', null, null, this.getTagsForStencil(gn, 'fabric switching', dt).join(' ')), this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l2_l3_network;', w, w, '', 'L2 L3 Network', null, null, this.getTagsForStencil(gn, 'l2 l3 network', dt).join(' ')), this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.wireless_connection;', w, w, '', 'Wireless Connection', null, null, this.getTagsForStencil(gn, 'wireless connection', dt).join(' ')), this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.application_optimization;', w, w, '', 'Application Optimization', null, null, this.getTagsForStencil(gn, 'application optimization', dt).join(' ')), this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.quality_of_service;', w, w, '', 'Quality of Service', null, null, this.getTagsForStencil(gn, 'quality of service', dt).join(' ')), this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.path_control;', w, w, '', 'Path Control', null, null, this.getTagsForStencil(gn, 'path control', dt).join(' ')), this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.database;', w, w, '', 'Database', null, null, this.getTagsForStencil(gn, 'database', dt).join(' ')), this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.storage;', w, w, '', 'Storage', null, null, this.getTagsForStencil(gn, 'storage', dt).join(' ')), this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.secure_server;', w, w, '', 'Secure Server', null, null, this.getTagsForStencil(gn, 'secure server', dt).join(' ')), this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.voice;', w, w, '', 'Voice', null, null, this.getTagsForStencil(gn, 'voice', dt).join(' ')), this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.video;', w, w, '', 'Video', null, null, this.getTagsForStencil(gn, 'video', dt).join(' ')), this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.load_balancer;', w, w, '', 'Load Balancer', null, null, this.getTagsForStencil(gn, 'load balancer', dt).join(' ')), this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.host_context;', w, w, '', 'Host Context', null, null, this.getTagsForStencil(gn, 'host context', dt).join(' ')), this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.application;', w, w, '', 'Business Application', null, null, this.getTagsForStencil(gn, 'business application', dt).join(' ')), this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.infrastructure_redundancy;', w, w, '', 'Infrastructure Redundancy', null, null, this.getTagsForStencil(gn, 'infrastructure redundancy', dt).join(' ')), this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.standardized_system_images;', w, w, '', 'Standardized System Images', null, null, this.getTagsForStencil(gn, 'standardized_system_images', dt).join(' ')) ]); }; Sidebar.prototype.addCiscoSafeDesignPalette = function() { var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;html=1;fillColor=#A153A0;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;pointerEvents=1;align=center;' + 'points=[[0,0.5,0],[0.125,0.25,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[0.875,0.25,0],[1,0.5,0],[0.875,0.75,0],[0.75,1,0],[0.5,1,0],[0.125,0.75,0]];shape=mxgraph.cisco_safe.design.'; var s2 = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;html=1;fillColor=#A153A0;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;align=center;pointerEvents=1;shape=mxgraph.cisco_safe.design.'; var n = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;html=1;fillColor=#A153A0;strokeColor=#ffffff;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;align=center;' + 'points=[[0,0.5,0],[0.125,0.25,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[0.875,0.25,0],[1,0.5,0],[0.875,0.75,0],[0.75,1,0],[0.5,1,0],[0.125,0.75,0]];pointerEvents=1;' + mxConstants.STYLE_SHAPE + "=mxgraph.cisco_safe."; var gn = 'mxgraph.cisco_safe.design'; var dt = 'cisco safe design'; var w = 50; this.addPaletteFunctions('cisco_safeDesign', 'Cisco Safe / Design', false, [ this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.access_point;', w, w * 0.9, '', 'Access Point', null, null, this.getTagsForStencil(gn, 'access point', dt).join(' ')), this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.access_switch_2;', w, w * 0.9, '', 'Access Switch', null, null, this.getTagsForStencil(gn, 'access switch', dt).join(' ')), this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.aci_controller;', w, w * 0.9, '', 'ACI Controller', null, null, this.getTagsForStencil(gn, 'aci controller', dt).join(' ')), this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.aci_controller_2;', w, w * 0.9, '', 'ACI Controller', null, null, this.getTagsForStencil(gn, 'aci controller', dt).join(' ')), this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.aci_leaf_switch;', w, w * 0.9, '', 'ACI Leaf Switch', null, null, this.getTagsForStencil(gn, 'aci leaf switch', dt).join(' ')), this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.aci_spine_switch;', w, w * 0.9, '', 'ACI Spine Switch', null, null, this.getTagsForStencil(gn, 'aci spine switch', dt).join(' ')), this.createVertexTemplateEntry(s2 + 'actor_1;', w * 0.47, w, '', 'Actor (female)', null, null, this.getTagsForStencil(gn, 'actor female', dt).join(' ')), this.createVertexTemplateEntry(s2 + 'actor_2;', w * 0.38, w, '', 'Actor (male)', null, null, this.getTagsForStencil(gn, 'actuator', dt).join(' ')), this.createVertexTemplateEntry(s2 + 'actuator;', w, w * 0.9, '', 'Actuator', null, null, this.getTagsForStencil(gn, 'actuator', dt).join(' ')), this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.adaptive_security_appliance;', w, w * 0.9, '', 'Adaptive Security Appliance', null, null, this.getTagsForStencil(gn, 'adaptive security appliance', dt).join(' ')), this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.adaptive_security_appliance_2;', w, w * 0.9, '', 'Adaptive Security Appliance', null, null, this.getTagsForStencil(gn, 'adaptive security appliance', dt).join(' ')), this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.automated_system;', w, w * 0.9, '', 'Automated System', null, null, this.getTagsForStencil(gn, 'automated system', dt).join(' ')), this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.blade_server;', w, w * 0.9, '', 'Blade Server', null, null, this.getTagsForStencil(gn, 'blade server', dt).join(' ')), this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.blade_server_2;', w, w * 0.9, '', 'Blade Server', null, null, this.getTagsForStencil(gn, 'blade server', dt).join(' ')), this.createVertexTemplateEntry(s + 'blank_device;', w, w * 0.9, '', 'Blank Device', null, null, this.getTagsForStencil(gn, 'blank device', dt).join(' ')), this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.blank_service;', w, w * 0.9, '', 'Blank Service', null, null, this.getTagsForStencil(gn, 'blank service', dt).join(' ')), this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.call_manager;', w, w * 0.9, '', 'Call Manager', null, null, this.getTagsForStencil(gn, 'call manager', dt).join(' ')), this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.catalyst_data_center_switch;', w, w * 0.9, '', 'Catalyst Data Center Switch', null, null, this.getTagsForStencil(gn, 'catalyst data center switch', dt).join(' ')), this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.catalyst_switch_stack;', w, w * 0.9, '', 'Catalyst Switch Stack', null, null, this.getTagsForStencil(gn, 'catalyst switch stack', dt).join(' ')), this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.cisco_amp;', w, w * 0.9, '', 'Cisco Amp', null, null, this.getTagsForStencil(gn, 'cisco amp amplifier', dt).join(' ')), this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.cisco_anyconnect;', w, w * 0.9, '', 'Cisco AnyConnect', null, null, this.getTagsForStencil(gn, 'cisco anyconnect', dt).join(' ')), this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=