drawio-offline
Version:
diagrams.net desktop
641 lines (622 loc) • 111 kB
JavaScript
(function()
{
// Adds mockup shapes
Sidebar.prototype.addOfficePalette = function()
{
this.setCurrentSearchEntryLibrary('office', 'officeClouds');
this.addOfficeCloudsPalette();
this.setCurrentSearchEntryLibrary('office', 'officeCommunications');
this.addOfficeCommunicationsPalette();
this.setCurrentSearchEntryLibrary('office', 'officeConcepts');
this.addOfficeConceptsPalette();
this.setCurrentSearchEntryLibrary('office', 'officeDatabases');
this.addOfficeDatabasesPalette();
this.setCurrentSearchEntryLibrary('office', 'officeDevices');
this.addOfficeDevicesPalette();
this.setCurrentSearchEntryLibrary('office', 'officeSecurity');
this.addOfficeSecurityPalette();
this.setCurrentSearchEntryLibrary('office', 'officeServers');
this.addOfficeServersPalette();
this.setCurrentSearchEntryLibrary('office', 'officeServices');
this.addOfficeServicesPalette();
this.setCurrentSearchEntryLibrary('office', 'officeSites');
this.addOfficeSitesPalette();
this.setCurrentSearchEntryLibrary('office', 'officeUsers');
this.addOfficeUsersPalette();
this.setCurrentSearchEntryLibrary();
};
Sidebar.prototype.addOfficeCloudsPalette = function()
{
var s = 'pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.office.clouds.';
var s2 = 'pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.office.clouds.';
// Space savers
var sb = this;
var gn = 'mxgraph.office.clouds';
var dt = 'office cloud ';
var w = 1.0;
var h = 1.0;
var fns =
[
this.createVertexTemplateEntry(s + 'azure;',
w * 103, h * 66, '', 'Azure', null, null, this.getTagsForStencil(gn, 'azure', dt).join(' ')),
this.createVertexTemplateEntry(s + 'cloud;',
w * 94, h * 55, '', 'Cloud', null, null, this.getTagsForStencil(gn, 'cloud', dt).join(' ')),
this.createVertexTemplateEntry(s + 'cloud_disaster;',
w * 94, h * 74, '', 'Cloud Disaster', null, null, this.getTagsForStencil(gn, 'cloud disaster', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'cloud_disaster;fillColor=#ff0000;',
w * 94, h * 74, '', 'Cloud Disaster (Red)', null, null, this.getTagsForStencil(gn, 'cloud disaster', dt).join(' ')),
this.createVertexTemplateEntry(s + 'cloud_exchange_online;',
w * 100, h * 61, '', 'Cloud Exchange Online', null, null, this.getTagsForStencil(gn, 'cloud exchange online', dt).join(' ')),
this.createVertexTemplateEntry(s + 'cloud_service_request;',
w * 102, h * 80, '', 'Cloud Service Request', null, null, this.getTagsForStencil(gn, 'cloud service request', dt).join(' ')),
this.createVertexTemplateEntry(s + 'cloud_sharepoint;',
w * 101, h * 61, '', 'Cloud SharePoint', null, null, this.getTagsForStencil(gn, 'cloud sharepoint', dt).join(' ')),
this.createVertexTemplateEntry(s + 'office_365;',
w * 101, h * 61, '', 'Office 365', null, null, this.getTagsForStencil(gn, 'office 365', dt).join(' ')),
this.createVertexTemplateEntry(s + 'online_backup;',
w * 94, h * 101, '', 'Online Backup', null, null, this.getTagsForStencil(gn, 'online backup', dt).join(' ')),
this.createVertexTemplateEntry(s + 'online_user;',
w * 93, h * 74, '', 'Online User', null, null, this.getTagsForStencil(gn, 'online user', dt).join(' ')),
this.createVertexTemplateEntry(s + 'private_cloud;',
w * 94, h * 55, '', 'Private Cloud', null, null, this.getTagsForStencil(gn, 'private cloud', dt).join(' ')),
this.createVertexTemplateEntry(s + 'public_cloud;',
w * 101, h * 81, '', 'Public Cloud', null, null, this.getTagsForStencil(gn, 'public cloud', dt).join(' ')),
this.createVertexTemplateEntry(s + 'public_im_cloud_service;',
w * 102, h * 99, '', 'Public IM Cloud Service', null, null, this.getTagsForStencil(gn, 'public im instant message cloud service', dt).join(' '))
];
this.addPalette('officeClouds', 'Office / Clouds', false, mxUtils.bind(this, function(content)
{
for (var i = 0; i < fns.length; i++)
{
content.appendChild(fns[i](content));
}
}));
};
Sidebar.prototype.addOfficeCommunicationsPalette = function()
{
var s = 'pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.';
var s2 = 'pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.';
// Space savers
var sb = this;
var gn = 'mxgraph.office.communications';
var dt = 'office communication ';
var w = 1.0;
var h = 1.0;
var fns =
[
this.createVertexTemplateEntry(s + '3rd_party_call_center_solution;',
w * 98, h * 101, '', '3rd Party Call Center Solution', null, null, this.getTagsForStencil(gn, '3rd party call center solution', dt).join(' ')),
this.createVertexTemplateEntry(s + '3rd_party_integration;',
w * 54, h * 55, '', '3rd Party Integration', null, null, this.getTagsForStencil(gn, '3rd party integration', dt).join(' ')),
this.createVertexTemplateEntry(s + '3rd_party_service;',
w * 53, h * 54, '', '3rd Party Service', null, null, this.getTagsForStencil(gn, '3rd party service', dt).join(' ')),
this.createVertexTemplateEntry(s + 'application_sharing_workload;',
w * 57, h * 49, '', 'Application Sharing Workload', null, null, this.getTagsForStencil(gn, 'application sharing workload', dt).join(' ')),
this.createVertexTemplateEntry(s + 'audio_conferencing_application;',
w * 59, h * 46, '', 'Audio Conferencing Application', null, null, this.getTagsForStencil(gn, 'audio_conferencing_application', dt).join(' ')),
this.createVertexTemplateEntry(s + 'central_management_service;',
w * 52, h * 55, '', 'Central Management Service', null, null, this.getTagsForStencil(gn, 'central management service', dt).join(' ')),
this.createVertexTemplateEntry(s + 'chat_room;',
w * 46, h * 48, '', 'Chat Room', null, null, this.getTagsForStencil(gn, 'chat room', dt).join(' ')),
this.createVertexTemplateEntry(s + 'conference_announcement_service;',
w * 60, h * 60, '', 'Conference Announcement Service', null, null, this.getTagsForStencil(gn, 'conference announcement service', dt).join(' ')),
this.createVertexTemplateEntry(s + 'disconnected_mailbox;',
w * 60, h * 55, '', 'Disconnected Mailbox', null, null, this.getTagsForStencil(gn, 'disconnected mailbox', dt).join(' ')),
this.createVertexTemplateEntry(s + 'discovery_search_mailbox;',
w * 55, h * 49, '', 'Discovery Search Mailbox', null, null, this.getTagsForStencil(gn, 'discovery search mailbox', dt).join(' ')),
this.createVertexTemplateEntry(s + 'dynamic_distribution_group;',
w * 58, h * 59, '', 'Dynamic Distribution Group', null, null, this.getTagsForStencil(gn, 'dynamic distribution group', dt).join(' ')),
this.createVertexTemplateEntry(s + 'edge_subscription;',
w * 57, h * 59, '', 'Edge Subscription', null, null, this.getTagsForStencil(gn, 'edge subscription', dt).join(' ')),
this.createVertexTemplateEntry(s + 'email_workloaad;',
w * 57, h * 47, '', 'Email Workloaad', null, null, this.getTagsForStencil(gn, 'email workloaad', dt).join(' ')),
this.createVertexTemplateEntry(s + 'equipment_mailbox;',
w * 59, h * 59, '', 'Equipment Mailbox', null, null, this.getTagsForStencil(gn, 'equipment mailbox', dt).join(' ')),
this.createVertexTemplateEntry(s + 'exchange_active_sync;',
w * 49, h * 49, '', 'Exchange Active Sync', null, null, this.getTagsForStencil(gn, 'exchange_active_sync', dt).join(' ')),
this.createVertexTemplateEntry(s + 'exchange_active_sync;fillColor=#2072B8;',
w * 49, h * 49, '', 'Exchange Active Sync - Blue', null, null, this.getTagsForStencil(gn, 'exchange_active_sync', dt).join(' ')),
this.createVertexTemplateEntry(s + 'fax_partner;',
w * 45, h * 56, '', 'Fax Partner', null, null, this.getTagsForStencil(gn, 'fax partner', dt).join(' ')),
this.createVertexTemplateEntry(s + 'global_address_list;',
w * 59, h * 53, '', 'Global Address List', null, null, this.getTagsForStencil(gn, 'global address list', dt).join(' ')),
this.createVertexTemplateEntry(s + 'hybrid_voip_gateway;',
w * 59, h * 38, '', 'Hybrid VOIP Gateway', null, null, this.getTagsForStencil(gn, 'hybrid voip gateway', dt).join(' ')),
this.createVertexTemplateEntry(s + 'im_workload;',
w * 56, h * 54, '', 'IM Workload', null, null, this.getTagsForStencil(gn, 'im workload instant message', dt).join(' ')),
this.createVertexTemplateEntry(s + 'journaling_rule;',
w * 52, h * 58, '', 'Journaling Rule', null, null, this.getTagsForStencil(gn, 'journaling rule', dt).join(' ')),
this.createVertexTemplateEntry(s + 'local_move_request;',
w * 57, h * 57, '', 'Local Move Request', null, null, this.getTagsForStencil(gn, 'local move request', dt).join(' ')),
this.createVertexTemplateEntry(s + 'lync_control_panel;',
w * 69, h * 58, '', 'Lync Control Panel', null, null, this.getTagsForStencil(gn, 'lync control panel', dt).join(' ')),
this.createVertexTemplateEntry(s + 'lync_phone_edition;',
w * 80, h * 45, '', 'Lync Phone Edition', null, null, this.getTagsForStencil(gn, 'lync phone edition', dt).join(' ')),
this.createVertexTemplateEntry(s + 'lync_room_system;',
w * 80, h * 42, '', 'Lync Room System', null, null, this.getTagsForStencil(gn, 'lync room system', dt).join(' ')),
this.createVertexTemplateEntry(s + 'lync_server_management_tool;',
w * 75, h * 47, '', 'Lync Server Management Tool', null, null, this.getTagsForStencil(gn, 'lync server management tool', dt).join(' ')),
this.createVertexTemplateEntry(s + 'lync_storage_service;',
w * 66, h * 59, '', 'Lync Storage Service', null, null, this.getTagsForStencil(gn, 'lync storage service', dt).join(' ')),
this.createVertexTemplateEntry(s + 'lync_web_app_client;',
w * 83, h * 50, '', 'Lync Web App Client', null, null, this.getTagsForStencil(gn, 'lync web app client', dt).join(' ')),
this.createVertexTemplateEntry(s + 'mail_enabled_public_folder;',
w * 58, h * 52, '', 'Mail-Enabled Public Folder', null, null, this.getTagsForStencil(gn, 'mail enabled public folder', dt).join(' ')),
this.createVertexTemplateEntry(s + 'mailbox_assistant;',
w * 59, h * 57, '', 'Mailbox Assistant', null, null, this.getTagsForStencil(gn, 'mailbox assistant', dt).join(' ')),
this.createVertexTemplateEntry(s + 'messages_queued;',
w * 59, h * 57, '', 'Messages Queued', null, null, this.getTagsForStencil(gn, 'messages queued', dt).join(' ')),
this.createVertexTemplateEntry(s + 'offline_address_book;',
w * 59, h * 53, '', 'Offline Address Book', null, null, this.getTagsForStencil(gn, 'offline address book', dt).join(' ')),
this.createVertexTemplateEntry(s + 'personal_archive_mailbox;',
w * 59, h * 58, '', 'Personal Archive Mailbox', null, null, this.getTagsForStencil(gn, 'personal archive mailbox', dt).join(' ')),
this.createVertexTemplateEntry(s + 'public_im_cloud_service;',
w * 60, h * 58, '', 'Public IM Cloud Service', null, null, this.getTagsForStencil(gn, 'public im cloud service instant message', dt).join(' ')),
this.createVertexTemplateEntry(s + 'push_notification_service;',
w * 50, h * 58, '', 'Push Notification Service', null, null, this.getTagsForStencil(gn, 'push notification service', dt).join(' ')),
this.createVertexTemplateEntry(s + 'queue_viewer;',
w * 59, h * 57, '', 'Queue Viewer', null, null, this.getTagsForStencil(gn, 'queue viewer', dt).join(' ')),
this.createVertexTemplateEntry(s + 'remote_mailbox;',
w * 59, h * 57, '', 'Remote Mailbox', null, null, this.getTagsForStencil(gn, 'remote mailbox', dt).join(' ')),
this.createVertexTemplateEntry(s + 'remote_move_request;',
w * 60, h * 57, '', 'Remote Move Request', null, null, this.getTagsForStencil(gn, 'remote move request', dt).join(' ')),
this.createVertexTemplateEntry(s + 'response_group;',
w * 58, h * 54, '', 'Response Group', null, null, this.getTagsForStencil(gn, 'response group', dt).join(' ')),
this.createVertexTemplateEntry(s + 'room_mailbox;',
w * 60, h * 57, '', 'Room Mailbox', null, null, this.getTagsForStencil(gn, 'room mailbox', dt).join(' ')),
this.createVertexTemplateEntry(s + 'shared_mailbox;',
w * 60, h * 55, '', 'Shared Mailbox', null, null, this.getTagsForStencil(gn, 'shared mailbox', dt).join(' ')),
this.createVertexTemplateEntry(s + 'sip_uri_um_dial_plan;',
w * 55, h * 56, '', 'SIP URI UM Dial Plan', null, null, this.getTagsForStencil(gn, 'sip uri um dial plan', dt).join(' ')),
this.createVertexTemplateEntry(s + 'site_mailbox;',
w * 59, h * 54, '', 'Site Mailbox', null, null, this.getTagsForStencil(gn, 'site mailbox', dt).join(' ')),
this.createVertexTemplateEntry(s + 'skype_for_business_control_panel;',
w * 65, h * 59, '', 'Skype for Business Control Panel', null, null, this.getTagsForStencil(gn, 'skype for business control panel', dt).join(' ')),
this.createVertexTemplateEntry(s + 'skype_for_business_phone_edition;',
w * 76, h * 45, '', 'Skype for Business Phone Edition', null, null, this.getTagsForStencil(gn, 'skype for business phone edition', dt).join(' ')),
this.createVertexTemplateEntry(s + 'skype_for_business_room_system;',
w * 74, h * 41, '', 'Skype for Business Room System', null, null, this.getTagsForStencil(gn, 'skype for business room system', dt).join(' ')),
this.createVertexTemplateEntry(s + 'skype_for_business_server_management_tool;',
w * 72, h * 48, '', 'Skype for Business Server Management Tool', null, null, this.getTagsForStencil(gn, 'skype for business server management tool', dt).join(' ')),
this.createVertexTemplateEntry(s + 'skype_for_business_storage_service;',
w * 62, h * 58, '', 'Skype for Business Storage Service', null, null, this.getTagsForStencil(gn, 'skype for business storage service', dt).join(' ')),
this.createVertexTemplateEntry(s + 'skype_for_business_web_app_client;',
w * 80, h * 51, '', 'Skype for Business Web App Client', null, null, this.getTagsForStencil(gn, 'skype for business web app client', dt).join(' ')),
this.createVertexTemplateEntry(s + 'sms_gateway;',
w * 59, h * 37, '', 'SMS Gateway', null, null, this.getTagsForStencil(gn, 'sms gateway', dt).join(' ')),
this.createVertexTemplateEntry(s + 'smtp_connector;',
w * 47, h * 49, '', 'SMTP Connector', null, null, this.getTagsForStencil(gn, 'smtp connector', dt).join(' ')),
this.createVertexTemplateEntry(s + 'system_mailbox;',
w * 58, h * 55, '', 'System Mailbox', null, null, this.getTagsForStencil(gn, 'system mailbox', dt).join(' ')),
this.createVertexTemplateEntry(s + 'tdm_pbx;',
w * 59, h * 46, '', 'TDM PBX', null, null, this.getTagsForStencil(gn, 'tdm pbx', dt).join(' ')),
this.createVertexTemplateEntry(s + 'telephone_extension_dial_plan;',
w * 55, h * 56, '', 'Telephone Extension Dial Plan', null, null, this.getTagsForStencil(gn, 'telephone extension dial plan', dt).join(' ')),
this.createVertexTemplateEntry(s + 'transport_rule;',
w * 56, h * 57, '', 'Transport Rule', null, null, this.getTagsForStencil(gn, 'transport rule', dt).join(' ')),
this.createVertexTemplateEntry(s + 'ucma_application;',
w * 53, h * 40, '', 'UCMA Application', null, null, this.getTagsForStencil(gn, 'ucma application', dt).join(' ')),
this.createVertexTemplateEntry(s + 'ucwa_application;',
w * 53, h * 40, '', 'UCWA Application', null, null, this.getTagsForStencil(gn, 'ucwa application', dt).join(' ')),
this.createVertexTemplateEntry(s + 'um_auto_attendant;',
w * 57, h * 57, '', 'UM Auto Attendant', null, null, this.getTagsForStencil(gn, 'um auto attendant', dt).join(' ')),
this.createVertexTemplateEntry(s + 'um_dial_plan_e164;',
w * 55, h * 56, '', 'UM Dial Plan E164', null, null, this.getTagsForStencil(gn, 'um dial plan e164', dt).join(' ')),
this.createVertexTemplateEntry(s + 'um_dial_plan_secondary;',
w * 55, h * 56, '', 'UM Dial Plan Secondary', null, null, this.getTagsForStencil(gn, 'um dial plan secondary', dt).join(' ')),
this.createVertexTemplateEntry(s + 'um_enabled_mailbox;',
w * 59, h * 57, '', 'UM Enabled Mailbox', null, null, this.getTagsForStencil(gn, 'um enabled mailbox', dt).join(' ')),
this.createVertexTemplateEntry(s + 'um_hunt_group;',
w * 59, h * 48, '', 'UM Hunt Group', null, null, this.getTagsForStencil(gn, 'um hunt group', dt).join(' ')),
this.createVertexTemplateEntry(s + 'um_ip_gateway;',
w * 59, h * 38, '', 'UM IP Gateway', null, null, this.getTagsForStencil(gn, 'um ip gateway internet protocol', dt).join(' ')),
this.createVertexTemplateEntry(s + 'user_mailbox;',
w * 59, h * 55, '', 'User Mailbox', null, null, this.getTagsForStencil(gn, 'user mailbox', dt).join(' ')),
this.createVertexTemplateEntry(s + 'video_workload;',
w * 57, h * 50, '', 'Video Workload', null, null, this.getTagsForStencil(gn, 'video workload', dt).join(' ')),
this.createVertexTemplateEntry(s + 'voice_mail_preview;',
w * 46, h * 56, '', 'Voice Mail Preview', null, null, this.getTagsForStencil(gn, 'voice mail preview', dt).join(' ')),
this.createVertexTemplateEntry(s + 'voice_workload;',
w * 58, h * 51, '', 'Voice Workload', null, null, this.getTagsForStencil(gn, 'voice workload', dt).join(' ')),
this.createVertexTemplateEntry(s + 'voip_gateway;',
w * 51, h * 15, '', 'VoIP Gateway', null, null, this.getTagsForStencil(gn, 'voip gateway voice over ip internet protocol', dt).join(' ')),
this.createVertexTemplateEntry(s + 'watcher_node;',
w * 52, h * 56, '', 'Watcher Node', null, null, this.getTagsForStencil(gn, 'watcher node', dt).join(' ')),
this.createVertexTemplateEntry(s + 'xmpp_service;',
w * 58, h * 52, '', 'XMPP Service', null, null, this.getTagsForStencil(gn, 'xmpp service', dt).join(' '))
];
this.addPalette('officeCommunications', 'Office / Communications', false, mxUtils.bind(this, function(content)
{
for (var i = 0; i < fns.length; i++)
{
content.appendChild(fns[i](content));
}
}));
};
Sidebar.prototype.addOfficeConceptsPalette = function()
{
var s = 'pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.';
var s2 = 'pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.';
// Space savers
var sb = this;
var gn = 'mxgraph.office.concepts';
var dt = 'office concept ';
var w = 1.0;
var h = 1.0;
var fns =
[
this.createVertexTemplateEntry(s + 'address_book;',
w * 55, h * 44, '', 'Address Book', null, null, this.getTagsForStencil(gn, 'address book', dt).join(' ')),
this.createVertexTemplateEntry(s + 'address_book;',
w * 40, h * 31, '', 'Address Book (small)', null, null, this.getTagsForStencil(gn, 'address book small', dt).join(' ')),
this.createVertexTemplateEntry(s + 'anti_spam;',
w * 55, h * 47, '', 'Anti-Spam', null, null, this.getTagsForStencil(gn, 'anti spam', dt).join(' ')),
this.createVertexTemplateEntry(s + 'application_android;',
w * 60, h * 51, '', 'Application Android', null, null, this.getTagsForStencil(gn, 'application android', dt).join(' ')),
this.createVertexTemplateEntry(s + 'application_generic;',
w * 53, h * 40, '', 'Application Generic', null, null, this.getTagsForStencil(gn, 'application generic', dt).join(' ')),
this.createVertexTemplateEntry(s + 'application_generic;',
w * 40, h * 30, '', 'Application Generic (small)', null, null, this.getTagsForStencil(gn, 'application generic small', dt).join(' ')),
this.createVertexTemplateEntry(s + 'application_hybrid;',
w * 59, h * 44, '', 'Application Hybrid', null, null, this.getTagsForStencil(gn, 'application hybrid', dt).join(' ')),
this.createVertexTemplateEntry(s + 'application_ios;',
w * 59, h * 49, '', 'Application iOS', null, null, this.getTagsForStencil(gn, 'application ios', dt).join(' ')),
this.createVertexTemplateEntry(s + 'application_web;',
w * 56, h * 49, '', 'Application Web', null, null, this.getTagsForStencil(gn, 'application web', dt).join(' ')),
this.createVertexTemplateEntry(s + 'application_windows;',
w * 59, h * 47, '', 'Application Windows', null, null, this.getTagsForStencil(gn, 'application windows', dt).join(' ')),
this.createVertexTemplateEntry(s + 'app_for_office;',
w * 53, h * 40, '', 'App for Office', null, null, this.getTagsForStencil(gn, 'app for office', dt).join(' ')),
this.createVertexTemplateEntry(s + 'app_for_sharepoint;',
w * 53, h * 40, '', 'App For SharePoint', null, null, this.getTagsForStencil(gn, 'app for sharepoint', dt).join(' ')),
this.createVertexTemplateEntry(s + 'app_part;',
w * 46, h * 45, '', 'App Part', null, null, this.getTagsForStencil(gn, 'app part', dt).join(' ')),
this.createVertexTemplateEntry(s + 'archive;',
w * 35, h * 55, '', 'Archive', null, null, this.getTagsForStencil(gn, 'archive', dt).join(' ')),
this.createVertexTemplateEntry(s + 'attachment;',
w * 22, h * 44, '', 'Attachment', null, null, this.getTagsForStencil(gn, 'attachment', dt).join(' ')),
this.createVertexTemplateEntry(s + 'backup_local;',
w * 48, h * 44, '', 'Backup Local', null, null, this.getTagsForStencil(gn, 'backup local', dt).join(' ')),
this.createVertexTemplateEntry(s + 'backup_online;',
w * 55, h * 60, '', 'Backup Online', null, null, this.getTagsForStencil(gn, 'backup online', dt).join(' ')),
this.createVertexTemplateEntry(s + 'bandwidth;',
w * 45, h * 45, '', 'Bandwidth', null, null, this.getTagsForStencil(gn, 'bandwidth', dt).join(' ')),
this.createVertexTemplateEntry(s + 'bandwidth_calculator;',
w * 49, h * 53, '', 'Bandwidth Calculator', null, null, this.getTagsForStencil(gn, 'bandwidth calculator', dt).join(' ')),
this.createVertexTemplateEntry(s + 'best_practices;',
w * 53, h * 53, '', 'Best Practices', null, null, this.getTagsForStencil(gn, 'best practices', dt).join(' ')),
this.createVertexTemplateEntry(s + 'book_journal;',
w * 41, h * 49, '', 'Book, Journal', null, null, this.getTagsForStencil(gn, 'book journal', dt).join(' ')),
this.createVertexTemplateEntry(s + 'calculator;',
w * 32, h * 46, '', 'Calculator', null, null, this.getTagsForStencil(gn, 'calculator', dt).join(' ')),
this.createVertexTemplateEntry(s + 'calendar;',
w * 53, h * 49, '', 'Calendar', null, null, this.getTagsForStencil(gn, 'calendar', dt).join(' ')),
this.createVertexTemplateEntry(s + 'clipboard;',
w * 40, h * 52, '', 'Clipboard', null, null, this.getTagsForStencil(gn, 'clipboard', dt).join(' ')),
this.createVertexTemplateEntry(s + 'clipboard;',
w * 30, h * 39, '', 'Clipboard (small)', null, null, this.getTagsForStencil(gn, 'clipboard small', dt).join(' ')),
this.createVertexTemplateEntry(s + 'clock;',
w * 45, h * 45, '', 'Clock', null, null, this.getTagsForStencil(gn, 'clock', dt).join(' ')),
this.createVertexTemplateEntry(s + 'clock;',
w * 35, h * 35, '', 'Clock (small)', null, null, this.getTagsForStencil(gn, 'clock small', dt).join(' ')),
this.createVertexTemplateEntry(s + 'column;',
w * 52, h * 43, '', 'Column', null, null, this.getTagsForStencil(gn, 'column', dt).join(' ')),
this.createVertexTemplateEntry(s + 'connector;',
w * 44, h * 32, '', 'Connector', null, null, this.getTagsForStencil(gn, 'connector', dt).join(' ')),
this.createVertexTemplateEntry(s + 'connector;',
w * 33, h * 24, '', 'Connector (small)', null, null, this.getTagsForStencil(gn, 'connector', dt).join(' ')),
this.createVertexTemplateEntry(s + 'contacts;',
w * 53, h * 39, '', 'Contacts', null, null, this.getTagsForStencil(gn, 'contacts', dt).join(' ')),
this.createVertexTemplateEntry(s + 'content_type;',
w * 53, h * 40, '', 'Content Type', null, null, this.getTagsForStencil(gn, 'content type', dt).join(' ')),
this.createVertexTemplateEntry(s + 'credit_card;',
w * 55, h * 36, '', 'Credit Card', null, null, this.getTagsForStencil(gn, 'credit card', dt).join(' ')),
this.createVertexTemplateEntry(s + 'document;',
w * 40, h * 47, '', 'Document', null, null, this.getTagsForStencil(gn, 'document', dt).join(' ')),
this.createVertexTemplateEntry(s + 'document;',
w * 30, h * 35, '', 'Document (small)', null, null, this.getTagsForStencil(gn, 'document', dt).join(' ')),
this.createVertexTemplateEntry(s + 'documents;',
w * 46, h * 54, '', 'Documents', null, null, this.getTagsForStencil(gn, 'documents', dt).join(' ')),
this.createVertexTemplateEntry(s + 'documents_shared;',
w * 58, h * 59, '', 'Documents Shared', null, null, this.getTagsForStencil(gn, 'documents shared', dt).join(' ')),
this.createVertexTemplateEntry(s + 'document_blank;',
w * 40, h * 47, '', 'Document Blank', null, null, this.getTagsForStencil(gn, 'document blank', dt).join(' ')),
this.createVertexTemplateEntry(s + 'document_blank;',
w * 30, h * 35, '', 'Document Blank (small)', null, null, this.getTagsForStencil(gn, 'document blank', dt).join(' ')),
this.createVertexTemplateEntry(s + 'document_shared;',
w * 52, h * 53, '', 'Document Shared', null, null, this.getTagsForStencil(gn, 'document shared', dt).join(' ')),
this.createVertexTemplateEntry(s + 'download;',
w * 48, h * 56, '', 'Download', null, null, this.getTagsForStencil(gn, 'download', dt).join(' ')),
this.createVertexTemplateEntry(s + 'email;',
w * 47, h * 36, '', 'Email', null, null, this.getTagsForStencil(gn, 'email', dt).join(' ')),
this.createVertexTemplateEntry(s + 'email;',
w * 31, h * 24, '', 'Email (small)', null, null, this.getTagsForStencil(gn, 'email', dt).join(' ')),
this.createVertexTemplateEntry(s + 'email_approved;',
w * 56, h * 46, '', 'Email Approved', null, null, this.getTagsForStencil(gn, 'email approved', dt).join(' ')),
this.createVertexTemplateEntry(s + 'email_expired;',
w * 56, h * 46, '', 'Email Expired', null, null, this.getTagsForStencil(gn, 'email expired', dt).join(' ')),
this.createVertexTemplateEntry(s + 'email_rejected;',
w * 55, h * 45, '', 'Email Rejected', null, null, this.getTagsForStencil(gn, 'email rejected', dt).join(' ')),
this.createVertexTemplateEntry(s + 'file_key;',
w * 48, h * 53, '', 'File Key', null, null, this.getTagsForStencil(gn, 'file key', dt).join(' ')),
this.createVertexTemplateEntry(s + 'firewall;',
w * 47, h * 43, '', 'Firewall', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'firewall;fillColor=#2072B8;',
w * 47, h * 43, '', 'Firewall (blue)', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'firewall;fillColor=#DA4026;',
w * 47, h * 43, '', 'Firewall (orange)', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'firewall;fillColor=#7FBA42;',
w * 47, h * 43, '', 'Firewall (green)', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'firewall;fillColor=#CCCBCB;',
w * 47, h * 43, '', 'Firewall (ghosted)', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
this.createVertexTemplateEntry(s + 'folder;',
w * 50, h * 45, '', 'Folder', null, null, this.getTagsForStencil(gn, 'folder', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'folder;fillColor=#2072B8;',
w * 50, h * 45, '', 'Folder (blue)', null, null, this.getTagsForStencil(gn, 'folder', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'folder;fillColor=#DA4026;',
w * 50, h * 45, '', 'Folder (orange)', null, null, this.getTagsForStencil(gn, 'folder', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'folder;fillColor=#7FBA42;',
w * 50, h * 45, '', 'Folder (green)', null, null, this.getTagsForStencil(gn, 'folder', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'folder;fillColor=#CCCBCB;',
w * 50, h * 45, '', 'Folder (ghosted)', null, null, this.getTagsForStencil(gn, 'folder', dt).join(' ')),
this.createVertexTemplateEntry(s + 'folder;',
w * 33, h * 30, '', 'Folder (small)', null, null, this.getTagsForStencil(gn, 'folder', dt).join(' ')),
this.createVertexTemplateEntry(s + 'folders;',
w * 57, h * 53, '', 'Folders', null, null, this.getTagsForStencil(gn, 'folders', dt).join(' ')),
this.createVertexTemplateEntry(s + 'folder_open;',
w * 56, h * 43, '', 'Folder, Open', null, null, this.getTagsForStencil(gn, 'folder open', dt).join(' ')),
this.createVertexTemplateEntry(s + 'folder_public;',
w * 58, h * 52, '', 'Folder, Public', null, null, this.getTagsForStencil(gn, 'folder public', dt).join(' ')),
this.createVertexTemplateEntry(s + 'folder_shared;',
w * 54, h * 52, '', 'Folder, Shared', null, null, this.getTagsForStencil(gn, 'folder shared', dt).join(' ')),
this.createVertexTemplateEntry(s + 'form;',
w * 56, h * 49, '', 'Form', null, null, this.getTagsForStencil(gn, 'form', dt).join(' ')),
this.createVertexTemplateEntry(s + 'get_started;',
w * 42, h * 52, '', 'Get Started', null, null, this.getTagsForStencil(gn, 'get started', dt).join(' ')),
this.createVertexTemplateEntry(s + 'globe_internet;',
w * 49, h * 49, '', 'Globe, Internet', null, null, this.getTagsForStencil(gn, 'globe internet', dt).join(' ')),
this.createVertexTemplateEntry(s + 'help;',
w * 49, h * 49, '', 'Help', null, null, this.getTagsForStencil(gn, 'help', dt).join(' ')),
this.createVertexTemplateEntry(s + 'help;',
w * 38, h * 38, '', 'Help (small)', null, null, this.getTagsForStencil(gn, 'help', dt).join(' ')),
this.createVertexTemplateEntry(s + 'home;',
w * 51, h * 50, '', 'Home', null, null, this.getTagsForStencil(gn, 'home', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'home;fillColor=#2072B8;',
w * 51, h * 50, '', 'Home (blue)', null, null, this.getTagsForStencil(gn, 'home', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'home;fillColor=#DA4026;',
w * 51, h * 50, '', 'Home (orange)', null, null, this.getTagsForStencil(gn, 'home', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'home;fillColor=#7FBA42;',
w * 51, h * 50, '', 'Home (green)', null, null, this.getTagsForStencil(gn, 'home', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'home;fillColor=#CCCBCB;',
w * 51, h * 50, '', 'Home (ghosted)', null, null, this.getTagsForStencil(gn, 'home', dt).join(' ')),
this.createVertexTemplateEntry(s + 'home;',
w * 39, h * 38, '', 'Home (small)', null, null, this.getTagsForStencil(gn, 'home', dt).join(' ')),
this.createVertexTemplateEntry(s + 'home_page;',
w * 53, h * 43, '', 'Home Page', null, null, this.getTagsForStencil(gn, 'home page', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'home_page;fillColor=#2072B8;',
w * 53, h * 43, '', 'Home Page (blue)', null, null, this.getTagsForStencil(gn, 'home page', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'home_page;fillColor=#DA4026;',
w * 53, h * 43, '', 'Home Page (orange)', null, null, this.getTagsForStencil(gn, 'home page', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'home_page;fillColor=#7FBA42;',
w * 53, h * 43, '', 'Home Page (green)', null, null, this.getTagsForStencil(gn, 'home page', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'home_page;fillColor=#CCCBCB;',
w * 53, h * 43, '', 'Home Page (ghosted)', null, null, this.getTagsForStencil(gn, 'home page', dt).join(' ')),
this.createVertexTemplateEntry(s + 'hybrid;',
w * 58, h * 52, '', 'Hybrid', null, null, this.getTagsForStencil(gn, 'hybrid', dt).join(' ')),
this.createVertexTemplateEntry(s + 'input_output_filter;',
w * 46, h * 46, '', 'Input Output Filter', null, null, this.getTagsForStencil(gn, 'input output filter', dt).join(' ')),
this.createVertexTemplateEntry(s + 'install;',
w * 45, h * 52, '', 'Install', null, null, this.getTagsForStencil(gn, 'install', dt).join(' ')),
this.createVertexTemplateEntry(s + 'integration;',
w * 44, h * 43, '', 'Integration', null, null, this.getTagsForStencil(gn, 'integration', dt).join(' ')),
this.createVertexTemplateEntry(s + 'lab;',
w * 47, h * 50, '', 'Lab', null, null, this.getTagsForStencil(gn, 'lab', dt).join(' ')),
this.createVertexTemplateEntry(s + 'learn;',
w * 56, h * 57, '', 'Learn', null, null, this.getTagsForStencil(gn, 'learn', dt).join(' ')),
this.createVertexTemplateEntry(s + 'license;',
w * 45, h * 52, '', 'License', null, null, this.getTagsForStencil(gn, 'license', dt).join(' ')),
this.createVertexTemplateEntry(s + 'link;',
w * 61, h * 21, '', 'Link', null, null, this.getTagsForStencil(gn, 'link', dt).join(' ')),
this.createVertexTemplateEntry(s + 'list_library;',
w * 52, h * 48, '', 'List Library', null, null, this.getTagsForStencil(gn, 'list library', dt).join(' ')),
this.createVertexTemplateEntry(s + 'mailbox;',
w * 53, h * 49, '', 'Mailbox', null, null, this.getTagsForStencil(gn, 'mailbox', dt).join(' ')),
this.createVertexTemplateEntry(s + 'mailbox;',
w * 40, h * 38, '', 'Mailbox (small)', null, null, this.getTagsForStencil(gn, 'mailbox', dt).join(' ')),
this.createVertexTemplateEntry(s + 'mailbox2;',
w * 53, h * 49, '', 'Mailbox', null, null, this.getTagsForStencil(gn, 'mailbox2', dt).join(' ')),
this.createVertexTemplateEntry(s + 'mailbox2;',
w * 40, h * 38, '', 'Mailbox (small)', null, null, this.getTagsForStencil(gn, 'mailbox2', dt).join(' ')),
this.createVertexTemplateEntry(s + 'maintenance;',
w * 39, h * 56, '', 'Maintenance', null, null, this.getTagsForStencil(gn, 'maintenance', dt).join(' ')),
this.createVertexTemplateEntry(s + 'marketplace_shopping_bag;',
w * 36, h * 46, '', 'Marketplace, Shopping Bag', null, null, this.getTagsForStencil(gn, 'marketplace shopping bag', dt).join(' ')),
this.createVertexTemplateEntry(s + 'meets_requirements;',
w * 56, h * 53, '', 'Meets Requirements', null, null, this.getTagsForStencil(gn, 'meets requirements', dt).join(' ')),
this.createVertexTemplateEntry(s + 'migration;',
w * 59, h * 34, '', 'Migration', null, null, this.getTagsForStencil(gn, 'migration', dt).join(' ')),
this.createVertexTemplateEntry(s + 'moes;',
w * 40, h * 47, '', 'MOEs', null, null, this.getTagsForStencil(gn, 'moes', dt).join(' ')),
this.createVertexTemplateEntry(s + 'navigation;',
w * 53, h * 40, '', 'Navigation', null, null, this.getTagsForStencil(gn, 'navigation', dt).join(' ')),
this.createVertexTemplateEntry(s + 'node_generic;',
w * 46, h * 52, '', 'Node, Generic', null, null, this.getTagsForStencil(gn, 'node generic', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'node_generic;fillColor=#2072B8;',
w * 46, h * 52, '', 'Node, Generic (blue)', null, null, this.getTagsForStencil(gn, 'node generic', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'node_generic;fillColor=#DA4026;',
w * 46, h * 52, '', 'Node, Generic (orange)', null, null, this.getTagsForStencil(gn, 'node generic', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'node_generic;fillColor=#7FBA42;',
w * 46, h * 52, '', 'Node, Generic (green)', null, null, this.getTagsForStencil(gn, 'node generic', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'node_generic;fillColor=#CCCBCB;',
w * 46, h * 52, '', 'Node, Generic (ghosted)', null, null, this.getTagsForStencil(gn, 'node generic', dt).join(' ')),
this.createVertexTemplateEntry(s + 'office_installed;',
w * 58, h * 48, '', 'Office Installed', null, null, this.getTagsForStencil(gn, 'office installed', dt).join(' ')),
this.createVertexTemplateEntry(s + 'on_premises;',
w * 34, h * 55, '', 'On Premises', null, null, this.getTagsForStencil(gn, 'on premises', dt).join(' ')),
this.createVertexTemplateEntry(s + 'on_premises_directory;',
w * 50, h * 59, '', 'On Premises Directory', null, null, this.getTagsForStencil(gn, 'on premises directory', dt).join(' ')),
this.createVertexTemplateEntry(s + 'phishing;',
w * 59, h * 47, '', 'Phishing', null, null, this.getTagsForStencil(gn, 'phishing', dt).join(' ')),
this.createVertexTemplateEntry(s + 'pin;',
w * 24, h * 44, '', 'Pin', null, null, this.getTagsForStencil(gn, 'pin', dt).join(' ')),
this.createVertexTemplateEntry(s + 'platform_options;',
w * 58, h * 52, '', 'Platform Options', null, null, this.getTagsForStencil(gn, 'platform options', dt).join(' ')),
this.createVertexTemplateEntry(s + 'powershell;',
w * 45, h * 45, '', 'PowerShell', null, null, this.getTagsForStencil(gn, 'powershell', dt).join(' ')),
this.createVertexTemplateEntry(s + 'properties;',
w * 50, h * 49, '', 'Properties', null, null, this.getTagsForStencil(gn, 'properties', dt).join(' ')),
this.createVertexTemplateEntry(s + 'publish;',
w * 57, h * 48, '', 'Publish', null, null, this.getTagsForStencil(gn, 'publish', dt).join(' ')),
this.createVertexTemplateEntry(s + 'remote_access;',
w * 59, h * 41, '', 'Remote Access', null, null, this.getTagsForStencil(gn, 'remote access', dt).join(' ')),
this.createVertexTemplateEntry(s + 'script;',
w * 53, h * 49, '', 'Script', null, null, this.getTagsForStencil(gn, 'script', dt).join(' ')),
this.createVertexTemplateEntry(s + 'search;',
w * 49, h * 49, '', 'Search', null, null, this.getTagsForStencil(gn, 'search', dt).join(' ')),
this.createVertexTemplateEntry(s + 'search;',
w * 35, h * 35, '', 'Search (small)', null, null, this.getTagsForStencil(gn, 'search', dt).join(' ')),
this.createVertexTemplateEntry(s + 'service_application;',
w * 59, h * 48, '', 'Service Application', null, null, this.getTagsForStencil(gn, 'service application', dt).join(' ')),
this.createVertexTemplateEntry(s + 'settings;',
w * 48, h * 48, '', 'Settings', null, null, this.getTagsForStencil(gn, 'settings', dt).join(' ')),
this.createVertexTemplateEntry(s + 'settings_office_365;',
w * 48, h * 48, '', 'Settings, Office 365', null, null, this.getTagsForStencil(gn, 'settings office 365', dt).join(' ')),
this.createVertexTemplateEntry(s + 'settings_office_365;',
w * 31, h * 31, '', 'Settings, Office 365 (small)', null, null, this.getTagsForStencil(gn, 'settings office 365', dt).join(' ')),
this.createVertexTemplateEntry(s + 'sign_up;',
w * 51, h * 47, '', 'Sign Up', null, null, this.getTagsForStencil(gn, 'sign up', dt).join(' ')),
this.createVertexTemplateEntry(s + 'sound_file;',
w * 40, h * 50, '', 'Sound File', null, null, this.getTagsForStencil(gn, 'sound file', dt).join(' ')),
this.createVertexTemplateEntry(s + 'tasks;',
w * 40, h * 52, '', 'Tasks', null, null, this.getTagsForStencil(gn, 'tasks', dt).join(' ')),
this.createVertexTemplateEntry(s + 'technical_diagram;',
w * 50, h * 56, '', 'Technical Diagram', null, null, this.getTagsForStencil(gn, 'technical diagram', dt).join(' ')),
this.createVertexTemplateEntry(s + 'upgrade_application;',
w * 58, h * 42, '', 'Upgrade Application', null, null, this.getTagsForStencil(gn, 'upgrade application', dt).join(' ')),
this.createVertexTemplateEntry(s + 'upgrade_server;',
w * 39, h * 52, '', 'Upgrade Server', null, null, this.getTagsForStencil(gn, 'upgrade server', dt).join(' ')),
this.createVertexTemplateEntry(s + 'upgrade_site;',
w * 59, h * 48, '', 'Upgrade Site', null, null, this.getTagsForStencil(gn, 'upgrade site', dt).join(' ')),
this.createVertexTemplateEntry(s + 'upload;',
w * 48, h * 55, '', 'Upload', null, null, this.getTagsForStencil(gn, 'upload', dt).join(' ')),
this.createVertexTemplateEntry(s + 'video_form;',
w * 58, h * 49, '', 'Video Form', null, null, this.getTagsForStencil(gn, 'video form', dt).join(' ')),
this.createVertexTemplateEntry(s + 'video_play;',
w * 50, h * 40, '', 'Video Play', null, null, this.getTagsForStencil(gn, 'video play', dt).join(' ')),
this.createVertexTemplateEntry(s + 'voicemail;',
w * 53, h * 34, '', 'Voicemail', null, null, this.getTagsForStencil(gn, 'voicemail', dt).join(' ')),
this.createVertexTemplateEntry(s + 'voicemail_preview;',
w * 57, h * 52, '', 'Voicemail Preview', null, null, this.getTagsForStencil(gn, 'voicemail preview', dt).join(' ')),
this.createVertexTemplateEntry(s + 'walkthrough;',
w * 41, h * 58, '', 'Walkthrough', null, null, this.getTagsForStencil(gn, 'walkthrough', dt).join(' ')),
this.createVertexTemplateEntry(s + 'website;',
w * 59, h * 49, '', 'Website', null, null, this.getTagsForStencil(gn, 'website', dt).join(' ')),
this.createVertexTemplateEntry(s + 'web_conferencing;',
w * 60, h * 56, '', 'Web Conferencing', null, null, this.getTagsForStencil(gn, 'web conferencing', dt).join(' ')),
this.createVertexTemplateEntry(s + 'web_page;',
w * 50, h * 54, '', 'Web Page', null, null, this.getTagsForStencil(gn, 'web page', dt).join(' ')),
this.createVertexTemplateEntry(s + 'web_part;',
w * 45, h * 52, '', 'Web Part', null, null, this.getTagsForStencil(gn, 'web part', dt).join(' ')),
this.createVertexTemplateEntry(s + 'web_services;',
w * 60, h * 56, '', 'Web Services', null, null, this.getTagsForStencil(gn, 'web services', dt).join(' ')),
this.createVertexTemplateEntry(s + 'whats_new;',
w * 55, h * 38, '', 'Whats New', null, null, this.getTagsForStencil(gn, 'whats new', dt).join(' ')),
this.createVertexTemplateEntry(s + 'writing_pen;',
w * 54, h * 54, '', 'Writing, Pen', null, null, this.getTagsForStencil(gn, 'writing pen', dt).join(' ')),
this.createVertexTemplateEntry(s + 'writing_pencil;',
w * 50, h * 50, '', 'Writing, Pencil', null, null, this.getTagsForStencil(gn, 'writing pencil', dt).join(' '))
];
this.addPalette('officeConcepts', 'Office / Concepts', false, mxUtils.bind(this, function(content)
{
for (var i = 0; i < fns.length; i++)
{
content.appendChild(fns[i](content));
}
}));
};
Sidebar.prototype.addOfficeDatabasesPalette = function()
{
var s = 'shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.';
var s2 = 'shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.';
// Space savers
var sb = this;
var gn = 'mxgraph.office.databases';
var dt = 'office database db ';
var w = 1.0;
var h = 1.0;
var fns =
[
this.createVertexTemplateEntry(s + 'address_book_store;',
w * 50, h * 54, '', 'Address Book Store', null, null, this.getTagsForStencil(gn, 'address_book_store', dt).join(' ')),
this.createVertexTemplateEntry(s + 'application_store;',
w * 49, h * 53, '', 'Application Store', null, null, this.getTagsForStencil(gn, 'application store', dt).join(' ')),
this.createVertexTemplateEntry(s + 'database;',
w * 35, h * 49, '', 'Database', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'database;fillColor=#2072B8;',
w * 35, h * 49, '', 'Database (blue)', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'database;fillColor=#DA4026;',
w * 35, h * 49, '', 'Database (orange)', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'database;fillColor=#7FBA42;',
w * 35, h * 49, '', 'Database (green)', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'database;fillColor=#CCCBCB;',
w * 35, h * 49, '', 'Database (ghosted)', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'database;',
w * 28, h * 38, '', 'Database (small)', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'database_availability_group;',
w * 59, h * 59, '', 'Database Availability Group', null, null, this.getTagsForStencil(gn, 'availability group', dt).join(' ')),
this.createVertexTemplateEntry(s + 'database_cube;',
w * 47, h * 52, '', 'Database Cube', null, null, this.getTagsForStencil(gn, 'cube', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'database_cube;fillColor=#2072B8;',
w * 47, h * 52, '', 'Database Cube (blue)', null, null, this.getTagsForStencil(gn, 'cube', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'database_cube;fillColor=#DA4026;',
w * 47, h * 52, '', 'Database Cube (orange)', null, null, this.getTagsForStencil(gn, 'cube', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'database_cube;fillColor=#7FBA42;',
w * 47, h * 52, '', 'Database Cube (green)', null, null, this.getTagsForStencil(gn, 'cube', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'database_cube;fillColor=#CCCBCB;',
w * 47, h * 52, '', 'Database Cube (ghosted)', null, null, this.getTagsForStencil(gn, 'cube', dt).join(' ')),
this.createVertexTemplateEntry(s + 'database_mini_1;',
w * 35, h * 27, '', 'Database, Mini', null, null, this.getTagsForStencil(gn, 'Mini', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'database_mini_1;fillColor=#2072B8;',
w * 35, h * 27, '', 'Database, Mini (blue)', null, null, this.getTagsForStencil(gn, 'Mini', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'database_mini_1;fillColor=#DA4026;',
w * 35, h * 27, '', 'Database, Mini (orange)', null, null, this.getTagsForStencil(gn, 'Mini', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'database_mini_1;fillColor=#7FBA42;',
w * 35, h * 27, '', 'Database, Mini (green)', null, null, this.getTagsForStencil(gn, 'Mini', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'database_mini_1;fillColor=#CCCBCB;',
w * 35, h * 27, '', 'Database, Mini (ghosted)', null, null, this.getTagsForStencil(gn, 'Mini', dt).join(' ')),
this.createVertexTemplateEntry(s + 'database_mini_2;',
w * 35, h * 42, '', 'Database, Mini', null, null, this.getTagsForStencil(gn, 'Mini', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'database_mini_2;fillColor=#2072B8;',
w * 35, h * 42, '', 'Database, Mini (blue)', null, null, this.getTagsForStencil(gn, 'Mini', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'database_mini_2;fillColor=#DA4026;',
w * 35, h * 42, '', 'Database, Mini (orange)', null, null, this.getTagsForStencil(gn, 'Mini', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'database_mini_2;fillColor=#7FBA42;',
w * 35, h * 42, '', 'Database, Mini (green)', null, null, this.getTagsForStencil(gn, 'Mini', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'database_mini_2;fillColor=#CCCBCB;',
w * 35, h * 42, '', 'Database, Mini (ghosted)', null, null, this.getTagsForStencil(gn, 'Mini', dt).join(' ')),
this.createVertexTemplateEntry(s + 'database_mini_3;',
w * 35, h * 57, '', 'Database, Mini', null, null, this.getTagsForStencil(gn, 'Mini', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'database_mini_3;fillColor=#2072B8;',
w * 35, h * 57, '', 'Database, Mini (blue)', null, null, this.getTagsForStencil(gn, 'Mini', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'database_mini_3;fillColor=#DA4026;',
w * 35, h * 57, '', 'Database, Mini (orange)', null, null, this.getTagsForStencil(gn, 'Mini', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'database_mini_3;fillColor=#7FBA42;',
w * 35, h * 57, '', 'Database, Mini (green)', null, null, this.getTagsForStencil(gn, 'Mini', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'database_mini_3;fillColor=#CCCBCB;',
w * 35, h * 57, '', 'Database, Mini (ghosted)', null, null, this.getTagsForStencil(gn, 'Mini', dt).join(' ')),
this.createVertexTemplateEntry(s + 'database_mirror;',
w * 60, h * 59, '', 'Database Mirror', null, null, this.getTagsForStencil(gn, 'mirror', dt).join(' ')),
this.createVertexTemplateEntry(s + 'database_mirror_witness_node;',
w * 60, h * 59, '', 'Database Mirror Witness Node', null, null, this.getTagsForStencil(gn, 'mirror witness node', dt).join(' ')),
this.createVertexTemplateEntry(s + 'database_partition_2;',
w * 57, h * 59, '', 'Database Partition', null, null, this.getTagsForStencil(gn, 'partition', dt).join(' ')),
this.createVertexTemplateEntry(s + 'database_partition_3;',
w * 57, h * 59, '', 'Database Partition', null, null, this.getTagsForStencil(gn, 'partition', dt).join(' ')),
this.createVertexTemplateEntry(s + 'database_partition_4;',
w * 57, h * 59, '', 'Database Partition', null, null, this.getTagsForStencil(gn, 'partition', dt).join(' ')),
this.createVertexTemplateEntry(s + 'database_partition_5;',
w * 57, h * 59, '', 'Database Partition', null, null, this.getTagsForStencil(gn, 'partition', dt).join(' ')),
this.createVertexTemplateEntry(s + 'database_public_folder;',
w * 53, h * 54, '', 'Database Public Folder', null, null, this.getTagsForStencil(gn, 'public folder', dt).join(' ')),
this.createVertexTemplateEntry(s + 'database_server;',
w * 43, h * 57, '', 'Database Server', null, null, this.getTa