Sidebar-CiscoSafe.js 104 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181
  1. (function()
  2. {
  3. // Adds Cisco Safe stencils
  4. Sidebar.prototype.addCiscoSafePalette = function()
  5. {
  6. this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeArchitecture');
  7. this.addCiscoSafeArchitecturePalette();
  8. this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeBusiness Icons');
  9. this.addCiscoSafeBusinessIconsPalette();
  10. this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeCapability');
  11. this.addCiscoSafeCapabilityPalette();
  12. this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeDesign');
  13. this.addCiscoSafeDesignPalette();
  14. this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeIoT Things Icons');
  15. this.addCiscoSafeIoTThingsIconsPalette();
  16. this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safePeople Places Things Icons');
  17. this.addCiscoSafePeoplePlacesThingsIconsPalette();
  18. this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeSecurity Icons');
  19. this.addCiscoSafeSecurityIconsPalette();
  20. this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeTechnology Icons');
  21. this.addCiscoSafeTechnologyIconsPalette();
  22. this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeThreat');
  23. this.addCiscoSafeThreatPalette();
  24. this.setCurrentSearchEntryLibrary();
  25. };
  26. Sidebar.prototype.addCiscoSafeArchitecturePalette = function()
  27. {
  28. var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#6ABD46;strokeColor=#ffffff;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;align=center;' +
  29. '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.";
  30. var gn = 'mxgraph.cisco_safe.architecture';
  31. var dt = 'cisco safe architecture';
  32. var w = 50;
  33. this.addPaletteFunctions('cisco_safeArchitecture', 'Cisco Safe / Architecture', false,
  34. [
  35. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.switch;',
  36. w, w, '', 'Access Switch', null, null, this.getTagsForStencil(gn, 'access switch', dt).join(' ')),
  37. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_controller;',
  38. w, w, '', 'ACI Controller', null, null, this.getTagsForStencil(gn, 'aci controller', dt).join(' ')),
  39. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_leaf_switch;',
  40. w, w, '', 'ACI Leaf Switch', null, null, this.getTagsForStencil(gn, 'aci leaf switch', dt).join(' ')),
  41. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_spine_switch;',
  42. w, w, '', 'ACI Spine Switch', null, null, this.getTagsForStencil(gn, 'aci spine switch', dt).join(' ')),
  43. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.actuator;',
  44. w, w, '', 'Actuator', null, null, this.getTagsForStencil(gn, 'actuator', dt).join(' ')),
  45. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.adaptive_security_appliance;',
  46. w, w, '', 'Adaptive Security Appliance', null, null, this.getTagsForStencil(gn, 'adaptive security appliance', dt).join(' ')),
  47. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.automated_system;',
  48. w, w, '', 'Automated System', null, null, this.getTagsForStencil(gn, 'automated system', dt).join(' ')),
  49. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.blade_server;',
  50. w, w, '', 'Blade Server', null, null, this.getTagsForStencil(gn, 'blade server', dt).join(' ')),
  51. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.catalyst_switch;',
  52. w, w, '', 'Catalyst Switch', null, null, this.getTagsForStencil(gn, 'catalyst switch', dt).join(' ')),
  53. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.cisco_appliance;',
  54. w, w, '', 'Cisco Appliance', null, null, this.getTagsForStencil(gn, 'cisco appliance', dt).join(' ')),
  55. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.l3_switch;',
  56. w, w, '', 'Core Switch', null, null, this.getTagsForStencil(gn, 'core switch', dt).join(' ')),
  57. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.corporate_device1;',
  58. w, w, '', 'Corporate Device', null, null, this.getTagsForStencil(gn, 'corporate device', dt).join(' ')),
  59. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.corporate_device;',
  60. w, w, '', 'Corporate Wireless Device', null, null, this.getTagsForStencil(gn, 'corporate wireless device', dt).join(' ')),
  61. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.ddos_protection_appliance;',
  62. w, w, '', 'DDOS Protection Appliance', null, null, this.getTagsForStencil(gn, 'ddos protection appliance', dt).join(' ')),
  63. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.stacked_switch;',
  64. w, w, '', 'Distribution Switch', null, null, this.getTagsForStencil(gn, 'distribution switch', dt).join(' ')),
  65. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.email_security;',
  66. w, w, '', 'Email Security', null, null, this.getTagsForStencil(gn, 'email security', dt).join(' ')),
  67. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.endpoint_concentrator;',
  68. w, w, '', 'Endpoint Concentrator', null, null, this.getTagsForStencil(gn, 'endpoint concentrator', dt).join(' ')),
  69. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.fabric_switch;',
  70. w, w, '', 'Fabric Switch', null, null, this.getTagsForStencil(gn, 'fabric switch', dt).join(' ')),
  71. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.firepower_appliance;',
  72. w, w, '', 'Firepower Appliance', null, null, this.getTagsForStencil(gn, 'firepower appliance', dt).join(' ')),
  73. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.firepower_management_center;',
  74. w, w, '', 'Firepower Management Center', null, null, this.getTagsForStencil(gn, 'firepower management center', dt).join(' ')),
  75. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.firewall;',
  76. w, w, '', 'Firewall', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
  77. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.flow_collector;',
  78. w, w, '', 'Flow Collector', null, null, this.getTagsForStencil(gn, 'flow collector', dt).join(' ')),
  79. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.flow_sensor;',
  80. w, w, '', 'Flow Sensor', null, null, this.getTagsForStencil(gn, 'flow sensor', dt).join(' ')),
  81. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.generic_appliance;',
  82. w, w, '', 'Generic Appliance', null, null, this.getTagsForStencil(gn, 'generic appliance', dt).join(' ')),
  83. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.identity_directory;',
  84. w, w, '', 'Identity Directory', null, null, this.getTagsForStencil(gn, 'identity directory', dt).join(' ')),
  85. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.intrusion_detection;',
  86. w, w, '', 'Intrusion Detection', null, null, this.getTagsForStencil(gn, 'intrusion detection', dt).join(' ')),
  87. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.intrusion_detection;',
  88. w, w, '', 'Intrusion Prevention', null, null, this.getTagsForStencil(gn, 'intrusion prevention', dt).join(' ')),
  89. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.l3_switch;',
  90. w, w, '', 'L3 Switch', null, null, this.getTagsForStencil(gn, 'l3 switch', dt).join(' ')),
  91. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_leaf_switch;',
  92. w, w, '', 'Leaf Switch', null, null, this.getTagsForStencil(gn, 'leaf switch', dt).join(' ')),
  93. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.load_balancer;',
  94. w, w, '', 'Load Balancer', null, null, this.getTagsForStencil(gn, 'load balancer', dt).join(' ')),
  95. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.log_collector;',
  96. w, w, '', 'Log Collector', null, null, this.getTagsForStencil(gn, 'log collector', dt).join(' ')),
  97. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.mgmt_console;',
  98. w, w, '', 'Management Console', null, null, this.getTagsForStencil(gn, 'mgmt management console', dt).join(' ')),
  99. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.mdm;',
  100. w, w, '', 'MDM', null, null, this.getTagsForStencil(gn, 'mdm', dt).join(' ')),
  101. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.mobile;',
  102. w, w, '', 'Mobile', null, null, this.getTagsForStencil(gn, 'mobile', dt).join(' ')),
  103. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.monitoring;',
  104. w, w, '', 'Monitoring', null, null, this.getTagsForStencil(gn, 'monitoring', dt).join(' ')),
  105. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.nexus_1kv;',
  106. w, w, '', 'Nexus 1kv', null, null, this.getTagsForStencil(gn, 'nexus 1kv', dt).join(' ')),
  107. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.nexus_data_center_switch;',
  108. w, w, '', 'Nexus Data Center Switch', null, null, this.getTagsForStencil(gn, 'nexus data center switch', dt).join(' ')),
  109. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.nexus_fabric_switch;',
  110. w, w, '', 'Nexus Fabric Switch', null, null, this.getTagsForStencil(gn, 'nexus fabric switch', dt).join(' ')),
  111. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.nexus_switch;',
  112. w, w, '', 'Nexus Switch', null, null, this.getTagsForStencil(gn, 'nexus switch', dt).join(' ')),
  113. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.ntp;',
  114. w, w, '', 'NTP', null, null, this.getTagsForStencil(gn, 'ntp', dt).join(' ')),
  115. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.phone;',
  116. w, w, '', 'Phone', null, null, this.getTagsForStencil(gn, 'phone', dt).join(' ')),
  117. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.policy;',
  118. w, w, '', 'Policy', null, null, this.getTagsForStencil(gn, 'policy', dt).join(' ')),
  119. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.radware_appliance;',
  120. w, w, '', 'Radware Appliance', null, null, this.getTagsForStencil(gn, 'radware appliance', dt).join(' ')),
  121. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.router;',
  122. w, w, '', 'Router', null, null, this.getTagsForStencil(gn, 'router', dt).join(' ')),
  123. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.sandbox_appliance;',
  124. w, w, '', 'Sandbox Appliance', null, null, this.getTagsForStencil(gn, 'sandbox appliance', dt).join(' ')),
  125. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_controller;',
  126. w, w, '', 'SD Controller', null, null, this.getTagsForStencil(gn, 'sd controller', dt).join(' ')),
  127. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.sd_wan;',
  128. w, w, '', 'SD WAN', null, null, this.getTagsForStencil(gn, 'sd wan wireless area network', dt).join(' ')),
  129. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.sd_wan_2;',
  130. w, w, '', 'SD WAN', null, null, this.getTagsForStencil(gn, 'sd wan wireless area network', dt).join(' ')),
  131. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.secure_dns;',
  132. w, w, '', 'Secure DNS', null, null, this.getTagsForStencil(gn, 'secure dns domain name server', dt).join(' ')),
  133. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.secure_server;',
  134. w, w, '', 'Secure Server', null, null, this.getTagsForStencil(gn, 'secure server', dt).join(' ')),
  135. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.sensor;',
  136. w, w, '', 'Sensor', null, null, this.getTagsForStencil(gn, 'sensor', dt).join(' ')),
  137. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.server;',
  138. w, w, '', 'Server', null, null, this.getTagsForStencil(gn, 'server', dt).join(' ')),
  139. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.siem;',
  140. w, w, '', 'SIEM', null, null, this.getTagsForStencil(gn, 'siem', dt).join(' ')),
  141. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_spine_switch;',
  142. w, w, '', 'Spine Switch', null, null, this.getTagsForStencil(gn, 'spine switch', dt).join(' ')),
  143. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.stacked_switch;',
  144. w, w, '', 'Stacked Switch', null, null, this.getTagsForStencil(gn, 'stacked switch', dt).join(' ')),
  145. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.storage;',
  146. w, w, '', 'Storage', null, null, this.getTagsForStencil(gn, 'storage', dt).join(' ')),
  147. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.switch;',
  148. w, w, '', 'Switch', null, null, this.getTagsForStencil(gn, 'switch', dt).join(' ')),
  149. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.tetration_analytics;',
  150. w, w, '', 'Tetration Analytics', null, null, this.getTagsForStencil(gn, 'tetration analytics', dt).join(' ')),
  151. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.tls_appliance;',
  152. w, w, '', 'TLS Appliance', null, null, this.getTagsForStencil(gn, 'tls appliance', dt).join(' ')),
  153. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.unified_access_switch;',
  154. w, w, '', 'Unified Access Switch', null, null, this.getTagsForStencil(gn, 'unified access switch', dt).join(' ')),
  155. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.udp_director;',
  156. w, w, '', 'UDP Director', null, null, this.getTagsForStencil(gn, 'udp director', dt).join(' ')),
  157. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.video_endpoint;',
  158. w, w, '', 'Video Endpoint', null, null, this.getTagsForStencil(gn, 'video endpoint', dt).join(' ')),
  159. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.vpn_concentrator;',
  160. w, w, '', 'VPN Concentrator', null, null, this.getTagsForStencil(gn, 'vpn virtual private network concentrator', dt).join(' ')),
  161. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.vulnerability_management;',
  162. w, w, '', 'Vulnerability Management', null, null, this.getTagsForStencil(gn, 'vulnerability management', dt).join(' ')),
  163. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.web_application_firewall;',
  164. w, w, '', 'Web Application Firewall', null, null, this.getTagsForStencil(gn, 'web application firewall', dt).join(' ')),
  165. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.web_application_firewall_2;',
  166. w, w, '', 'Web Application Firewall', null, null, this.getTagsForStencil(gn, 'web application firewall', dt).join(' ')),
  167. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.web_filtering;',
  168. w, w, '', 'Web Filtering', null, null, this.getTagsForStencil(gn, 'web filtering', dt).join(' ')),
  169. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.web_security;',
  170. w, w, '', 'Web Security', null, null, this.getTagsForStencil(gn, 'web security', dt).join(' ')),
  171. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.wide_area_application_engine;',
  172. w, w, '', 'Wide Area Application Engine', null, null, this.getTagsForStencil(gn, 'wide area application engine', dt).join(' ')),
  173. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.wireless_access_point;',
  174. w, w, '', 'Wireless Access Point', null, null, this.getTagsForStencil(gn, 'wireless access point', dt).join(' ')),
  175. this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.wireless_lan_controller;',
  176. w, w, '', 'Wireless LAN Controller', null, null, this.getTagsForStencil(gn, 'wireless lan controller', dt).join(' '))
  177. ]);
  178. };
  179. Sidebar.prototype.addCiscoSafeBusinessIconsPalette = function()
  180. {
  181. var w = 50;
  182. var h = 50;
  183. var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#282828;strokeColor=none;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;pointerEvents=1;align=center;shape=mxgraph.cisco_safe.business_icons.';
  184. var gn = 'mxgraph.cisco_safe.business_icons';
  185. var dt = 'cisco safe business';
  186. this.addPaletteFunctions('cisco_safeBusiness Icons', 'Cisco Safe / Business Icons', false,
  187. [
  188. this.createVertexTemplateEntry(s + 'icon1;',
  189. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  190. this.createVertexTemplateEntry(s + 'icon2;',
  191. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  192. this.createVertexTemplateEntry(s + 'icon3;',
  193. w * 0.9, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  194. this.createVertexTemplateEntry(s + 'icon4;',
  195. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  196. this.createVertexTemplateEntry(s + 'icon5;',
  197. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  198. this.createVertexTemplateEntry(s + 'icon6;',
  199. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  200. this.createVertexTemplateEntry(s + 'icon7;',
  201. w, h * 0.7, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  202. this.createVertexTemplateEntry(s + 'icon8;',
  203. w * 0.77, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  204. this.createVertexTemplateEntry(s + 'icon9;',
  205. w * 0.81, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  206. this.createVertexTemplateEntry(s + 'icon10;',
  207. w, h * 0.88, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  208. this.createVertexTemplateEntry(s + 'icon11;',
  209. w, h * 0.84, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  210. this.createVertexTemplateEntry(s + 'icon12;',
  211. w, h * 0.89, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  212. this.createVertexTemplateEntry(s + 'icon13;',
  213. w, h * 0.56, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  214. this.createVertexTemplateEntry(s + 'icon14;',
  215. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  216. this.createVertexTemplateEntry(s + 'icon15;',
  217. w * 0.76, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  218. this.createVertexTemplateEntry(s + 'icon16;',
  219. w, h * 0.75, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  220. this.createVertexTemplateEntry(s + 'icon17;',
  221. w, h * 0.69, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  222. this.createVertexTemplateEntry(s + 'icon18;',
  223. w * 0.82, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  224. this.createVertexTemplateEntry(s + 'icon19;',
  225. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  226. this.createVertexTemplateEntry(s + 'icon20;',
  227. w * 0.89, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  228. this.createVertexTemplateEntry(s + 'icon21;',
  229. w * 0.99, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  230. this.createVertexTemplateEntry(s + 'icon22;',
  231. w * 0.93, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  232. this.createVertexTemplateEntry(s + 'icon23;',
  233. w * 0.87, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  234. this.createVertexTemplateEntry(s + 'icon24;',
  235. w, h * 0.62, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  236. this.createVertexTemplateEntry(s + 'icon25;',
  237. w, h * 0.81, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  238. this.createVertexTemplateEntry(s + 'icon26;',
  239. w, h * 0.71, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  240. this.createVertexTemplateEntry(s + 'icon27;',
  241. w, h * 0.99, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  242. this.createVertexTemplateEntry(s + 'icon28;',
  243. w * 0.94, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  244. this.createVertexTemplateEntry(s + 'icon29;',
  245. w, h * 0.84, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  246. this.createVertexTemplateEntry(s + 'icon30;',
  247. w, h * 0.97, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' '))
  248. ]);
  249. };
  250. Sidebar.prototype.addCiscoSafeCapabilityPalette = function()
  251. {
  252. 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]];';
  253. var n2 = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;strokeColor=#ffffff;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;align=center;' +
  254. ptss + 'pointerEvents=1;' + mxConstants.STYLE_SHAPE + "=mxgraph.cisco_safe.";
  255. var n3 = 'fillColor=#6ABD46;' + n2;
  256. var n4 = 'fillColor=#999999;' + n2;
  257. var n2 = 'fillColor=#28A8E0;' + n2;
  258. var gn = 'mxgraph.cisco_safe.capability';
  259. var dt = 'cisco safe capability';
  260. var w = 43;
  261. this.addPaletteFunctions('cisco_safeCapability', 'Cisco Safe / Capability', false,
  262. [
  263. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.access_control_using_trustsec;',
  264. w, w, '', 'Access Control Using TrustSec', null, null, this.getTagsForStencil(gn, 'access control using trustsec', dt).join(' ')),
  265. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.analysis_correlation;',
  266. w, w, '', 'Analysis Correlation', null, null, this.getTagsForStencil(gn, 'analysis correlation', dt).join(' ')),
  267. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.anomaly_detection;',
  268. w, w, '', 'Anomaly Detection', null, null, this.getTagsForStencil(gn, 'anomaly detection', dt).join(' ')),
  269. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.anti_malware;',
  270. w, w, '', 'Anti-Malware', null, null, this.getTagsForStencil(gn, 'anti malware', dt).join(' ')),
  271. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.anti_spam;',
  272. w, w, '', 'Anti-Spam', null, null, this.getTagsForStencil(gn, 'anti spam', dt).join(' ')),
  273. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.anti_virus;',
  274. w, w, '', 'Anti-Virus', null, null, this.getTagsForStencil(gn, 'anti virus', dt).join(' ')),
  275. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.application;',
  276. w, w, '', 'Application', null, null, this.getTagsForStencil(gn, 'application', dt).join(' ')),
  277. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.application_visibility_control;',
  278. w, w, '', 'Application Visibility Control', null, null, this.getTagsForStencil(gn, 'application visibility control', dt).join(' ')),
  279. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.casb;',
  280. w, w, '', 'CASB', null, null, this.getTagsForStencil(gn, 'casb', dt).join(' ')),
  281. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.client_based_security;',
  282. w, w, '', 'Client-Based Security', null, null, this.getTagsForStencil(gn, 'client based security', dt).join(' ')),
  283. this.createVertexTemplateEntry(n3 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.block;',
  284. w, w, '', 'Block', null, null, this.getTagsForStencil(gn, 'block', dt).join(' ')),
  285. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.cloud_web_security;',
  286. w, w, '', 'Cloud Web Security', null, null, this.getTagsForStencil(gn, 'cloud web security', dt).join(' ')),
  287. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.conference_bridge;',
  288. w, w, '', 'Conference Bridge', null, null, this.getTagsForStencil(gn, 'conference bridge', dt).join(' ')),
  289. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.database;',
  290. w, w, '', 'Database', null, null, this.getTagsForStencil(gn, 'database', dt).join(' ')),
  291. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.data_loss_prevention;',
  292. w, w, '', 'Data Loss Prevention', null, null, this.getTagsForStencil(gn, 'data loss prevention', dt).join(' ')),
  293. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.device_profiling;',
  294. w, w, '', 'Device Profiling', null, null, this.getTagsForStencil(gn, 'device profiling', dt).join(' ')),
  295. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.device_trajectory;',
  296. w, w, '', 'Device Trajectory', null, null, this.getTagsForStencil(gn, 'device trajectory', dt).join(' ')),
  297. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.disk_encryption;',
  298. w, w, '', 'Disk Encryption', null, null, this.getTagsForStencil(gn, 'disk encryption', dt).join(' ')),
  299. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.distributed_denial_of_service_protection;',
  300. w, w, '', 'Distributed Denial of Service Protection', null, null, this.getTagsForStencil(gn, 'distributed denial of service protection', dt).join(' ')),
  301. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.dns;',
  302. w, w, '', 'DNS', null, null, this.getTagsForStencil(gn, 'dns', dt).join(' ')),
  303. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.dns_security;',
  304. w, w, '', 'DNS Security', null, null, this.getTagsForStencil(gn, 'dns security', dt).join(' ')),
  305. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.email_encryption;',
  306. w, w, '', 'Email Encryption', null, null, this.getTagsForStencil(gn, 'email encryption', dt).join(' ')),
  307. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.email_security;',
  308. w, w, '', 'Email Security', null, null, this.getTagsForStencil(gn, 'email security', dt).join(' ')),
  309. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.file_trajectory;',
  310. w, w, '', 'File Trajectory', null, null, this.getTagsForStencil(gn, 'file trajectory', dt).join(' ')),
  311. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.fabric_switching;',
  312. w, w, '', 'Fabric Switching', null, null, this.getTagsForStencil(gn, 'fabric switching', dt).join(' ')),
  313. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.firewall;',
  314. w, w, '', 'Firewall', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
  315. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.flow_analytics;',
  316. w, w, '', 'Flow Analytics', null, null, this.getTagsForStencil(gn, 'flow analytics', dt).join(' ')),
  317. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.identity_authorization;',
  318. w, w, '', 'Identity Authorization', null, null, this.getTagsForStencil(gn, 'identity authorization', dt).join(' ')),
  319. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.identity_authorization_alt;',
  320. w, w, '', 'Identity Authorization (alternative)', null, null, this.getTagsForStencil(gn, 'identity authorization alt alternative', dt).join(' ')),
  321. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.intrusion_detection;',
  322. w, w, '', 'Intrusion Detection', null, null, this.getTagsForStencil(gn, 'intrusion detection', dt).join(' ')),
  323. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.intrusion_prevention;',
  324. w, w, '', 'Intrusion Prevention', null, null, this.getTagsForStencil(gn, 'intrusion prevention', dt).join(' ')),
  325. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l2_l3_network;',
  326. w, w, '', 'L2 L3 Network', null, null, this.getTagsForStencil(gn, 'l2 l3 network', dt).join(' ')),
  327. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l2_l3_network_virtual;',
  328. w, w, '', 'L2 L3 Network (virtual)', null, null, this.getTagsForStencil(gn, 'l2 l3 network virtual', dt).join(' ')),
  329. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l2_switching;',
  330. w, w, '', 'L2 Switching', null, null, this.getTagsForStencil(gn, 'l2 switching', dt).join(' ')),
  331. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l3_switching;',
  332. w, w, '', 'L3 Switching', null, null, this.getTagsForStencil(gn, 'l3 switching', dt).join(' ')),
  333. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.load_balancer;',
  334. w, w, '', 'Load Balancer', null, null, this.getTagsForStencil(gn, 'load balancer', dt).join(' ')),
  335. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.logging_reporting;',
  336. w, w, '', 'Logging Reporting', null, null, this.getTagsForStencil(gn, 'logging reporting', dt).join(' ')),
  337. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.malware_sandbox;',
  338. w, w, '', 'Malware Sandbox', null, null, this.getTagsForStencil(gn, 'malware sandbox', dt).join(' ')),
  339. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.micro_segmentation;',
  340. w, w, '', 'Micro-Segmentation', null, null, this.getTagsForStencil(gn, 'micro segmentation', dt).join(' ')),
  341. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.mobile_device_manager;',
  342. w, w, '', 'Mobile Device Manager', null, null, this.getTagsForStencil(gn, 'mobile device manager', dt).join(' ')),
  343. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.multi_factor_identification;',
  344. w, w, '', 'Multi-Factor Identification', null, null, this.getTagsForStencil(gn, 'multi factor identification', dt).join(' ')),
  345. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.monitoring;',
  346. w, w, '', 'Monitoring', null, null, this.getTagsForStencil(gn, 'monitoring', dt).join(' ')),
  347. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.policy_configuration;',
  348. w, w, '', 'Policy Configuration', null, null, this.getTagsForStencil(gn, 'policy configuration', dt).join(' ')),
  349. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.posture_assessment;',
  350. w, w, '', 'Posture Assessment', null, null, this.getTagsForStencil(gn, 'posture assessment', dt).join(' ')),
  351. this.createVertexTemplateEntry(n3 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.quarantine;',
  352. w, w, '', 'Quarantine', null, null, this.getTagsForStencil(gn, 'quarantine', dt).join(' ')),
  353. this.createVertexTemplateEntry(n3 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.remediate;',
  354. w, w, '', 'Remediate', null, null, this.getTagsForStencil(gn, 'remediate', dt).join(' ')),
  355. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.routing;',
  356. w, w, '', 'Routing', null, null, this.getTagsForStencil(gn, 'routing', dt).join(' ')),
  357. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.server_based_security;',
  358. w, w, '', 'Server Based Security', null, null, this.getTagsForStencil(gn, 'server based security', dt).join(' ')),
  359. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.tagging;',
  360. w, w, '', 'Tagging', null, null, this.getTagsForStencil(gn, 'tagging', dt).join(' ')),
  361. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.ssl_tls_offload;',
  362. w, w, '', 'SSL TLS Offload', null, null, this.getTagsForStencil(gn, 'ssl tls offload', dt).join(' ')),
  363. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.storage;',
  364. w, w, '', 'Storage', null, null, this.getTagsForStencil(gn, 'storage', dt).join(' ')),
  365. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.threat_intelligence;',
  366. w, w, '', 'Threat Intelligence', null, null, this.getTagsForStencil(gn, 'threat intelligence', dt).join(' ')),
  367. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.time_synchronization;',
  368. w, w, '', 'Time Synchronization', null, null, this.getTagsForStencil(gn, 'time synchronization', dt).join(' ')),
  369. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.user;',
  370. w, w, '', 'User', null, null, this.getTagsForStencil(gn, 'user', dt).join(' ')),
  371. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.video;',
  372. w, w, '', 'Video', null, null, this.getTagsForStencil(gn, 'video', dt).join(' ')),
  373. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.virtualized_capability;',
  374. w, w, '', 'Virtualized Capability', null, null, this.getTagsForStencil(gn, 'virtualized capability', dt).join(' ')),
  375. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.virtual_firewall;',
  376. w, w, '', 'Virtual Firewall', null, null, this.getTagsForStencil(gn, 'virtual firewall', dt).join(' ')),
  377. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.virtual_l2_switching;',
  378. w, w, '', 'Virtual L2 Switching', null, null, this.getTagsForStencil(gn, 'virtual l2 switching', dt).join(' ')),
  379. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.virtual_private_network;',
  380. w, w, '', 'Virtual Private Network', null, null, this.getTagsForStencil(gn, 'virtual private network vpn', dt).join(' ')),
  381. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.voice;',
  382. w, w, '', 'Voice', null, null, this.getTagsForStencil(gn, 'voice', dt).join(' ')),
  383. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.vpn_concentrator;',
  384. w, w, '', 'VPN Concentrator', null, null, this.getTagsForStencil(gn, 'vpn concentrator virtual private network', dt).join(' ')),
  385. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.vulnerability_management;',
  386. w, w, '', 'Vulnerability Management', null, null, this.getTagsForStencil(gn, 'vulnerability management', dt).join(' ')),
  387. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.web_application_firewall;',
  388. w, w, '', 'Web Application Firewall', null, null, this.getTagsForStencil(gn, 'web application firewall', dt).join(' ')),
  389. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.web_reputation_filtering_dcs;',
  390. w, w, '', 'Web Reputation Filtering DCS', null, null, this.getTagsForStencil(gn, 'web reputation filtering dcs', dt).join(' ')),
  391. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.web_security;',
  392. w, w, '', 'Web Security', null, null, this.getTagsForStencil(gn, 'web security', dt).join(' ')),
  393. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.wireless_connection;',
  394. w, w, '', 'Wireless Connection', null, null, this.getTagsForStencil(gn, 'wireless connection', dt).join(' ')),
  395. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.wireless_intrusion_detection_system;',
  396. w, w, '', 'Wireless Intrusion Detection System', null, null, this.getTagsForStencil(gn, 'wireless intrusion detection system', dt).join(' ')),
  397. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.wireless_intrusion_prevention_system;',
  398. w, w, '', 'Wireless Intrusion Prevention System', null, null, this.getTagsForStencil(gn, 'wireless intrusion prevention system', dt).join(' ')),
  399. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.wireless_rogue_detection;',
  400. w, w, '', 'Wireless Rogue Detection', null, null, this.getTagsForStencil(gn, 'wireless rogue detection', dt).join(' ')),
  401. this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.routing;',
  402. w, w, '', 'Routing', null, null, this.getTagsForStencil(gn, 'routing', dt).join(' ')),
  403. this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l2_switching;',
  404. w, w, '', 'L2 Switching', null, null, this.getTagsForStencil(gn, 'l2 switching', dt).join(' ')),
  405. this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l3_switching;',
  406. w, w, '', 'L3 Switching', null, null, this.getTagsForStencil(gn, 'l3 switching', dt).join(' ')),
  407. this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.fabric_switching;',
  408. w, w, '', 'Fabric Switching', null, null, this.getTagsForStencil(gn, 'fabric switching', dt).join(' ')),
  409. this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l2_l3_network;',
  410. w, w, '', 'L2 L3 Network', null, null, this.getTagsForStencil(gn, 'l2 l3 network', dt).join(' ')),
  411. this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.wireless_connection;',
  412. w, w, '', 'Wireless Connection', null, null, this.getTagsForStencil(gn, 'wireless connection', dt).join(' ')),
  413. this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.application_optimization;',
  414. w, w, '', 'Application Optimization', null, null, this.getTagsForStencil(gn, 'application optimization', dt).join(' ')),
  415. this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.quality_of_service;',
  416. w, w, '', 'Quality of Service', null, null, this.getTagsForStencil(gn, 'quality of service', dt).join(' ')),
  417. this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.path_control;',
  418. w, w, '', 'Path Control', null, null, this.getTagsForStencil(gn, 'path control', dt).join(' ')),
  419. this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.database;',
  420. w, w, '', 'Database', null, null, this.getTagsForStencil(gn, 'database', dt).join(' ')),
  421. this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.storage;',
  422. w, w, '', 'Storage', null, null, this.getTagsForStencil(gn, 'storage', dt).join(' ')),
  423. this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.secure_server;',
  424. w, w, '', 'Secure Server', null, null, this.getTagsForStencil(gn, 'secure server', dt).join(' ')),
  425. this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.voice;',
  426. w, w, '', 'Voice', null, null, this.getTagsForStencil(gn, 'voice', dt).join(' ')),
  427. this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.video;',
  428. w, w, '', 'Video', null, null, this.getTagsForStencil(gn, 'video', dt).join(' ')),
  429. this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.load_balancer;',
  430. w, w, '', 'Load Balancer', null, null, this.getTagsForStencil(gn, 'load balancer', dt).join(' ')),
  431. this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.host_context;',
  432. w, w, '', 'Host Context', null, null, this.getTagsForStencil(gn, 'host context', dt).join(' ')),
  433. this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.application;',
  434. w, w, '', 'Business Application', null, null, this.getTagsForStencil(gn, 'business application', dt).join(' ')),
  435. this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.infrastructure_redundancy;',
  436. w, w, '', 'Infrastructure Redundancy', null, null, this.getTagsForStencil(gn, 'infrastructure redundancy', dt).join(' ')),
  437. this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.standardized_system_images;',
  438. w, w, '', 'Standardized System Images', null, null, this.getTagsForStencil(gn, 'standardized_system_images', dt).join(' '))
  439. ]);
  440. };
  441. Sidebar.prototype.addCiscoSafeDesignPalette = function()
  442. {
  443. var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#A153A0;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;pointerEvents=1;align=center;' +
  444. '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.';
  445. var s2 = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#A153A0;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;align=center;pointerEvents=1;shape=mxgraph.cisco_safe.design.';
  446. var n = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#A153A0;strokeColor=#ffffff;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;align=center;' +
  447. '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.";
  448. var gn = 'mxgraph.cisco_safe.design';
  449. var dt = 'cisco safe design';
  450. var w = 50;
  451. this.addPaletteFunctions('cisco_safeDesign', 'Cisco Safe / Design', false,
  452. [
  453. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.access_point;',
  454. w, w * 0.9, '', 'Access Point', null, null, this.getTagsForStencil(gn, 'access point', dt).join(' ')),
  455. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.access_switch_2;',
  456. w, w * 0.9, '', 'Access Switch', null, null, this.getTagsForStencil(gn, 'access switch', dt).join(' ')),
  457. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.aci_controller;',
  458. w, w * 0.9, '', 'ACI Controller', null, null, this.getTagsForStencil(gn, 'aci controller', dt).join(' ')),
  459. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.aci_controller_2;',
  460. w, w * 0.9, '', 'ACI Controller', null, null, this.getTagsForStencil(gn, 'aci controller', dt).join(' ')),
  461. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.aci_leaf_switch;',
  462. w, w * 0.9, '', 'ACI Leaf Switch', null, null, this.getTagsForStencil(gn, 'aci leaf switch', dt).join(' ')),
  463. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.aci_spine_switch;',
  464. w, w * 0.9, '', 'ACI Spine Switch', null, null, this.getTagsForStencil(gn, 'aci spine switch', dt).join(' ')),
  465. this.createVertexTemplateEntry(s2 + 'actor_1;',
  466. w * 0.47, w, '', 'Actor (female)', null, null, this.getTagsForStencil(gn, 'actor female', dt).join(' ')),
  467. this.createVertexTemplateEntry(s2 + 'actor_2;',
  468. w * 0.38, w, '', 'Actor (male)', null, null, this.getTagsForStencil(gn, 'actuator', dt).join(' ')),
  469. this.createVertexTemplateEntry(s2 + 'actuator;',
  470. w, w * 0.9, '', 'Actuator', null, null, this.getTagsForStencil(gn, 'actuator', dt).join(' ')),
  471. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.adaptive_security_appliance;',
  472. w, w * 0.9, '', 'Adaptive Security Appliance', null, null, this.getTagsForStencil(gn, 'adaptive security appliance', dt).join(' ')),
  473. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.adaptive_security_appliance_2;',
  474. w, w * 0.9, '', 'Adaptive Security Appliance', null, null, this.getTagsForStencil(gn, 'adaptive security appliance', dt).join(' ')),
  475. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.automated_system;',
  476. w, w * 0.9, '', 'Automated System', null, null, this.getTagsForStencil(gn, 'automated system', dt).join(' ')),
  477. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.blade_server;',
  478. w, w * 0.9, '', 'Blade Server', null, null, this.getTagsForStencil(gn, 'blade server', dt).join(' ')),
  479. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.blade_server_2;',
  480. w, w * 0.9, '', 'Blade Server', null, null, this.getTagsForStencil(gn, 'blade server', dt).join(' ')),
  481. this.createVertexTemplateEntry(s + 'blank_device;',
  482. w, w * 0.9, '', 'Blank Device', null, null, this.getTagsForStencil(gn, 'blank device', dt).join(' ')),
  483. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.blank_service;',
  484. w, w * 0.9, '', 'Blank Service', null, null, this.getTagsForStencil(gn, 'blank service', dt).join(' ')),
  485. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.call_manager;',
  486. w, w * 0.9, '', 'Call Manager', null, null, this.getTagsForStencil(gn, 'call manager', dt).join(' ')),
  487. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.catalyst_data_center_switch;',
  488. w, w * 0.9, '', 'Catalyst Data Center Switch', null, null, this.getTagsForStencil(gn, 'catalyst data center switch', dt).join(' ')),
  489. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.catalyst_switch_stack;',
  490. w, w * 0.9, '', 'Catalyst Switch Stack', null, null, this.getTagsForStencil(gn, 'catalyst switch stack', dt).join(' ')),
  491. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.cisco_amp;',
  492. w, w * 0.9, '', 'Cisco Amp', null, null, this.getTagsForStencil(gn, 'cisco amp amplifier', dt).join(' ')),
  493. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.cisco_anyconnect;',
  494. w, w * 0.9, '', 'Cisco AnyConnect', null, null, this.getTagsForStencil(gn, 'cisco anyconnect', dt).join(' ')),
  495. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.cisco_cloud_web_security;',
  496. w, w * 0.9, '', 'Cisco Cloud Web Security', null, null, this.getTagsForStencil(gn, 'cisco cloud web security', dt).join(' ')),
  497. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.client_firewall;',
  498. w, w * 0.9, '', 'Client Firewall', null, null, this.getTagsForStencil(gn, 'client firewall', dt).join(' ')),
  499. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.l3_switch;',
  500. w, w * 0.9, '', 'Core Switch', null, null, this.getTagsForStencil(gn, 'core switch', dt).join(' ')),
  501. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.corporate_device;',
  502. w, w * 0.9, '', 'Corporate Device', null, null, this.getTagsForStencil(gn, 'corporate device', dt).join(' ')),
  503. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.corporate_device;',
  504. w, w * 0.9, '', 'Corporate Wireless Device', null, null, this.getTagsForStencil(gn, 'corporate device_2', dt).join(' ')),
  505. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.ddos_protection;',
  506. w, w * 0.9, '', 'DDOS Protection', null, null, this.getTagsForStencil(gn, 'ddos protection', dt).join(' ')),
  507. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.ddos_protection_2;',
  508. w, w * 0.9, '', 'DDOS Protection', null, null, this.getTagsForStencil(gn, 'ddos protection', dt).join(' ')),
  509. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.distribution_switch;',
  510. w, w * 0.9, '', 'Distribution Switch', null, null, this.getTagsForStencil(gn, 'distribution switch', dt).join(' ')),
  511. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.email_security;',
  512. w, w * 0.9, '', 'Email Security', null, null, this.getTagsForStencil(gn, 'email security', dt).join(' ')),
  513. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.encryption_offload;',
  514. w, w * 0.9, '', 'Encryption Offload', null, null, this.getTagsForStencil(gn, 'encryption offload', dt).join(' ')),
  515. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.endpoint_concentrator;',
  516. w, w * 0.9, '', 'Endpoint Concentrator', null, null, this.getTagsForStencil(gn, 'endpoint concentrator', dt).join(' ')),
  517. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.endpoint_concentrator_2;',
  518. w, w * 0.9, '', 'Endpoint Concentrator', null, null, this.getTagsForStencil(gn, 'endpoint concentrator', dt).join(' ')),
  519. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.fabric_switch;',
  520. w, w * 0.9, '', 'Fabric Switch', null, null, this.getTagsForStencil(gn, 'fabric switch', dt).join(' ')),
  521. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.firepower_appliance;',
  522. w, w * 0.9, '', 'Firepower Appliance', null, null, this.getTagsForStencil(gn, 'firepower appliance', dt).join(' ')),
  523. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.firepower_appliance_2;',
  524. w, w * 0.9, '', 'Firepower Appliance', null, null, this.getTagsForStencil(gn, 'firepower appliance', dt).join(' ')),
  525. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.firepower_management_center;',
  526. w, w * 0.9, '', 'Firepower Management Center', null, null, this.getTagsForStencil(gn, 'firepower management center', dt).join(' ')),
  527. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.firepower_management_center_2;',
  528. w, w * 0.9, '', 'Firepower Management Center', null, null, this.getTagsForStencil(gn, 'firepower management center', dt).join(' ')),
  529. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.firewall;',
  530. w, w * 0.9, '', 'Firewall', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
  531. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.firewall_2;',
  532. w, w * 0.9, '', 'Firewall', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
  533. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.flow_collector;',
  534. w, w * 0.9, '', 'Flow Collector', null, null, this.getTagsForStencil(gn, 'flow collector', dt).join(' ')),
  535. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.flow_collector_2;',
  536. w, w * 0.9, '', 'Flow Collector', null, null, this.getTagsForStencil(gn, 'flow collector', dt).join(' ')),
  537. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.flow_sensor;',
  538. w, w * 0.9, '', 'Flow Sensor', null, null, this.getTagsForStencil(gn, 'flow sensor', dt).join(' ')),
  539. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.flow_sensor_2;',
  540. w, w * 0.9, '', 'Flow Sensor', null, null, this.getTagsForStencil(gn, 'flow sensor', dt).join(' ')),
  541. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.intrusion_detection;',
  542. w, w * 0.9, '', 'Intrusion Prevention', null, null, this.getTagsForStencil(gn, 'intrusion detection', dt).join(' ')),
  543. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.intrusion_prevention_2;',
  544. w, w * 0.9, '', 'Intrusion Prevention', null, null, this.getTagsForStencil(gn, 'intrusion detection', dt).join(' ')),
  545. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.identity_directory;',
  546. w, w * 0.9, '', 'Identity Directory', null, null, this.getTagsForStencil(gn, 'identity directory', dt).join(' ')),
  547. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.l2_switch;',
  548. w, w * 0.9, '', 'L2 Switch', null, null, this.getTagsForStencil(gn, 'l2 switch', dt).join(' ')),
  549. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.l3_switch;',
  550. w, w * 0.9, '', 'L3 Switch', null, null, this.getTagsForStencil(gn, 'l3 switch', dt).join(' ')),
  551. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.load_balancer;',
  552. w, w * 0.9, '', 'Load Balancer', null, null, this.getTagsForStencil(gn, 'load balancer', dt).join(' ')),
  553. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.load_balancer_2;',
  554. w, w * 0.9, '', 'Load Balancer', null, null, this.getTagsForStencil(gn, 'load balancer', dt).join(' ')),
  555. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.log_collector;',
  556. w, w * 0.9, '', 'Log collector', null, null, this.getTagsForStencil(gn, 'log collector', dt).join(' ')),
  557. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.log_collector_2;',
  558. w, w * 0.9, '', 'Log collector', null, null, this.getTagsForStencil(gn, 'log collector', dt).join(' ')),
  559. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.mgmt_console;',
  560. w, w * 0.9, '', 'Management Console', null, null, this.getTagsForStencil(gn, 'management console', dt).join(' ')),
  561. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.mgmt_console_2;',
  562. w, w * 0.9, '', 'Management Console', null, null, this.getTagsForStencil(gn, 'management console', dt).join(' ')),
  563. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.mdm;',
  564. w, w * 0.9, '', 'MDM', null, null, this.getTagsForStencil(gn, 'mdm', dt).join(' ')),
  565. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.mdm_2;',
  566. w, w * 0.9, '', 'MDM', null, null, this.getTagsForStencil(gn, 'mdm', dt).join(' ')),
  567. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.mobile_device;',
  568. w, w * 0.9, '', 'Mobile Device', null, null, this.getTagsForStencil(gn, 'mobile device', dt).join(' ')),
  569. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.monitoring;',
  570. w, w * 0.9, '', 'Monitoring', null, null, this.getTagsForStencil(gn, 'monitoring', dt).join(' ')),
  571. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.monitoring_2;',
  572. w, w * 0.9, '', 'Monitoring', null, null, this.getTagsForStencil(gn, 'monitoring', dt).join(' ')),
  573. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.ms_active_directory;',
  574. w, w * 0.9, '', 'MS Active Directory', null, null, this.getTagsForStencil(gn, 'ms active directory', dt).join(' ')),
  575. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.ms_active_directory_2;',
  576. w, w * 0.9, '', 'MS Active Directory', null, null, this.getTagsForStencil(gn, 'ms active directory', dt).join(' ')),
  577. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.nexus_1kv;',
  578. w, w * 0.9, '', 'Nexus 1kv', null, null, this.getTagsForStencil(gn, 'nexus 1kv', dt).join(' ')),
  579. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.nexus_data_center_switch;',
  580. w, w * 0.9, '', 'Nexus Data Center Switch', null, null, this.getTagsForStencil(gn, 'nexus data center switch', dt).join(' ')),
  581. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.nexus_fabric_switch;',
  582. w, w * 0.9, '', 'Nexus Fabric Switch', null, null, this.getTagsForStencil(gn, 'nexus fabric switch', dt).join(' ')),
  583. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.nexus_switch;',
  584. w, w * 0.9, '', 'Nexus Switch', null, null, this.getTagsForStencil(gn, 'nexus switch', dt).join(' ')),
  585. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.ntp;',
  586. w, w * 0.9, '', 'NTP', null, null, this.getTagsForStencil(gn, 'ntp', dt).join(' ')),
  587. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.ntp_2;',
  588. w, w * 0.9, '', 'NTP', null, null, this.getTagsForStencil(gn, 'ntp', dt).join(' ')),
  589. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.phone;',
  590. w, w * 0.9, '', 'Phone', null, null, this.getTagsForStencil(gn, 'phone', dt).join(' ')),
  591. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.policy;',
  592. w, w * 0.9, '', 'Policy', null, null, this.getTagsForStencil(gn, 'policy', dt).join(' ')),
  593. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.policy_2;',
  594. w, w * 0.9, '', 'Policy', null, null, this.getTagsForStencil(gn, 'policy', dt).join(' ')),
  595. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.radware;',
  596. w, w * 0.9, '', 'Radware Appliance', null, null, this.getTagsForStencil(gn, 'radware', dt).join(' ')),
  597. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.radware_2;',
  598. w, w * 0.9, '', 'Radware Appliance', null, null, this.getTagsForStencil(gn, 'radware', dt).join(' ')),
  599. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.router;',
  600. w, w * 0.9, '', 'Router', null, null, this.getTagsForStencil(gn, 'router', dt).join(' ')),
  601. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.router_2;',
  602. w, w * 0.9, '', 'Router', null, null, this.getTagsForStencil(gn, 'router', dt).join(' ')),
  603. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.sd_wan;',
  604. w, w * 0.9, '', 'SD-WAN', null, null, this.getTagsForStencil(gn, 'sd wan', dt).join(' ')),
  605. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.sd_wan_2;',
  606. w, w * 0.9, '', 'SD-WAN', null, null, this.getTagsForStencil(gn, 'sd wan', dt).join(' ')),
  607. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.secure_dns;',
  608. w, w * 0.9, '', 'Secure DNS', null, null, this.getTagsForStencil(gn, 'secure dns', dt).join(' ')),
  609. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.secure_dns_2;',
  610. w, w * 0.9, '', 'Secure DNS', null, null, this.getTagsForStencil(gn, 'secure dns', dt).join(' ')),
  611. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.sensor;',
  612. w, w * 0.9, '', 'Sensor', null, null, this.getTagsForStencil(gn, 'sensor', dt).join(' ')),
  613. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.server_1;',
  614. w, w * 0.9, '', 'Server', null, null, this.getTagsForStencil(gn, 'server', dt).join(' ')),
  615. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.server_3;',
  616. w, w * 0.9, '', 'Server', null, null, this.getTagsForStencil(gn, 'server', dt).join(' ')),
  617. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.server_2;',
  618. w, w * 0.9, '', 'Server', null, null, this.getTagsForStencil(gn, 'server', dt).join(' ')),
  619. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.server_4;',
  620. w, w * 0.9, '', 'Server', null, null, this.getTagsForStencil(gn, 'server', dt).join(' ')),
  621. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.siem;',
  622. w, w * 0.9, '', 'SIEM', null, null, this.getTagsForStencil(gn, 'siem', dt).join(' ')),
  623. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.siem_2;',
  624. w, w * 0.9, '', 'SIEM', null, null, this.getTagsForStencil(gn, 'siem', dt).join(' ')),
  625. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.storage_1;',
  626. w, w * 0.9, '', 'Storage', null, null, this.getTagsForStencil(gn, 'storage', dt).join(' ')),
  627. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.storage;',
  628. w, w * 0.9, '', 'Storage', null, null, this.getTagsForStencil(gn, 'storage', dt).join(' ')),
  629. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.switch_stack;',
  630. w, w * 0.9, '', 'Switch Stack', null, null, this.getTagsForStencil(gn, 'switch stack', dt).join(' ')),
  631. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.tetration_agent;',
  632. w, w * 0.9, '', 'Tetration Agent', null, null, this.getTagsForStencil(gn, 'tetration agent', dt).join(' ')),
  633. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.tls_appliance;',
  634. w, w * 0.9, '', 'TLS Appliance', null, null, this.getTagsForStencil(gn, 'tls appliance', dt).join(' ')),
  635. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.encryption_offload;',
  636. w, w * 0.9, '', 'TLS Appliance', null, null, this.getTagsForStencil(gn, 'tls appliance', dt).join(' ')),
  637. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.udp_director;',
  638. w, w * 0.9, '', 'UDP Director', null, null, this.getTagsForStencil(gn, 'udp director', dt).join(' ')),
  639. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.udp_director_2;',
  640. w, w * 0.9, '', 'UDP Director', null, null, this.getTagsForStencil(gn, 'udp director', dt).join(' ')),
  641. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.user;',
  642. w, w, '', 'User', null, null, this.getTagsForStencil(gn, 'user', dt).join(' ')),
  643. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.users;',
  644. w, w, '', 'Users', null, null, this.getTagsForStencil(gn, 'users', dt).join(' ')),
  645. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.video_endpoint;',
  646. w, w, '', 'Video Endpoint', null, null, this.getTagsForStencil(gn, 'video endpoint', dt).join(' ')),
  647. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.virtual_secure_server;',
  648. w, w * 0.9, '', 'Virtual Secure Server', null, null, this.getTagsForStencil(gn, 'virtual secure server', dt).join(' ')),
  649. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vload_balancer;',
  650. w, w * 0.9, '', 'vLoad Balancer', null, null, this.getTagsForStencil(gn, 'vload balancer', dt).join(' ')),
  651. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vpn_concentrator;',
  652. w, w * 0.9, '', 'VPN Concentrator', null, null, this.getTagsForStencil(gn, 'vpn concentrator', dt).join(' ')),
  653. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vpn_concentrator_2;',
  654. w, w * 0.9, '', 'VPN Concentrator', null, null, this.getTagsForStencil(gn, 'vpn concentrator', dt).join(' ')),
  655. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vulnerability_management;',
  656. w, w * 0.9, '', 'Vulnerability Management', null, null, this.getTagsForStencil(gn, 'vulnerability management', dt).join(' ')),
  657. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vulnerability_management_2;',
  658. w, w * 0.9, '', 'Vulnerability Management', null, null, this.getTagsForStencil(gn, 'vulnerability management', dt).join(' ')),
  659. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vwaf_security;',
  660. w, w * 0.9, '', 'vWAF Security', null, null, this.getTagsForStencil(gn, 'vwaf security', dt).join(' ')),
  661. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vweb_security;',
  662. w, w * 0.9, '', 'vWeb Security', null, null, this.getTagsForStencil(gn, 'vweb security', dt).join(' ')),
  663. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vwlan_controller;',
  664. w, w * 0.9, '', 'vWLAN Controller', null, null, this.getTagsForStencil(gn, 'vwlan controller', dt).join(' ')),
  665. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.web_application_firewall;',
  666. w, w * 0.9, '', 'Web Application Firewall', null, null, this.getTagsForStencil(gn, 'web application firewall', dt).join(' ')),
  667. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.web_application_firewall_2;',
  668. w, w * 0.9, '', 'Web Application Firewall', null, null, this.getTagsForStencil(gn, 'web application firewall', dt).join(' ')),
  669. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.web_filtering;',
  670. w, w * 0.9, '', 'Web Filtering', null, null, this.getTagsForStencil(gn, 'web filtering', dt).join(' ')),
  671. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.web_filtering_2;',
  672. w, w * 0.9, '', 'Web Filtering', null, null, this.getTagsForStencil(gn, 'web filtering', dt).join(' ')),
  673. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.web_security;',
  674. w, w * 0.9, '', 'Web Security', null, null, this.getTagsForStencil(gn, 'web security', dt).join(' ')),
  675. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.wide_area_application_engine;',
  676. w, w * 0.9, '', 'Wide Area Application Engine', null, null, this.getTagsForStencil(gn, 'wide area application engine', dt).join(' ')),
  677. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.wide_area_application_engine_2;',
  678. w, w * 0.9, '', 'Wide Area Application Engine', null, null, this.getTagsForStencil(gn, 'wide area application engine', dt).join(' ')),
  679. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.wireless_corporate_device;',
  680. w, w * 0.9, '', 'Wireless Corporate Device', null, null, this.getTagsForStencil(gn, 'wireless corporate device', dt).join(' ')),
  681. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.wireless_switch;',
  682. w, w * 0.9, '', 'Wireless Switch', null, null, this.getTagsForStencil(gn, 'wireless switch', dt).join(' ')),
  683. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.wlan_controller;',
  684. w, w * 0.9, '', 'Wireless LAN Controller', null, null, this.getTagsForStencil(gn, 'wlan wireless lan controller', dt).join(' ')),
  685. this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vwlan_controller;',
  686. w, w * 0.9, '', 'Wireless LAN Controller', null, null, this.getTagsForStencil(gn, 'wlan wireless lan controller', dt).join(' '))
  687. ]);
  688. };
  689. Sidebar.prototype.addCiscoSafeIoTThingsIconsPalette = function()
  690. {
  691. var w = 50;
  692. var h = 50;
  693. var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#282828;strokeColor=none;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;pointerEvents=1;align=center;shape=mxgraph.cisco_safe.iot_things_icons.';
  694. var gn = 'mxgraph.cisco_safe.iot_things_icons';
  695. var dt = 'cisco safe iot things icons internet';
  696. var sc = 1;
  697. var w2 = sc * 50;
  698. this.addPaletteFunctions('cisco_safeIoT Things Icons', 'Cisco Safe / IoT Things Icons', false,
  699. [
  700. this.createVertexTemplateEntry(s + 'icon1;',
  701. w * 0.97, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  702. this.createVertexTemplateEntry(s + 'icon2;',
  703. w, h * 0.96, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  704. this.createVertexTemplateEntry(s + 'icon3;',
  705. w, h * 0.48, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  706. this.createVertexTemplateEntry(s + 'icon4;',
  707. w, h * 0.78, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  708. this.createVertexTemplateEntry(s + 'icon5;',
  709. w * 0.58, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  710. this.createVertexTemplateEntry(s + 'icon6;',
  711. w, h * 0.99, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  712. this.createVertexTemplateEntry(s + 'icon7;',
  713. w * 0.82, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  714. this.createVertexTemplateEntry(s + 'icon8;',
  715. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  716. this.createVertexTemplateEntry(s + 'icon9;',
  717. w, h * 0.77, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  718. this.createVertexTemplateEntry(s + 'icon10;',
  719. w * 0.5, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  720. this.createVertexTemplateEntry(s + 'icon11;',
  721. w, h * 0.97, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  722. this.createVertexTemplateEntry(s + 'icon12;',
  723. w, h * 0.65, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  724. this.createVertexTemplateEntry(s + 'icon13;',
  725. w, h * 0.56, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  726. this.createVertexTemplateEntry(s + 'icon14;',
  727. w * 0.37, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  728. this.createVertexTemplateEntry(s + 'icon15;',
  729. w, h * 0.65, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  730. this.createVertexTemplateEntry(s + 'icon16;',
  731. w, h * 0.92, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  732. this.createVertexTemplateEntry(s + 'icon17;',
  733. w * 0.7, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  734. this.createVertexTemplateEntry(s + 'icon18;',
  735. w, h * 0.75, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  736. this.createVertexTemplateEntry(s + 'icon19;',
  737. w, h * 0.77, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  738. this.createVertexTemplateEntry(s + 'icon20;',
  739. w * 0.91, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  740. this.createVertexTemplateEntry(s + 'icon21;',
  741. w, h * 0.97, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  742. this.createVertexTemplateEntry(s + 'icon22;',
  743. w, h * 0.73, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  744. this.createVertexTemplateEntry(s + 'icon23;',
  745. w, h * 0.9, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  746. this.createVertexTemplateEntry(s + 'icon24;',
  747. w, h * 0.87, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  748. this.createVertexTemplateEntry(s + 'icon25;',
  749. w, h * 0.22, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  750. this.createVertexTemplateEntry(s + 'icon26;',
  751. w, h * 0.63, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  752. this.createVertexTemplateEntry(s + 'icon27;',
  753. w, h * 0.5, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  754. this.createVertexTemplateEntry(s + 'icon28;',
  755. w, h * 0.74, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  756. this.createVertexTemplateEntry(s + 'icon29;',
  757. w, h * 0.74, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  758. this.createVertexTemplateEntry(s + 'icon30;',
  759. w, h * 0.71, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  760. this.createVertexTemplateEntry(s + 'icon31;',
  761. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  762. this.createVertexTemplateEntry(s + 'icon32;',
  763. w, h * 0.56, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  764. this.createVertexTemplateEntry(s + 'icon33;',
  765. w, h * 0.78, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  766. this.createVertexTemplateEntry(s + 'icon34;',
  767. w, h * 0.7, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  768. this.createVertexTemplateEntry(s + 'icon35;',
  769. w, h * 0.62, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  770. this.createVertexTemplateEntry(s + 'icon36;',
  771. w * 0.53, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  772. this.createVertexTemplateEntry(s + 'icon37;',
  773. w * 0.79, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  774. this.createVertexTemplateEntry(s + 'icon38;',
  775. w, h * 0.91, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  776. this.createVertexTemplateEntry(s + 'icon39;',
  777. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  778. this.createVertexTemplateEntry(s + 'icon40;',
  779. w, h * 0.89, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  780. this.createVertexTemplateEntry(s + 'icon41;',
  781. w * 0.58, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  782. this.createVertexTemplateEntry(s + 'icon42;',
  783. w * 0.58, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  784. this.createVertexTemplateEntry(s + 'icon43;',
  785. w * 0.96, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  786. this.createVertexTemplateEntry(s + 'icon44;',
  787. w * 0.99, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  788. this.createVertexTemplateEntry(s + 'icon45;',
  789. w, h * 0.99, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  790. this.createVertexTemplateEntry(s + 'icon46;',
  791. w, h * 0.83, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  792. this.createVertexTemplateEntry(s + 'icon47;',
  793. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  794. this.createVertexTemplateEntry(s + 'icon48;',
  795. w * 0.43, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' '))
  796. ]);
  797. };
  798. Sidebar.prototype.addCiscoSafePeoplePlacesThingsIconsPalette = function()
  799. {
  800. var w = 50;
  801. var h = 50;
  802. var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#282828;strokeColor=none;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;pointerEvents=1;align=center;shape=mxgraph.cisco_safe.people_places_things_icons.';
  803. var gn = 'mxgraph.cisco_safe.people_places_things_icons';
  804. var dt = 'cisco safe people places things';
  805. var sc = 1;
  806. var w2 = sc * 50;
  807. this.addPaletteFunctions('cisco_safePeople Places Things Icons', 'Cisco Safe / People, Places, Things Icons', false,
  808. [
  809. this.createVertexTemplateEntry(s + 'icon1;',
  810. w * 0.93, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  811. this.createVertexTemplateEntry(s + 'icon2;',
  812. w, h * 0.82, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  813. this.createVertexTemplateEntry(s + 'icon3;',
  814. w, h * 0.97, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  815. this.createVertexTemplateEntry(s + 'icon4;',
  816. w * 0.89, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  817. this.createVertexTemplateEntry(s + 'icon5;',
  818. w * 0.81, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  819. this.createVertexTemplateEntry(s + 'icon6;',
  820. w, h * 0.87, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  821. this.createVertexTemplateEntry(s + 'icon7;',
  822. w * 0.98, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  823. this.createVertexTemplateEntry(s + 'icon8;',
  824. w * 0.39, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  825. this.createVertexTemplateEntry(s + 'icon9;',
  826. w, h * 0.9, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  827. this.createVertexTemplateEntry(s + 'icon10;',
  828. w, h * 0.99, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  829. this.createVertexTemplateEntry(s + 'icon11;',
  830. w * 0.95, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' '))
  831. ]);
  832. };
  833. Sidebar.prototype.addCiscoSafeSecurityIconsPalette = function()
  834. {
  835. var w = 50;
  836. var h = 50;
  837. var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#282828;strokeColor=none;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;pointerEvents=1;align=center;shape=mxgraph.cisco_safe.security_icons.';
  838. var gn = 'mxgraph.cisco_safe.security_icons';
  839. var dt = 'cisco safe security';
  840. var sc = 1;
  841. var w2 = sc * 50;
  842. this.addPaletteFunctions('cisco_safeSecurity Icons', 'Cisco Safe / Security Icons', false,
  843. [
  844. this.createVertexTemplateEntry(s + 'ngips;',
  845. w * 0.71, h * 0.85, '', 'NGIPS', null, null, this.getTagsForStencil(gn, 'ngips', dt).join(' ')),
  846. this.createVertexTemplateEntry(s + 'ngfw;',
  847. w * 1.05, h * 0.92, '', 'NGFW', null, null, this.getTagsForStencil(gn, 'ngfw', dt).join(' ')),
  848. this.createVertexTemplateEntry(s + 'ise;',
  849. w * 0.49, h * 0.69, '', 'ISE', null, null, this.getTagsForStencil(gn, 'ise', dt).join(' ')),
  850. this.createVertexTemplateEntry(s + 'ids;',
  851. w * 0.92, h * 0.71, '', 'IDS', null, null, this.getTagsForStencil(gn, 'ids', dt).join(' ')),
  852. this.createVertexTemplateEntry(s + 'nba;',
  853. w * 0.89, h * 0.67, '', 'NBA', null, null, this.getTagsForStencil(gn, 'nba', dt).join(' ')),
  854. this.createVertexTemplateEntry(s + 'nac;',
  855. w, h, '', 'NAC', null, null, this.getTagsForStencil(gn, 'nac', dt).join(' ')),
  856. this.createVertexTemplateEntry(s + 'iam;',
  857. w * 0.75, h * 0.94, '', 'IAM', null, null, this.getTagsForStencil(gn, 'iam', dt).join(' ')),
  858. this.createVertexTemplateEntry(s + 'amp;',
  859. w, h, '', 'AMP', null, null, this.getTagsForStencil(gn, 'amp', dt).join(' ')),
  860. this.createVertexTemplateEntry(s + 'utm;',
  861. w * 1.04, h * 0.23, '', 'UTM', null, null, this.getTagsForStencil(gn, 'utm', dt).join(' ')),
  862. this.createVertexTemplateEntry(s + 'firewall;',
  863. w * 0.99, h * 0.7, '', 'Firewall', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
  864. this.createVertexTemplateEntry(s + 'vulnerability_management;',
  865. w, h, '', 'Vulnerability Management', null, null, this.getTagsForStencil(gn, 'vulnerability management', dt).join(' ')),
  866. this.createVertexTemplateEntry(s + 'log_management;',
  867. w * 0.6, h * 0.75, '', 'Log Management', null, null, this.getTagsForStencil(gn, 'log management', dt).join(' ')),
  868. this.createVertexTemplateEntry(s + 'application_control;',
  869. w, h, '', 'Application Control', null, null, this.getTagsForStencil(gn, 'application control', dt).join(' ')),
  870. this.createVertexTemplateEntry(s + 'virtual;',
  871. w, h, '', 'Virtual', null, null, this.getTagsForStencil(gn, 'virtual', dt).join(' ')),
  872. this.createVertexTemplateEntry(s + 'siem;',
  873. w, h * 0.81, '', 'SIEM', null, null, this.getTagsForStencil(gn, 'siem', dt).join(' ')),
  874. this.createVertexTemplateEntry(s + 'antivirus;',
  875. w, h * 0.65, '', 'Antivirus', null, null, this.getTagsForStencil(gn, 'antivirus', dt).join(' ')),
  876. this.createVertexTemplateEntry(s + 'patch_management;',
  877. w, h * 0.78, '', 'Patch Management', null, null, this.getTagsForStencil(gn, 'patch management', dt).join(' ')),
  878. this.createVertexTemplateEntry(s + 'inspection_forensics;',
  879. w, h * 0.77, '', 'Inspection / Forensics', null, null, this.getTagsForStencil(gn, 'inspection forensics', dt).join(' ')),
  880. this.createVertexTemplateEntry(s + 'malware_sandbox;',
  881. w, h * 0.62, '', 'Malware Sandbox', null, null, this.getTagsForStencil(gn, 'malware sandbox', dt).join(' ')),
  882. this.createVertexTemplateEntry(s + 'ddos;',
  883. w, h, '', 'DDoS', null, null, this.getTagsForStencil(gn, 'ddos', dt).join(' ')),
  884. this.createVertexTemplateEntry(s + 'talos;',
  885. w * 1.86, h * 0.43, '', 'Talos', null, null, this.getTagsForStencil(gn, 'talos', dt).join(' ')),
  886. this.createVertexTemplateEntry(s + 'services;',
  887. w, h * 0.92, '', 'Services', null, null, this.getTagsForStencil(gn, 'services', dt).join(' ')),
  888. this.createVertexTemplateEntry(s + 'vpn;',
  889. w * 0.86, h, '', 'VPN', null, null, this.getTagsForStencil(gn, 'vpn', dt).join(' ')),
  890. this.createVertexTemplateEntry(s + 'email;',
  891. w, h * 0.71, '', 'Email', null, null, this.getTagsForStencil(gn, 'email', dt).join(' ')),
  892. this.createVertexTemplateEntry(s + 'web;',
  893. w, h, '', 'Web', null, null, this.getTagsForStencil(gn, 'web', dt).join(' ')),
  894. this.createVertexTemplateEntry(s + 'virtual_deployment;',
  895. w, h * 0.89, '', 'Virtual Deployment', null, null, this.getTagsForStencil(gn, 'virtual deployment', dt).join(' ')),
  896. this.createVertexTemplateEntry(s + 'cloud_based;',
  897. w, h * 0.63, '', 'Cloud Based', null, null, this.getTagsForStencil(gn, 'cloud based', dt).join(' ')),
  898. this.createVertexTemplateEntry(s + 'cloud_based_management;',
  899. w, h * 0.78, '', 'Cloud Based Management', null, null, this.getTagsForStencil(gn, 'cloud based management', dt).join(' ')),
  900. this.createVertexTemplateEntry(s + 'trustsec;',
  901. w * 0.83, h, '', 'Trustsec', null, null, this.getTagsForStencil(gn, 'trustsec', dt).join(' ')),
  902. this.createVertexTemplateEntry(s + 'retrospective_security;',
  903. w, h * 0.96, '', 'Retrospective Security', null, null, this.getTagsForStencil(gn, 'retrospective security', dt).join(' ')),
  904. this.createVertexTemplateEntry(s + 'apic;',
  905. w, h * 0.81, '', 'APIC', null, null, this.getTagsForStencil(gn, 'apic', dt).join(' ')),
  906. this.createVertexTemplateEntry(s + 'waf;',
  907. w * 0.8, h, '', 'WAF', null, null, this.getTagsForStencil(gn, 'waf', dt).join(' ')),
  908. this.createVertexTemplateEntry(s + 'icon1;',
  909. w * 0.95, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  910. this.createVertexTemplateEntry(s + 'icon2;',
  911. w, h * 0.91, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  912. this.createVertexTemplateEntry(s + 'icon3;',
  913. w * 0.78, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  914. this.createVertexTemplateEntry(s + 'icon4;',
  915. w, h * 0.84, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  916. this.createVertexTemplateEntry(s + 'icon5;',
  917. w * 0.82, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  918. this.createVertexTemplateEntry(s + 'icon6;',
  919. w * 0.95, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  920. this.createVertexTemplateEntry(s + 'icon7;',
  921. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  922. this.createVertexTemplateEntry(s + 'icon8;',
  923. w * 0.85, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  924. this.createVertexTemplateEntry(s + 'icon9;',
  925. w * 0.68, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  926. this.createVertexTemplateEntry(s + 'icon10;',
  927. w, h * 0.62, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  928. this.createVertexTemplateEntry(s + 'icon11;',
  929. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  930. this.createVertexTemplateEntry(s + 'icon12;',
  931. w * 0.84, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  932. this.createVertexTemplateEntry(s + 'icon13;',
  933. w, h * 0.91, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  934. this.createVertexTemplateEntry(s + 'icon14;',
  935. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  936. this.createVertexTemplateEntry(s + 'icon15;',
  937. w * 0.79, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  938. this.createVertexTemplateEntry(s + 'icon16;',
  939. w, h * 0.47, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  940. this.createVertexTemplateEntry(s + 'icon17;',
  941. w * 0.58, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  942. this.createVertexTemplateEntry(s + 'icon18;',
  943. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  944. this.createVertexTemplateEntry(s + 'icon19;',
  945. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  946. this.createVertexTemplateEntry(s + 'icon20;',
  947. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  948. this.createVertexTemplateEntry(s + 'icon21;',
  949. w * 0.87, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  950. this.createVertexTemplateEntry(s + 'icon22;',
  951. w * 0.81, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  952. this.createVertexTemplateEntry(s + 'icon23;',
  953. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  954. this.createVertexTemplateEntry(s + 'icon24;',
  955. w * 0.89, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  956. this.createVertexTemplateEntry(s + 'icon25;',
  957. w, h * 0.91, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  958. this.createVertexTemplateEntry(s + 'icon26;',
  959. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  960. this.createVertexTemplateEntry(s + 'icon27;',
  961. w, h * 0.7, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  962. this.createVertexTemplateEntry(s + 'icon28;',
  963. w, h * 0.69, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  964. this.createVertexTemplateEntry(s + 'icon29;',
  965. w * 0.92, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  966. this.createVertexTemplateEntry(s + 'icon30;',
  967. w, h * 0.7, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  968. this.createVertexTemplateEntry(s + 'icon31;',
  969. w, h * 0.86, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  970. this.createVertexTemplateEntry(s + 'icon32;',
  971. w, h * 0.69, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  972. this.createVertexTemplateEntry(s + 'icon33;',
  973. w * 0.99, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  974. this.createVertexTemplateEntry(s + 'icon34;',
  975. w, h * 0.91, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  976. this.createVertexTemplateEntry(s + 'icon35;',
  977. w, h * 0.57, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  978. this.createVertexTemplateEntry(s + 'icon36;',
  979. w, h * 0.98, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  980. this.createVertexTemplateEntry(s + 'icon37;',
  981. w * 0.81, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  982. this.createVertexTemplateEntry(s + 'icon38;',
  983. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  984. this.createVertexTemplateEntry(s + 'icon39;',
  985. w * 0.72, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  986. this.createVertexTemplateEntry(s + 'icon40;',
  987. w, h * 0.66, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' '))
  988. ]);
  989. };
  990. Sidebar.prototype.addCiscoSafeTechnologyIconsPalette = function()
  991. {
  992. var w = 50;
  993. var h = 50;
  994. var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#282828;strokeColor=none;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;pointerEvents=1;align=center;shape=mxgraph.cisco_safe.technology_icons.';
  995. var gn = 'mxgraph.cisco_safe.technology_icons';
  996. var dt = 'cisco safe technology';
  997. var sc = 1;
  998. var w2 = sc * 50;
  999. this.addPaletteFunctions('cisco_safeTechnology Icons', 'Cisco Safe / Technology Icons', false,
  1000. [
  1001. this.createVertexTemplateEntry(s + 'icon1;',
  1002. w, h * 0.65, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1003. this.createVertexTemplateEntry(s + 'icon2;',
  1004. w * 0.58, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1005. this.createVertexTemplateEntry(s + 'icon3;',
  1006. w, h * 0.86, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1007. this.createVertexTemplateEntry(s + 'icon4;',
  1008. w, h * 0.99, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1009. this.createVertexTemplateEntry(s + 'icon5;',
  1010. w, h * 0.76, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1011. this.createVertexTemplateEntry(s + 'icon6;',
  1012. w * 0.58, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1013. this.createVertexTemplateEntry(s + 'icon7;',
  1014. w * 0.69, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1015. this.createVertexTemplateEntry(s + 'icon8;',
  1016. w * 0.91, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1017. this.createVertexTemplateEntry(s + 'icon9;',
  1018. w * 0.78, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1019. this.createVertexTemplateEntry(s + 'icon10;',
  1020. w, h * 0.82, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1021. this.createVertexTemplateEntry(s + 'icon11;',
  1022. w, h * 0.76, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1023. this.createVertexTemplateEntry(s + 'icon12;',
  1024. w * 0.79, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1025. this.createVertexTemplateEntry(s + 'icon13;',
  1026. w, h * 0.89, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1027. this.createVertexTemplateEntry(s + 'icon14;',
  1028. w, h * 0.77, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1029. this.createVertexTemplateEntry(s + 'icon15;',
  1030. w, h * 0.89, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1031. this.createVertexTemplateEntry(s + 'icon16;',
  1032. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1033. this.createVertexTemplateEntry(s + 'icon17;',
  1034. w, h * 0.85, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1035. this.createVertexTemplateEntry(s + 'icon18;',
  1036. w, h * 0.84, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1037. this.createVertexTemplateEntry(s + 'icon19;',
  1038. w, h * 0.84, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1039. this.createVertexTemplateEntry(s + 'icon20;',
  1040. w, h * 0.84, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1041. this.createVertexTemplateEntry(s + 'icon21;',
  1042. w * 0.86, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1043. this.createVertexTemplateEntry(s + 'icon22;',
  1044. w, h * 0.56, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1045. this.createVertexTemplateEntry(s + 'icon23;',
  1046. w, h * 0.47, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1047. this.createVertexTemplateEntry(s + 'icon24;',
  1048. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1049. this.createVertexTemplateEntry(s + 'icon25;',
  1050. w, h * 0.69, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1051. this.createVertexTemplateEntry(s + 'icon26;',
  1052. w, h * 0.81, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1053. this.createVertexTemplateEntry(s + 'icon27;',
  1054. w, h * 0.7, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1055. this.createVertexTemplateEntry(s + 'icon28;',
  1056. w, h * 0.43, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  1057. this.createVertexTemplateEntry(s + 'icon29;',
  1058. w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' '))
  1059. ]);
  1060. };
  1061. Sidebar.prototype.addCiscoSafeThreatPalette = function()
  1062. {
  1063. var w = 50;
  1064. var h = 50;
  1065. var n2 = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#F06650;strokeColor=#ffffff;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;align=center;' +
  1066. 'points=[];pointerEvents=1;' + mxConstants.STYLE_SHAPE + "=mxgraph.cisco_safe.";
  1067. var gn = 'mxgraph.cisco_safe.threat';
  1068. var dt = 'cisco safe threat ';
  1069. var sc = 1;
  1070. var w2 = sc * 50;
  1071. this.addPaletteFunctions('cisco_safeThreat', 'Cisco Safe / Threat', false,
  1072. [
  1073. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a1;',
  1074. w2 * 0.98, w2, '', 'Threat A1', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1075. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a2;',
  1076. w2 * 0.98, w2, '', 'Threat A2', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1077. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a3;',
  1078. w2 * 0.98, w2, '', 'Threat A3', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1079. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a4;',
  1080. w2 * 0.98, w2, '', 'Threat A4', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1081. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a5;',
  1082. w2 * 0.98, w2, '', 'Threat A5', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1083. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a6;',
  1084. w2 * 0.98, w2, '', 'Threat A6', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1085. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a7;',
  1086. w2 * 0.98, w2, '', 'Threat A7', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1087. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a8;',
  1088. w2 * 0.98, w2, '', 'Threat A8', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1089. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b1;',
  1090. w2 * 0.63, w2, '', 'Threat B1', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1091. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b2;',
  1092. w2 * 0.63, w2, '', 'Threat B2', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1093. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b3;',
  1094. w2 * 0.63, w2, '', 'Threat B3', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1095. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b4;',
  1096. w2 * 0.63, w2, '', 'Threat B4', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1097. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b5;',
  1098. w2 * 0.63, w2, '', 'Threat B5', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1099. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b6;',
  1100. w2 * 0.63, w2, '', 'Threat B6', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1101. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b7;',
  1102. w2 * 0.63, w2, '', 'Threat B7', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1103. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b8;',
  1104. w2 * 0.63, w2, '', 'Threat B8', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1105. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c1;',
  1106. w2, w2 * 0.81, '', 'Threat C1', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1107. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c2;',
  1108. w2, w2 * 0.81, '', 'Threat C2', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1109. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c3;',
  1110. w2, w2 * 0.81, '', 'Threat C3', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1111. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c4;',
  1112. w2, w2 * 0.81, '', 'Threat C4', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1113. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c5;',
  1114. w2, w2 * 0.81, '', 'Threat C5', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1115. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c6;',
  1116. w2, w2 * 0.81, '', 'Threat C6', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1117. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c7;',
  1118. w2, w2 * 0.81, '', 'Threat C7', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1119. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c8;',
  1120. w2, w2 * 0.81, '', 'Threat C8', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1121. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d1;',
  1122. w2 * 0.93, w2, '', 'Threat D1', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1123. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d2;',
  1124. w2 * 0.93, w2, '', 'Threat D2', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1125. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d3;',
  1126. w2 * 0.93, w2, '', 'Threat D3', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1127. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d4;',
  1128. w2 * 0.93, w2, '', 'Threat D4', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1129. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d5;',
  1130. w2 * 0.93, w2, '', 'Threat D5', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1131. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d6;',
  1132. w2 * 0.93, w2, '', 'Threat D6', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1133. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d7;',
  1134. w2 * 0.93, w2, '', 'Threat D7', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1135. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d8;',
  1136. w2 * 0.93, w2, '', 'Threat D8', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1137. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e1;',
  1138. w2, w2 * 0.94, '', 'Threat E1', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1139. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e2;',
  1140. w2, w2 * 0.94, '', 'Threat E2', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1141. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e3;',
  1142. w2, w2 * 0.94, '', 'Threat E3', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1143. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e4;',
  1144. w2, w2 * 0.94, '', 'Threat E4', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1145. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e5;',
  1146. w2, w2 * 0.94, '', 'Threat E5', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1147. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e6;',
  1148. w2, w2 * 0.94, '', 'Threat E6', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1149. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e7;',
  1150. w2, w2 * 0.94, '', 'Threat E7', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
  1151. this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e8;',
  1152. w2, w2 * 0.94, '', 'Threat E8', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' '))
  1153. ]);
  1154. };
  1155. })();