Sidebar-MSCAE.js 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730
  1. (function()
  2. {
  3. // Adds MSCAE shapes
  4. Sidebar.prototype.addMSCAEPalette = function()
  5. {
  6. this.addMSCAEGeneralPalette();
  7. this.addMSCAECloudPalette();
  8. this.addMSCAEEnterprisePalette();
  9. this.addMSCAEIntunePalette();
  10. this.addMSCAEOtherPalette();
  11. this.addMSCAESystemCenterPalette();
  12. this.addMSCAEDeprecatedPalette();
  13. };
  14. Sidebar.prototype.addMSCAECloudPalette = function()
  15. {
  16. var s = 'shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.';
  17. var s2 = 'shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.';
  18. // Space savers
  19. var sb = this;
  20. var gn = 'mxgraph.mscae.cloud';
  21. var dt = 'ms microsoft cloud enterprise ';
  22. var fns =
  23. [
  24. this.createVertexTemplateEntry(s + 'access_control;',
  25. 50, 50, '', 'Access Control', null, null, this.getTagsForStencil(gn, 'access control', dt).join(' ')),
  26. this.createVertexTemplateEntry(s2 + 'api_app;fillColor=#0079D6;',
  27. 45, 50, '', 'API App', null, null, this.getTagsForStencil(gn, 'api app', dt).join(' ')),
  28. this.createVertexTemplateEntry(s2 + 'api_management;fillColor=#0079D6;',
  29. 50, 45, '', 'API Management', null, null, this.getTagsForStencil(gn, 'api management', dt).join(' ')),
  30. this.createVertexTemplateEntry(s2 + 'app_service;fillColor=#0079D6;',
  31. 50, 50, '', 'App Service', null, null, this.getTagsForStencil(gn, 'app application service', dt).join(' ')),
  32. this.createVertexTemplateEntry(s2 + 'application_insights;fillColor=#0079D6;',
  33. 32, 50, '', 'Application Insights', null, null, this.getTagsForStencil(gn, 'application insights', dt).join(' ')),
  34. this.createVertexTemplateEntry(s + 'autoscale;',
  35. 50, 30, '', 'Autoscaling', null, null, this.getTagsForStencil(gn, 'autoscaling autoscale', dt).join(' ')),
  36. this.createVertexTemplateEntry(s2 + 'azure_automatic_load_balancer;fillColor=#0079D6;',
  37. 50, 33, '', 'Azure Automatic Load Balancer', null, null, this.getTagsForStencil(gn, 'automatic load balancer', dt).join(' ')),
  38. this.createVertexTemplateEntry(s + 'azure_active_directory;',
  39. 47, 50, '', 'Azure Active Directory', null, null, this.getTagsForStencil(gn, 'azure active directory', dt).join(' ')),
  40. this.createVertexTemplateEntry(s + 'azure_alert;',
  41. 50, 42, '', 'Azure Alert', null, null, this.getTagsForStencil(gn, 'azure alert', dt).join(' ')),
  42. this.createVertexTemplateEntry(s + 'automation;',
  43. 50, 45, '', 'Azure Automation', null, null, this.getTagsForStencil(gn, 'azure automation', dt).join(' ')),
  44. this.createVertexTemplateEntry(s2 + 'azure_batch;fillColor=#0079D6;',
  45. 47, 40, '', 'Azure Batch', null, null, this.getTagsForStencil(gn, 'batch', dt).join(' ')),
  46. this.createVertexTemplateEntry(s + 'azure_cache;',
  47. 45, 50, '', 'Azure Cache including Redis', null, null, this.getTagsForStencil(gn, 'azure cache including redis', dt).join(' ')),
  48. this.createVertexTemplateEntry(s + 'certificate;',
  49. 50, 40, '', 'Azure Certificate', null, null, this.getTagsForStencil(gn, 'azure certificate', dt).join(' ')),
  50. this.createVertexTemplateEntry(s2 + 'azure_dns;fillColor=#0079D6;',
  51. 50, 50, '', 'Azure DNS', null, null, this.getTagsForStencil(gn, 'dns', dt).join(' ')),
  52. this.createVertexTemplateEntry(s2 + 'azure_files_service;fillColor=#0079D6;',
  53. 50, 43, '', 'Azure Files Service', null, null, this.getTagsForStencil(gn, 'files service', dt).join(' ')),
  54. this.createVertexTemplateEntry(s2 + 'azure_load_balancer_feature;fillColor=#0079D6;',
  55. 50, 50, '', 'Azure Load Balancer (feature)', null, null, this.getTagsForStencil(gn, 'load balancer feature', dt).join(' ')),
  56. this.createVertexTemplateEntry(s + 'azure_marketplace;',
  57. 40, 50, '', 'Azure Marketplace', null, null, this.getTagsForStencil(gn, 'azure marketplace', dt).join(' ')),
  58. this.createVertexTemplateEntry(s2 + 'azure_rights_management_rms;fillColor=#0079D6;',
  59. 40, 50, '', 'Azure Rights Management (RMS)', null, null, this.getTagsForStencil(gn, 'rights management rms', dt).join(' ')),
  60. this.createVertexTemplateEntry(s + 'azure_sdk;',
  61. 50, 47, '', 'Azure SDK', null, null, this.getTagsForStencil(gn, 'azure sdk software development kit', dt).join(' ')),
  62. this.createVertexTemplateEntry(s2 + 'azure_search;fillColor=#0079D6;',
  63. 50, 35, '', 'Azure Search', null, null, this.getTagsForStencil(gn, 'search', dt).join(' ')),
  64. this.createVertexTemplateEntry(s + 'sql_database_sql_azure;',
  65. 47, 50, '', 'Azure SQL Database', null, null, this.getTagsForStencil(gn, 'azure sql database', dt).join(' ')),
  66. this.createVertexTemplateEntry(s + 'azure_subscription;',
  67. 50, 35, '', 'Azure Subscription', null, null, this.getTagsForStencil(gn, 'azure subscription', dt).join(' ')),
  68. this.createVertexTemplateEntry(s2 + 'azure_storage;fillColor=#0079D6;',
  69. 50, 43, '', 'Azure Storage', null, null, this.getTagsForStencil(gn, 'storage', dt).join(' ')),
  70. this.createVertexTemplateEntry(s + 'backup_service;',
  71. 50, 45, '', 'Backup Service', null, null, this.getTagsForStencil(gn, 'backup service', dt).join(' ')),
  72. this.createVertexTemplateEntry(s + 'bitbucket_code_source;',
  73. 42, 50, '', 'Bitbucket Code Source', null, null, this.getTagsForStencil(gn, 'bitbucket code source', dt).join(' ')),
  74. this.createVertexTemplateEntry(s + 'biztalk_services;',
  75. 50, 50, '', 'Biztalk Services', null, null, this.getTagsForStencil(gn, 'biztalk services', dt).join(' ')),
  76. this.createVertexTemplateEntry(s2 + 'cloud_office_365;fillColor=#DF3C01;',
  77. 50, 30, '', 'Cloud Office 365', null, null, this.getTagsForStencil(gn, 'cloud office 365', dt).join(' ')),
  78. this.createVertexTemplateEntry(s + 'cloud_service;',
  79. 50, 40, '', 'Cloud Service', null, null, this.getTagsForStencil(gn, 'cloud service', dt).join(' ')),
  80. this.createVertexTemplateEntry(s + 'codeplex_code_source;',
  81. 50, 37, '', 'CodePlex', null, null, this.getTagsForStencil(gn, 'codeplex', dt).join(' ')),
  82. this.createVertexTemplateEntry(s + 'content_delivery_network;',
  83. 50, 32, '', 'Content Delivery Network', null, null, this.getTagsForStencil(gn, 'content delivery network', dt).join(' ')),
  84. this.createVertexTemplateEntry(s2 + 'data_factory;fillColor=#0079D6;',
  85. 47, 47, '', 'Data Factory', null, null, this.getTagsForStencil(gn, 'data factory', dt).join(' ')),
  86. this.createVertexTemplateEntry(s2 + 'documentdb;fillColor=#0079D6;',
  87. 38, 50, '', 'DocumentDB', null, null, this.getTagsForStencil(gn, 'documentdb document db database', dt).join(' ')),
  88. this.createVertexTemplateEntry(s + 'dropbox_code_source;',
  89. 50, 47, '', 'Dropbox Code Source', null, null, this.getTagsForStencil(gn, 'dropbox code source', dt).join(' ')),
  90. this.createVertexTemplateEntry(s2 + 'event_hubs;fillColor=#0079D6;',
  91. 46, 47, '', 'Event Hubs', null, null, this.getTagsForStencil(gn, 'event_hubs', dt).join(' ')),
  92. this.createVertexTemplateEntry(s + 'express_route;',
  93. 50, 30, '', 'Express Route', null, null, this.getTagsForStencil(gn, 'express route', dt).join(' ')),
  94. this.createVertexTemplateEntry(s + 'git_repository;',
  95. 50, 50, '', 'Git Repository', null, null, this.getTagsForStencil(gn, 'git repository', dt).join(' ')),
  96. this.createVertexTemplateEntry(s + 'github_code;',
  97. 50, 50, '', 'GitHub', null, null, this.getTagsForStencil(gn, 'github code', dt).join(' ')),
  98. this.createVertexTemplateEntry(s2 + 'hdinsight;fillColor=#0079D6;',
  99. 50, 36, '', 'HDInsight', null, null, this.getTagsForStencil(gn, 'hdisight hd insight', dt).join(' ')),
  100. this.createVertexTemplateEntry(s + 'health_monitoring;',
  101. 50, 42, '', 'Health Monitoring', null, null, this.getTagsForStencil(gn, 'health monitoring', dt).join(' ')),
  102. this.createVertexTemplateEntry(s + 'healthy;',
  103. 50, 45, '', 'Healthy', null, null, this.getTagsForStencil(gn, 'healthy', dt).join(' ')),
  104. this.createVertexTemplateEntry(s2 + 'hybrid_connection_manager;fillColor=#0079D6;',
  105. 50, 35, '', 'Hybrid Connection Manager', null, null, this.getTagsForStencil(gn, 'hybrid connection manager', dt).join(' ')),
  106. this.createVertexTemplateEntry(s2 + 'hybrid_connections;fillColor=#0079D6;',
  107. 47, 50, '', 'Hybrid Connections', null, null, this.getTagsForStencil(gn, 'hybrid connections', dt).join(' ')),
  108. this.createVertexTemplateEntry(s2 + 'iot;fillColor=#0079D6;',
  109. 47, 47, '', 'IoT', null, null, this.getTagsForStencil(gn, 'iot internet of things', dt).join(' ')),
  110. this.createVertexTemplateEntry(s2 + 'key_vault;fillColor=#0079D6;',
  111. 49, 50, '', 'Key Vault', null, null, this.getTagsForStencil(gn, 'key vault', dt).join(' ')),
  112. this.createVertexTemplateEntry(s2 + 'logic_app;fillColor=#0079D6;',
  113. 50, 50, '', 'Logic App', null, null, this.getTagsForStencil(gn, 'logic app application', dt).join(' ')),
  114. this.createVertexTemplateEntry(s2 + 'machine_learning;fillColor=#0079D6;',
  115. 47, 50, '', 'Machine Learning', null, null, this.getTagsForStencil(gn, 'machine_learning', dt).join(' ')),
  116. this.createVertexTemplateEntry(s + 'media_service;',
  117. 45, 50, '', 'Media Services', null, null, this.getTagsForStencil(gn, 'media services', dt).join(' ')),
  118. this.createVertexTemplateEntry(s2 + 'microsoft_account;fillColor=#0079D6;',
  119. 50, 50, '', 'Microsoft Account', null, null, this.getTagsForStencil(gn, 'microsoft account', dt).join(' ')),
  120. this.createVertexTemplateEntry(s2 + 'microsoft_azure;fillColor=#000000;',
  121. 50, 32, '', 'Microsoft Azure', null, null, this.getTagsForStencil(gn, 'microsoft', dt).join(' ')),
  122. this.createVertexTemplateEntry(s2 + 'mobile_app;fillColor=#0079D6;',
  123. 30, 50, '', 'Mobile App', null, null, this.getTagsForStencil(gn, 'mobile app application', dt).join(' ')),
  124. this.createVertexTemplateEntry(s2 + 'mobile_engagement;fillColor=#0079D6;',
  125. 30, 50, '', 'Mobile Engagement', null, null, this.getTagsForStencil(gn, 'mobile engagement', dt).join(' ')),
  126. this.createVertexTemplateEntry(s + 'multi_factor_authentication;',
  127. 25, 50, '', 'Multi-Factor Authentication', null, null, this.getTagsForStencil(gn, 'multi factor authentication', dt).join(' ')),
  128. this.createVertexTemplateEntry(s + 'mysql_database;',
  129. 37, 50, '', 'MySQL Database', null, null, this.getTagsForStencil(gn, 'mysql database', dt).join(' ')),
  130. this.createVertexTemplateEntry(s + 'notification_hub;',
  131. 50, 50, '', 'Notification Hub', null, null, this.getTagsForStencil(gn, 'notification hub', dt).join(' ')),
  132. this.createVertexTemplateEntry(s + 'notification_topic;',
  133. 50, 50, '', 'Notification Topic', null, null, this.getTagsForStencil(gn, 'notification topic', dt).join(' ')),
  134. this.createVertexTemplateEntry(s2 + 'office_365;fillColor=#DF3C01;',
  135. 41, 49, '', 'Office 365', null, null, this.getTagsForStencil(gn, 'office 365', dt).join(' ')),
  136. this.createVertexTemplateEntry(s2 + 'office_365_subscription;fillColor=#DF3C01;',
  137. 50, 34, '', 'Office 365 Subscription', null, null, this.getTagsForStencil(gn, 'office 365 subscription', dt).join(' ')),
  138. this.createVertexTemplateEntry(s2 + 'operational_insights;fillColor=#0079D6;',
  139. 50, 50, '', 'Operational Insights', null, null, this.getTagsForStencil(gn, 'operational insights', dt).join(' ')),
  140. this.createVertexTemplateEntry(s + 'operating_system_image;',
  141. 50, 50, '', 'OS Image', null, null, this.getTagsForStencil(gn, 'os operating system image', dt).join(' ')),
  142. this.createVertexTemplateEntry(s + 'rdp_remoting_file;',
  143. 47, 50, '', 'RDP Remoting File', null, null, this.getTagsForStencil(gn, 'rdp remoting file', dt).join(' ')),
  144. this.createVertexTemplateEntry(s2 + 'remoteapp;fillColor=#0079D6;',
  145. 50, 50, '', 'RemoteApp', null, null, this.getTagsForStencil(gn, 'remoteapp remote app', dt).join(' ')),
  146. this.createVertexTemplateEntry(s2 + 'resource_group;fillColor=#0079D6;',
  147. 50, 41, '', 'Resource Group', null, null, this.getTagsForStencil(gn, 'resource group', dt).join(' ')),
  148. this.createVertexTemplateEntry(s + 'scheduler;',
  149. 40, 50, '', 'Scheduler', null, null, this.getTagsForStencil(gn, 'scheduler', dt).join(' ')),
  150. this.createVertexTemplateEntry(s + 'service_bus;',
  151. 45, 50, '', 'Service Bus', null, null, this.getTagsForStencil(gn, 'service bus', dt).join(' ')),
  152. this.createVertexTemplateEntry(s + 'service_bus_queues;',
  153. 42, 50, '', 'Service Bus Queue', null, null, this.getTagsForStencil(gn, 'service bus queue', dt).join(' ')),
  154. this.createVertexTemplateEntry(s + 'service_bus_relay;',
  155. 40, 50, '', 'Service Bus Relay', null, null, this.getTagsForStencil(gn, 'service bus relay', dt).join(' ')),
  156. this.createVertexTemplateEntry(s + 'service_bus_topics_and_subscriptions;',
  157. 45, 50, '', 'Service Bus Topic', null, null, this.getTagsForStencil(gn, 'service bus topic', dt).join(' ')),
  158. this.createVertexTemplateEntry(s2 + 'service_endpoint;fillColor=#0079D6;',
  159. 50, 9, '', 'Service Endpoint', null, null, this.getTagsForStencil(gn, 'service endpoint', dt).join(' ')),
  160. this.createVertexTemplateEntry(s2 + 'service_fabric;fillColor=#00BEF2;',
  161. 50, 50, '', 'Service Fabric', null, null, this.getTagsForStencil(gn, 'service fabric', dt).join(' ')),
  162. this.createVertexTemplateEntry(s2 + 'service_package;fillColor=#0079D6;',
  163. 44, 50, '', 'Service Package', null, null, this.getTagsForStencil(gn, 'service package', dt).join(' ')),
  164. this.createVertexTemplateEntry(s + 'hyper_v_recovery_manager;',
  165. 50, 45, '', 'Site Recovery', null, null, this.getTagsForStencil(gn, 'site recovery', dt).join(' ')),
  166. this.createVertexTemplateEntry(s + 'sql_datasync;',
  167. 37, 50, '', 'SQL DataSync', null, null, this.getTagsForStencil(gn, 'sql datasync', dt).join(' ')),
  168. this.createVertexTemplateEntry(s + 'sql_database;',
  169. 37, 50, '', 'SQL Database', null, null, this.getTagsForStencil(gn, 'sql database', dt).join(' ')),
  170. this.createVertexTemplateEntry(s + 'startup_task;',
  171. 47, 50, '', 'Startup Task', null, null, this.getTagsForStencil(gn, 'startup task', dt).join(' ')),
  172. this.createVertexTemplateEntry(s + 'storage_blob;',
  173. 50, 45, '', 'Storage Blob', null, null, this.getTagsForStencil(gn, 'storage blob', dt).join(' ')),
  174. this.createVertexTemplateEntry(s + 'storage_queue;',
  175. 50, 45, '', 'Storage Queue', null, null, this.getTagsForStencil(gn, 'storage queue', dt).join(' ')),
  176. this.createVertexTemplateEntry(s + 'storage_table;',
  177. 50, 45, '', 'Storage Table', null, null, this.getTagsForStencil(gn, 'storage table', dt).join(' ')),
  178. this.createVertexTemplateEntry(s + 'storsimple;',
  179. 50, 45, '', 'StorSimple', null, null, this.getTagsForStencil(gn, 'storsimple', dt).join(' ')),
  180. this.createVertexTemplateEntry(s2 + 'stream_analytics;fillColor=#0079D6;',
  181. 48, 37, '', 'Stream Analytics', null, null, this.getTagsForStencil(gn, 'stream analytics', dt).join(' ')),
  182. this.createVertexTemplateEntry(s + 'traffic_manager;',
  183. 50, 50, '', 'Traffic Manager', null, null, this.getTagsForStencil(gn, 'traffic manager', dt).join(' ')),
  184. this.createVertexTemplateEntry(s + 'unidentified_code_object;',
  185. 50, 42, '', 'Unidentified Feature Object', null, null, this.getTagsForStencil(gn, 'unidentified feature object', dt).join(' ')),
  186. this.createVertexTemplateEntry(s + 'vhd;',
  187. 40, 50, '', 'VHD', null, null, this.getTagsForStencil(gn, 'vhd', dt).join(' ')),
  188. this.createVertexTemplateEntry(s + 'vhd_data_disk;',
  189. 37, 50, '', 'VHD Data Disk', null, null, this.getTagsForStencil(gn, 'vhd data disk', dt).join(' ')),
  190. this.createVertexTemplateEntry(s + 'virtual_machine;',
  191. 50, 40, '', 'Virtual Machine', null, null, this.getTagsForStencil(gn, 'virtual machine', dt).join(' ')),
  192. this.createVertexTemplateEntry(s2 + 'virtual_machine_container;fillColor=#0079D6;',
  193. 49, 43, '', 'Virtual Machine Container', null, null, this.getTagsForStencil(gn, 'virtual machine container', dt).join(' ')),
  194. this.createVertexTemplateEntry(s + 'virtual_network;',
  195. 50, 27, '', 'Virtual Network', null, null, this.getTagsForStencil(gn, 'virtual network', dt).join(' ')),
  196. this.createVertexTemplateEntry(s + 'visual_studio_online;',
  197. 50, 37, '', 'Visual Studio Online', null, null, this.getTagsForStencil(gn, 'visual studio online', dt).join(' ')),
  198. this.createVertexTemplateEntry(s + 'virtual_machine_feature;',
  199. 50, 45, '', 'Virtual Machine', null, null, this.getTagsForStencil(gn, 'virtual machine', dt).join(' ')),
  200. this.createVertexTemplateEntry(s2 + 'vpn_gateway;fillColor=#0079D6;',
  201. 32, 50, '', 'VPN Gateway', null, null, this.getTagsForStencil(gn, 'vpn gateway virtual private network', dt).join(' ')),
  202. this.createVertexTemplateEntry(s + 'azure_website;',
  203. 50, 50, '', 'Web App', null, null, this.getTagsForStencil(gn, 'web app application', dt).join(' ')),
  204. this.createVertexTemplateEntry(s + 'web_role;',
  205. 50, 40, '', 'Web Role', null, null, this.getTagsForStencil(gn, 'web role', dt).join(' ')),
  206. this.createVertexTemplateEntry(s + 'web_roles;',
  207. 55, 45, '', 'Web Roles', null, null, this.getTagsForStencil(gn, 'web roles', dt).join(' ')),
  208. this.createVertexTemplateEntry(s2 + 'webjobs;fillColor=#0079D6;',
  209. 51, 50, '', 'WebJobs', null, null, this.getTagsForStencil(gn, 'webjobs web jobs', dt).join(' ')),
  210. this.createVertexTemplateEntry(s2 + 'work_account;fillColor=#0079D6;',
  211. 50, 50, '', 'Work Account', null, null, this.getTagsForStencil(gn, 'work_account', dt).join(' ')),
  212. this.createVertexTemplateEntry(s + 'worker_role;',
  213. 50, 40, '', 'Worker Role', null, null, this.getTagsForStencil(gn, 'worker role', dt).join(' ')),
  214. this.createVertexTemplateEntry(s + 'worker_roles;',
  215. 55, 45, '', 'Worker Roles', null, null, this.getTagsForStencil(gn, 'worker roles', dt).join(' '))
  216. ];
  217. this.addPalette('mscaeCloud', 'CAE / Cloud', false, mxUtils.bind(this, function(content)
  218. {
  219. for (var i = 0; i < fns.length; i++)
  220. {
  221. content.appendChild(fns[i](content));
  222. }
  223. }));
  224. };
  225. Sidebar.prototype.addMSCAEDeprecatedPalette = function()
  226. {
  227. var s = 'shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.';
  228. var s2 = 'shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.deprecated.';
  229. // Space savers
  230. var sb = this;
  231. var gn = 'mxgraph.mscae.deprecated';
  232. var dt = 'ms microsoft cloud enterprise deprecated ';
  233. var fns =
  234. [
  235. this.createVertexTemplateEntry(s2 + 'application;fillColor=#00188D;',
  236. 50, 33, '', 'Application', null, null, this.getTagsForStencil(gn, 'application', dt).join(' ')),
  237. this.createVertexTemplateEntry(s + 'hdinsight;fillColor=#00BEF2;',
  238. 50, 50, '', 'HDInsight', null, null, this.getTagsForStencil(gn, 'hdinsight hd insight', dt).join(' ')),
  239. this.createVertexTemplateEntry(s + 'operating_system_image;fillColor=#0079D6;',
  240. 50, 50, '', 'OS Image', null, null, this.getTagsForStencil(gn, 'os operating system image', dt).join(' ')),
  241. this.createVertexTemplateEntry(s + 'sql_reporting;fillColor=#0079D6;',
  242. 40, 50, '', 'SQL Reporting', null, null, this.getTagsForStencil(gn, 'sql reporting', dt).join(' ')),
  243. this.createVertexTemplateEntry(s + 'vhd;fillColor=#0079D6;',
  244. 40, 50, '', 'VHD', null, null, this.getTagsForStencil(gn, 'vhd virtual hard drive', dt).join(' '))
  245. ];
  246. this.addPalette('mscaeDeprecated', 'CAE / (Deprecated)', false, mxUtils.bind(this, function(content)
  247. {
  248. for (var i = 0; i < fns.length; i++)
  249. {
  250. content.appendChild(fns[i](content));
  251. }
  252. }));
  253. };
  254. Sidebar.prototype.addMSCAEEnterprisePalette = function()
  255. {
  256. var s = 'shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.';
  257. var s2 = 'shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.';
  258. // Space savers
  259. var sb = this;
  260. var gn = 'mxgraph.mscae.enterprise';
  261. var dt = 'ms microsoft cloud enterprise ';
  262. var fns =
  263. [
  264. this.createVertexTemplateEntry(s2 + 'ad_fs;fillColor=#00188D;',
  265. 40, 50, '', 'AD FS', null, null, this.getTagsForStencil(gn, 'ad fs', dt).join(' ')),
  266. this.createVertexTemplateEntry(s2 + 'android_phone;fillColor=#00188D;',
  267. 30, 50, '', 'Android Phone', null, null, this.getTagsForStencil(gn, 'android phone mobile', dt).join(' ')),
  268. this.createVertexTemplateEntry(s2 + 'app_generic;fillColor=#00188D;',
  269. 50, 39, '', 'App (generic)', null, null, this.getTagsForStencil(gn, 'app generic', dt).join(' ')),
  270. this.createVertexTemplateEntry(s2 + 'application_blank;fillColor=#00188D;',
  271. 46, 40, '', 'Application (blank)', null, null, this.getTagsForStencil(gn, 'application app blank', dt).join(' ')),
  272. this.createVertexTemplateEntry(s2 + 'application_server;fillColor=#00188D;',
  273. 38, 44, '', 'Application Server', null, null, this.getTagsForStencil(gn, 'application app server', dt).join(' ')),
  274. this.createVertexTemplateEntry(s2 + 'backup_local;fillColor=#00188D;',
  275. 49, 50, '', 'Backup (local)', null, null, this.getTagsForStencil(gn, 'backup local', dt).join(' ')),
  276. this.createVertexTemplateEntry(s2 + 'backup_online;fillColor=#00188D;',
  277. 51, 41, '', 'Backup (online)', null, null, this.getTagsForStencil(gn, 'backup online', dt).join(' ')),
  278. this.createVertexTemplateEntry(s + 'certificate;fillColor=#7D7D7D;',
  279. 50, 40, '', 'Certificate', null, null, this.getTagsForStencil(gn, 'certificate', dt).join(' ')),
  280. this.createVertexTemplateEntry(s2 + 'client_application;fillColor=#00188D;',
  281. 50, 32, '', 'Client Application', null, null, this.getTagsForStencil(gn, 'client application app', dt).join(' ')),
  282. this.createVertexTemplateEntry(s + 'cloud;fillColor=#7D7D7D;',
  283. 50, 32, '', 'Cloud', null, null, this.getTagsForStencil(gn, 'cloud', dt).join(' ')),
  284. this.createVertexTemplateEntry(s2 + 'cluster_server;fillColor=#00188D;',
  285. 40, 50, '', 'Cluster Server', null, null, this.getTagsForStencil(gn, 'cluster server', dt).join(' ')),
  286. this.createVertexTemplateEntry(s + 'code_file;fillColor=#7D7D7D;',
  287. 47, 50, '', 'Code File', null, null, this.getTagsForStencil(gn, 'code file', dt).join(' ')),
  288. this.createVertexTemplateEntry(s2 + 'connectors;fillColor=#00188D;',
  289. 50, 34, '', 'Connectors', null, null, this.getTagsForStencil(gn, 'connectors', dt).join(' ')),
  290. this.createVertexTemplateEntry(s2 + 'd;fillColor=#00188D;',
  291. 40, 50, '', 'D', null, null, this.getTagsForStencil(gn, 'delta diff difference server', dt).join(' ')),
  292. this.createVertexTemplateEntry(s2 + 'database_generic;fillColor=#00188D;',
  293. 38, 51, '', 'Database (generic)', null, null, this.getTagsForStencil(gn, 'db database generic', dt).join(' ')),
  294. this.createVertexTemplateEntry(s2 + 'database_server;fillColor=#00188D;',
  295. 38, 50, '', 'Database (server)', null, null, this.getTagsForStencil(gn, 'db database server', dt).join(' ')),
  296. this.createVertexTemplateEntry(s2 + 'database_synchronization;fillColor=#00188D;',
  297. 39, 50, '', 'Database Synchronization', null, null, this.getTagsForStencil(gn, 'database synchronization sync db', dt).join(' ')),
  298. this.createVertexTemplateEntry(s2 + 'device;fillColor=#00188D;',
  299. 50, 26, '', 'Device', null, null, this.getTagsForStencil(gn, 'Device', dt).join(' ')),
  300. this.createVertexTemplateEntry(s2 + 'direct_access_feature;fillColor=#00188D;',
  301. 50, 44, '', 'Direct Access (feature)', null, null, this.getTagsForStencil(gn, 'direct access feature', dt).join(' ')),
  302. this.createVertexTemplateEntry(s2 + 'document;fillColor=#00188D;',
  303. 40, 50, '', 'Document', null, null, this.getTagsForStencil(gn, 'document doc', dt).join(' ')),
  304. this.createVertexTemplateEntry(s2 + 'domain_controller;fillColor=#00188D;',
  305. 36, 50, '', 'Domain Controller', null, null, this.getTagsForStencil(gn, 'domain controller', dt).join(' ')),
  306. this.createVertexTemplateEntry(s + 'enterprise;fillColor=#00188D;',
  307. 30, 50, '', 'Enterprise Building', null, null, this.getTagsForStencil(gn, 'enterprise building', dt).join(' ')),
  308. this.createVertexTemplateEntry(s + 'file;fillColor=#7D7D7D;',
  309. 47, 50, '', 'File general', null, null, this.getTagsForStencil(gn, 'file general', dt).join(' ')),
  310. this.createVertexTemplateEntry(s2 + 'filter;fillColor=#00188D;',
  311. 50, 45, '', 'Filter', null, null, this.getTagsForStencil(gn, 'filter', dt).join(' ')),
  312. this.createVertexTemplateEntry(s2 + 'firewall;fillColor=#00188D;',
  313. 50, 44, '', 'Firewall', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
  314. this.createVertexTemplateEntry(s2 + 'folder;fillColor=#00188D;',
  315. 50, 43, '', 'Folder', null, null, this.getTagsForStencil(gn, 'folder', dt).join(' ')),
  316. this.createVertexTemplateEntry(s2 + 'gateway;fillColor=#00188D;',
  317. 50, 50, '', 'Gateway', null, null, this.getTagsForStencil(gn, 'gateway', dt).join(' ')),
  318. this.createVertexTemplateEntry(s + 'code_file;fillColor=#00188D;',
  319. 47, 50, '', 'Generic Code', null, null, this.getTagsForStencil(gn, 'generic code', dt).join(' ')),
  320. this.createVertexTemplateEntry(s + 'health_monitoring;fillColor=#7D7D7D;',
  321. 50, 42, '', 'Health Monitoring', null, null, this.getTagsForStencil(gn, 'health monitoring', dt).join(' ')),
  322. this.createVertexTemplateEntry(s + 'healthy;fillColor=#7D7D7D;',
  323. 50, 45, '', 'Healthy', null, null, this.getTagsForStencil(gn, 'healthy', dt).join(' ')),
  324. this.createVertexTemplateEntry(s2 + 'import_generic;fillColor=#00188D;',
  325. 40, 50, '', 'Import (generic)', null, null, this.getTagsForStencil(gn, 'import generic', dt).join(' ')),
  326. this.createVertexTemplateEntry(s2 + 'internet;fillColor=#00188D;',
  327. 50, 31, '', 'Internet', null, null, this.getTagsForStencil(gn, 'internet', dt).join(' ')),
  328. this.createVertexTemplateEntry(s2 + 'internet_hollow;fillColor=#00188D;',
  329. 50, 31, '', 'Internet (hollow)', null, null, this.getTagsForStencil(gn, 'internet hollow', dt).join(' ')),
  330. this.createVertexTemplateEntry(s2 + 'key_permissions;fillColor=#00188D;',
  331. 26, 50, '', 'Key, Permissions', null, null, this.getTagsForStencil(gn, 'key permissions', dt).join(' ')),
  332. this.createVertexTemplateEntry(s2 + 'keyboard;fillColor=#00188D;',
  333. 50, 30, '', 'Keyboard', null, null, this.getTagsForStencil(gn, 'keyboard', dt).join(' ')),
  334. this.createVertexTemplateEntry(s + 'laptop;fillColor=#7D7D7D;',
  335. 50, 30, '', 'Laptop', null, null, this.getTagsForStencil(gn, 'laptop computer pc', dt).join(' ')),
  336. this.createVertexTemplateEntry(s + 'load_balancer_generic;fillColor=#00188D;',
  337. 37, 50, '', 'Load Balancer (generic)', null, null, this.getTagsForStencil(gn, 'load balancer generic', dt).join(' ')),
  338. this.createVertexTemplateEntry(s + 'load_balancer_generic;fillColor=#ffffff;',
  339. 37, 50, '', 'Load Balancer (white)', null, null, this.getTagsForStencil(gn, 'load balancer generic', dt).join(' ')),
  340. this.createVertexTemplateEntry(s2 + 'load_testing;fillColor=#00188D;',
  341. 48, 50, '', 'Load Testing', null, null, this.getTagsForStencil(gn, 'load testing', dt).join(' ')),
  342. this.createVertexTemplateEntry(s2 + 'lock;fillColor=#00188D;',
  343. 39, 50, '', 'Lock, Protected', null, null, this.getTagsForStencil(gn, 'lock protected', dt).join(' ')),
  344. this.createVertexTemplateEntry(s2 + 'lock_unlocked;fillColor=#00188D;',
  345. 37, 50, '', 'Lock (unlocked)', null, null, this.getTagsForStencil(gn, 'lock unlocked accessible', dt).join(' ')),
  346. this.createVertexTemplateEntry(s2 + 'maintenance;fillColor=#00188D;',
  347. 34, 50, '', 'Maintenance', null, null, this.getTagsForStencil(gn, 'maintenance', dt).join(' ')),
  348. this.createVertexTemplateEntry(s2 + 'management_console;fillColor=#00188D;',
  349. 50, 34, '', 'Management Console', null, null, this.getTagsForStencil(gn, 'management console', dt).join(' ')),
  350. this.createVertexTemplateEntry(s + 'message;fillColor=#7D7D7D;',
  351. 50, 37, '', 'Message', null, null, this.getTagsForStencil(gn, 'message', dt).join(' ')),
  352. this.createVertexTemplateEntry(s + 'computer;fillColor=#7D7D7D;',
  353. 50, 45, '', 'Monitor', null, null, this.getTagsForStencil(gn, 'monitor', dt).join(' ')),
  354. this.createVertexTemplateEntry(s2 + 'monitor_running_apps;fillColor=#00188D;',
  355. 50, 39, '', 'Monitor Running Apps', null, null, this.getTagsForStencil(gn, 'monitor running app application', dt).join(' ')),
  356. this.createVertexTemplateEntry(s2 + 'mouse;fillColor=#00188D;',
  357. 30, 50, '', 'Mouse', null, null, this.getTagsForStencil(gn, 'mouse', dt).join(' ')),
  358. this.createVertexTemplateEntry(s2 + 'network_card;fillColor=#00188D;',
  359. 50, 35, '', 'Network Card', null, null, this.getTagsForStencil(gn, 'network card', dt).join(' ')),
  360. this.createVertexTemplateEntry(s2 + 'performance;fillColor=#00188D;',
  361. 50, 50, '', 'Performance', null, null, this.getTagsForStencil(gn, 'performance', dt).join(' ')),
  362. this.createVertexTemplateEntry(s2 + 'performance_monitor;fillColor=#00188D;',
  363. 50, 36, '', 'Performance Monitor', null, null, this.getTagsForStencil(gn, 'performance monitor', dt).join(' ')),
  364. this.createVertexTemplateEntry(s + 'mobile;fillColor=#7D7D7D;',
  365. 35, 50, '', 'Phone', null, null, this.getTagsForStencil(gn, 'mobile phone', dt).join(' ')),
  366. this.createVertexTemplateEntry(s2 + 'plug_and_play;fillColor=#00188D;',
  367. 40, 50, '', 'Plug and Play', null, null, this.getTagsForStencil(gn, 'plug play', dt).join(' ')),
  368. this.createVertexTemplateEntry(s + 'powershell_file;fillColor=#00188D;',
  369. 47, 50, '', 'PowerShell Script File', null, null, this.getTagsForStencil(gn, 'powershell script file', dt).join(' ')),
  370. this.createVertexTemplateEntry(s2 + 'protocol_stack;fillColor=#00188D;',
  371. 50, 34, '', 'Protocol Stack', null, null, this.getTagsForStencil(gn, 'protocol stack', dt).join(' ')),
  372. this.createVertexTemplateEntry(s + 'queue_generic;fillColor=#00188D;',
  373. 50, 15, '', 'Queue (general)', null, null, this.getTagsForStencil(gn, 'queue general generic', dt).join(' ')),
  374. this.createVertexTemplateEntry(s2 + 'rms_connector;fillColor=#00188D;',
  375. 30, 40, '', 'RMS Connector', null, null, this.getTagsForStencil(gn, 'rms connector', dt).join(' ')),
  376. this.createVertexTemplateEntry(s2 + 'router;fillColor=#00188D;',
  377. 49, 38, '', 'Router', null, null, this.getTagsForStencil(gn, 'router', dt).join(' ')),
  378. this.createVertexTemplateEntry(s + 'script_file;fillColor=#00188D;',
  379. 47, 50, '', 'Script File', null, null, this.getTagsForStencil(gn, 'script file', dt).join(' ')),
  380. this.createVertexTemplateEntry(s2 + 'secure_virtual_machine;fillColor=#00188D;',
  381. 50, 38, '', 'Secure Virtual Machine', null, null, this.getTagsForStencil(gn, 'secure virtual machine', dt).join(' ')),
  382. this.createVertexTemplateEntry(s + 'server;fillColor=#00188D;',
  383. 50, 15, '', 'Server (blade)', null, null, this.getTagsForStencil(gn, 'server blade', dt).join(' ')),
  384. this.createVertexTemplateEntry(s2 + 'server_generic;fillColor=#00188D;',
  385. 24, 50, '', 'Server (generic)', null, null, this.getTagsForStencil(gn, 'server generic', dt).join(' ')),
  386. this.createVertexTemplateEntry(s2 + 'server_directory;fillColor=#00188D;',
  387. 36, 50, '', 'Server Directory', null, null, this.getTagsForStencil(gn, 'server directory', dt).join(' ')),
  388. this.createVertexTemplateEntry(s2 + 'server_farm;fillColor=#00188D;',
  389. 50, 32, '', 'Server Farm', null, null, this.getTagsForStencil(gn, 'server farm', dt).join(' ')),
  390. this.createVertexTemplateEntry(s + 'server_rack;fillColor=#00188D;',
  391. 50, 50, '', 'Server Rack', null, null, this.getTagsForStencil(gn, 'server rack', dt).join(' ')),
  392. this.createVertexTemplateEntry(s2 + 'settings;fillColor=#00188D;',
  393. 50, 50, '', 'Settings', null, null, this.getTagsForStencil(gn, 'settings', dt).join(' ')),
  394. this.createVertexTemplateEntry(s2 + 'shared_folder;fillColor=#00188D;',
  395. 43, 50, '', 'Shared Folder', null, null, this.getTagsForStencil(gn, 'shared folder', dt).join(' ')),
  396. this.createVertexTemplateEntry(s2 + 'smartcard;fillColor=#00188D;',
  397. 50, 32, '', 'SmartCard', null, null, this.getTagsForStencil(gn, 'smartcard', dt).join(' ')),
  398. this.createVertexTemplateEntry(s2 + 'storage;fillColor=#00188D;',
  399. 50, 41, '', 'Storage', null, null, this.getTagsForStencil(gn, 'storage', dt).join(' ')),
  400. this.createVertexTemplateEntry(s2 + 'table;fillColor=#00188D;',
  401. 50, 50, '', 'Table', null, null, this.getTagsForStencil(gn, 'table', dt).join(' ')),
  402. this.createVertexTemplateEntry(s + 'tablet;fillColor=#00188D;',
  403. 50, 37, '', 'Tablet', null, null, this.getTagsForStencil(gn, 'tablet', dt).join(' ')),
  404. this.createVertexTemplateEntry(s2 + 'tool;fillColor=#00188D;',
  405. 52, 47, '', 'Tool', null, null, this.getTagsForStencil(gn, 'tool', dt).join(' ')),
  406. this.createVertexTemplateEntry(s2 + 'unhealthy;fillColor=#00188D;',
  407. 52, 43, '', 'Unhealthy', null, null, this.getTagsForStencil(gn, 'unhealthy', dt).join(' ')),
  408. this.createVertexTemplateEntry(s2 + 'usb;fillColor=#00188D;',
  409. 50, 23, '', 'USB', null, null, this.getTagsForStencil(gn, 'usb', dt).join(' ')),
  410. this.createVertexTemplateEntry(s2 + 'web;fillColor=#00188D;',
  411. 50, 50, '', 'Web', null, null, this.getTagsForStencil(gn, 'web', dt).join(' ')),
  412. this.createVertexTemplateEntry(s2 + 'web_server;fillColor=#00188D;',
  413. 38, 50, '', 'Web Server', null, null, this.getTagsForStencil(gn, 'web server', dt).join(' ')),
  414. this.createVertexTemplateEntry(s2 + 'website_generic;fillColor=#00188D;',
  415. 47, 41, '', 'Website (generic)', null, null, this.getTagsForStencil(gn, 'website generic', dt).join(' ')),
  416. this.createVertexTemplateEntry(s2 + 'windows_server;fillColor=#00188D;',
  417. 39, 50, '', 'Windows Server', null, null, this.getTagsForStencil(gn, 'windows server', dt).join(' ')),
  418. this.createVertexTemplateEntry(s2 + 'wireless_connection;fillColor=#00188D;',
  419. 42, 50, '', 'Wireless Connection', null, null, this.getTagsForStencil(gn, 'wireless connection', dt).join(' ')),
  420. this.createVertexTemplateEntry(s2 + 'workstation_client;fillColor=#00188D;',
  421. 50, 50, '', 'Workstation Client', null, null, this.getTagsForStencil(gn, 'workstation client', dt).join(' ')),
  422. this.createVertexTemplateEntry(s2 + 'xml_web_service;fillColor=#00188D;',
  423. 50, 50, '', 'XML Web Service', null, null, this.getTagsForStencil(gn, 'xml web service', dt).join(' '))
  424. ];
  425. this.addPalette('mscaeEnterprise', 'CAE / Enterprise', false, mxUtils.bind(this, function(content)
  426. {
  427. for (var i = 0; i < fns.length; i++)
  428. {
  429. content.appendChild(fns[i](content));
  430. }
  431. }));
  432. };
  433. Sidebar.prototype.addMSCAEGeneralPalette = function()
  434. {
  435. var s = 'shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.';
  436. var s2 = 'shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.general.';
  437. var s3 = 'shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.';
  438. var s4 = 'shadow=0;dashed=0;html=1;shape=mxgraph.mscae.general.';
  439. // Space savers
  440. var sb = this;
  441. var gn = 'mxgraph.mscae.general';
  442. var dt = 'ms microsoft cloud enterprise general ';
  443. var fns =
  444. [
  445. this.createVertexTemplateEntry(s2 + 'audio;fillColor=#7D7D7D;',
  446. 50, 50, '', 'Audio', null, null, this.getTagsForStencil(gn, 'audio', dt).join(' ')),
  447. this.createVertexTemplateEntry(s2 + 'bug;fillColor=#7D7D7D;',
  448. 50, 50, '', 'Bug', null, null, this.getTagsForStencil(gn, 'bug', dt).join(' ')),
  449. this.createVertexTemplateEntry(s + 'enterprise;fillColor=#7D7D7D;',
  450. 30, 50, '', 'Building', null, null, this.getTagsForStencil(gn, 'building enterprise', dt).join(' ')),
  451. this.createVertexTemplateEntry(s4 + 'cable_settop_tv_box;strokeColor=#000000;fillColor=#7D7D7D;',
  452. 50, 24, '', 'Cable Settop TV Box', null, null, this.getTagsForStencil(gn, 'cable settop tv television box', dt).join(' ')),
  453. this.createVertexTemplateEntry(s2 + 'calendar;fillColor=#7D7D7D;',
  454. 50, 40, '', 'Calendar', null, null, this.getTagsForStencil(gn, 'calendar', dt).join(' ')),
  455. this.createVertexTemplateEntry(s2 + 'chart;fillColor=#7D7D7D;',
  456. 50, 48, '', 'Chart', null, null, this.getTagsForStencil(gn, 'chart', dt).join(' ')),
  457. this.createVertexTemplateEntry(s2 + 'checkmark;fillColor=#91D250;',
  458. 41, 50, '', 'Checkmark (success)', null, null, this.getTagsForStencil(gn, 'checkmark success', dt).join(' ')),
  459. this.createVertexTemplateEntry(s2 + 'continuous_cycle;fillColor=#7D7D7D;',
  460. 48, 50, '', 'Continuous Cycle (circle)', null, null, this.getTagsForStencil(gn, 'continuous cycle circle', dt).join(' ')),
  461. this.createVertexTemplateEntry(s2 + 'crossout;fillColor=#FF0000;',
  462. 40, 50, '', 'Crossout (failure)', null, null, this.getTagsForStencil(gn, 'crossout failure', dt).join(' ')),
  463. this.createVertexTemplateEntry(s2 + 'cut_and_paste;fillColor=#7D7D7D;',
  464. 50, 34, '', 'Cut and Paste', null, null, this.getTagsForStencil(gn, 'cut and paste', dt).join(' ')),
  465. this.createVertexTemplateEntry(s3 + 'enterprise.filter;fillColor=#7D7D7D;',
  466. 50, 45, '', 'Filter', null, null, this.getTagsForStencil(gn, 'filter', dt).join(' ')),
  467. this.createVertexTemplateEntry(s3 + 'enterprise.folder;fillColor=#7D7D7D;',
  468. 50, 43, '', 'Folder', null, null, this.getTagsForStencil(gn, 'folder', dt).join(' ')),
  469. this.createVertexTemplateEntry(s2 + 'game_controller;fillColor=#7D7D7D;',
  470. 50, 35, '', 'Game Controller', null, null, this.getTagsForStencil(gn, 'game controller gamepad', dt).join(' ')),
  471. this.createVertexTemplateEntry(s2 + 'gears;fillColor=#7D7D7D;',
  472. 50, 42, '', 'Gears', null, null, this.getTagsForStencil(gn, 'gears', dt).join(' ')),
  473. this.createVertexTemplateEntry(s2 + 'graph;fillColor=#7D7D7D;',
  474. 50, 50, '', 'Graph', null, null, this.getTagsForStencil(gn, 'graph', dt).join(' ')),
  475. this.createVertexTemplateEntry(s2 + 'like;fillColor=#7D7D7D;',
  476. 50, 47, '', 'Like', null, null, this.getTagsForStencil(gn, 'like', dt).join(' ')),
  477. this.createVertexTemplateEntry(s2 + 'not_allowed;fillColor=#DE5900;',
  478. 50, 50, '', 'Not Allowed', null, null, this.getTagsForStencil(gn, 'not allowed', dt).join(' ')),
  479. this.createVertexTemplateEntry(s2 + 'pointer;fillColor=#91D250;',
  480. 50, 50, '', 'Pointer (circle)', null, null, this.getTagsForStencil(gn, 'pointer circle', dt).join(' ')),
  481. this.createVertexTemplateEntry(s2 + 'slider_bar_horizontal;fillColor=#7D7D7D;',
  482. 50, 21, '', 'Slider Bar (horizontal)', null, null, this.getTagsForStencil(gn, 'slider bar horizontal hor', dt).join(' ')),
  483. this.createVertexTemplateEntry(s2 + 'slider_bar_vertical;fillColor=#7D7D7D;',
  484. 22, 50, '', 'Slider Bar (vertical)', null, null, this.getTagsForStencil(gn, 'slider bar vertical hor', dt).join(' ')),
  485. this.createVertexTemplateEntry(s2 + 'task_list;fillColor=#7D7D7D;',
  486. 38, 47, '', 'Task List (backlog)', null, null, this.getTagsForStencil(gn, 'task list backlog', dt).join(' ')),
  487. this.createVertexTemplateEntry(s2 + 'tasks;fillColor=#7D7D7D;',
  488. 38, 50, '', 'Tasks', null, null, this.getTagsForStencil(gn, 'tasks', dt).join(' ')),
  489. this.createVertexTemplateEntry(s2 + 'tunnel;fillColor=#7D7D7D;',
  490. 50, 9, '', 'Tunnel', null, null, this.getTagsForStencil(gn, 'tunnel', dt).join(' ')),
  491. this.createVertexTemplateEntry(s3 + 'enterprise.usb;fillColor=#7D7D7D;',
  492. 50, 23, '', 'USB', null, null, this.getTagsForStencil(gn, 'usb', dt).join(' ')),
  493. this.createVertexTemplateEntry(s + 'user;fillColor=#7D7D7D;',
  494. 47, 50, '', 'User', null, null, this.getTagsForStencil(gn, 'user', dt).join(' ')),
  495. this.createVertexTemplateEntry(s2 + 'video;fillColor=#7D7D7D;',
  496. 49, 50, '', 'Video', null, null, this.getTagsForStencil(gn, 'video', dt).join(' '))
  497. ];
  498. this.addPalette('mscaeGeneral', 'CAE / General', false, mxUtils.bind(this, function(content)
  499. {
  500. for (var i = 0; i < fns.length; i++)
  501. {
  502. content.appendChild(fns[i](content));
  503. }
  504. }));
  505. };
  506. Sidebar.prototype.addMSCAEIntunePalette = function()
  507. {
  508. var s = 'shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.';
  509. var s2 = 'shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.';
  510. var s3 = 'shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.';
  511. // Space savers
  512. var sb = this;
  513. var gn = 'mxgraph.mscae.intune';
  514. var dt = 'ms microsoft cloud enterprise intune';
  515. var fns =
  516. [
  517. this.createVertexTemplateEntry(s2 + 'account_portal;fillColor=#505050;',
  518. 40, 46, '', 'Account Portal', null, null, this.getTagsForStencil(gn, 'account portal', dt).join(' ')),
  519. this.createVertexTemplateEntry(s2 + 'administration;fillColor=#505050;',
  520. 30, 50, '', 'Administration', null, null, this.getTagsForStencil(gn, 'administration', dt).join(' ')),
  521. this.createVertexTemplateEntry(s2 + 'alerts;fillColor=#505050;',
  522. 50, 50, '', 'Alerts', null, null, this.getTagsForStencil(gn, 'alerts', dt).join(' ')),
  523. this.createVertexTemplateEntry(s2 + 'apps;fillColor=#505050;',
  524. 50, 50, '', 'Apps', null, null, this.getTagsForStencil(gn, 'apps', dt).join(' ')),
  525. this.createVertexTemplateEntry(s2 + 'certificate;fillColor=#505050;',
  526. 50, 49, '', 'Certificate (Compliance)', null, null, this.getTagsForStencil(gn, 'certificate compliance', dt).join(' ')),
  527. this.createVertexTemplateEntry(s2 + 'client_software;fillColor=#505050;',
  528. 52, 47, '', 'Client Software Deployment Wizard', null, null, this.getTagsForStencil(gn, 'client software deployment wizard', dt).join(' ')),
  529. this.createVertexTemplateEntry(s2 + 'company_portal;fillColor=#505050;',
  530. 47, 36, '', 'Company Portal', null, null, this.getTagsForStencil(gn, 'company portal', dt).join(' ')),
  531. this.createVertexTemplateEntry(s2 + 'computer_inventory;fillColor=#505050;',
  532. 50, 45, '', 'Computer Inventory', null, null, this.getTagsForStencil(gn, 'computer inventory', dt).join(' ')),
  533. this.createVertexTemplateEntry(s2 + 'conditional_access_exchange;fillColor=#505050;',
  534. 49, 50, '', 'Conditional Access (Exchange)', null, null, this.getTagsForStencil(gn, 'conditional access exchange', dt).join(' ')),
  535. this.createVertexTemplateEntry(s2 + 'conditional_access_sharepoint;fillColor=#505050;',
  536. 43, 49, '', 'Conditional Access (Sharepoint)', null, null, this.getTagsForStencil(gn, 'conditional access sharepoint', dt).join(' ')),
  537. this.createVertexTemplateEntry(s2 + 'connector;fillColor=#505050;',
  538. 46, 16, '', 'Connector', null, null, this.getTagsForStencil(gn, 'connector', dt).join(' ')),
  539. this.createVertexTemplateEntry(s2 + 'dashboard;fillColor=#505050;',
  540. 50, 40, '', 'Dashboard', null, null, this.getTagsForStencil(gn, 'dashboard', dt).join(' ')),
  541. this.createVertexTemplateEntry(s2 + 'data_migration_wizard;fillColor=#505050;',
  542. 50, 48, '', 'Data Migration Wizard', null, null, this.getTagsForStencil(gn, 'data migration wizard', dt).join(' ')),
  543. this.createVertexTemplateEntry(s2 + 'detected_software;fillColor=#505050;',
  544. 50, 50, '', 'Detected Software', null, null, this.getTagsForStencil(gn, 'detected software', dt).join(' ')),
  545. this.createVertexTemplateEntry(s2 + 'device_group;fillColor=#505050;',
  546. 50, 50, '', 'Device Group', null, null, this.getTagsForStencil(gn, 'device group', dt).join(' ')),
  547. this.createVertexTemplateEntry(s2 + 'device_health;fillColor=#505050;',
  548. 50, 31, '', 'Device Health', null, null, this.getTagsForStencil(gn, 'device_health', dt).join(' ')),
  549. this.createVertexTemplateEntry(s2 + 'device_history;fillColor=#505050;',
  550. 45, 50, '', 'Device History', null, null, this.getTagsForStencil(gn, 'device history', dt).join(' ')),
  551. this.createVertexTemplateEntry(s2 + 'device_os;fillColor=#505050;',
  552. 49, 50, '', 'Device OS', null, null, this.getTagsForStencil(gn, 'device os operating system', dt).join(' ')),
  553. this.createVertexTemplateEntry(s2 + 'end_protection;fillColor=#505050;',
  554. 48, 50, '', 'End Protection', null, null, this.getTagsForStencil(gn, 'end protection', dt).join(' ')),
  555. this.createVertexTemplateEntry(s2 + 'exchange_connector;fillColor=#505050;',
  556. 50, 49, '', 'Exchange Connector', null, null, this.getTagsForStencil(gn, 'exchange connector', dt).join(' ')),
  557. this.createVertexTemplateEntry(s2 + 'groups;fillColor=#505050;',
  558. 50, 48, '', 'Groups', null, null, this.getTagsForStencil(gn, 'groups', dt).join(' ')),
  559. this.createVertexTemplateEntry(s2 + 'hybrid;fillColor=#505050;',
  560. 50, 39, '', 'Hybrid', null, null, this.getTagsForStencil(gn, 'hybrid', dt).join(' ')),
  561. this.createVertexTemplateEntry(s2 + 'intune_certificate_profiles;fillColor=#505050;',
  562. 40, 50, '', 'Intune Certificate Profiles', null, null, this.getTagsForStencil(gn, 'certificate profiles', dt).join(' ')),
  563. this.createVertexTemplateEntry(s2 + 'intune_email_profiles;fillColor=#505050;',
  564. 50, 50, '', 'Intune Email Profiles', null, null, this.getTagsForStencil(gn, 'email profiles', dt).join(' ')),
  565. this.createVertexTemplateEntry(s2 + 'intune_managed_app;fillColor=#505050;',
  566. 50, 38, '', 'Intune Managed App', null, null, this.getTagsForStencil(gn, 'managed app application', dt).join(' ')),
  567. this.createVertexTemplateEntry(s2 + 'intune_mobile_application_management;fillColor=#505050;',
  568. 49, 50, '', 'Intune Mobile Application Management', null, null, this.getTagsForStencil(gn, 'mobile app aplication management', dt).join(' ')),
  569. this.createVertexTemplateEntry(s2 + 'intune_vpn_profiles;fillColor=#505050;',
  570. 42, 50, '', 'Intune VPN Profiles', null, null, this.getTagsForStencil(gn, 'vpn virtual private network profiles', dt).join(' ')),
  571. this.createVertexTemplateEntry(s2 + 'intune_wifi_profiles;fillColor=#505050;',
  572. 44, 51, '', 'Intune WiFi Profiles', null, null, this.getTagsForStencil(gn, 'wifi profiles', dt).join(' ')),
  573. this.createVertexTemplateEntry(s2 + 'inventory_license;fillColor=#505050;',
  574. 50, 48, '', 'Inventory License', null, null, this.getTagsForStencil(gn, 'inventory license', dt).join(' ')),
  575. this.createVertexTemplateEntry(s2 + 'inventory_software;fillColor=#505050;',
  576. 50, 49, '', 'Inventory Software', null, null, this.getTagsForStencil(gn, 'inventory software', dt).join(' ')),
  577. this.createVertexTemplateEntry(s2 + 'license_group;fillColor=#505050;',
  578. 50, 49, '', 'License Group', null, null, this.getTagsForStencil(gn, 'license group', dt).join(' ')),
  579. this.createVertexTemplateEntry(s2 + 'license_installation;fillColor=#505050;',
  580. 50, 43, '', 'License Installation', null, null, this.getTagsForStencil(gn, 'license installation', dt).join(' ')),
  581. this.createVertexTemplateEntry(s2 + 'microsoft_intune;fillColor=#505050;',
  582. 48, 38, '', 'Microsoft Intune', null, null, this.getTagsForStencil(gn, 'microsoft', dt).join(' ')),
  583. this.createVertexTemplateEntry(s2 + 'mobile_inventory;fillColor=#505050;',
  584. 44, 50, '', 'Mobile Inventory', null, null, this.getTagsForStencil(gn, 'mobile inventory', dt).join(' ')),
  585. this.createVertexTemplateEntry(s2 + 'noncompliant_apps;fillColor=#505050;',
  586. 46, 50, '', 'Noncompliant Apps', null, null, this.getTagsForStencil(gn, 'noncompliant apps applications', dt).join(' ')),
  587. this.createVertexTemplateEntry(s2 + 'policy;fillColor=#505050;',
  588. 50, 50, '', 'Policy', null, null, this.getTagsForStencil(gn, 'policy', dt).join(' ')),
  589. this.createVertexTemplateEntry(s2 + 'protection;fillColor=#505050;',
  590. 48, 50, '', 'Protection', null, null, this.getTagsForStencil(gn, 'protection', dt).join(' ')),
  591. this.createVertexTemplateEntry(s2 + 'reports;fillColor=#505050;',
  592. 46, 50, '', 'Reports', null, null, this.getTagsForStencil(gn, 'reports', dt).join(' ')),
  593. this.createVertexTemplateEntry(s3 + 'enterprise.settings;fillColor=#505050;',
  594. 50, 50, '', 'Settings', null, null, this.getTagsForStencil(gn, 'settings', dt).join(' ')),
  595. this.createVertexTemplateEntry(s2 + 'subscription_portal;fillColor=#505050;',
  596. 45, 45, '', 'Subscription Portal', null, null, this.getTagsForStencil(gn, 'subscription portal', dt).join(' ')),
  597. this.createVertexTemplateEntry(s2 + 'terms_and_conditions;fillColor=#505050;',
  598. 37, 50, '', 'Terms and Conditions', null, null, this.getTagsForStencil(gn, 'terms and conditions', dt).join(' ')),
  599. this.createVertexTemplateEntry(s2 + 'update;fillColor=#505050;',
  600. 50, 52, '', 'Update', null, null, this.getTagsForStencil(gn, 'update', dt).join(' ')),
  601. this.createVertexTemplateEntry(s2 + 'user_group;fillColor=#505050;',
  602. 50, 37, '', 'User Group', null, null, this.getTagsForStencil(gn, 'user group', dt).join(' ')),
  603. this.createVertexTemplateEntry(s2 + 'user_management;fillColor=#505050;',
  604. 50, 46, '', 'User Management', null, null, this.getTagsForStencil(gn, 'user management', dt).join(' '))
  605. ];
  606. this.addPalette('mscaeIntune', 'CAE / Intune', false, mxUtils.bind(this, function(content)
  607. {
  608. for (var i = 0; i < fns.length; i++)
  609. {
  610. content.appendChild(fns[i](content));
  611. }
  612. }));
  613. };
  614. Sidebar.prototype.addMSCAEOtherPalette = function()
  615. {
  616. var s = 'shadow=0;dashed=0;html=1;shape=mxgraph.azure.';
  617. var s2 = 'shadow=0;dashed=0;strokeColor=none;html=1;shape=mxgraph.mscae.other.';
  618. // Space savers
  619. var sb = this;
  620. var gn = 'mxgraph.mscae.other';
  621. var dt = 'ms microsoft cloud enterprise other';
  622. var fns =
  623. [
  624. this.createVertexTemplateEntry(s2 + 'access;fillColor=#BA2024;',
  625. 50, 50, '', 'Access', null, null, this.getTagsForStencil(gn, 'access', dt).join(' ')),
  626. this.createVertexTemplateEntry(s2 + 'excel;fillColor=#008540;',
  627. 50, 50, '', 'Excel', null, null, this.getTagsForStencil(gn, 'excel', dt).join(' ')),
  628. this.createVertexTemplateEntry(s2 + 'exchange;fillColor=#2471BA;',
  629. 52, 50, '', 'Exchange', null, null, this.getTagsForStencil(gn, 'exchange', dt).join(' ')),
  630. this.createVertexTemplateEntry(s2 + 'lync;fillColor=#2471BA;',
  631. 52, 50, '', 'Lync', null, null, this.getTagsForStencil(gn, 'lync', dt).join(' ')),
  632. this.createVertexTemplateEntry(s2 + 'microsoft;',
  633. 50, 50, '', 'Microsoft', null, null, this.getTagsForStencil(gn, 'microsoft', dt).join(' ')),
  634. this.createVertexTemplateEntry(s2 + 'outlook;fillColor=#2471BA;',
  635. 50, 50, '', 'Outlook', null, null, this.getTagsForStencil(gn, 'outlook', dt).join(' ')),
  636. this.createVertexTemplateEntry(s2 + 'powerpoint;fillColor=#DE5D24;',
  637. 50, 50, '', 'PowerPoint', null, null, this.getTagsForStencil(gn, 'powerpoint', dt).join(' ')),
  638. this.createVertexTemplateEntry(s2 + 'sharepoint;fillColor=#2471BA;',
  639. 51, 50, '', 'Sharepoint', null, null, this.getTagsForStencil(gn, 'sharepoint', dt).join(' ')),
  640. this.createVertexTemplateEntry(s2 + 'skype;fillColor=#00AEF2;',
  641. 45, 45, '', 'Skype', null, null, this.getTagsForStencil(gn, 'skype', dt).join(' ')),
  642. this.createVertexTemplateEntry(s2 + 'windows;fillColor=#00188D;',
  643. 48, 50, '', 'Windows', null, null, this.getTagsForStencil(gn, 'windows', dt).join(' ')),
  644. this.createVertexTemplateEntry(s2 + 'word;fillColor=#2C3481;',
  645. 50, 50, '', 'Word', null, null, this.getTagsForStencil(gn, 'word', dt).join(' ')),
  646. this.createVertexTemplateEntry(s2 + 'xbox;fillColor=#91D250;',
  647. 54, 52, '', 'Xbox', null, null, this.getTagsForStencil(gn, 'xbox', dt).join(' ')),
  648. this.createVertexTemplateEntry(s2 + 'xbox_one;',
  649. 50, 16, '', 'Xbox One', null, null, this.getTagsForStencil(gn, 'xbox one', dt).join(' '))
  650. ];
  651. this.addPalette('mscaeOther', 'CAE / Other', false, mxUtils.bind(this, function(content)
  652. {
  653. for (var i = 0; i < fns.length; i++)
  654. {
  655. content.appendChild(fns[i](content));
  656. }
  657. }));
  658. };
  659. Sidebar.prototype.addMSCAESystemCenterPalette = function()
  660. {
  661. var s = 'shadow=0;dashed=0;html=1;shape=mxgraph.azure.';
  662. var s2 = 'shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.system_center.';
  663. var s3 = 'shadow=0;dashed=0;html=1;shape=mxgraph.mscae.';
  664. // Space savers
  665. var sb = this;
  666. var gn = 'mxgraph.mscae.system_center';
  667. var dt = 'ms microsoft cloud enterprise system center';
  668. var fns =
  669. [
  670. this.createVertexTemplateEntry(s2 + 'admin_console;fillColor=#7D7D7D;strokeColor=none;',
  671. 50, 36, '', 'Admin Console', null, null, this.getTagsForStencil(gn, 'admin console', dt).join(' ')),
  672. this.createVertexTemplateEntry(s3 + 'enterprise.database_server;fillColor=#7D7D7D;strokeColor=none;',
  673. 38, 50, '', 'Central Administration Site', null, null, this.getTagsForStencil(gn, 'central administration site', dt).join(' ')),
  674. this.createVertexTemplateEntry(s2 + 'central_administration_site_sql;fillColor=#7D7D7D;strokeColor=none;',
  675. 38, 50, '', 'Central Administration Site SQL', null, null, this.getTagsForStencil(gn, 'central administration site sql', dt).join(' ')),
  676. this.createVertexTemplateEntry(s2 + 'cloud_distribution_point;fillColor=#7D7D7D;strokeColor=none;',
  677. 46, 50, '', 'Cloud Distribution Point', null, null, this.getTagsForStencil(gn, 'cloud distribution point', dt).join(' ')),
  678. this.createVertexTemplateEntry(s2 + 'distribution_point;fillColor=#7D7D7D;strokeColor=none;',
  679. 44, 50, '', 'Distribution Point', null, null, this.getTagsForStencil(gn, 'distribution point', dt).join(' ')),
  680. this.createVertexTemplateEntry(s2 + 'management_point;fillColor=#7D7D7D;strokeColor=none;',
  681. 48, 50, '', 'Management Point', null, null, this.getTagsForStencil(gn, 'management point', dt).join(' ')),
  682. this.createVertexTemplateEntry(s2 + 'primary_site;fillColor=#7D7D7D;strokeColor=none;',
  683. 38, 50, '', 'Primary Site', null, null, this.getTagsForStencil(gn, 'primary site', dt).join(' ')),
  684. this.createVertexTemplateEntry(s2 + 'roles;fillColor=#7D7D7D;strokeColor=none;',
  685. 42, 50, '', 'Roles', null, null, this.getTagsForStencil(gn, 'roles', dt).join(' ')),
  686. this.createVertexTemplateEntry(s2 + 'secondary_site;fillColor=#7D7D7D;strokeColor=none;',
  687. 41, 50, '', 'Secondary Site', null, null, this.getTagsForStencil(gn, 'secondary site', dt).join(' ')),
  688. this.createVertexTemplateEntry(s2 + 'software_update_point;fillColor=#7D7D7D;strokeColor=none;',
  689. 50, 43, '', 'Software Update Point', null, null, this.getTagsForStencil(gn, 'software update point', dt).join(' '))
  690. ];
  691. this.addPalette('mscaeSystem Center', 'CAE / System Center', false, mxUtils.bind(this, function(content)
  692. {
  693. for (var i = 0; i < fns.length; i++)
  694. {
  695. content.appendChild(fns[i](content));
  696. }
  697. }));
  698. };
  699. })();