Sidebar-Veeam.js 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487
  1. (function()
  2. {
  3. // Adds mockup shapes
  4. Sidebar.prototype.addVeeamPalette = function()
  5. {
  6. this.addVeeam2DPalette();
  7. this.addVeeam3DPalette();
  8. };
  9. Sidebar.prototype.addVeeam2DPalette = function()
  10. {
  11. var sn = 'shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.';
  12. var s = 'shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.';
  13. var s2 = 'shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.';
  14. // Space savers
  15. var sb = this;
  16. var gn = 'mxgraph.veeam.2d';
  17. var dt = 'veeam 2d two dimension vmware virtual machine ';
  18. var w = 2.0;
  19. var h = 2.0;
  20. var fns =
  21. [
  22. this.createVertexTemplateEntry(s + '1ftvm;',
  23. w * 35, h * 35, '', '1FTVM', null, null, this.getTagsForStencil(gn, '1ftvm', dt).join(' ')),
  24. this.createVertexTemplateEntry(s + '1ftvm_error;',
  25. w * 35, h * 39, '', '1FTVM Error', null, null, this.getTagsForStencil(gn, '1ftvm error', dt).join(' ')),
  26. this.createVertexTemplateEntry(s + '1ftvm_running;',
  27. w * 35, h * 39, '', '1FTVM Running', null, null, this.getTagsForStencil(gn, '1frvm running', dt).join(' ')),
  28. this.createVertexTemplateEntry(s + '1ftvm_unavailable;',
  29. w * 35, h * 39, '', '1FTVM Unavailable', null, null, this.getTagsForStencil(gn, '1ftvm unavailable', dt).join(' ')),
  30. this.createVertexTemplateEntry(s + '1ftvm_warning;',
  31. w * 35, h * 39, '', '1FTVM Warning', null, null, this.getTagsForStencil(gn, '1ftvm warning', dt).join(' ')),
  32. this.createVertexTemplateEntry(s2 + '1_click_failover_orchestration;',
  33. w * 22, h * 22, '', '1 Click Failover Orchestration', null, null, this.getTagsForStencil(gn, 'one click failover orchestration', dt).join(' ')),
  34. this.createVertexTemplateEntry(s + '2ftvm;',
  35. w * 35, h * 35, '', '2FTVM', null, null, this.getTagsForStencil(gn, '2ftvm', dt).join(' ')),
  36. this.createVertexTemplateEntry(s + '2ftvm_error;',
  37. w * 35, h * 39, '', '2FTVM Error', null, null, this.getTagsForStencil(gn, '2ftvm error', dt).join(' ')),
  38. this.createVertexTemplateEntry(s + '2ftvm_running;',
  39. w * 35, h * 39, '', '2FTVM Running', null, null, this.getTagsForStencil(gn, '2ftvm running', dt).join(' ')),
  40. this.createVertexTemplateEntry(s + '2ftvm_unavailable;',
  41. w * 35, h * 39, '', '2FTVM Unavailable', null, null, this.getTagsForStencil(gn, '2ftvm unavailable', dt).join(' ')),
  42. this.createVertexTemplateEntry(s + '2ftvm_warning;',
  43. w * 35, h * 39, '', '2FTVM Warning', null, null, this.getTagsForStencil(gn, '2ftvm warning', dt).join(' ')),
  44. this.createVertexTemplateEntry(s + 'agent;',
  45. w * 19, h * 19, '', 'Agent', null, null, this.getTagsForStencil(gn, 'agent', dt).join(' ')),
  46. this.createVertexTemplateEntry(s + 'alarm;',
  47. w * 31, h * 23, '', 'Alarm', null, null, this.getTagsForStencil(gn, 'alarm', dt).join(' ')),
  48. this.createVertexTemplateEntry(s + 'alert;',
  49. w * 15, h * 15, '', 'Alert', null, null, this.getTagsForStencil(gn, 'alert', dt).join(' ')),
  50. this.createVertexTemplateEntry(s2 + 'assisted_failover_and_failback;',
  51. w * 23, h * 23, '', 'Assisted Failover and Failback', null, null, this.getTagsForStencil(gn, 'assisted failover and failback', dt).join(' ')),
  52. this.createVertexTemplateEntry(s + 'backup_browser;',
  53. w * 23, h * 23, '', 'Backup Browser', null, null, this.getTagsForStencil(gn, 'backup browser', dt).join(' ')),
  54. this.createVertexTemplateEntry(s2 + 'backup_from_storage_snapshots;',
  55. w * 23, h * 23, '', 'Backup from Storage Snapshots', null, null, this.getTagsForStencil(gn, 'backup from storage snapshots', dt).join(' ')),
  56. this.createVertexTemplateEntry(s + 'backup_repository;',
  57. w * 26, h * 24, '', 'Backup Repository', null, null, this.getTagsForStencil(gn, 'backup repository', dt).join(' ')),
  58. this.createVertexTemplateEntry(s + 'backup_repository_2;',
  59. w * 29, h * 25, '', 'Backup Repository', null, null, this.getTagsForStencil(gn, 'backup repository', dt).join(' ')),
  60. this.createVertexTemplateEntry(s2 + 'built_in_wan_acceleration;',
  61. w * 23, h * 23, '', 'Built-in WAN Acceleration', null, null, this.getTagsForStencil(gn, 'built in wan acceleration wireless area network', dt).join(' ')),
  62. this.createVertexTemplateEntry(s + 'cd;',
  63. w * 23, h * 23, '', 'CD', null, null, this.getTagsForStencil(gn, 'cd compact disc', dt).join(' ')),
  64. this.createVertexTemplateEntry(s + 'cloud;',
  65. w * 33, h * 23, '', 'Cloud', null, null, this.getTagsForStencil(gn, 'cloud', dt).join(' ')),
  66. this.createVertexTemplateEntry(s + 'cloud_gateway;',
  67. w * 23, h * 23, '', 'Cloud Gateway', null, null, this.getTagsForStencil(gn, 'cloud gateway', dt).join(' ')),
  68. this.createVertexTemplateEntry(s + 'database;',
  69. w * 29, h * 25, '', 'Database', null, null, this.getTagsForStencil(gn, 'database db', dt).join(' ')),
  70. this.createVertexTemplateEntry(s + 'datastore;',
  71. w * 22, h * 22, '', 'Datastore', null, null, this.getTagsForStencil(gn, 'datastore', dt).join(' ')),
  72. this.createVertexTemplateEntry(s + 'datastore_snapshot;',
  73. w * 23, h * 6, '', 'Datastore Snapshot', null, null, this.getTagsForStencil(gn, 'datastore snapshot', dt).join(' ')),
  74. this.createVertexTemplateEntry(s + 'datastore_volume;',
  75. w * 23, h * 6, '', 'Datastore Volume', null, null, this.getTagsForStencil(gn, 'datastore volume', dt).join(' ')),
  76. this.createVertexTemplateEntry(s + 'data_mover;',
  77. w * 19, h * 19, '', 'Data Mover', null, null, this.getTagsForStencil(gn, 'data mover', dt).join(' ')),
  78. this.createVertexTemplateEntry(s2 + 'disaster_recovery;',
  79. w * 23, h * 23, '', 'Disaster Recovery', null, null, this.getTagsForStencil(gn, 'disaster recovery', dt).join(' ')),
  80. this.createVertexTemplateEntry(s + 'download;',
  81. w * 23, h * 23, '', 'Download', null, null, this.getTagsForStencil(gn, 'download', dt).join(' ')),
  82. this.createVertexTemplateEntry(s2 + 'emc_data_domain_boost;',
  83. w * 23, h * 23, '', 'EMC Data Domain Boost', null, null, this.getTagsForStencil(gn, 'emc data domain boost', dt).join(' ')),
  84. this.createVertexTemplateEntry(s + 'encryption_object;',
  85. w * 23, h * 23, '', 'Encryption Object', null, null, this.getTagsForStencil(gn, 'encryption object', dt).join(' ')),
  86. this.createVertexTemplateEntry(s2 + 'end_to_end_encryption;',
  87. w * 23, h * 23, '', 'End to end Encryption', null, null, this.getTagsForStencil(gn, 'end to end encryption', dt).join(' ')),
  88. this.createVertexTemplateEntry(s + 'esx_esxi;',
  89. w * 15, h * 23, '', 'ESX/ESXi', null, null, this.getTagsForStencil(gn, 'esx esxi', dt).join(' ')),
  90. this.createVertexTemplateEntry(s2 + 'exagrid;',
  91. w * 23, h * 23, '', 'ExaGrid', null, null, this.getTagsForStencil(gn, 'exagrid', dt).join(' ')),
  92. this.createVertexTemplateEntry(s + 'failover_protective_snapshot;',
  93. w * 23, h * 23, '', 'Failover Protective Snapshot', null, null, this.getTagsForStencil(gn, 'failover protective snapshot', dt).join(' ')),
  94. this.createVertexTemplateEntry(s + 'failover_protective_snapshot_locked;',
  95. w * 27, h * 25, '', 'Failover Protective Snapshot Locked', null, null, this.getTagsForStencil(gn, 'failover protective snapshot locked', dt).join(' ')),
  96. this.createVertexTemplateEntry(s + 'failover_protective_snapshot_running;',
  97. w * 28, h * 25, '', 'Failover Protective Snapshot Running', null, null, this.getTagsForStencil(gn, 'failover protective snapshot running', dt).join(' ')),
  98. this.createVertexTemplateEntry(s + 'file;',
  99. w * 17, h * 23, '', 'File', null, null, this.getTagsForStencil(gn, 'file', dt).join(' ')),
  100. this.createVertexTemplateEntry(s + 'file_system_browser;',
  101. w * 23, h * 23, '', 'File System Browser', null, null, this.getTagsForStencil(gn, 'file system browser', dt).join(' ')),
  102. this.createVertexTemplateEntry(s + 'folder;',
  103. w * 24, h * 23, '', 'Folder', null, null, this.getTagsForStencil(gn, 'folder', dt).join(' ')),
  104. this.createVertexTemplateEntry(sn + 'forward_incremental_backup_increment;fillColor=#999A98;',
  105. w * 17, h * 12, '', 'Forward Incremental Backup - Increment (grey)', null, null, this.getTagsForStencil(gn, 'forward incremental backup increment', dt).join(' ')),
  106. this.createVertexTemplateEntry(s + 'forward_incremental_backup_increment;',
  107. w * 17, h * 12, '', 'Forward Incremental Backup - Increment (blue)', null, null, this.getTagsForStencil(gn, 'forward incremental backup increment', dt).join(' ')),
  108. this.createVertexTemplateEntry(s + 'free_datastore;',
  109. w * 23, h * 23, '', 'Free Datastore', null, null, this.getTagsForStencil(gn, 'free datastore', dt).join(' ')),
  110. this.createVertexTemplateEntry(s + 'full_datastore;',
  111. w * 23, h * 23, '', 'Full Datastore', null, null, this.getTagsForStencil(gn, 'full datastore', dt).join(' ')),
  112. this.createVertexTemplateEntry(sn + 'full_veeam_backup;fillColor=#999A98;',
  113. w * 13, h * 21, '', 'Full Veeam Backup (grey)', null, null, this.getTagsForStencil(gn, 'full veeam backup', dt).join(' ')),
  114. this.createVertexTemplateEntry(sn + 'full_veeam_backup;fillColor=#24B14B;',
  115. w * 13, h * 21, '', 'Full Veeam Backup (green)', null, null, this.getTagsForStencil(gn, 'full veeam backup', dt).join(' ')),
  116. this.createVertexTemplateEntry(sn + 'full_veeam_backup;fillColor=#EF8F21;',
  117. w * 13, h * 21, '', 'Full Veeam Backup (orange)', null, null, this.getTagsForStencil(gn, 'full veeam backup', dt).join(' ')),
  118. this.createVertexTemplateEntry(sn + 'full_veeam_backup;fillColor=#FBB715;',
  119. w * 13, h * 21, '', 'Full Veeam Backup (yellow)', null, null, this.getTagsForStencil(gn, 'full veeam backup', dt).join(' ')),
  120. this.createVertexTemplateEntry(s + 'group;',
  121. w * 20, h * 23, '', 'Group', null, null, this.getTagsForStencil(gn, 'group', dt).join(' ')),
  122. this.createVertexTemplateEntry(s + 'hard_drive;',
  123. w * 19, h * 23, '', 'Hard Drive', null, null, this.getTagsForStencil(gn, 'hard drive', dt).join(' ')),
  124. this.createVertexTemplateEntry(s2 + 'hp_storeonce;',
  125. w * 23, h * 23, '', 'HP StoreOnce', null, null, this.getTagsForStencil(gn, 'hp storeonce', dt).join(' ')),
  126. this.createVertexTemplateEntry(s + 'hyper_v_host;',
  127. w * 62, h * 60, '', 'Hyper-V Host', null, null, this.getTagsForStencil(gn, 'hyper host', dt).join(' ')),
  128. this.createVertexTemplateEntry(s + 'hyper_v_vmware_host;',
  129. w * 62, h * 60, '', 'VMware/Hyper-V Host', null, null, this.getTagsForStencil(gn, 'hyper vmware host', dt).join(' ')),
  130. this.createVertexTemplateEntry(s + 'letter;',
  131. w * 23, h * 18, '', 'Letter', null, null, this.getTagsForStencil(gn, 'letter', dt).join(' ')),
  132. this.createVertexTemplateEntry(s + 'license;',
  133. w * 23, h * 23, '', 'License', null, null, this.getTagsForStencil(gn, 'license', dt).join(' ')),
  134. this.createVertexTemplateEntry(s + 'lost_space;',
  135. w * 23, h * 23, '', 'Lost Space', null, null, this.getTagsForStencil(gn, 'lost space', dt).join(' ')),
  136. this.createVertexTemplateEntry(s + 'lun;',
  137. w * 29, h * 11, '', 'LUN', null, null, this.getTagsForStencil(gn, 'lun', dt).join(' ')),
  138. this.createVertexTemplateEntry(s + 'medium_datastore;',
  139. w * 23, h * 23, '', 'Medium Datastore', null, null, this.getTagsForStencil(gn, 'medium datastore', dt).join(' ')),
  140. this.createVertexTemplateEntry(s + 'monitoring_console;',
  141. w * 23, h * 23, '', 'Monitoring Console', null, null, this.getTagsForStencil(gn, 'monitoring console', dt).join(' ')),
  142. this.createVertexTemplateEntry(s2 + 'native_tape_support;',
  143. w * 23, h * 23, '', 'Native Tape Support', null, null, this.getTagsForStencil(gn, 'native tape support', dt).join(' ')),
  144. this.createVertexTemplateEntry(s + 'network_card;',
  145. w * 23, h * 16, '', 'Network Card', null, null, this.getTagsForStencil(gn, 'network card', dt).join(' ')),
  146. this.createVertexTemplateEntry(s2 + 'on_demand_sandbox;',
  147. w * 23, h * 23, '', 'On Demand Sandbox', null, null, this.getTagsForStencil(gn, 'on demand sandbox', dt).join(' ')),
  148. this.createVertexTemplateEntry(s + 'physical_storage;',
  149. w * 38, h * 13, '', 'Physical Storage', null, null, this.getTagsForStencil(gn, 'physical storage', dt).join(' ')),
  150. this.createVertexTemplateEntry(s2 + 'powershell_extension;',
  151. w * 23, h * 23, '', 'PowerShell Extension', null, null, this.getTagsForStencil(gn, 'powershell extension', dt).join(' ')),
  152. this.createVertexTemplateEntry(s + 'private_key;',
  153. w * 28, h * 26, '', 'Private Key', null, null, this.getTagsForStencil(gn, 'private key', dt).join(' ')),
  154. this.createVertexTemplateEntry(s + 'privilege;',
  155. w * 25, h * 24, '', 'Privilege', null, null, this.getTagsForStencil(gn, 'privilege', dt).join(' ')),
  156. this.createVertexTemplateEntry(s + 'proxy;',
  157. w * 23, h * 23, '', 'Proxy', null, null, this.getTagsForStencil(gn, 'proxy', dt).join(' ')),
  158. this.createVertexTemplateEntry(s + 'proxy_appliance;',
  159. w * 23, h * 23, '', 'Proxy Appliance', null, null, this.getTagsForStencil(gn, 'proxy appliance', dt).join(' ')),
  160. this.createVertexTemplateEntry(s2 + 'quick_migration;',
  161. w * 23, h * 23, '', 'Quick Migration', null, null, this.getTagsForStencil(gn, 'quick migration', dt).join(' ')),
  162. this.createVertexTemplateEntry(s + 'remote_site;',
  163. w * 21, h * 22, '', 'Remote Site', null, null, this.getTagsForStencil(gn, 'remote site', dt).join(' ')),
  164. this.createVertexTemplateEntry(s + 'remote_storage;',
  165. w * 23, h * 23, '', 'Remote Storage', null, null, this.getTagsForStencil(gn, 'remote storage', dt).join(' ')),
  166. this.createVertexTemplateEntry(s2 + 'replication_from_a_backup;',
  167. w * 23, h * 23, '', 'Replication from a Backup', null, null, this.getTagsForStencil(gn, 'replication from a backup', dt).join(' ')),
  168. this.createVertexTemplateEntry(s + 'report;',
  169. w * 17, h * 23, '', 'Report', null, null, this.getTagsForStencil(gn, 'report', dt).join(' ')),
  170. this.createVertexTemplateEntry(s + 'resource_pool;',
  171. w * 23, h * 23, '', 'Resource Pool', null, null, this.getTagsForStencil(gn, 'resource pool', dt).join(' ')),
  172. this.createVertexTemplateEntry(s2 + 'restful_apis;',
  173. w * 23, h * 23, '', 'RESTful APIs', null, null, this.getTagsForStencil(gn, 'restful apis api', dt).join(' ')),
  174. this.createVertexTemplateEntry(s2 + 'restore_data_from_the_vm_backup;',
  175. w * 23, h * 23, '', 'Restore Data from the VM Backup', null, null, this.getTagsForStencil(gn, 'restore data from the vm backup', dt).join(' ')),
  176. this.createVertexTemplateEntry(sn + 'reversed_incremental_backup_increment;fillColor=#999A98;',
  177. w * 17, h * 12, '', 'Reversed Incremental Backup - Increment (grey)', null, null, this.getTagsForStencil(gn, 'reversed incremental backup increment', dt).join(' ')),
  178. this.createVertexTemplateEntry(sn + 'reversed_incremental_backup_increment;fillColor=#6E5CA7;',
  179. w * 17, h * 12, '', 'Reversed Incremental Backup - Increment (purple)', null, null, this.getTagsForStencil(gn, 'reversed incremental backup increment', dt).join(' ')),
  180. this.createVertexTemplateEntry(s + 'role;',
  181. w * 17, h * 23, '', 'Role', null, null, this.getTagsForStencil(gn, 'role', dt).join(' ')),
  182. this.createVertexTemplateEntry(s2 + 'scheduled_backups;',
  183. w * 23, h * 23, '', 'Scheduled Backups', null, null, this.getTagsForStencil(gn, 'Scheduled Backups', dt).join(' ')),
  184. this.createVertexTemplateEntry(s2 + 'search;',
  185. w * 23, h * 23, '', 'Search', null, null, this.getTagsForStencil(gn, 'search', dt).join(' ')),
  186. this.createVertexTemplateEntry(s2 + 'self_service_recovery;',
  187. w * 23, h * 23, '', 'Self-Service Recovery', null, null, this.getTagsForStencil(gn, 'self service recovery', dt).join(' ')),
  188. this.createVertexTemplateEntry(s + 'service;',
  189. w * 23, h * 23, '', 'Service', null, null, this.getTagsForStencil(gn, 'service', dt).join(' ')),
  190. this.createVertexTemplateEntry(s + 'service_console;',
  191. w * 23, h * 23, '', 'Service Console', null, null, this.getTagsForStencil(gn, 'service console', dt).join(' ')),
  192. this.createVertexTemplateEntry(s + 'service_vnic;',
  193. w * 30, h * 27, '', 'Service vNIC', null, null, this.getTagsForStencil(gn, 'service vnic', dt).join(' ')),
  194. this.createVertexTemplateEntry(s2 + 'sure_backup;',
  195. w * 23, h * 23, '', 'SureBackup', null, null, this.getTagsForStencil(gn, 'sure backup', dt).join(' ')),
  196. this.createVertexTemplateEntry(s2 + 'sure_replica;',
  197. w * 23, h * 23, '', 'SureReplica', null, null, this.getTagsForStencil(gn, 'sure replica', dt).join(' ')),
  198. this.createVertexTemplateEntry(s + 'switch;',
  199. w * 37, h * 6, '', 'Switch', null, null, this.getTagsForStencil(gn, 'switch', dt).join(' ')),
  200. this.createVertexTemplateEntry(s + 'tape;',
  201. w * 30, h * 16, '', 'Tape', null, null, this.getTagsForStencil(gn, 'tape', dt).join(' ')),
  202. this.createVertexTemplateEntry(s + 'tape_checked;',
  203. w * 35, h * 21, '', 'Tape Checked', null, null, this.getTagsForStencil(gn, 'tape checked', dt).join(' ')),
  204. this.createVertexTemplateEntry(s + 'tape_device;',
  205. w * 26, h * 26, '', 'Tape Device', null, null, this.getTagsForStencil(gn, 'tape device', dt).join(' ')),
  206. this.createVertexTemplateEntry(s + 'tape_ejecting;',
  207. w * 35, h * 21, '', 'Tape Ejecting', null, null, this.getTagsForStencil(gn, 'tape ejecting', dt).join(' ')),
  208. this.createVertexTemplateEntry(s + 'tape_library;',
  209. w * 20, h * 23, '', 'Tape Library', null, null, this.getTagsForStencil(gn, 'tape library', dt).join(' ')),
  210. this.createVertexTemplateEntry(s + 'tape_licensed;',
  211. w * 34, h * 19, '', 'Tape Licensed', null, null, this.getTagsForStencil(gn, 'tape licensed', dt).join(' ')),
  212. this.createVertexTemplateEntry(s + 'tape_recording;',
  213. w * 35, h * 21, '', 'Tape Recording', null, null, this.getTagsForStencil(gn, 'tape recording', dt).join(' ')),
  214. this.createVertexTemplateEntry(s + 'tape_server;',
  215. w * 37, h * 36, '', 'Tape Server', null, null, this.getTagsForStencil(gn, 'tape server', dt).join(' ')),
  216. this.createVertexTemplateEntry(s + 'transport_service;',
  217. w * 19, h * 19, '', 'Transport Service', null, null, this.getTagsForStencil(gn, 'transport service', dt).join(' ')),
  218. this.createVertexTemplateEntry(s + 'user;',
  219. w * 13, h * 23, '', 'User', null, null, this.getTagsForStencil(gn, 'user', dt).join(' ')),
  220. this.createVertexTemplateEntry(s2 + 'u_air;',
  221. w * 23, h * 23, '', 'U-AIR', null, null, this.getTagsForStencil(gn, 'air', dt).join(' ')),
  222. this.createVertexTemplateEntry(s + 'vapp;',
  223. w * 24, h * 24, '', 'vApp', null, null, this.getTagsForStencil(gn, 'vapp', dt).join(' ')),
  224. this.createVertexTemplateEntry(s + 'vapp_started;',
  225. w * 30, h * 27, '', 'vApp Started', null, null, this.getTagsForStencil(gn, 'vapp started', dt).join(' ')),
  226. this.createVertexTemplateEntry(s2 + 'veeamzip;',
  227. w * 23, h * 23, '', 'VeeamZIP', null, null, this.getTagsForStencil(gn, 'veeamzip zip', dt).join(' ')),
  228. this.createVertexTemplateEntry(s2 + 'veeam_availability_suite;',
  229. w * 23, h * 23, '', 'Veeam Availability Suite', null, null, this.getTagsForStencil(gn, 'availability suite', dt).join(' ')),
  230. this.createVertexTemplateEntry(s + 'veeam_backup_and_replication_server;',
  231. w * 37, h * 36, '', 'Veeam Backup and Replication Server', null, null, this.getTagsForStencil(gn, 'backup and replication server', dt).join(' ')),
  232. this.createVertexTemplateEntry(s + 'veeam_backup_enterprise_manager_server;',
  233. w * 37, h * 36, '', 'Veeam Backup Enterprise Manager Server', null, null, this.getTagsForStencil(gn, 'backup enterprise manager server', dt).join(' ')),
  234. this.createVertexTemplateEntry(s + 'veeam_backup_search_server;',
  235. w * 37, h * 36, '', 'Veeam Backup Search Server', null, null, this.getTagsForStencil(gn, 'backup search server', dt).join(' ')),
  236. this.createVertexTemplateEntry(s + 'veeam_backup_shell;',
  237. w * 23, h * 23, '', 'Veeam Backup Shell', null, null, this.getTagsForStencil(gn, 'backup shell', dt).join(' ')),
  238. this.createVertexTemplateEntry(s2 + 'veeam_cloud_connect;',
  239. w * 23, h * 23, '', 'Veeam Cloud Connect', null, null, this.getTagsForStencil(gn, 'cloud connect', dt).join(' ')),
  240. this.createVertexTemplateEntry(s2 + 'veeam_explorer;',
  241. w * 23, h * 23, '', 'Veeam Explorer', null, null, this.getTagsForStencil(gn, 'explorer', dt).join(' ')),
  242. this.createVertexTemplateEntry(s2 + 'veeam_explorer_for_active_directory;',
  243. w * 23, h * 23, '', 'Veeam Explorer for Active Directory', null, null, this.getTagsForStencil(gn, 'explorer for active directory', dt).join(' ')),
  244. this.createVertexTemplateEntry(s2 + 'veeam_explorer_for_exchange;',
  245. w * 23, h * 23, '', 'Veeam Explorer for Exchange', null, null, this.getTagsForStencil(gn, 'explorer for exchange', dt).join(' ')),
  246. this.createVertexTemplateEntry(s2 + 'veeam_explorer_for_sharepoint;',
  247. w * 23, h * 23, '', 'Veeam Explorer for SharePoint', null, null, this.getTagsForStencil(gn, 'explorer for sharepoint', dt).join(' ')),
  248. this.createVertexTemplateEntry(s2 + 'veeam_explorer_for_sql;',
  249. w * 23, h * 23, '', 'Veeam Explorer for SQL', null, null, this.getTagsForStencil(gn, 'explorer for sql', dt).join(' ')),
  250. this.createVertexTemplateEntry(sn + 'veeam_logo;fillColor=#232020;',
  251. w * 72, h * 19, '', 'Veeam Logo', null, null, this.getTagsForStencil(gn, 'logo', dt).join(' ')),
  252. this.createVertexTemplateEntry(s2 + 'veeam_one_business_view;',
  253. w * 23, h * 23, '', 'Veeam ONE Business View', null, null, this.getTagsForStencil(gn, 'one business view', dt).join(' ')),
  254. this.createVertexTemplateEntry(s2 + 'veeam_one_monitor;',
  255. w * 23, h * 23, '', 'Veeam ONE Monitor', null, null, this.getTagsForStencil(gn, 'one monitor', dt).join(' ')),
  256. this.createVertexTemplateEntry(s2 + 'veeam_one_reporter;',
  257. w * 23, h * 23, '', 'Veeam ONE Reporter', null, null, this.getTagsForStencil(gn, 'one reporter', dt).join(' ')),
  258. this.createVertexTemplateEntry(s2 + 'veeam_one_server;',
  259. w * 23, h * 23, '', 'Veeam ONE Server', null, null, this.getTagsForStencil(gn, 'one server', dt).join(' ')),
  260. this.createVertexTemplateEntry(s2 + 'virtual_lab;',
  261. w * 23, h * 23, '', 'Virtual Lab', null, null, this.getTagsForStencil(gn, 'virtual lab', dt).join(' ')),
  262. this.createVertexTemplateEntry(s + 'virtual_machine;',
  263. w * 23, h * 23, '', 'Virtual Machine', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
  264. this.createVertexTemplateEntry(s + 'virtual_switch;',
  265. w * 23, h * 23, '', 'Virtual Switch', null, null, this.getTagsForStencil(gn, 'switch', dt).join(' ')),
  266. this.createVertexTemplateEntry(s + 'vmware_host;',
  267. w * 62, h * 60, '', 'VMware Host', null, null, this.getTagsForStencil(gn, 'vmware host', dt).join(' ')),
  268. this.createVertexTemplateEntry(s + 'vm_backup;',
  269. w * 25, h * 23, '', 'VM Backup', null, null, this.getTagsForStencil(gn, 'vm backup', dt).join(' ')),
  270. this.createVertexTemplateEntry(s + 'vm_failed;',
  271. w * 28, h * 27, '', 'VM Failed', null, null, this.getTagsForStencil(gn, 'vm failed', dt).join(' ')),
  272. this.createVertexTemplateEntry(s + 'vm_image_full_backup;',
  273. w * 19, h * 26, '', 'VM Image Full Backup', null, null, this.getTagsForStencil(gn, 'vm image full backup', dt).join(' ')),
  274. this.createVertexTemplateEntry(s + 'vm_image_incremental_backup;',
  275. w * 19, h * 26, '', 'VM Image Incremental Backup', null, null, this.getTagsForStencil(gn, 'vm image incremental backup', dt).join(' ')),
  276. this.createVertexTemplateEntry(s + 'vm_linux;',
  277. w * 23, h * 42, '', 'VM Linux', null, null, this.getTagsForStencil(gn, 'vm linux', dt).join(' ')),
  278. this.createVertexTemplateEntry(s + 'vm_locked;',
  279. w * 28, h * 26, '', 'VM Locked', null, null, this.getTagsForStencil(gn, 'vm locked', dt).join(' ')),
  280. this.createVertexTemplateEntry(s + 'vm_no_network;',
  281. w * 27, h * 26, '', 'VM No Network', null, null, this.getTagsForStencil(gn, 'vm no network', dt).join(' ')),
  282. this.createVertexTemplateEntry(s + 'vm_problem;',
  283. w * 28, h * 26, '', 'VM Problem', null, null, this.getTagsForStencil(gn, 'vm problem', dt).join(' ')),
  284. this.createVertexTemplateEntry(s + 'vm_running;',
  285. w * 28, h * 27, '', 'VM Running', null, null, this.getTagsForStencil(gn, 'vm running', dt).join(' ')),
  286. this.createVertexTemplateEntry(s + 'vm_saved_state;',
  287. w * 28, h * 27, '', 'VM Saved State', null, null, this.getTagsForStencil(gn, 'vm saved state', dt).join(' ')),
  288. this.createVertexTemplateEntry(s + 'vm_windows;',
  289. w * 23, h * 42, '', 'VM Windows', null, null, this.getTagsForStencil(gn, 'vm windows', dt).join(' ')),
  290. this.createVertexTemplateEntry(s + 'vnic;',
  291. w * 23, h * 23, '', 'vNIC', null, null, this.getTagsForStencil(gn, 'vnic', dt).join(' ')),
  292. this.createVertexTemplateEntry(s + 'vsb_file;',
  293. w * 17, h * 23, '', '.vsb File', null, null, this.getTagsForStencil(gn, 'vsb file', dt).join(' ')),
  294. this.createVertexTemplateEntry(s + 'wan_accelerator;',
  295. w * 23, h * 23, '', 'WAN Accelerator', null, null, this.getTagsForStencil(gn, 'wan accelerator wireless area network', dt).join(' ')),
  296. this.createVertexTemplateEntry(s + 'web_console;',
  297. w * 23, h * 23, '', 'Web Console', null, null, this.getTagsForStencil(gn, 'web console', dt).join(' ')),
  298. this.createVertexTemplateEntry(s + 'web_ui;',
  299. w * 23, h * 23, '', 'Web UI', null, null, this.getTagsForStencil(gn, 'web ui user interface', dt).join(' ')),
  300. this.createVertexTemplateEntry(s + 'workstation;',
  301. w * 34, h * 23, '', 'Workstation', null, null, this.getTagsForStencil(gn, 'workstation', dt).join(' '))
  302. ];
  303. this.addPalette('veeam2D', 'Veeam / 2D', false, mxUtils.bind(this, function(content)
  304. {
  305. for (var i = 0; i < fns.length; i++)
  306. {
  307. content.appendChild(fns[i](content));
  308. }
  309. }));
  310. };
  311. Sidebar.prototype.addVeeam3DPalette = function()
  312. {
  313. var sn = 'shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.';
  314. var s = 'shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.';
  315. var s2 = 'shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.';
  316. // Space savers
  317. var sb = this;
  318. var gn = 'mxgraph.veeam.3d';
  319. var dt = 'veeam 3d three dimension vmware virtual machine ';
  320. var w = 2.0;
  321. var h = 2.0;
  322. var fns =
  323. [
  324. this.createVertexTemplateEntry(sn + '1ftvm;',
  325. w * 34, h * 31, '', '1FTVM', null, null, this.getTagsForStencil(gn, '1ftvm', dt).join(' ')),
  326. this.createVertexTemplateEntry(sn + '1ftvm_error;',
  327. w * 34, h * 31, '', '1FTVM Error', null, null, this.getTagsForStencil(gn, '1ftvm error', dt).join(' ')),
  328. this.createVertexTemplateEntry(sn + '1ftvm_running;',
  329. w * 34, h * 31, '', '1FTVM Running', null, null, this.getTagsForStencil(gn, '1ftvm running', dt).join(' ')),
  330. this.createVertexTemplateEntry(sn + '1ftvm_unavailable;',
  331. w * 34, h * 31, '', '1FTVM Unavailable', null, null, this.getTagsForStencil(gn, '1ftvm unavailable', dt).join(' ')),
  332. this.createVertexTemplateEntry(sn + '1ftvm_warning;',
  333. w * 34, h * 31, '', '1FTVM Warning', null, null, this.getTagsForStencil(gn, '1ftvm warning', dt).join(' ')),
  334. this.createVertexTemplateEntry(sn + '2ftvm;',
  335. w * 34, h * 31, '', '2FTVM', null, null, this.getTagsForStencil(gn, '2ftvm', dt).join(' ')),
  336. this.createVertexTemplateEntry(sn + '2ftvm_error;',
  337. w * 34, h * 31, '', '2FTVM Error', null, null, this.getTagsForStencil(gn, '2ftvm error', dt).join(' ')),
  338. this.createVertexTemplateEntry(sn + '2ftvm_running;',
  339. w * 34, h * 31, '', '2FTVM Running', null, null, this.getTagsForStencil(gn, '2ftvm running', dt).join(' ')),
  340. this.createVertexTemplateEntry(sn + '2ftvm_unavailable;',
  341. w * 34, h * 31, '', '2FTVM Unavailable', null, null, this.getTagsForStencil(gn, '2ftvm unavailable', dt).join(' ')),
  342. this.createVertexTemplateEntry(sn + '2ftvm_warning;',
  343. w * 34, h * 31, '', '2FTVM Warning', null, null, this.getTagsForStencil(gn, '2ftvm warning', dt).join(' ')),
  344. this.createVertexTemplateEntry(sn + 'backup_repository;',
  345. w * 31, h * 31, '', 'Backup Repository', null, null, this.getTagsForStencil(gn, 'backup repository', dt).join(' ')),
  346. this.createVertexTemplateEntry(sn + 'backup_repository_2;',
  347. w * 31, h * 31, '', 'Backup Repository', null, null, this.getTagsForStencil(gn, 'backup repository', dt).join(' ')),
  348. this.createVertexTemplateEntry(sn + 'cd;',
  349. w * 34, h * 13, '', 'CD', null, null, this.getTagsForStencil(gn, 'cd', dt).join(' ')),
  350. this.createVertexTemplateEntry(sn + 'database;',
  351. w * 29, h * 31, '', 'Database', null, null, this.getTagsForStencil(gn, 'database', dt).join(' ')),
  352. this.createVertexTemplateEntry(sn + 'datastore;',
  353. w * 22, h * 30, '', 'Datastore', null, null, this.getTagsForStencil(gn, 'datastore', dt).join(' ')),
  354. this.createVertexTemplateEntry(sn + 'datastore_snapshot;',
  355. w * 27, h * 17, '', 'Datastore Snapshot', null, null, this.getTagsForStencil(gn, 'datastore snapshot', dt).join(' ')),
  356. this.createVertexTemplateEntry(sn + 'datastore_volume;',
  357. w * 27, h * 17, '', 'Datastore Volume', null, null, this.getTagsForStencil(gn, 'datastore volume', dt).join(' ')),
  358. this.createVertexTemplateEntry(sn + 'esx_esxi;',
  359. w * 19, h * 26, '', 'ESX ESXi', null, null, this.getTagsForStencil(gn, 'esx esxi', dt).join(' ')),
  360. this.createVertexTemplateEntry(sn + 'failover_protective_snapshot;',
  361. w * 23, h * 23, '', 'Failover Protective Snapshot', null, null, this.getTagsForStencil(gn, 'failover protective snapshot', dt).join(' ')),
  362. this.createVertexTemplateEntry(sn + 'failover_protective_snapshot_locked;',
  363. w * 28, h * 23, '', 'Failover Protective Snapshot Locked', null, null, this.getTagsForStencil(gn, 'failover protective snapshot locked', dt).join(' ')),
  364. this.createVertexTemplateEntry(sn + 'failover_protective_snapshot_running;',
  365. w * 29, h * 23, '', 'Failover Protective Snapshot Running', null, null, this.getTagsForStencil(gn, 'failover protective snapshot running', dt).join(' ')),
  366. this.createVertexTemplateEntry(sn + 'free_datastore;',
  367. w * 22, h * 30, '', 'Free Datastore', null, null, this.getTagsForStencil(gn, 'free datastore', dt).join(' ')),
  368. this.createVertexTemplateEntry(sn + 'full_datastore;',
  369. w * 22, h * 30, '', 'Full Datastore', null, null, this.getTagsForStencil(gn, 'full datastore', dt).join(' ')),
  370. this.createVertexTemplateEntry(sn + 'hard_drive;fillColor=#637D8A;gradientColor=#324752;strokeColor=none;',
  371. w * 31, h * 14, '', 'Hard Drive', null, null, this.getTagsForStencil(gn, 'hard drive', dt).join(' ')),
  372. this.createVertexTemplateEntry(sn + 'hyper_v_host;',
  373. w * 55, h * 49, '', 'Hyper-V Host', null, null, this.getTagsForStencil(gn, 'hyper-v host', dt).join(' ')),
  374. this.createVertexTemplateEntry(sn + 'lost_space;',
  375. w * 22, h * 30, '', 'Lost Space', null, null, this.getTagsForStencil(gn, 'lost space', dt).join(' ')),
  376. this.createVertexTemplateEntry(sn + 'lun;',
  377. w * 36, h * 20, '', 'LUN', null, null, this.getTagsForStencil(gn, 'lun', dt).join(' ')),
  378. this.createVertexTemplateEntry(sn + 'medium_datastore;',
  379. w * 22, h * 30, '', 'Medium Datastore', null, null, this.getTagsForStencil(gn, 'medium datastore', dt).join(' ')),
  380. this.createVertexTemplateEntry(sn + 'network_card;',
  381. w * 19, h * 20, '', 'Network Card', null, null, this.getTagsForStencil(gn, 'network card', dt).join(' ')),
  382. this.createVertexTemplateEntry(sn + 'physical_storage;',
  383. w * 54, h * 30, '', 'Physical Storage', null, null, this.getTagsForStencil(gn, 'physical_storage', dt).join(' ')),
  384. this.createVertexTemplateEntry(sn + 'proxy;',
  385. w * 23, h * 23, '', 'Proxy', null, null, this.getTagsForStencil(gn, 'proxy', dt).join(' ')),
  386. this.createVertexTemplateEntry(sn + 'proxy_appliance;',
  387. w * 23, h * 23, '', 'Proxy Appliance', null, null, this.getTagsForStencil(gn, 'proxy appliance', dt).join(' ')),
  388. this.createVertexTemplateEntry(sn + 'remote_site;',
  389. w * 23, h * 30, '', 'Remote Site', null, null, this.getTagsForStencil(gn, 'remote site', dt).join(' ')),
  390. this.createVertexTemplateEntry(sn + 'remote_storage;',
  391. w * 26, h * 31, '', 'Remote Storage', null, null, this.getTagsForStencil(gn, 'remote storage', dt).join(' ')),
  392. this.createVertexTemplateEntry(sn + 'resource_pool;',
  393. w * 28, h * 16, '', 'Resource Pool', null, null, this.getTagsForStencil(gn, 'resource pool', dt).join(' ')),
  394. this.createVertexTemplateEntry(sn + 'service_vnic;',
  395. w * 36, h * 32, '', 'Service vNIC', null, null, this.getTagsForStencil(gn, 'service vnic', dt).join(' ')),
  396. this.createVertexTemplateEntry(sn + 'switch;',
  397. w * 55, h * 29, '', 'Switch', null, null, this.getTagsForStencil(gn, 'switch', dt).join(' ')),
  398. this.createVertexTemplateEntry(sn + 'tape;',
  399. w * 29, h * 29, '', 'Tape', null, null, this.getTagsForStencil(gn, 'tape', dt).join(' ')),
  400. this.createVertexTemplateEntry(sn + 'tape_checked;',
  401. w * 35, h * 29, '', 'Tape Checked', null, null, this.getTagsForStencil(gn, 'tape checked', dt).join(' ')),
  402. this.createVertexTemplateEntry(sn + 'tape_ejecting;',
  403. w * 35, h * 29, '', 'Tape Ejecting', null, null, this.getTagsForStencil(gn, 'tape ejecting', dt).join(' ')),
  404. this.createVertexTemplateEntry(sn + 'tape_library;',
  405. w * 31, h * 37, '', 'Tape Library', null, null, this.getTagsForStencil(gn, 'tape library', dt).join(' ')),
  406. this.createVertexTemplateEntry(sn + 'tape_licensed;',
  407. w * 35, h * 29, '', 'Tape Licensed', null, null, this.getTagsForStencil(gn, 'tape licensed', dt).join(' ')),
  408. this.createVertexTemplateEntry(sn + 'tape_recording;',
  409. w * 35, h * 29, '', 'Tape Recording', null, null, this.getTagsForStencil(gn, 'tape recording', dt).join(' ')),
  410. this.createVertexTemplateEntry(sn + 'tape_server;',
  411. w * 23, h * 23, '', 'Tape Server', null, null, this.getTagsForStencil(gn, 'tape server', dt).join(' ')),
  412. this.createVertexTemplateEntry(sn + 'vapp;',
  413. w * 46, h * 31, '', 'vApp', null, null, this.getTagsForStencil(gn, 'vapp', dt).join(' ')),
  414. this.createVertexTemplateEntry(sn + 'vapp_started;',
  415. w * 46, h * 31, '', 'vApp Started', null, null, this.getTagsForStencil(gn, 'vapp started', dt).join(' ')),
  416. this.createVertexTemplateEntry(sn + 'veeam_availability_suite;',
  417. w * 23, h * 23, '', 'Veeam Availability Suite', null, null, this.getTagsForStencil(gn, 'veeam availability suite', dt).join(' ')),
  418. this.createVertexTemplateEntry(sn + 'veeam_backup_and_replication_server;',
  419. w * 23, h * 23, '', 'Veeam Backup and Replication Server', null, null, this.getTagsForStencil(gn, 'veeam backup and replication server', dt).join(' ')),
  420. this.createVertexTemplateEntry(sn + 'veeam_backup_enterprise_manager_server;',
  421. w * 23, h * 23, '', 'Veeam Backup Enterprise Manager Server', null, null, this.getTagsForStencil(gn, 'veeam backup enterprise manager server', dt).join(' ')),
  422. this.createVertexTemplateEntry(sn + 'veeam_backup_enterprise_manager_server_2d;',
  423. w * 20, h * 20, '', 'Veeam Backup Enterprise Manager Server 2D', null, null, this.getTagsForStencil(gn, 'veeam backup enterprise manager derver 2d two dimensional', dt).join(' ')),
  424. this.createVertexTemplateEntry(sn + 'veeam_backup_search_server;',
  425. w * 23, h * 23, '', 'Veeam Backup Search Server', null, null, this.getTagsForStencil(gn, 'veeam backup search server', dt).join(' ')),
  426. this.createVertexTemplateEntry(sn + 'veeam_one_business_view;',
  427. w * 23, h * 23, '', 'Veeam ONE Business View', null, null, this.getTagsForStencil(gn, 'veeam one business view', dt).join(' ')),
  428. this.createVertexTemplateEntry(sn + 'veeam_one_monitor;',
  429. w * 23, h * 23, '', 'Veeam ONE Monitor', null, null, this.getTagsForStencil(gn, 'veeam one monitor', dt).join(' ')),
  430. this.createVertexTemplateEntry(sn + 'veeam_one_reporter;',
  431. w * 23, h * 23, '', 'Veeam ONE Reporter', null, null, this.getTagsForStencil(gn, 'veeam one reporter', dt).join(' ')),
  432. this.createVertexTemplateEntry(sn + 'veeam_one_server;',
  433. w * 23, h * 23, '', 'Veeam ONE Server', null, null, this.getTagsForStencil(gn, 'veeam one server', dt).join(' ')),
  434. this.createVertexTemplateEntry(sn + 'virtual_machine;',
  435. w * 23, h * 23, '', 'Virtual Machine', null, null, this.getTagsForStencil(gn, 'virtual machine', dt).join(' ')),
  436. this.createVertexTemplateEntry(sn + 'vmware_host;',
  437. w * 55, h * 49, '', 'VMware Host', null, null, this.getTagsForStencil(gn, 'vmware host', dt).join(' ')),
  438. this.createVertexTemplateEntry(sn + 'vm_failed;',
  439. w * 28, h * 23, '', 'VM Failed', null, null, this.getTagsForStencil(gn, 'vm failed', dt).join(' ')),
  440. this.createVertexTemplateEntry(sn + 'vm_linux;',
  441. w * 23, h * 30, '', 'VM Linux', null, null, this.getTagsForStencil(gn, 'vm linux', dt).join(' ')),
  442. this.createVertexTemplateEntry(sn + 'vm_no_network;',
  443. w * 29, h * 23, '', 'VM No Network', null, null, this.getTagsForStencil(gn, 'vm no network', dt).join(' ')),
  444. this.createVertexTemplateEntry(sn + 'vm_problem;',
  445. w * 28, h * 23, '', 'VM Problem', null, null, this.getTagsForStencil(gn, 'vm problem', dt).join(' ')),
  446. this.createVertexTemplateEntry(sn + 'vm_running;',
  447. w * 28, h * 23, '', 'VM Running', null, null, this.getTagsForStencil(gn, 'vm running', dt).join(' ')),
  448. this.createVertexTemplateEntry(sn + 'vm_saved_state;',
  449. w * 29, h * 24, '', 'VM Saved State', null, null, this.getTagsForStencil(gn, 'vm saved state', dt).join(' ')),
  450. this.createVertexTemplateEntry(sn + 'vm_windows;',
  451. w * 23, h * 30, '', 'VM Windows', null, null, this.getTagsForStencil(gn, 'vm windows', dt).join(' ')),
  452. this.createVertexTemplateEntry(sn + 'vnic;',
  453. w * 31, h * 31, '', 'vNIC', null, null, this.getTagsForStencil(gn, 'vnic', dt).join(' ')),
  454. this.createVertexTemplateEntry(sn + 'wan_accelerator;',
  455. w * 23, h * 23, '', 'WAN Accelerator', null, null, this.getTagsForStencil(gn, 'wan accelerator', dt).join(' ')),
  456. this.createVertexTemplateEntry(sn + 'workstation;',
  457. w * 38, h * 31, '', 'Workstation', null, null, this.getTagsForStencil(gn, 'workstation', dt).join(' '))
  458. ];
  459. this.addPalette('veeam3D', 'Veeam / 3D', false, mxUtils.bind(this, function(content)
  460. {
  461. for (var i = 0; i < fns.length; i++)
  462. {
  463. content.appendChild(fns[i](content));
  464. }
  465. }));
  466. };
  467. })();