12.6.1 release
This commit is contained in:
parent
0238b67a2a
commit
02386012d9
22 changed files with 23911 additions and 268 deletions
|
@ -1,3 +1,11 @@
|
|||
28-JAN-2020: 12.6.1
|
||||
|
||||
- Adds new Veeam sidebar
|
||||
|
||||
28-JAN-2020: 12.6.0
|
||||
|
||||
- Fixes aspect dialog incorrect layers
|
||||
|
||||
25-JAN-2020: 12.5.8
|
||||
|
||||
- Fixes possible NPE in OneDrive client
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
12.5.8
|
||||
12.6.1
|
|
@ -148,6 +148,7 @@
|
|||
<file name="Sidebar-Sitemap.js" />
|
||||
<file name="Sidebar-Sysml.js" />
|
||||
<file name="Sidebar-Veeam.js" />
|
||||
<file name="Sidebar-Veeam2.js" />
|
||||
<file name="Sidebar-VVD.js" />
|
||||
<file name="Sidebar-WebIcons.js" />
|
||||
</sources>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
CACHE MANIFEST
|
||||
|
||||
# THIS FILE WAS GENERATED. DO NOT MODIFY!
|
||||
# 01/25/2020 02:23 PM
|
||||
# 01/28/2020 01:01 PM
|
||||
|
||||
app.html
|
||||
index.html?offline=1
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 119 KiB After Width: | Height: | Size: 118 KiB |
576
src/main/webapp/js/app.min.js
vendored
576
src/main/webapp/js/app.min.js
vendored
|
@ -3398,26 +3398,26 @@ Sidebar.prototype.cisco19="LAN Switching;Routing WAN;Network Management;Data Cen
|
|||
"Message Construction;Message Routing;Message Transformation;Messaging Channels;Messaging Endpoints;Messaging Systems;System Management".split(";");Sidebar.prototype.gmdl="Bottom Navigation;Bottom Sheets;Buttons;Cards;Chips;Dialogs;Dividers;Grid Lists;Icons;Lists;Menus;Misc;Pickers;Selection Controls;Sliders;Steppers;Tabs;Text Fields".split(";");Sidebar.prototype.aws2="Analytics;Application Services;Compute;Database;Developer Tools;Enterprise Applications;Game Development;General;Internet of Things;Management Tools;Mobile Services;Networking;On-Demand Workforce;SDKs;Security and Identity;Storage and Content Delivery;Groups".split(";");
|
||||
Sidebar.prototype.aws3="Analytics;Application Services;Artificial Intelligence;Business Productivity;Compute;Contact Center;Database;Desktop and App Streaming;Developer Tools;Game Development;General;Groups;Internet of Things;Management Tools;Messaging;Migration;Mobile Services;Networking and Content Delivery;On Demand Workforce;SDKs;Security Identity and Compliance;Storage".split(";");Sidebar.prototype.aws4b="Arrows;General Resources;Illustrations;Groups Light;Groups Dark;Analytics;Application Integration;AR VR;Cost Management;Business Productivity;Compute;Customer Engagement;Database;Desktop App Streaming;Developer Tools;Game Development;Internet of Things;IoT Things;IoT Resources;Machine Learning;Management Tools;Media Services;Migration;Mobile Services;Network Content Delivery;Security Identity Compliance;Storage".split(";");
|
||||
Sidebar.prototype.aws4="Arrows;General Resources;Illustrations;Groups;Analytics;Application Integration;AR VR;Cost Management;Blockchain;Business Applications;EC2 Instance Types;Compute;Customer Engagement;Database;End User Computing;Developer Tools;Game Tech;Internet of Things;IoT Things;IoT Resources;Machine Learning;Management Governance;Media Services;Migration Transfer;Mobile;Network Content Delivery;Robotics;Satellite;Security Identity Compliance;Storage".split(";");Sidebar.prototype.office=
|
||||
"Clouds Communications Concepts Databases Devices Security Servers Services Sites Users".split(" ");Sidebar.prototype.veeam="Data Center;Misc;Software;Storage;UsersStatus;VASComponents;Backup Replication;Products;VMs and Tape;2D;3D".split(";");Sidebar.prototype.archimate3="Application;Business;Composite;Implementation and Migration;Motivation;Physical;Relationships;Strategy;Technology".split(";");Sidebar.prototype.electrical="LogicGates Resistors Capacitors Inductors SwitchesRelays Diodes Sources Transistors Misc Audio PlcLadder Abstract Optical VacuumTubes Waveforms Instruments RotMech Transmission".split(" ");
|
||||
Sidebar.prototype.customEntries=null;Sidebar.prototype.enabledLibraries=null;Sidebar.prototype.configuration=[{id:"general",libs:["general","misc","advanced"]},{id:"uml"},{id:"search"},{id:"er"},{id:"ios",prefix:"ios",libs:["","7icons","7ui"]},{id:"android",prefix:"android",libs:[""]},{id:"aws3d"},{id:"flowchart"},{id:"basic"},{id:"infographic"},{id:"arrows"},{id:"arrows2"},{id:"lean_mapping"},{id:"citrix"},{id:"azure"},{id:"network"},{id:"vvd"},{id:"sitemap"},{id:"c4"},{id:"dfd"},{id:"kubernetes"},
|
||||
{id:"cisco19",prefix:"cisco19",libs:Sidebar.prototype.cisco19},{id:"mscae",prefix:"mscae",libs:"Companies;EnterpriseFlat;IntuneFlat;OMSFlat;System CenterFlat;AI and ML Service;Analytics Service;Compute Service;Compute Service VM;Container Service;Databases Service;DevOps Service;General Service;Identity Service;Integration Service;Internet of Things Service;Intune Service;Management and Governance Service;Management and Governance Service Media;Migrate Service;Mixed Reality Service;Mobile Service;Networking Service;Other Category Service;Security Service;Storage Service;Web Service".split(";")},
|
||||
"Clouds Communications Concepts Databases Devices Security Servers Services Sites Users".split(" ");Sidebar.prototype.veeam="Data Center;Misc;Software;Storage;UsersStatus;VASComponents;Backup Replication;Products;VMs and Tape;2D;3D".split(";");Sidebar.prototype.veeam2="Auxiliary;Data Center;Features;General;Products and Components;Software;States;Storage;3D".split(";");Sidebar.prototype.archimate3="Application;Business;Composite;Implementation and Migration;Motivation;Physical;Relationships;Strategy;Technology".split(";");
|
||||
Sidebar.prototype.electrical="LogicGates Resistors Capacitors Inductors SwitchesRelays Diodes Sources Transistors Misc Audio PlcLadder Abstract Optical VacuumTubes Waveforms Instruments RotMech Transmission".split(" ");Sidebar.prototype.customEntries=null;Sidebar.prototype.enabledLibraries=null;Sidebar.prototype.configuration=[{id:"general",libs:["general","misc","advanced"]},{id:"uml"},{id:"search"},{id:"er"},{id:"ios",prefix:"ios",libs:["","7icons","7ui"]},{id:"android",prefix:"android",libs:[""]},
|
||||
{id:"aws3d"},{id:"flowchart"},{id:"basic"},{id:"infographic"},{id:"arrows"},{id:"arrows2"},{id:"lean_mapping"},{id:"citrix"},{id:"azure"},{id:"network"},{id:"vvd"},{id:"sitemap"},{id:"c4"},{id:"dfd"},{id:"kubernetes"},{id:"cisco19",prefix:"cisco19",libs:Sidebar.prototype.cisco19},{id:"mscae",prefix:"mscae",libs:"Companies;EnterpriseFlat;IntuneFlat;OMSFlat;System CenterFlat;AI and ML Service;Analytics Service;Compute Service;Compute Service VM;Container Service;Databases Service;DevOps Service;General Service;Identity Service;Integration Service;Internet of Things Service;Intune Service;Management and Governance Service;Management and Governance Service Media;Migrate Service;Mixed Reality Service;Mobile Service;Networking Service;Other Category Service;Security Service;Storage Service;Web Service".split(";")},
|
||||
{id:"active_directory"},{id:"bpmn",prefix:"bpmn",libs:["","Gateways","Events"]},{id:"clipart",prefix:null,libs:"computer finance clipart networking people telco".split(" ")},{id:"ibm",prefix:"ibm",libs:Sidebar.prototype.ibm},{id:"allied_telesis",prefix:"allied_telesis",libs:Sidebar.prototype.allied_telesis},{id:"cumulus",libs:["cumulus"]},{id:"eip",prefix:"eip",libs:Sidebar.prototype.eip},{id:"mockups",prefix:"mockup",libs:"Buttons Containers Forms Graphics Markup Misc Navigation Text".split(" ")},
|
||||
{id:"pid2",prefix:"pid2",libs:"Agitators;Apparatus Elements;Centrifuges;Compressors;Compressors ISO;Crushers Grinding;Driers;Engines;Feeders;Filters;Fittings;Flow Sensors;Heat Exchangers;Instruments;Misc;Mixers;Piping;Pumps;Pumps DIN;Pumps ISO;Separators;Shaping Machines;Valves;Vessels".split(";")},{id:"signs",prefix:"signs",libs:Sidebar.prototype.signs},{id:"gcp",prefix:"gcp",libs:Sidebar.prototype.gcp},{id:"gcp2",prefix:"gcp2",libs:Sidebar.prototype.gcp2},{id:"rack",prefix:"rack",libs:Sidebar.prototype.rack},
|
||||
{id:"electrical",prefix:"electrical",libs:Sidebar.prototype.electrical},{id:"aws2",prefix:"aws2",libs:Sidebar.prototype.aws2},{id:"aws3",prefix:"aws3",libs:Sidebar.prototype.aws3},{id:"aws4b",prefix:"aws4b",libs:Sidebar.prototype.aws4b},{id:"aws4",prefix:"aws4",libs:Sidebar.prototype.aws4},{id:"pid",prefix:"pid",libs:Sidebar.prototype.pids},{id:"cisco",prefix:"cisco",libs:Sidebar.prototype.cisco},{id:"cisco_safe",prefix:"cisco_safe",libs:Sidebar.prototype.cisco_safe},{id:"office",prefix:"office",
|
||||
libs:Sidebar.prototype.office},{id:"veeam",prefix:"veeam",libs:Sidebar.prototype.veeam},{id:"cabinets",libs:["cabinets"]},{id:"floorplan",libs:["floorplan"]},{id:"bootstrap",libs:["bootstrap"]},{id:"atlassian",libs:["atlassian"]},{id:"gmdl",prefix:"gmdl",libs:Sidebar.prototype.gmdl},{id:"archimate3",prefix:"archimate3",libs:Sidebar.prototype.archimate3},{id:"archimate",libs:["archimate"]},{id:"webicons",libs:["webicons","weblogos"]},{id:"sysml",prefix:"sysml",libs:Sidebar.prototype.sysml}];var a=
|
||||
Sidebar.prototype.insertSearchHint;Sidebar.prototype.insertSearchHint=function(d,c,b,e,l,m,q,r){if(null!=r&&1==e){var f=null;if(0<=mxUtils.indexOf(r,"text"))f="Double click anywhere in the diagram to insert text.";else for(var g="line lines arrow arrows connect connection connections connector connectors curve curves link links directed directional bidirectional".split(" "),h=0;h<g.length;h++)if(0<=mxUtils.indexOf(r,g[h])){f="Need help with connections?";break}if(null!=f&&!this.hideSearchHint){var k=
|
||||
document.createElement("a");k.setAttribute("href","https://youtu.be/Z0D96ZikMkc");k.setAttribute("target","_blank");k.className="geTitle";k.style.cssText="background-color:#ffd350;border-radius:6px;color:black;border:1px solid black !important;text-align:center;white-space:normal;padding:6px 0px 6px 0px !important;margin:4px 4px 8px 2px;";mxUtils.write(k,f);f=document.createElement("img");f.setAttribute("src",Dialog.prototype.closeImage);f.setAttribute("title",mxResources.get("hide"));f.className=
|
||||
"geDialogClose";f.style.position="relative";f.style.cursor="default";f.style.top="1px";f.style.right="0px";mxEvent.addListener(f,"click",mxUtils.bind(this,function(a){k.parentNode.removeChild(k);this.hideSearchHint=!0;mxEvent.consume(a)}));k.appendChild(f);d.appendChild(k);this.hideSearchHint=!0}}a.apply(this,arguments)};Sidebar.prototype.togglePalettes=function(a,d){this.showPalettes(a,d)};Sidebar.prototype.togglePalette=function(a){this.showPalette(a)};Sidebar.prototype.showPalettes=function(a,
|
||||
d,c){for(var b=0;b<d.length;b++)this.showPalette(a+d[b],c)};Sidebar.prototype.showPalette=function(a,d){var c=this.palettes[a];if(null!=c)for(var b=null!=d?d?"block":"none":"none"==c[0].style.display?"block":"none",e=0;e<c.length;e++)c[e].style.display=b};Sidebar.prototype.isEntryVisible=function(a){for(var d=0;d<this.configuration.length;d++)if(this.configuration[d].id==a){var c=this.palettes[null!=this.configuration[d].libs?(this.configuration[d].prefix||"")+this.configuration[d].libs[0]:a];if(null!=
|
||||
c)return"none"!=c[0].style.display;break}if(null!=this.customEntries)for(d=0;d<this.customEntries.length;d++)for(var c=this.customEntries[d],b=0;b<c.entries.length;b++){var e=c.entries[b];if(e.id==a){if(null!=e.libs&&0<e.libs.length&&(c=this.palettes[e.id+".0"],null!=c))return"none"!=c[0].style.display;break}}return!1};Sidebar.prototype.showEntries=function(a,d,c){this.libs=null!=a&&(c||0<a.length)?a:null!=urlParams.libs&&0<urlParams.libs.length?decodeURIComponent(urlParams.libs):null!=mxSettings&&
|
||||
null!=mxSettings.settings?mxSettings.getLibraries():this.defaultEntries;c=this.libs.split(";");for(var b=0;b<c.length;b++)c[b]=this.libAliases[c[b]]||c[b];for(b=0;b<this.configuration.length;b++)"search"!=this.configuration[b].id&&this.showPalettes(this.configuration[b].prefix||"",this.configuration[b].libs||[this.configuration[b].id],0<=mxUtils.indexOf(c,this.configuration[b].id));if(null!=this.customEntries)for(b=0;b<this.customEntries.length;b++)for(var e=this.customEntries[b],f=0;f<e.entries.length;f++){var g=
|
||||
e.entries[f];if(null!=g.libs&&0<g.libs.length){for(var h=[],n=0;n<g.libs.length;n++)h.push(g.id+"."+n);this.showPalettes("",h,0<=mxUtils.indexOf(c,g.id))}}d&&(mxSettings.setLibraries(a),mxSettings.save())};Sidebar.prototype.init=function(){this.entries=[{title:mxResources.get("standard"),entries:[{title:mxResources.get("general"),id:"general",image:IMAGE_PATH+"/sidebar-general.png"},{title:mxResources.get("basic"),id:"basic",image:IMAGE_PATH+"/sidebar-basic.png"},{title:mxResources.get("arrows"),
|
||||
libs:Sidebar.prototype.office},{id:"veeam",prefix:"veeam",libs:Sidebar.prototype.veeam},{id:"veeam2",prefix:"veeam2",libs:Sidebar.prototype.veeam2},{id:"cabinets",libs:["cabinets"]},{id:"floorplan",libs:["floorplan"]},{id:"bootstrap",libs:["bootstrap"]},{id:"atlassian",libs:["atlassian"]},{id:"gmdl",prefix:"gmdl",libs:Sidebar.prototype.gmdl},{id:"archimate3",prefix:"archimate3",libs:Sidebar.prototype.archimate3},{id:"archimate",libs:["archimate"]},{id:"webicons",libs:["webicons","weblogos"]},{id:"sysml",
|
||||
prefix:"sysml",libs:Sidebar.prototype.sysml}];var a=Sidebar.prototype.insertSearchHint;Sidebar.prototype.insertSearchHint=function(d,c,b,e,l,m,q,r){if(null!=r&&1==e){var f=null;if(0<=mxUtils.indexOf(r,"text"))f="Double click anywhere in the diagram to insert text.";else for(var g="line lines arrow arrows connect connection connections connector connectors curve curves link links directed directional bidirectional".split(" "),h=0;h<g.length;h++)if(0<=mxUtils.indexOf(r,g[h])){f="Need help with connections?";
|
||||
break}if(null!=f&&!this.hideSearchHint){var k=document.createElement("a");k.setAttribute("href","https://youtu.be/Z0D96ZikMkc");k.setAttribute("target","_blank");k.className="geTitle";k.style.cssText="background-color:#ffd350;border-radius:6px;color:black;border:1px solid black !important;text-align:center;white-space:normal;padding:6px 0px 6px 0px !important;margin:4px 4px 8px 2px;";mxUtils.write(k,f);f=document.createElement("img");f.setAttribute("src",Dialog.prototype.closeImage);f.setAttribute("title",
|
||||
mxResources.get("hide"));f.className="geDialogClose";f.style.position="relative";f.style.cursor="default";f.style.top="1px";f.style.right="0px";mxEvent.addListener(f,"click",mxUtils.bind(this,function(a){k.parentNode.removeChild(k);this.hideSearchHint=!0;mxEvent.consume(a)}));k.appendChild(f);d.appendChild(k);this.hideSearchHint=!0}}a.apply(this,arguments)};Sidebar.prototype.togglePalettes=function(a,d){this.showPalettes(a,d)};Sidebar.prototype.togglePalette=function(a){this.showPalette(a)};Sidebar.prototype.showPalettes=
|
||||
function(a,d,c){for(var b=0;b<d.length;b++)this.showPalette(a+d[b],c)};Sidebar.prototype.showPalette=function(a,d){var c=this.palettes[a];if(null!=c)for(var b=null!=d?d?"block":"none":"none"==c[0].style.display?"block":"none",e=0;e<c.length;e++)c[e].style.display=b};Sidebar.prototype.isEntryVisible=function(a){for(var d=0;d<this.configuration.length;d++)if(this.configuration[d].id==a){var c=this.palettes[null!=this.configuration[d].libs?(this.configuration[d].prefix||"")+this.configuration[d].libs[0]:
|
||||
a];if(null!=c)return"none"!=c[0].style.display;break}if(null!=this.customEntries)for(d=0;d<this.customEntries.length;d++)for(var c=this.customEntries[d],b=0;b<c.entries.length;b++){var e=c.entries[b];if(e.id==a){if(null!=e.libs&&0<e.libs.length&&(c=this.palettes[e.id+".0"],null!=c))return"none"!=c[0].style.display;break}}return!1};Sidebar.prototype.showEntries=function(a,d,c){this.libs=null!=a&&(c||0<a.length)?a:null!=urlParams.libs&&0<urlParams.libs.length?decodeURIComponent(urlParams.libs):null!=
|
||||
mxSettings&&null!=mxSettings.settings?mxSettings.getLibraries():this.defaultEntries;c=this.libs.split(";");for(var b=0;b<c.length;b++)c[b]=this.libAliases[c[b]]||c[b];for(b=0;b<this.configuration.length;b++)"search"!=this.configuration[b].id&&this.showPalettes(this.configuration[b].prefix||"",this.configuration[b].libs||[this.configuration[b].id],0<=mxUtils.indexOf(c,this.configuration[b].id));if(null!=this.customEntries)for(b=0;b<this.customEntries.length;b++)for(var e=this.customEntries[b],f=0;f<
|
||||
e.entries.length;f++){var g=e.entries[f];if(null!=g.libs&&0<g.libs.length){for(var h=[],n=0;n<g.libs.length;n++)h.push(g.id+"."+n);this.showPalettes("",h,0<=mxUtils.indexOf(c,g.id))}}d&&(mxSettings.setLibraries(a),mxSettings.save())};Sidebar.prototype.init=function(){this.entries=[{title:mxResources.get("standard"),entries:[{title:mxResources.get("general"),id:"general",image:IMAGE_PATH+"/sidebar-general.png"},{title:mxResources.get("basic"),id:"basic",image:IMAGE_PATH+"/sidebar-basic.png"},{title:mxResources.get("arrows"),
|
||||
id:"arrows2",image:IMAGE_PATH+"/sidebar-arrows2.png"},{title:mxResources.get("clipart"),id:"clipart",image:IMAGE_PATH+"/sidebar-clipart.png"},{title:mxResources.get("flowchart"),id:"flowchart",image:IMAGE_PATH+"/sidebar-flowchart.png"}]},{title:mxResources.get("software"),entries:[{title:"Active Directory",id:"active_directory",image:IMAGE_PATH+"/sidebar-active_directory.png"},{title:mxResources.get("android"),id:"android",image:IMAGE_PATH+"/sidebar-android.png"},{title:"Atlassian",id:"atlassian",
|
||||
image:IMAGE_PATH+"/sidebar-atlassian.png"},{title:mxResources.get("bootstrap"),id:"bootstrap",image:IMAGE_PATH+"/sidebar-bootstrap.png"},{title:"C4",id:"c4",image:IMAGE_PATH+"/sidebar-c4.png"},{title:"Data Flow Diagram",id:"dfd",image:IMAGE_PATH+"/sidebar-dfd.png"},{title:mxResources.get("entityRelation"),id:"er",image:IMAGE_PATH+"/sidebar-er.png"},{title:mxResources.get("ios"),id:"ios",image:IMAGE_PATH+"/sidebar-ios.png"},{title:mxResources.get("mockups"),id:"mockups",image:IMAGE_PATH+"/sidebar-mockups.png"},
|
||||
{title:"Sitemap",id:"sitemap",image:IMAGE_PATH+"/sidebar-sitemap.png"},{title:mxResources.get("uml"),id:"uml",image:IMAGE_PATH+"/sidebar-uml.png"}]},{title:mxResources.get("networking"),entries:[{title:"Allied Telesis",id:"allied_telesis",image:IMAGE_PATH+"/sidebar-allied_telesis.png"},{title:"AWS17",id:"aws3",image:IMAGE_PATH+"/sidebar-aws3.png"},{title:"AWS18",id:"aws4b",image:IMAGE_PATH+"/sidebar-aws4.png"},{title:"AWS19",id:"aws4",image:IMAGE_PATH+"/sidebar-aws4.png"},{title:mxResources.get("aws3d"),
|
||||
id:"aws3d",image:IMAGE_PATH+"/sidebar-aws3d.png"},{title:mxResources.get("azure"),id:"azure",image:IMAGE_PATH+"/sidebar-azure.png"},{title:"Cloud & Enterprise",id:"mscae",image:IMAGE_PATH+"/sidebar-mscae.png"},{title:mxResources.get("cisco"),id:"cisco",image:IMAGE_PATH+"/sidebar-cisco.png"},{title:"Cisco19",id:"cisco19",image:IMAGE_PATH+"/sidebar-cisco19.png"},{title:"Cisco Safe",id:"cisco_safe",image:IMAGE_PATH+"/sidebar-cisco_safe.png"},{title:"Cumulus",id:"cumulus",image:IMAGE_PATH+"/sidebar-cumulus.png"},
|
||||
{title:"Citrix",id:"citrix",image:IMAGE_PATH+"/sidebar-citrix.png"},{title:"Google Cloud Platform",id:"gcp2",image:IMAGE_PATH+"/sidebar-gcp2.png"},{title:"IBM",id:"ibm",image:IMAGE_PATH+"/sidebar-ibm.png"},{title:"Kubernetes",id:"kubernetes",image:IMAGE_PATH+"/sidebar-kubernetes.png"},{title:"Network",id:"network",image:IMAGE_PATH+"/sidebar-network.png"},{title:"Office",id:"office",image:IMAGE_PATH+"/sidebar-office.png"},{title:mxResources.get("rack"),id:"rack",image:IMAGE_PATH+"/sidebar-rack.png"},
|
||||
{title:"Veeam",id:"veeam",image:IMAGE_PATH+"/sidebar-veeam.png"},{title:"VMware",id:"vvd",image:IMAGE_PATH+"/sidebar-vvd.png"}]},{title:mxResources.get("business"),entries:[{title:"ArchiMate 3.0",id:"archimate3",image:IMAGE_PATH+"/sidebar-archimate3.png"},{title:mxResources.get("archiMate21"),id:"archimate",image:IMAGE_PATH+"/sidebar-archimate.png"},{title:mxResources.get("bpmn"),id:"bpmn",image:IMAGE_PATH+"/sidebar-bpmn.png"},{title:mxResources.get("leanMapping"),id:"lean_mapping",image:IMAGE_PATH+
|
||||
{title:"Veeam",id:"veeam2",image:IMAGE_PATH+"/sidebar-veeam.png"},{title:"VMware",id:"vvd",image:IMAGE_PATH+"/sidebar-vvd.png"}]},{title:mxResources.get("business"),entries:[{title:"ArchiMate 3.0",id:"archimate3",image:IMAGE_PATH+"/sidebar-archimate3.png"},{title:mxResources.get("archiMate21"),id:"archimate",image:IMAGE_PATH+"/sidebar-archimate.png"},{title:mxResources.get("bpmn"),id:"bpmn",image:IMAGE_PATH+"/sidebar-bpmn.png"},{title:mxResources.get("leanMapping"),id:"lean_mapping",image:IMAGE_PATH+
|
||||
"/sidebar-leanmapping.png"},{title:mxResources.get("sysml"),id:"sysml",image:IMAGE_PATH+"/sidebar-sysml.png"}]},{title:mxResources.get("other"),entries:[{title:mxResources.get("cabinets"),id:"cabinets",image:IMAGE_PATH+"/sidebar-cabinets.png"},{title:"Infographic",id:"infographic",image:IMAGE_PATH+"/sidebar-infographic.png"},{title:mxResources.get("eip"),id:"eip",image:IMAGE_PATH+"/sidebar-eip.png"},{title:mxResources.get("electrical"),id:"electrical",image:IMAGE_PATH+"/sidebar-electrical.png"},{title:mxResources.get("floorplans"),
|
||||
id:"floorplan",image:IMAGE_PATH+"/sidebar-floorplans.png"},{title:mxResources.get("gmdl"),id:"gmdl",image:IMAGE_PATH+"/sidebar-gmdl.png"},{title:mxResources.get("procEng"),id:"pid",image:IMAGE_PATH+"/sidebar-pid.png"},{title:"Web Icons",id:"webicons",image:IMAGE_PATH+"/sidebar-webIcons.png"},{title:mxResources.get("signs"),id:"signs",image:IMAGE_PATH+"/sidebar-signs.png"}]}];this.addStencilsToIndex=!1;this.shapetags={};null!=this.tagIndex&&(this.addTagIndex(Graph.decompress(this.tagIndex)),this.tagIndex=
|
||||
null);this.initPalettes()};"1"==urlParams.savesidebar&&(Sidebar.prototype.addFoldingHandler=function(a,d,c){var b=!1;if(!mxClient.IS_IE||8<=document.documentMode)a.style.backgroundImage="none"==d.style.display?"url('"+this.collapsedImage+"')":"url('"+this.expandedImage+"')";a.style.backgroundRepeat="no-repeat";a.style.backgroundPosition="0% 50%";var e=document.createElement("button");e.style.marginLeft="4px";mxUtils.write(e,"Save");mxEvent.addListener(a,"click",mxUtils.bind(this,function(f){if("BUTTON"==
|
||||
|
@ -3439,18 +3439,18 @@ Router:"router switch",Router_Icon:"router switch"});this.addImagePalette("peopl
|
|||
this.addImagePalette("telco","Clipart / Telecommunication",a+"/lib/clip_art/telecommunication/","_128x128.png","BlackBerry Cellphone HTC_smartphone iPhone Palm_Treo Signal_tower_off Signal_tower_on".split(" "),"BlackBerry;Cellphone;HTC smartphone;iPhone;Palm Treo;Signaltower off;Signaltower on".split(";"));this.addFlowchartPalette();this.addActiveDirectoryPalette();this.addAndroidPalette();this.addAtlassianPalette();this.addBootstrapPalette();this.addDFDPalette();this.addErPalette();this.addIos7Palette();
|
||||
this.addIosPalette();this.addKubernetesPalette();this.addMockupPalette();this.addSitemapPalette();this.addUmlPalette(!1);this.addAlliedTelesisPalette();this.addAWS3Palette();this.addAWS4bPalette();this.addAWS4Palette();this.addAWS3DPalette();this.addAzurePalette();this.addMSCAEPalette();this.addC4Palette();for(p=0;p<m.length;p++)this.addStencilPalette("cisco"+m[p],"Cisco / "+m[p],d+"/cisco/"+m[p].toLowerCase().replace(/ /g,"_")+".xml",";html=1;pointerEvents=1;dashed=0;fillColor=#036897;strokeColor=#ffffff;strokeWidth=2;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;",
|
||||
null,null,1.6);this.addCisco19Palette();this.addCiscoSafePalette();this.addCumulusPalette();this.addCitrixPalette();this.addGCP2Palette();this.addIBMPalette();this.addNetworkPalette();this.addOfficePalette();for(p=0;p<b.length;p++)"general"===b[p].toLowerCase()?this.addRackGeneralPalette():"f5"===b[p].toLowerCase()?this.addRackF5Palette():"dell"===b[p].toLowerCase()?this.addRackDellPalette():this.addStencilPalette("rack"+b[p],"Rack / "+b[p],d+"/rack/"+b[p].toLowerCase()+".xml",";html=1;labelPosition=right;align=left;spacingLeft=15;dashed=0;shadow=0;fillColor=#ffffff;");
|
||||
this.addVeeamPalette();this.addVVDPalette();this.addArchimate3Palette();this.addArchiMatePalette();this.addBpmnPalette(d,!1);this.addLeanMappingPalette();for(p=0;p<q.length;p++)"Model Elements"==q[p]?this.addSysMLModelElementsPalette():"Blocks"==q[p]?this.addSysMLBlocksPalette():"Ports and Flows"==q[p]?this.addSysMLPortsAndFlowsPalette():"Constraint Blocks"==q[p]?this.addSysMLConstraintBlocksPalette():"Activities"==q[p]?this.addSysMLActivitiesPalette():"Interactions"==q[p]?this.addSysMLInteractionsPalette():
|
||||
"State Machines"==q[p]?this.addSysMLStateMachinesPalette():"Use Cases"==q[p]?this.addSysMLUseCasesPalette():"Allocations"==q[p]?this.addSysMLAllocationsPalette():"Requirements"==q[p]?this.addSysMLRequirementsPalette():"Profiles"==q[p]?this.addSysMLProfilesPalette():"Stereotypes"==q[p]&&this.addSysMLStereotypesPalette();this.addCabinetsPalette();this.addInfographicPalette();for(p=0;p<r.length;p++)"Message Construction"==r[p]?this.addEipMessageConstructionPalette():"Message Routing"==r[p]?this.addEipMessageRoutingPalette():
|
||||
"Message Transformation"==r[p]?this.addEipMessageTransformationPalette():"Messaging Channels"==r[p]?this.addEipMessagingChannelsPalette():"Messaging Endpoints"==r[p]?this.addEipMessagingEndpointsPalette():"Messaging Systems"==r[p]?this.addEipMessagingSystemsPalette():"System Management"==r[p]&&this.addEipSystemManagementPalette();this.addElectricalPalette();this.addFloorplanPalette();for(p=0;p<n.length;p++)"Bottom Navigation"==n[p]?this.addGMDLBottomNavigationPalette():"Bottom Sheets"==n[p]?this.addGMDLBottomSheetsPalette():
|
||||
"Buttons"==n[p]?this.addGMDLButtonsPalette():"Cards"==n[p]?this.addGMDLCardsPalette():"Chips"==n[p]?this.addGMDLChipsPalette():"Dialogs"==n[p]?this.addGMDLDialogsPalette():"Dividers"==n[p]?this.addGMDLDividersPalette():"Grid Lists"==n[p]?this.addGMDLGridListsPalette():"Icons"==n[p]?this.addGMDLIconsPalette():"Lists"==n[p]?this.addGMDLListsPalette():"Menus"==n[p]?this.addGMDLMenusPalette():"Misc"==n[p]?this.addGMDLMiscPalette():"Pickers"==n[p]?this.addGMDLPickersPalette():"Selection Controls"==n[p]?
|
||||
this.addGMDLSelectionControlsPalette():"Sliders"==n[p]?this.addGMDLSlidersPalette():"Steppers"==n[p]?this.addGMDLSteppersPalette():"Tabs"==n[p]?this.addGMDLTabsPalette():"Text Fields"==n[p]&&this.addGMDLTextFieldsPalette();for(p=0;p<e.length;p++)"Instruments"==e[p]?this.addPidInstrumentsPalette():"Misc"==e[p]?this.addPidMiscPalette():"Valves"==e[p]?this.addPidValvesPalette():"Compressors"==e[p]?this.addPidCompressorsPalette():"Engines"==e[p]?this.addPidEnginesPalette():"Filters"==e[p]?this.addPidFiltersPalette():
|
||||
"Flow Sensors"==e[p]?this.addPidFlowSensorsPalette():"Piping"==e[p]?this.addPidPipingPalette():this.addStencilPalette("pid"+e[p],"Proc. Eng. / "+e[p],d+"/pid/"+e[p].toLowerCase().replace(" ","_")+".xml",";html=1;pointerEvents=1;align=center;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;dashed=0;");this.addWebIconsPalette();this.addWebLogosPalette();for(p=0;p<c.length;p++)this.addStencilPalette("signs"+c[p],"Signs / "+c[p],d+"/signs/"+c[p].toLowerCase()+
|
||||
".xml",";html=1;pointerEvents=1;fillColor=#000000;strokeColor=none;verticalLabelPosition=bottom;verticalAlign=top;align=center;");this.showEntries()};if("1"==urlParams.createindex){var e=Sidebar.prototype.addStencilPalette;Sidebar.prototype.addStencilPalette=function(a,d,c,b,l,m,q,r){e.apply(this,arguments);q=null!=q?q:1;mxStencilRegistry.loadStencilSet(c,mxUtils.bind(this,function(a,d,c,e,f){if(null==l||0>mxUtils.indexOf(l,d))c=null!=r?r[d]:null,mxLog.debug('<shape style="shape='+a+d+b+'" w="'+Math.round(e*
|
||||
q)+'" h="'+Math.round(f*q)+'"'+(null!=c?' tags="'+c+'"':"")+"/>")}),!0)}}var d=Sidebar.prototype.searchEntries;Sidebar.prototype.searchEntries=function(a,c,b,e,l){var f=e;null!=this.searchFileData&&(this.addSearchFileData(mxUtils.parseXml(Graph.decompress(this.searchFileData)).documentElement),this.searchFileData=null);this.editorUi.isOffline()||0!=b||EditorUi.logEvent({category:"Shape",action:"search",label:a});null!=ICONSEARCH_PATH&&(e=mxUtils.bind(this,function(d,e,g,h){!this.editorUi.isOffline()&&
|
||||
d.length<=c/4?(g=b-Math.ceil((e-c/4)/c),mxUtils.get(ICONSEARCH_PATH+"?q="+encodeURIComponent(a)+"&p="+g+"&c="+c,mxUtils.bind(this,function(a){try{if(200<=a.getStatus()&&299>=a.getStatus())if(null!=a.getText()&&0<a.getText().length)try{var g=JSON.parse(a.getText());if(null==g||null==g.icons)f(d,e,!1,h),this.editorUi.handleError(g);else{for(a=0;a<g.icons.length;a++){for(var k=g.icons[a].raster_sizes,l=k.length-1;0<l&&128<k[l].size;)l--;var m=k[l].size,q=k[l].formats[0].preview_url;null!=m&&null!=q&&
|
||||
mxUtils.bind(this,function(a,c){d.push(mxUtils.bind(this,function(){return this.createVertexTemplate("shape=image;html=1;verticalAlign=top;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;imageAspect=0;aspect=fixed;image="+c,a,a,"")}))})(m,q)}f(d,(b-1)*c+d.length,g.icons.length==c,h)}}catch(z){f(d,e,!1,h),this.editorUi.handleError(z)}else f(d,e,!1,h);else f(d,e,!1,h),this.editorUi.handleError({message:mxResources.get("unknownError")})}catch(z){f(d,e,!1,h),this.editorUi.handleError(z)}},function(){f(d,
|
||||
e,!1,h)}))):f(d,e,g||!this.editorUi.isOffline(),h)}));d.apply(this,arguments)};var c=Sidebar.prototype.itemClicked;Sidebar.prototype.itemClicked=function(a,d,b){var e=this.editorUi.editor.graph,f=!1;if(null!=a&&1==e.getSelectionCount()&&e.getModel().isVertex(a[0])){var g=e.cloneCell(a[0]);if(e.getModel().isEdge(e.getSelectionCell())&&null==e.getModel().getTerminal(e.getSelectionCell(),!1)&&e.getModel().isVertex(g)){e.getModel().beginUpdate();try{var h=e.view.getState(e.getSelectionCell());if(null!=
|
||||
h){var r=e.view.translate,n=e.view.scale,p=h.absolutePoints[h.absolutePoints.length-1];g.geometry.x=p.x/n-r.x-g.geometry.width/2;g.geometry.y=p.y/n-r.y-g.geometry.height/2}e.addCell(g);e.getModel().setTerminal(e.getSelectionCell(),g,!1)}finally{e.getModel().endUpdate()}e.scrollCellToVisible(g);e.setSelectionCell(g);f=!0}}f||c.apply(this,arguments)}})();(function(){Sidebar.prototype.addActiveDirectoryPalette=function(){var a=[this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/active_directory.svg;",50,42.5,"","Active Directory",!1,null,this.getTagsForStencil("ms active directory ","active directory","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/cd_dvd.svg;",
|
||||
this.addVeeamPalette();this.addVeeam2Palette();this.addVVDPalette();this.addArchimate3Palette();this.addArchiMatePalette();this.addBpmnPalette(d,!1);this.addLeanMappingPalette();for(p=0;p<q.length;p++)"Model Elements"==q[p]?this.addSysMLModelElementsPalette():"Blocks"==q[p]?this.addSysMLBlocksPalette():"Ports and Flows"==q[p]?this.addSysMLPortsAndFlowsPalette():"Constraint Blocks"==q[p]?this.addSysMLConstraintBlocksPalette():"Activities"==q[p]?this.addSysMLActivitiesPalette():"Interactions"==q[p]?
|
||||
this.addSysMLInteractionsPalette():"State Machines"==q[p]?this.addSysMLStateMachinesPalette():"Use Cases"==q[p]?this.addSysMLUseCasesPalette():"Allocations"==q[p]?this.addSysMLAllocationsPalette():"Requirements"==q[p]?this.addSysMLRequirementsPalette():"Profiles"==q[p]?this.addSysMLProfilesPalette():"Stereotypes"==q[p]&&this.addSysMLStereotypesPalette();this.addCabinetsPalette();this.addInfographicPalette();for(p=0;p<r.length;p++)"Message Construction"==r[p]?this.addEipMessageConstructionPalette():
|
||||
"Message Routing"==r[p]?this.addEipMessageRoutingPalette():"Message Transformation"==r[p]?this.addEipMessageTransformationPalette():"Messaging Channels"==r[p]?this.addEipMessagingChannelsPalette():"Messaging Endpoints"==r[p]?this.addEipMessagingEndpointsPalette():"Messaging Systems"==r[p]?this.addEipMessagingSystemsPalette():"System Management"==r[p]&&this.addEipSystemManagementPalette();this.addElectricalPalette();this.addFloorplanPalette();for(p=0;p<n.length;p++)"Bottom Navigation"==n[p]?this.addGMDLBottomNavigationPalette():
|
||||
"Bottom Sheets"==n[p]?this.addGMDLBottomSheetsPalette():"Buttons"==n[p]?this.addGMDLButtonsPalette():"Cards"==n[p]?this.addGMDLCardsPalette():"Chips"==n[p]?this.addGMDLChipsPalette():"Dialogs"==n[p]?this.addGMDLDialogsPalette():"Dividers"==n[p]?this.addGMDLDividersPalette():"Grid Lists"==n[p]?this.addGMDLGridListsPalette():"Icons"==n[p]?this.addGMDLIconsPalette():"Lists"==n[p]?this.addGMDLListsPalette():"Menus"==n[p]?this.addGMDLMenusPalette():"Misc"==n[p]?this.addGMDLMiscPalette():"Pickers"==n[p]?
|
||||
this.addGMDLPickersPalette():"Selection Controls"==n[p]?this.addGMDLSelectionControlsPalette():"Sliders"==n[p]?this.addGMDLSlidersPalette():"Steppers"==n[p]?this.addGMDLSteppersPalette():"Tabs"==n[p]?this.addGMDLTabsPalette():"Text Fields"==n[p]&&this.addGMDLTextFieldsPalette();for(p=0;p<e.length;p++)"Instruments"==e[p]?this.addPidInstrumentsPalette():"Misc"==e[p]?this.addPidMiscPalette():"Valves"==e[p]?this.addPidValvesPalette():"Compressors"==e[p]?this.addPidCompressorsPalette():"Engines"==e[p]?
|
||||
this.addPidEnginesPalette():"Filters"==e[p]?this.addPidFiltersPalette():"Flow Sensors"==e[p]?this.addPidFlowSensorsPalette():"Piping"==e[p]?this.addPidPipingPalette():this.addStencilPalette("pid"+e[p],"Proc. Eng. / "+e[p],d+"/pid/"+e[p].toLowerCase().replace(" ","_")+".xml",";html=1;pointerEvents=1;align=center;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;dashed=0;");this.addWebIconsPalette();this.addWebLogosPalette();for(p=0;p<c.length;p++)this.addStencilPalette("signs"+
|
||||
c[p],"Signs / "+c[p],d+"/signs/"+c[p].toLowerCase()+".xml",";html=1;pointerEvents=1;fillColor=#000000;strokeColor=none;verticalLabelPosition=bottom;verticalAlign=top;align=center;");this.showEntries()};if("1"==urlParams.createindex){var e=Sidebar.prototype.addStencilPalette;Sidebar.prototype.addStencilPalette=function(a,d,c,b,l,m,q,r){e.apply(this,arguments);q=null!=q?q:1;mxStencilRegistry.loadStencilSet(c,mxUtils.bind(this,function(a,d,c,e,f){if(null==l||0>mxUtils.indexOf(l,d))c=null!=r?r[d]:null,
|
||||
mxLog.debug('<shape style="shape='+a+d+b+'" w="'+Math.round(e*q)+'" h="'+Math.round(f*q)+'"'+(null!=c?' tags="'+c+'"':"")+"/>")}),!0)}}var d=Sidebar.prototype.searchEntries;Sidebar.prototype.searchEntries=function(a,c,b,e,l){var f=e;null!=this.searchFileData&&(this.addSearchFileData(mxUtils.parseXml(Graph.decompress(this.searchFileData)).documentElement),this.searchFileData=null);this.editorUi.isOffline()||0!=b||EditorUi.logEvent({category:"Shape",action:"search",label:a});null!=ICONSEARCH_PATH&&
|
||||
(e=mxUtils.bind(this,function(d,e,g,h){!this.editorUi.isOffline()&&d.length<=c/4?(g=b-Math.ceil((e-c/4)/c),mxUtils.get(ICONSEARCH_PATH+"?q="+encodeURIComponent(a)+"&p="+g+"&c="+c,mxUtils.bind(this,function(a){try{if(200<=a.getStatus()&&299>=a.getStatus())if(null!=a.getText()&&0<a.getText().length)try{var g=JSON.parse(a.getText());if(null==g||null==g.icons)f(d,e,!1,h),this.editorUi.handleError(g);else{for(a=0;a<g.icons.length;a++){for(var k=g.icons[a].raster_sizes,l=k.length-1;0<l&&128<k[l].size;)l--;
|
||||
var m=k[l].size,q=k[l].formats[0].preview_url;null!=m&&null!=q&&mxUtils.bind(this,function(a,c){d.push(mxUtils.bind(this,function(){return this.createVertexTemplate("shape=image;html=1;verticalAlign=top;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;imageAspect=0;aspect=fixed;image="+c,a,a,"")}))})(m,q)}f(d,(b-1)*c+d.length,g.icons.length==c,h)}}catch(z){f(d,e,!1,h),this.editorUi.handleError(z)}else f(d,e,!1,h);else f(d,e,!1,h),this.editorUi.handleError({message:mxResources.get("unknownError")})}catch(z){f(d,
|
||||
e,!1,h),this.editorUi.handleError(z)}},function(){f(d,e,!1,h)}))):f(d,e,g||!this.editorUi.isOffline(),h)}));d.apply(this,arguments)};var c=Sidebar.prototype.itemClicked;Sidebar.prototype.itemClicked=function(a,d,b){var e=this.editorUi.editor.graph,f=!1;if(null!=a&&1==e.getSelectionCount()&&e.getModel().isVertex(a[0])){var g=e.cloneCell(a[0]);if(e.getModel().isEdge(e.getSelectionCell())&&null==e.getModel().getTerminal(e.getSelectionCell(),!1)&&e.getModel().isVertex(g)){e.getModel().beginUpdate();try{var h=
|
||||
e.view.getState(e.getSelectionCell());if(null!=h){var r=e.view.translate,n=e.view.scale,p=h.absolutePoints[h.absolutePoints.length-1];g.geometry.x=p.x/n-r.x-g.geometry.width/2;g.geometry.y=p.y/n-r.y-g.geometry.height/2}e.addCell(g);e.getModel().setTerminal(e.getSelectionCell(),g,!1)}finally{e.getModel().endUpdate()}e.scrollCellToVisible(g);e.setSelectionCell(g);f=!0}}f||c.apply(this,arguments)}})();(function(){Sidebar.prototype.addActiveDirectoryPalette=function(){var a=[this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/active_directory.svg;",50,42.5,"","Active Directory",!1,null,this.getTagsForStencil("ms active directory ","active directory","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/cd_dvd.svg;",
|
||||
50,50,"","CD / DVD",!1,null,this.getTagsForStencil("ms active directory ","cd dvd compact digital video disc","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/cell_phone.svg;",21,50,"","Cell Phone",!1,null,this.getTagsForStencil("ms active directory ","cell phone","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/cluster_server.svg;",
|
||||
50,50,"","Cluster Server",!1,null,this.getTagsForStencil("ms active directory ","active","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/community_discussion.svg;",50,45,"","Community Discussion",!1,null,this.getTagsForStencil("ms active directory ","community discussion","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/data_jack.svg;",
|
||||
50*.55,50,"","Data Jack",!1,null,this.getTagsForStencil("ms active directory ","data jack","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/database.svg;",50,37,"","Database",!1,null,this.getTagsForStencil("ms active directory ","database","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/database_cube.svg;",
|
||||
|
@ -7286,9 +7286,9 @@ this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;das
|
|||
160,0,"<<import>>","Public Package Import",null,this.getTagsForStencil("","","sysml model element public package import").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;",160,0,"<<access>>","Private Package Import",null,this.getTagsForStencil("","","sysml model element private package import").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;"+mxConstants.STYLE_STARTARROW+"=sysMLPackCont;startSize=12;"+
|
||||
mxConstants.STYLE_ENDARROW+"=none;",160,0,"","Package Containment",null,this.getTagsForStencil("","","sysml model element package containment").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endSize=12;endArrow=block;endFill=0;dashed=1;",160,0,"","Realization",null,this.getTagsForStencil("","","sysml model element realization").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;",160,0,"<<refine>>","Refine",
|
||||
null,this.getTagsForStencil("","","sysml model element refine").join(" "))];this.addPalette("sysmlModel Elements","SysML / Model Elements",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}))};Sidebar.prototype.addSysMLBlocksPalette=function(a){var b=this,e=[this.addEntry("sysml block block definition diagram",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>bdd</b> Namespace1</p>',new mxGeometry(0,0,300,100),
|
||||
"html=1;strokeWidth=1;shape=mxgraph.sysml.package;labelX=120;align=left;spacingLeft=10;overflow=fill;recursiveResize=0;");a.vertex=!0;var c=new mxCell("Block1",new mxGeometry(15,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;fontStyle=1;html=1;whiteSpace=wrap;align=center;");c.vertex=!0;a.insert(c);var f=new mxCell("Block2",new mxGeometry(190,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;fontStyle=1;html=1;whiteSpace=wrap;align=center;");
|
||||
f.vertex=!0;a.insert(f);var e=new mxCell("part1",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;align=right;html=1;verticalAlign=bottom;endArrow=none;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=none;endFill=0;labelBackgroundColor=none;");e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;a.insert(e);var h=new mxCell("1",new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=
|
||||
!0;h.setConnectable(!1);h.vertex=!0;e.insert(h);h=new mxCell("0..*",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;e.insert(h);c.insertEdge(e,!0);f.insertEdge(e,!1);return b.createVertexTemplateFromCells([a],300,100,"Block Definition Diagram")}),this.addDataEntry("sysml block relation",160,0,"Relation","zVRNb8IwDP01vUwaCi3aHcrgNGkS+wOhMW20NEapYYVfP9MmLVVh2qYddqjkPNvPHy9NlKRlvXZyX7ygAhMlz1GSOkRqrbJOwZgoFlpFyTKKY8FfFK/ueKeNV+ylA0vfSYjbhKM0B2gRziVPU9HJeFQanVs2nc4LJl4UVHKvyymbR3CkM2nmPmSLRFiyA6yaO4cfjFm0TLSoiMkDprQs0aq3Qtvg2ujzpd50FoCVNqEMqBw2viFP13Z5cdydvoH86GvAEsidOKQeJDgwkvRxyCKr9ph3WR3RK2rm70MqPLgMPHq97BAYyj2JITePmAONEtm46raHGu1u65iMdBxr6KDSZ7ltjmKoYZDXwI5uSEq4Z9TILZiFzN5zhwerUjToejF2aDv9/JgZWgsZ+ZLdXRQXeqjvahZ/qdnjT0UbbPWLFc5GKxSTycNvthh+kv+8xj/aIh/7x6q9t9dv2Sc="),
|
||||
"html=1;strokeWidth=1;shape=mxgraph.sysml.package;labelX=120;align=left;spacingLeft=10;overflow=fill;recursiveResize=0;");a.vertex=!0;var c=new mxCell("Block1",new mxGeometry(15,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;fontStyle=1;html=1;whiteSpace=wrap;align=center;");c.vertex=!0;a.insert(c);var e=new mxCell("Block2",new mxGeometry(190,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;fontStyle=1;html=1;whiteSpace=wrap;align=center;");
|
||||
e.vertex=!0;a.insert(e);var g=new mxCell("part1",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;align=right;html=1;verticalAlign=bottom;endArrow=none;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=none;endFill=0;labelBackgroundColor=none;");g.geometry.relative=!0;g.geometry.x=1;g.edge=!0;a.insert(g);var h=new mxCell("1",new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=
|
||||
!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);h=new mxCell("0..*",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);c.insertEdge(g,!0);e.insertEdge(g,!1);return b.createVertexTemplateFromCells([a],300,100,"Block Definition Diagram")}),this.addDataEntry("sysml block relation",160,0,"Relation","zVRNb8IwDP01vUwaCi3aHcrgNGkS+wOhMW20NEapYYVfP9MmLVVh2qYddqjkPNvPHy9NlKRlvXZyX7ygAhMlz1GSOkRqrbJOwZgoFlpFyTKKY8FfFK/ueKeNV+ylA0vfSYjbhKM0B2gRziVPU9HJeFQanVs2nc4LJl4UVHKvyymbR3CkM2nmPmSLRFiyA6yaO4cfjFm0TLSoiMkDprQs0aq3Qtvg2ujzpd50FoCVNqEMqBw2viFP13Z5cdydvoH86GvAEsidOKQeJDgwkvRxyCKr9ph3WR3RK2rm70MqPLgMPHq97BAYyj2JITePmAONEtm46raHGu1u65iMdBxr6KDSZ7ltjmKoYZDXwI5uSEq4Z9TILZiFzN5zhwerUjToejF2aDv9/JgZWgsZ+ZLdXRQXeqjvahZ/qdnjT0UbbPWLFc5GKxSTycNvthh+kv+8xj/aIh/7x6q9t9dv2Sc="),
|
||||
this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;verticalAlign=top;align=left;whiteSpace=wrap;",220,340,'<p style="margin:0px;margin-top:4px;text-align:center;"><<block>><br/>{encapsulated}<br/><b>Block1</b></p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>constraints</i></p><p style="margin:0px;margin-left:8px;text-align:left;">{x > y}</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>operations</i></p><p style="margin:0px;margin-left:8px;text-align:left;">operation1 (p1 : Type1) : Type2</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>parts</i></p><p style="margin:0px;margin-left:8px;text-align:left;">property1 : Block2</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>references</i></p><p style="margin:0px;margin-left:8px;text-align:left;">property2 : Block3 [0..*] {ordered}</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>values</i></p><p style="margin:0px;margin-left:8px;text-align:left;">property3 : Integer = 99 {readOnly}<br/>property4 : Real = 10.0</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>properties</i></p><p style="margin:0px;margin-left:8px;text-align:left;">property5 : Type1</p>',
|
||||
"Block",null,null,this.getTagsForStencil("","","sysml block block").join(" ")),this.createVertexTemplateEntry("shape=umlActor;html=1;verticalLabelPosition=bottom;verticalAlign=top;align=center;",30,60,"ActorName","Actor",null,null,this.getTagsForStencil("","","sysml block actor").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",160,80,"<p><<actor>><br/><b>ActorName</b></p>","Actor",null,null,this.getTagsForStencil("","","sysml block actor").join(" ")),
|
||||
this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,180,'<p style="margin:0px;margin-top:4px;text-align:center;"><<valueType>><br/><b>ValueType1</b></p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>operations</i></p><p style="margin:0px;margin-left:8px;text-align:left;">operation1 (p1 : Type1) : Type2</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>properties</i></p><p style="margin:0px;margin-left:8px;text-align:left;">property1 : Type3</p><hr/><p style="margin:0px;margin-left:8px;text-align:center;"><<valueType>></p><p style="margin:0px;margin-left:8px;text-align:left;">unit = UnitName</p>',
|
||||
|
@ -7296,12 +7296,12 @@ this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;
|
|||
80,40,'<p style="margin:13px;"><b><i>Name</i></b></p>',"Abstract Definition",null,null,this.getTagsForStencil("","","sysml block abstract definition").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",80,40,'<p style="margin:5px;">{abstract}<br/><b><i>Name</i></b></p>',"Abstract Definition",null,null,this.getTagsForStencil("","","sysml block abstract definition").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",
|
||||
80,40,'<p style="margin:5px;"><b><i>Name</i></b><br/>{abstract}</p>',"Abstract Definition",null,null,this.getTagsForStencil("","","sysml block abstract definition").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",200,80,'<p style="margin:0px;margin-top:4px;text-align:center;"><<stereotype1>><br/><b>Block1</b></p><hr/><p style="margin:0px;margin-left:8px;text-align:center;"><<stereotype1>></p><p style="margin:0px;margin-left:8px;text-align:left;">property1 = value</p>',
|
||||
"Stereotype Property Compartment",null,null,this.getTagsForStencil("","","sysml block stereotype property compartment").join(" ")),this.addEntry("sysml block namespace compartment",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Block1</b></p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>namespace</i></p>',new mxGeometry(0,0,300,120),"shape=rect;align=left;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;
|
||||
var c=new mxCell("Block2",new mxGeometry(15,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");c.vertex=!0;a.insert(c);var f=new mxCell("Block3",new mxGeometry(190,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");f.vertex=!0;a.insert(f);var e=new mxCell("part1",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;align=right;verticalAlign=bottom;endArrow=none;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=none;html=1;labelBackgroundColor=none;");
|
||||
e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;a.insert(e);var h=new mxCell("1",new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;e.insert(h);h=new mxCell("0..*",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;e.insert(h);c.insertEdge(e,!0);f.insertEdge(e,!1);
|
||||
var c=new mxCell("Block2",new mxGeometry(15,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");c.vertex=!0;a.insert(c);var e=new mxCell("Block3",new mxGeometry(190,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");e.vertex=!0;a.insert(e);var g=new mxCell("part1",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;align=right;verticalAlign=bottom;endArrow=none;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=none;html=1;labelBackgroundColor=none;");
|
||||
g.geometry.relative=!0;g.geometry.x=1;g.edge=!0;a.insert(g);var h=new mxCell("1",new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);h=new mxCell("0..*",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);c.insertEdge(g,!0);e.insertEdge(g,!1);
|
||||
return b.createVertexTemplateFromCells([a],300,100,"Namespace Compartment")}),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",250,100,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Block1</b></p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>namespace</i></p>',"Block",null,null,this.getTagsForStencil("","","sysml block block").join(" ")),this.addEntry("sysml block structure compartment",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Block1</b></p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>structure</i></p>',
|
||||
new mxGeometry(0,0,300,120),"shape=rect;align=left;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var c=new mxCell("Block2",new mxGeometry(15,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");c.vertex=!0;a.insert(c);var f=new mxCell("Block3",new mxGeometry(190,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");
|
||||
f.vertex=!0;a.insert(f);var e=new mxCell("c1:",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;verticalAlign=bottom;html=1;endArrow=none;edgeStyle=none;labelBackgroundColor=none;");e.geometry.relative=!0;e.edge=!0;a.insert(e);var h=new mxCell("e1",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;e.insert(h);h=new mxCell("1",new mxGeometry(1,
|
||||
0,0,0),"resizable=0;html=1;align=right;verticalAlign=bottom;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;e.insert(h);c.insertEdge(e,!0);f.insertEdge(e,!1);return b.createVertexTemplateFromCells([a],300,100,"Structure Compartment")}),this.addDataEntry("sysml block relation",160,0,"Relation","3VTLboMwEPwa3x2Ieg/kcapUKV/gwNZYNV60bFKSr68BB4IIVQ499YDkHe+MvTMWIk7L5kCqKt4xByvinYhTQuR+VTYpWCsiaXIRb0UUSf+JaL+wu+p2ZaUIHL9CiHrCRdkz9EgWNGq+2gBdgNhkym6s0c5DJ2TGUsRJwaW/8Xbll+DyDRF++9Kh88SkZkX8DDuaWyu8Wt+BvbGtjGxlcg3HcDISF6jRKbsb0aS/Xdu3OHIHhXkPgCUwXX0LgVVsLlOeqvtSD30D9QONVxxbajxTBgF99PTe2ATlNznV9jNq4BnRLx7uN0JdRM/jimdxzdMiqM1NnbpSTkNSIUAyuvBeJYvBWnUCm6jsSxOeXZ6iRRpT/EQ3hBhGzdA5yDgcOzw72Z4AzWJS0fOkpoSXc5sY+4uL65mL8Kc2Mlb/zUNfjj+l/uE+/rN+AA=="),
|
||||
new mxGeometry(0,0,300,120),"shape=rect;align=left;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var c=new mxCell("Block2",new mxGeometry(15,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");c.vertex=!0;a.insert(c);var e=new mxCell("Block3",new mxGeometry(190,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");
|
||||
e.vertex=!0;a.insert(e);var g=new mxCell("c1:",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;verticalAlign=bottom;html=1;endArrow=none;edgeStyle=none;labelBackgroundColor=none;");g.geometry.relative=!0;g.edge=!0;a.insert(g);var h=new mxCell("e1",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);h=new mxCell("1",new mxGeometry(1,
|
||||
0,0,0),"resizable=0;html=1;align=right;verticalAlign=bottom;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);c.insertEdge(g,!0);e.insertEdge(g,!1);return b.createVertexTemplateFromCells([a],300,100,"Structure Compartment")}),this.addDataEntry("sysml block relation",160,0,"Relation","3VTLboMwEPwa3x2Ieg/kcapUKV/gwNZYNV60bFKSr68BB4IIVQ499YDkHe+MvTMWIk7L5kCqKt4xByvinYhTQuR+VTYpWCsiaXIRb0UUSf+JaL+wu+p2ZaUIHL9CiHrCRdkz9EgWNGq+2gBdgNhkym6s0c5DJ2TGUsRJwaW/8Xbll+DyDRF++9Kh88SkZkX8DDuaWyu8Wt+BvbGtjGxlcg3HcDISF6jRKbsb0aS/Xdu3OHIHhXkPgCUwXX0LgVVsLlOeqvtSD30D9QONVxxbajxTBgF99PTe2ATlNznV9jNq4BnRLx7uN0JdRM/jimdxzdMiqM1NnbpSTkNSIUAyuvBeJYvBWnUCm6jsSxOeXZ6iRRpT/EQ3hBhGzdA5yDgcOzw72Z4AzWJS0fOkpoSXc5sY+4uL65mL8Kc2Mlb/zUNfjj+l/uE+/rN+AA=="),
|
||||
this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,60,'<p style="margin:0px;margin-top:10px;text-align:center;"><<unit>><br/><p style="margin:0px;margin-left:8px;text-align:center;">{quantityKind = QuantityKind1}<br/><b>Unit1</b></p>',"Unit",null,null,this.getTagsForStencil("","","sysml block unit").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,80,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Unit1</b></p><hr/><p style="margin:0px;margin-left:8px;text-align:center;"><<unit>><br/>{quantityKind = QuantityKind1}</p>',
|
||||
"Unit",null,null,this.getTagsForStencil("","","sysml block unit").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,60,'<p style="margin:0px;margin-top:10px;text-align:center;"><<quantityKind>><br/><p style="margin:0px;margin-left:8px;text-align:center;"><b>QuantityKind1</b></p>',"Quantity Kind",null,null,this.getTagsForStencil("","","sysml block quantity kind").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;fontSize=15;whiteSpace=wrap;",
|
||||
70,30,'<p style="margin:0px;margin-top:4px;text-align:center;text-decoration:underline;"><B>i1: Type1</b><br/>',"Instance Specification",null,null,this.getTagsForStencil("","","sysml block instance specification").join(" ")),this.addDataEntry("sysml block instance specification",280,30,"Instance Specification","3VVNj5swEP01HFcCk416DWG7p5VWSv+AgQlYNR7XOF/76zvGBkLYtDmt1B6ieJ7nDeP3PBCl2/b8arhu3rACGaUvUbo1iNav2vMWpIxYLKoozSPGYvpF7Pud3aTfjTU3oOwjBOYJRy4P4JGIrSVRM01wZy/Sw+tfB9dS1nJTCxWlm1ifx/DJoiZo1UMWzvaJS1G7rJLaADOgFZRouBXotg6qAiOFovrZVJ9WdfjvuxgBkRCHWvpx0ZAMu3Su4pZRGHfaEWSzY7Cu4dotDZRuv7EtSZ5T7QyPYPYSTxTuBWmUZntUdic+XHryTPGpERZ2mpcOOZFl4wOISge8a0EPBf1fAVuw5kIpJ1HZxmd88y7FDYi6Caw0YLzzcT0yJz9pESz93N70n7GXTfay/8PeQGBx8PEL7F4t7N4kC43caUTJ5cabmBdoLbZztUBVG2N6tVCD8sggFnNhVcMu1ERjG6xRcfkyoUE6lzcTrsODKWH28rF0y8DOLuwD8hqQdNeO8+qfiReo7yio4pTiGwno9RtySBwMX98Y49tdEHtvxv4esut5YZdOF3YZ6MQHL/ownrsUxjA3/hZlt872c5tJXoDMePmzNkhTuUWJNLK5wn42r6cgHLREpWh+wjPHT8jfxmD1xzEIhIddu3PlKZw+jl7y62/nbw=="),
|
||||
|
@ -7323,12 +7323,12 @@ this.addDataEntry("sysml block generalization set",140,50,"Generalization Set","
|
|||
this.addDataEntry("sysml block generalization set",150,80,"Generalization Set","5ZXBboMwDIafJncITPQ6YO1pUqU+QVo8iGYSFFIGe/oFErUwilYxqZceEPlt/5blT1FIkJTtTrGqeJcZIAneSJAoKbU9lW0CiIR6PCNBSij1zEfodiHrD1mvYgqEvsdAraFheAYbsYFad+gCkOVwcFJIYX5xoUszaeqbI4jsVSn5ZeQR5enThrYc+wLPqgP/7s0+NdK273suTjyE3Lg7kCVo1ZkSBcg0b6Y+VluZX+ou1r3kpiP1Wmfwpg7NVA7aFY03tODrrNz8alPLszrBrI05jIa/hob130YRPA2KcCWK8FEowqdBEa1EET0KxcscRRTLBhSyquIiJ1G6no1LZqwuIHNpZEfAvay55lKYmOJ5YRDEDHnea4QP/S9i7cSwll93+yotLH7GbzPld+eN/JufkdfHy5aP37Yf"),
|
||||
this.addDataEntry("sysml block block namespace containment",140,70,"Block Namespace Containment","7ZXPjoIwEMafhjtQ192roOtlTUx8gmpHaCyMKfUPPv0OtKJ1McvBwx6WxKTztfMxfD8MAUuL81zzfb5AASpgs4ClGtHYVXFOQakgDqUI2DSI45B+Qfz5ZDdqd8M911CaIQ2xbThydQCrWKEytXLCEbSRG64mSmYlSWs0BouAJbkpaN5pREsylfuKGpKtVCpFhbptZmF7kV4ZjTvo23ET0F3g/PQpWsk9whywAKNrOuIaxh+2o7Ylc+VJCpNbaWSVHGSWG0/ilS2zzvUWFy1cYv3psd/TA5HBypWg1nia3QQvwVKs5KU5FcW2nGiNJ6qrulp8Lflml2KTRtK6kJ6jlheSOFkkGg+lgGasJlLuUCnYNh2PBAspBN2/HbWZz0u9woPegPd2DAfhPDQobuTRN+4L2hktUZJ/5/IeejijsW9guM7AuJ4HWN1Ig/iNXsjPUblm3RN798e5g1tiCT/w/V0y0chHcyX1ejRv/2gGonk1Cipv3x97/P7z9A0="),
|
||||
this.addDataEntry("sysml block participant property",400,140,"Participant Property","5ZfbbtswDEC/xi8DWviS2x7tZOvLBhTrFyg2YwuVLU9WmmRfP+qW1LfBRdKhQB+aiqTpkEekqHjRujw+CFIXP3kGzIu+edFacC7NqjyugTEv9GnmRRsvDH3888LvI9ZAW/2aCKjkFIfQOLwQtgejSRhPn626kSdm1U1BarUUkOKLk0KWGOsmwOWOV/LJPqjkQ0ElPNUkVYoDZoY6wmheoZhiWCBQYb8WhITjaOhaZeN+AF6CFCd85EAzWZgn5iY7vwCaF9bLZuyTxsj52fPCARcWxTCWaBhL8JGxWIfIMfkPmGY9TF64YApE3cK0+L1XBZ2UROQUE479+ngW7yRHFvFMqzBveWexxK+wuDfgKrf/9fdsnSJuGp5SIimvAmfE8Lddh0Ko7DpKVNVd3VsyYLBDY7x6awqkVFXA+hJut6QprQnuuTO0nazke8sEqkwtVJh+LXiN1aPqIfCWWhNoY4yfuoa1xdHrwHjXeEIbT9iLJxzeh8mtxrFhdowfUNxRVayDzXaD3nJ9dDLiot9pkT/QaqsbtNq812rtiu/AgiwHd/pUvII2MNyhWAgNzBoVFpoSFtsTacul5OWZmnpdi1nD9yKF1gyR2AsgW+fnBLICGKbw0n77NaAWPVCuBgeGGlYIrfIfun03URuSO5xNc48TYmQL7JE3VO2Eqk+z8UafkPQ5F3xfZWvOuLgA1+OB/tHTwZZHyqsKa5tsXXj+pJKd/7Nk76zHzTkve5wHpuMVfPVU+KxwV6NFPAr5lz1vRig7cJPL2G7LxwD9Xpy/9i8wy4SLDARkZlz59/dfbox8uLI/BW8XdOvGeOXoykhTQGbNE8bV7Pazybo+cqruRw5i6LevC0HnGmAGpnXqMDxHMYQVxcsvRPP46x+QfwE="),
|
||||
this.addEntry("sysml block participant property",function(){var a=new mxCell("Block2",new mxGeometry(0,0,50,20),"shape=rect;html=1;strokeWidth=1;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("Block1",new mxGeometry(350,0,50,20),"shape=rect;html=1;strokeWidth=1;fontStyle=1;whiteSpace=wrap;align=center;");c.vertex=!0;var f=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Association1</b></p><hr/><p style="margin:0px;text-align:center;"><i>structure</i></p>',
|
||||
new mxGeometry(20,60,360,150),"shape=rect;html=1;strokeWidth=1;overflow=fill;whiteSpace=wrap;recursiveResize=0;");f.vertex=!0;var e=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><<participant>><br/>{end = property 2}<br/><br/><b>p2 : Block 2</b></p>',new mxGeometry(20,50,150,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;dashed=1;whiteSpace=wrap;");e.vertex=!0;f.insert(e);e=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><<participant>><br/>{end = property 1}<br/><br/><b>p1 : Block 1</b></p>',
|
||||
new mxGeometry(190,50,150,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;dashed=1;whiteSpace=wrap;");e.vertex=!0;f.insert(e);e=new mxCell("Association1",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;endArrow=none;verticalAlign=bottom;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);c.insertEdge(e,!1);var h=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;endArrow=none;dashed=1;");h.geometry.setTerminalPoint(new mxPoint(200,10),!1);
|
||||
h.geometry.relative=!0;h.edge=!0;f.insertEdge(h,!0);var k=new mxCell("property2",new mxGeometry(-1,0,0,0),"spacingLeft=3;html=1;align=left;verticalAlign=bottom;labelPosition=right;labelBackgroundColor=none;fontSize=10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;e.insert(k);k=new mxCell("1",new mxGeometry(-1,0,0,0),"spacingLeft=3;html=1;align=left;verticalAlign=top;labelPosition=right;labelBackgroundColor=none;fontSize=10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;e.insert(k);
|
||||
k=new mxCell("property1",new mxGeometry(1,0,0,0),"spacingRight=3;html=1;align=right;verticalAlign=bottom;labelPosition=left;labelBackgroundColor=none;fontSize=10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;e.insert(k);k=new mxCell("{ordered} 0..*",new mxGeometry(1,0,0,0),"spacingRight=3;html=1;align=right;verticalAlign=top;labelPosition=left;labelBackgroundColor=none;fontSize=10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;e.insert(k);return b.createVertexTemplateFromCells([a,
|
||||
c,f,e,h],400,260,"Participant Property")}),this.addDataEntry("sysml block participant property",400,80,"Participant Property","5ZZfT+MwDMA/TV+QDvXPxu4e18Hxckjo+ARZY9qINK7SjG18etwm3ShpUREDIfEwLXbi1P7FjhMkq3J3rVlV3CAHGSRXQbLSiMaOyt0KpAziUPAguQziOKRfEP8dmY3a2bBiGpSZYhBbg0cmN2A1qcTswalrs5dOXResaoYaMto4LUxJvl5GNLxHZe7cwkbeFsLAXcWyRrGlyEjHpMgViRm5BZoU7rOgDexGXW9Vzu9rwBKM3tOSreCmsCvmNrqwAJEXzspFHLLayvnB8siBBg7FMJZkGEv0nbE4g6Rj8gWYZh6mZV1jJpgRqN4D6wRxRzMX0N7KFz6GKP4kDnOPgxc78By6dFCo6C8FxZda4/ao8Yg0Vj0eNW50Br3aNUznYHp5O4GaBkmn9Njf/SMMLjwGlcaKTnQ/cJlQGQiV/4P7xsmkH3lXFLKdTZukEBmTS6deozFY0oRka5C3WIsm2Zqssmdq9SnLHnKNG8VXKFEfEbdlKZ7aqnQnn6FSlJFs3bkXTkrH+Zvp+MtZnJzzwuM8UGgf4Guw+rlwf48m8Sjk/+4qGaHcgZucxu5Yvgfoz+L8x78wFylqDhp4sCA5DM/Pz06MfDizfwTvzul3dqgXcP1mxVldAJ/erman703O9BYF7XiASMnTewlErzq8bZjO6BXDgxdDWEk8vszt8pcP92c="),
|
||||
this.addEntry("sysml block participant property",function(){var a=new mxCell("Block2",new mxGeometry(0,0,50,20),"shape=rect;html=1;strokeWidth=1;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("Block1",new mxGeometry(350,0,50,20),"shape=rect;html=1;strokeWidth=1;fontStyle=1;whiteSpace=wrap;align=center;");c.vertex=!0;var e=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Association1</b></p><hr/><p style="margin:0px;text-align:center;"><i>structure</i></p>',
|
||||
new mxGeometry(20,60,360,150),"shape=rect;html=1;strokeWidth=1;overflow=fill;whiteSpace=wrap;recursiveResize=0;");e.vertex=!0;var g=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><<participant>><br/>{end = property 2}<br/><br/><b>p2 : Block 2</b></p>',new mxGeometry(20,50,150,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;dashed=1;whiteSpace=wrap;");g.vertex=!0;e.insert(g);g=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><<participant>><br/>{end = property 1}<br/><br/><b>p1 : Block 1</b></p>',
|
||||
new mxGeometry(190,50,150,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;dashed=1;whiteSpace=wrap;");g.vertex=!0;e.insert(g);g=new mxCell("Association1",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;endArrow=none;verticalAlign=bottom;");g.geometry.relative=!0;g.edge=!0;a.insertEdge(g,!0);c.insertEdge(g,!1);var h=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;endArrow=none;dashed=1;");h.geometry.setTerminalPoint(new mxPoint(200,10),!1);
|
||||
h.geometry.relative=!0;h.edge=!0;e.insertEdge(h,!0);var k=new mxCell("property2",new mxGeometry(-1,0,0,0),"spacingLeft=3;html=1;align=left;verticalAlign=bottom;labelPosition=right;labelBackgroundColor=none;fontSize=10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;g.insert(k);k=new mxCell("1",new mxGeometry(-1,0,0,0),"spacingLeft=3;html=1;align=left;verticalAlign=top;labelPosition=right;labelBackgroundColor=none;fontSize=10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;g.insert(k);
|
||||
k=new mxCell("property1",new mxGeometry(1,0,0,0),"spacingRight=3;html=1;align=right;verticalAlign=bottom;labelPosition=left;labelBackgroundColor=none;fontSize=10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;g.insert(k);k=new mxCell("{ordered} 0..*",new mxGeometry(1,0,0,0),"spacingRight=3;html=1;align=right;verticalAlign=top;labelPosition=left;labelBackgroundColor=none;fontSize=10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;g.insert(k);return b.createVertexTemplateFromCells([a,
|
||||
c,e,g,h],400,260,"Participant Property")}),this.addDataEntry("sysml block participant property",400,80,"Participant Property","5ZZfT+MwDMA/TV+QDvXPxu4e18Hxckjo+ARZY9qINK7SjG18etwm3ShpUREDIfEwLXbi1P7FjhMkq3J3rVlV3CAHGSRXQbLSiMaOyt0KpAziUPAguQziOKRfEP8dmY3a2bBiGpSZYhBbg0cmN2A1qcTswalrs5dOXResaoYaMto4LUxJvl5GNLxHZe7cwkbeFsLAXcWyRrGlyEjHpMgViRm5BZoU7rOgDexGXW9Vzu9rwBKM3tOSreCmsCvmNrqwAJEXzspFHLLayvnB8siBBg7FMJZkGEv0nbE4g6Rj8gWYZh6mZV1jJpgRqN4D6wRxRzMX0N7KFz6GKP4kDnOPgxc78By6dFCo6C8FxZda4/ao8Yg0Vj0eNW50Br3aNUznYHp5O4GaBkmn9Njf/SMMLjwGlcaKTnQ/cJlQGQiV/4P7xsmkH3lXFLKdTZukEBmTS6deozFY0oRka5C3WIsm2Zqssmdq9SnLHnKNG8VXKFEfEbdlKZ7aqnQnn6FSlJFs3bkXTkrH+Zvp+MtZnJzzwuM8UGgf4Guw+rlwf48m8Sjk/+4qGaHcgZucxu5Yvgfoz+L8x78wFylqDhp4sCA5DM/Pz06MfDizfwTvzul3dqgXcP1mxVldAJ/erman703O9BYF7XiASMnTewlErzq8bZjO6BXDgxdDWEk8vszt8pcP92c="),
|
||||
this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",300,80,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Association1</b></p><hr/><p style="margin:0px;margin-left:8px;text-align:center;"><<participant>> {end = property 1} p1 : Blcok 1<br/><<participant>> {end = property 2} p2 : Blcok 2</p>',"Association",null,null,this.getTagsForStencil("","","sysml block association").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",
|
||||
300,80,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Association1</b></p><hr/><p style="margin:0px;text-align:center;"><i>structure</i></p>',"Association",null,null,this.getTagsForStencil("","","sysml block association").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;dashed=1;whiteSpace=wrap;",150,80,'<p style="margin:0px;margin-top:4px;text-align:center;"><<participant>><br/>{end = property 1}<br/><br/><b>p1 : Block 1</b></p>',"Participant",null,
|
||||
null,this.getTagsForStencil("","","sysml block participant").join(" ")),this.addEntry("sysml block connector property",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Block1</b><hr/></p><p style="margin:0px;margin-top:-6px;margin-left:10px;text-align:left;"><<connector>> c1 : Association1<br/><<connector>> c2 : Association2<hr/></p><p style="margin:0px;margin-top:-6px;text-align:center;font-size:10px;"><i>structure</i></p>',new mxGeometry(0,
|
||||
|
@ -7707,7 +7707,229 @@ this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;ve
|
|||
56,46,"","VM Problem",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm problem","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_running;",56,46,"","VM Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm running","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_saved_state;",
|
||||
58,48,"","VM Saved State",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm saved state","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_windows;",46,60,"","VM Windows",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm windows","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vnic;",
|
||||
62,62,"","vNIC",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vnic","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.wan_accelerator;",46,46,"","WAN Accelerator",null,null,this.getTagsForStencil("mxgraph.veeam.3d","wan accelerator","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.workstation;",
|
||||
76,62,"","Workstation",null,null,this.getTagsForStencil("mxgraph.veeam.3d","workstation","veeam 3d vmware virtual machine ").join(" "))];this.addPalette("veeam3D","Veeam / 3D",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))}})();(function(){Sidebar.prototype.addVVDPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.administrator;",21.5,50,"","Administrator",null,null,this.getTagsForStencil("mxgraph.vvd","administrator","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.administrator;fillColor=#066A90;",
|
||||
76,62,"","Workstation",null,null,this.getTagsForStencil("mxgraph.veeam.3d","workstation","veeam 3d vmware virtual machine ").join(" "))];this.addPalette("veeam3D","Veeam / 3D",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))}})();(function(){Sidebar.prototype.addVeeam2Palette=function(){this.addVeeam2AuxiliaryPalette();this.addVeeam2DataCenterPalette();this.addVeeam2FeaturesPalette();this.addVeeam2GeneralPalette();this.addVeeam2ProductsComponentsPalette();this.addVeeam2SoftwarePalette();this.addVeeam2StatesPalette();this.addVeeam2StoragePalette();this.addVeeam23DPalette()};Sidebar.prototype.addVeeam2AuxiliaryPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#13B24B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_logo;",
|
||||
136,24,"","Veeam logo",null,null,this.getTagsForStencil("mxgraph.veeam2","logo","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("align=left;verticalAlign=middle;fontFamily=Tahoma;strokeColor=#ECECEC;strokeWidth=2;html=1;whiteSpace=wrap;spacing=6;fontStyle=0",150,100*1.1,"Please use Tahome font family, not less than 9 pt\n\nABCDEFGHIJKLM\nabcdefghijklm\n0123456789","Font",null,null,this.getTagsForStencil("mxgraph.veeam2","font","veeam vmware virtual machine auxiliary").join(" ")),
|
||||
this.createVertexTemplateEntry("align=left;verticalAlign=middle;fontFamily=Tahoma;fillColor=#005f4b;strokeColor=none;fontColor=#ffffff;strokeWidth=2;html=1;whiteSpace=wrap;spacing=6;fontStyle=0",150,100*1.1,"Veeam Sapphire\n\nR: 0\nG: 95\nB: 75\n\n #005f4b","Veeam Sapphire",null,null,this.getTagsForStencil("mxgraph.veeam2","sapphite","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("align=left;verticalAlign=middle;fontFamily=Tahoma;fillColor=#df8c42;strokeColor=none;fontColor=#ffffff;strokeWidth=2;html=1;whiteSpace=wrap;spacing=6;fontStyle=0",
|
||||
150,100*1.1,"Orange\n\nR: 223\nG: 140\nB: 66\n\n #df8c42","Veeam Sapphire",null,null,this.getTagsForStencil("mxgraph.veeam2","orange","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("align=left;verticalAlign=middle;fontFamily=Tahoma;fillColor=#d9d9d9;strokeColor=none;fontColor=#ffffff;strokeWidth=2;html=1;whiteSpace=wrap;spacing=6;fontStyle=0",150,100*1.1,"Grey 2\n\nR: 217\nG: 217\nB: 217\n\n #d9d9d9","Grey 2",null,null,this.getTagsForStencil("mxgraph.veeam2","grey",
|
||||
"veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("triangle;whiteSpace=wrap;html=1;gradientColor=#D3D3D3;strokeColor=none;gradientDirection=east;",40,160,"","Inclusion",null,null,this.getTagsForStencil("mxgraph.veeam2","inclusion","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("rounded=0;whiteSpace=wrap;html=1;fillColor=none;strokeColor=#d3d3d3;strokeWidth=2;",150,100*1.1,"","Frame (grey 2)",null,null,this.getTagsForStencil("mxgraph.veeam2",
|
||||
"grey frame","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("rounded=0;whiteSpace=wrap;html=1;fillColor=none;strokeColor=#00B336;strokeWidth=2;",150,100*1.1,"","Frame (topaz)",null,null,this.getTagsForStencil("mxgraph.veeam2","topaz frame","veeam vmware virtual machine auxiliary").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#00B336;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=block;endFill=1;startArrow=block;startFill=1;",
|
||||
100,0,"","Connector (topaz)",null,"veeam vmware virtual machine auxiliaryconnector topaz"),this.createEdgeTemplateEntry("edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#404040;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=block;endFill=1;startArrow=block;startFill=1;",100,0,"","Connector (grey 3)",null,"veeam vmware virtual machine auxiliaryconnector grey"),this.createEdgeTemplateEntry("edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#D9D9D9;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=oval;endFill=1;startArrow=oval;startFill=1;",
|
||||
100,0,"","Connector (grey 2)",null,"veeam vmware virtual machine auxiliaryconnector grey"),this.createEdgeTemplateEntry("edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#00B336;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=oval;endFill=1;startArrow=oval;startFill=1;",100,0,"","Connector #2 (topaz)",null,"veeam vmware virtual machine auxiliaryconnector topaz"),this.createEdgeTemplateEntry("edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#404040;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=block;endFill=1;startArrow=none;",
|
||||
100,0,"","Arrow (grey 3)",null,"veeam vmware virtual machine auxiliaryarrow grey"),this.createEdgeTemplateEntry("edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#00B336;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=block;endFill=1;startArrow=none;",100,0,"","Arrow (topaz)",null,"veeam vmware virtual machine auxiliaryarrow topaz"),this.createEdgeTemplateEntry("edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#00B336;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=none;endFill=0;startArrow=none;dashed=1;",
|
||||
100,0,"","Dotted line (topaz)",null,"veeam vmware virtual machine auxiliarydotted line topaz"),this.createEdgeTemplateEntry("edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#404040;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=none;endFill=0;startArrow=none;dashed=1;",100,0,"","Dotted line (grey 3)",null,"veeam vmware virtual machine auxiliarydotted line grey"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;",
|
||||
20,20,"1","Number one",null,null,this.getTagsForStencil("mxgraph.veeam2","number one","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;",20,20,"2","Number two",null,null,this.getTagsForStencil("mxgraph.veeam2","number two","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;",
|
||||
20,20,"3","Number three",null,null,this.getTagsForStencil("mxgraph.veeam2","number three","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;",20,20,"4","Number four",null,null,this.getTagsForStencil("mxgraph.veeam2","number four","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;",
|
||||
20,20,"5","Number five",null,null,this.getTagsForStencil("mxgraph.veeam2","number five","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;",20,20,"6","Number six",null,null,this.getTagsForStencil("mxgraph.veeam2","number six","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;",
|
||||
20,20,"7","Number seven",null,null,this.getTagsForStencil("mxgraph.veeam2","number seven","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;",20,20,"8","Number eight",null,null,this.getTagsForStencil("mxgraph.veeam2","number eight","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;",
|
||||
20,20,"9","Number nine",null,null,this.getTagsForStencil("mxgraph.veeam2","number nine","veeam vmware virtual machine auxiliary").join(" "))];this.addPalette("veeam2Auxiliary","Veeam / Auxiliary",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addVeeam2DataCenterPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.datacenter;",
|
||||
83,53,"","Datacenter",null,null,this.getTagsForStencil("mxgraph.veeam2","datacenter","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.cloud;",40,25,"","Cloud",null,null,this.getTagsForStencil("mxgraph.veeam2","cloud","veeam vm vmware virtual machine data center").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.azure;",34,34,"","Azure",null,null,this.getTagsForStencil("mxgraph.veeam2","azure","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.aws;",
|
||||
34,34,"","AWS",null,null,this.getTagsForStencil("mxgraph.veeam2","aws","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.server;",23,39,"","Server",null,null,this.getTagsForStencil("mxgraph.veeam2","server","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.server_cluster;",
|
||||
100*.56,100*.28,"","Server Cluster",null,null,this.getTagsForStencil("mxgraph.veeam2","server cluster","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.1u_server;",40,11,"","1U Server",null,null,this.getTagsForStencil("mxgraph.veeam2","1u one unit server","veeam vm vmware virtual machine data center").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.server_stack;",40,40,"","Server Stack",null,null,this.getTagsForStencil("mxgraph.veeam2","server stack","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.monitor;",
|
||||
51,40,"","Monitor",null,null,this.getTagsForStencil("mxgraph.veeam2","monitor","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.laptop;",48,100*.28,"","Laptop",null,null,this.getTagsForStencil("mxgraph.veeam2","laptop","veeam vm vmware virtual machine data center").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.workstation;",38,100*.28,"","Workstation",null,null,this.getTagsForStencil("mxgraph.veeam2","workstation","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.virtual_host;",
|
||||
82,79,"","Virtual Host",null,null,this.getTagsForStencil("mxgraph.veeam2","virtual host","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.esxi_host;",82,79,"","ESXi Host",null,null,this.getTagsForStencil("mxgraph.veeam2","esxi host","veeam vm vmware virtual machine data center").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.hyper_v_host;",82,79,"","Hyper-V Host",null,null,this.getTagsForStencil("mxgraph.veeam2","hyper hyperv host","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.ahv_host;",
|
||||
82,79,"","AHV Host",null,null,this.getTagsForStencil("mxgraph.veeam2","ahv host","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.esxi_hyper_v_ahv_host;",82,79,"","ESXi/Hyper-V/AHV Host",null,null,this.getTagsForStencil("mxgraph.veeam2","esxi hyper hyperv ahv host",
|
||||
"veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.esxi_hyper_v_host;",82,79,"","ESXi/Hyper-V Host",null,null,this.getTagsForStencil("mxgraph.veeam2","esxi hyper hyperv host","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.cpu;",
|
||||
100*.28,100*.28,"","CPU",null,null,this.getTagsForStencil("mxgraph.veeam2","cpu central processing unit","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.cpu_socket;",100*.28,100*.28,"","CPU Socket",null,null,this.getTagsForStencil("mxgraph.veeam2","cpu socket central processing unit",
|
||||
"veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.ram;",40,19,"","RAM",null,null,this.getTagsForStencil("mxgraph.veeam2","ram random access memory","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.hdd;",
|
||||
100*.28,35,"","HDD",null,null,this.getTagsForStencil("mxgraph.veeam2","hdd hard disk drive","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.network_card;",38,27,"","Network Card",null,null,this.getTagsForStencil("mxgraph.veeam2","network card","veeam vm vmware virtual machine data center").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.hardware_controller;",38,100*.28,"","Hardware Controller",null,null,this.getTagsForStencil("mxgraph.veeam2","hardware controller","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.physical_switch;",
|
||||
53,15,"","Physical Switch",null,null,this.getTagsForStencil("mxgraph.veeam2","physical switch","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vmware_vswitch;",40,11,"","VMware vSwitch",null,null,this.getTagsForStencil("mxgraph.veeam2","vswitch","veeam vm vmware virtual machine data center").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.usb_drive;",40,17,"","USB Drive",null,null,this.getTagsForStencil("mxgraph.veeam2","usb drive","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.sd_card;",
|
||||
23,100*.28,"","SD Card",null,null,this.getTagsForStencil("mxgraph.veeam2","sd card","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.virtual_machine;",100*.28,100*.28,"","Virtual Machine",null,null,this.getTagsForStencil("mxgraph.veeam2","","veeam vm vmware virtual machine data center").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vm_snapshot;",38,38,"","VM Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam2","vnapshot","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vm_with_a_snapshot;",
|
||||
42,42,"","VM with a Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam2","with vnapshot","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vm_checked;",36,36,"","VM Checked",null,null,this.getTagsForStencil("mxgraph.veeam2","checked","veeam vm vmware virtual machine data center").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vm_failed;",36,36,"","VM Failed",null,null,this.getTagsForStencil("mxgraph.veeam2","failed","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vm_turn_on_off;",
|
||||
36,36,"","VM turn on/off",null,null,this.getTagsForStencil("mxgraph.veeam2","turn on off","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vm_paused_saved_state;",36,36,"","VM paused/saved state",null,null,this.getTagsForStencil("mxgraph.veeam2","paused saved state",
|
||||
"veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vm_locked;",36,36,"","VM locked",null,null,this.getTagsForStencil("mxgraph.veeam2","locked","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vm_running;",
|
||||
36,36,"","VM running",null,null,this.getTagsForStencil("mxgraph.veeam2","running","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.linux_vm;",36,36,"","Linux VM",null,null,this.getTagsForStencil("mxgraph.veeam2","linux","veeam vm vmware virtual machine data center").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.windows_vm;",36,36,"","Windows VM",null,null,this.getTagsForStencil("mxgraph.veeam2","windows","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vapp;",
|
||||
100*.28,100*.28,"","vApp",null,null,this.getTagsForStencil("mxgraph.veeam2","vapp","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vapp_running;",36,36,"","vApp Running",null,null,this.getTagsForStencil("mxgraph.veeam2","vapp running","veeam vm vmware virtual machine data center").join(" "))];
|
||||
this.addPalette("veeam2Data Center","Veeam / Data Center",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addVeeam2FeaturesPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#13B24B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_logo;",136,24,"","Veeam logo",null,null,this.getTagsForStencil("mxgraph.veeam2",
|
||||
"logo","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.backup_from_storage_snapshots;",34,34,"","Backup from Storage Snapshots",null,null,this.getTagsForStencil("mxgraph.veeam2","backup from storage snapshots","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.cdp;",
|
||||
34,34,"","CDP",null,null,this.getTagsForStencil("mxgraph.veeam2","cdp","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.datalabs;",34,34,"","Datalabs",null,null,this.getTagsForStencil("mxgraph.veeam2","datalabs","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.failover;",
|
||||
34,34,"","Failover",null,null,this.getTagsForStencil("mxgraph.veeam2","failover","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.instant_vm_recovery;",34,34,"","Instant VM recovery",null,null,this.getTagsForStencil("mxgraph.veeam2","instant recovery","veeam vm vmware virtual machine features").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.nas_backup;",34,34,"","NAS Backup",null,null,this.getTagsForStencil("mxgraph.veeam2","nas backup","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.object_storage_support;",
|
||||
34,34,"","Object Storage Support",null,null,this.getTagsForStencil("mxgraph.veeam2","object storage support","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.on_demand_sandbox;",34,34,"","On-demand Sandbox",null,null,this.getTagsForStencil("mxgraph.veeam2","on demand sandbox",
|
||||
"veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.restful_api;",34,34,"","RESTful API",null,null,this.getTagsForStencil("mxgraph.veeam2","restful api application programming interface","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.scale_out_backup_repository2;",
|
||||
34,34,"","Scale-out Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam2","scale out backup repository","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.scheduled_backups;",34,34,"","Scheduled Backups",null,null,this.getTagsForStencil("mxgraph.veeam2","scheduled backups",
|
||||
"veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.surebackup;",34,34,"","SureBackup",null,null,this.getTagsForStencil("mxgraph.veeam2","surebackup","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.surereplica;",
|
||||
34,34,"","SureReplica",null,null,this.getTagsForStencil("mxgraph.veeam2","surereplica","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vbr_console;",34,34,"","VBR console",null,null,this.getTagsForStencil("mxgraph.veeam2","vbr console","veeam vm vmware virtual machine features").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_cloud_connect;",34,34,"","Veeam Cloud Connect",null,null,this.getTagsForStencil("mxgraph.veeam2","cloud connect","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_cloud_mobility;",
|
||||
34,34,"","Veeam Cloud Mobility",null,null,this.getTagsForStencil("mxgraph.veeam2","cloud mobility","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeamzip;",34,34,"","VeeamZIP",null,null,this.getTagsForStencil("mxgraph.veeam2","veeamzip zip","veeam vm vmware virtual machine features").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_explorers;",34,34,"","Veeam Explorers",null,null,this.getTagsForStencil("mxgraph.veeam2","veeam explorers","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.universal_storage_api;",
|
||||
34,34,"","Universal Storage API",null,null,this.getTagsForStencil("mxgraph.veeam2","universal storage api application programming interface","veeam vm vmware virtual machine features").join(" "))];this.addPalette("veeam2Features","Veeam / Features",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addVeeam2GeneralPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.enterprise_business;",
|
||||
38,33,"","Enterprise (business)",null,null,this.getTagsForStencil("mxgraph.veeam2","enterprise business","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.smb_business;",38,27,"","SMB (business)",null,null,this.getTagsForStencil("mxgraph.veeam2","smb business","veeam vm vmware virtual machine general").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.automation;",100*.28,100*.28,"","Automation",null,null,this.getTagsForStencil("mxgraph.veeam2","automation","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.service_application;",
|
||||
100*.28,100*.28,"","Service Application",null,null,this.getTagsForStencil("mxgraph.veeam2","service application","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.cloud;",40,25,"","Cloud",null,null,this.getTagsForStencil("mxgraph.veeam2","cloud","veeam vm vmware virtual machine general").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.database;",23,100*.28,"","Database",null,null,this.getTagsForStencil("mxgraph.veeam2","database","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.report;",
|
||||
100*.28,39,"","Report",null,null,this.getTagsForStencil("mxgraph.veeam2","report","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.task_list;",100*.28,39,"","Task List",null,null,this.getTagsForStencil("mxgraph.veeam2","task list","veeam vm vmware virtual machine general").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.dr_plan;",100*.28,42,"","DR Plan",null,null,this.getTagsForStencil("mxgraph.veeam2","dr plan","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.folder;",
|
||||
100*.28,24,"","Folder",null,null,this.getTagsForStencil("mxgraph.veeam2","folder","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.file;",100*.28,39,"","File",null,null,this.getTagsForStencil("mxgraph.veeam2","file","veeam vm vmware virtual machine general").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.audio_file;",100*.28,39,"","Audio File",null,null,this.getTagsForStencil("mxgraph.veeam2","audio file","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.data_file;",
|
||||
100*.28,39,"","Data File",null,null,this.getTagsForStencil("mxgraph.veeam2","data file","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.iso_file;",100*.28,39,"","ISO File",null,null,this.getTagsForStencil("mxgraph.veeam2","iso file","veeam vm vmware virtual machine general").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.metadata_file;",100*.28,39,"","Metadata File",null,null,this.getTagsForStencil("mxgraph.veeam2","metadata file","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.license_file;",
|
||||
100*.28,39,"","License File",null,null,this.getTagsForStencil("mxgraph.veeam2","license file","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.video_file;",100*.28,39,"","Video File",null,null,this.getTagsForStencil("mxgraph.veeam2","video file","veeam vm vmware virtual machine general").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.alarm;",100*.28,100*.28,"","Alarm",null,null,this.getTagsForStencil("mxgraph.veeam2","alarm","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.backup_browser;",
|
||||
100*.28,100*.28,"","Backup Browser",null,null,this.getTagsForStencil("mxgraph.veeam2","backup browser","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.calendar;",100*.28,100*.28,"","Calendar",null,null,this.getTagsForStencil("mxgraph.veeam2","calendar","veeam vm vmware virtual machine general").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.command_line;",100*.28,100*.28,"","Command Line",null,null,this.getTagsForStencil("mxgraph.veeam2","command line","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.cd;",
|
||||
100*.28,100*.28,"","CD",null,null,this.getTagsForStencil("mxgraph.veeam2","cd compact disc","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.controller;",100*.28,100*.28,"","Controller",null,null,this.getTagsForStencil("mxgraph.veeam2","controller","veeam vm vmware virtual machine general").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.deduplication;",100*.28,100*.28,"","Deduplication",null,null,this.getTagsForStencil("mxgraph.veeam2","deduplication","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.download;",
|
||||
100*.28,100*.28,"","Download",null,null,this.getTagsForStencil("mxgraph.veeam2","download","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.dns;",100*.28,100*.28,"","DNS",null,null,this.getTagsForStencil("mxgraph.veeam2","dns domain name store","veeam vm vmware virtual machine general").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.globe;",100*.28,100*.28,"","Globe",null,null,this.getTagsForStencil("mxgraph.veeam2","globe","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.key;",
|
||||
100*.28,100*.28,"","Key",null,null,this.getTagsForStencil("mxgraph.veeam2","key","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.encryption_key;",36,36,"","Encryption Key",null,null,this.getTagsForStencil("mxgraph.veeam2","encryption key","veeam vm vmware virtual machine general").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.letter;",100*.28,20,"","Letter",null,null,this.getTagsForStencil("mxgraph.veeam2","letter","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.exchange_objects;",
|
||||
100*.28,100*.28,"","Exchange objects",null,null,this.getTagsForStencil("mxgraph.veeam2","exchange objects","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.magnifying_glass;",100*.28,100*.28,"","Magnifying Glass",null,null,this.getTagsForStencil("mxgraph.veeam2","magnifying glass",
|
||||
"veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.restore;",100*.28,100*.28,"","Restore",null,null,this.getTagsForStencil("mxgraph.veeam2","restore","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.role;",
|
||||
100*.28,39,"","Role",null,null,this.getTagsForStencil("mxgraph.veeam2","role","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.interface_console;",100*.28,100*.28,"","Interface / Console",null,null,this.getTagsForStencil("mxgraph.veeam2","interface console","veeam vm vmware virtual machine general").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.monitoring_console;",100*.28,100*.28,"","Monitoring Console",null,null,this.getTagsForStencil("mxgraph.veeam2","monitoring console","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.web_console;",
|
||||
100*.28,100*.28,"","Web Console",null,null,this.getTagsForStencil("mxgraph.veeam2","web console","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.file_browser;",100*.28,100*.28,"","File Browser",null,null,this.getTagsForStencil("mxgraph.veeam2","file browser","veeam vm vmware virtual machine general").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.table;",100*.28,100*.28,"","Table",null,null,this.getTagsForStencil("mxgraph.veeam2","table","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.time_clocks;",
|
||||
100*.28,100*.28,"","Time / Clocks",null,null,this.getTagsForStencil("mxgraph.veeam2","time clocks","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.tag;",100*.28,100*.28,"","Tag",null,null,this.getTagsForStencil("mxgraph.veeam2","tag","veeam vm vmware virtual machine general").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.transport;",38,23,"","Transport",null,null,this.getTagsForStencil("mxgraph.veeam2","transport","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vpn;",
|
||||
100*.28,100*.28,"","VPN",null,null,this.getTagsForStencil("mxgraph.veeam2","vpn virtual private network","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.user;",100*.28,100*.28,"","User",null,null,this.getTagsForStencil("mxgraph.veeam2","user","veeam vm vmware virtual machine general").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.user_group;",100*.28,100*.28,"","User Group",null,null,this.getTagsForStencil("mxgraph.veeam2","user group","veeam vm vmware virtual machine general").join(" "))];this.addPalette("veeam2General","Veeam / General",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};
|
||||
Sidebar.prototype.addVeeam2ProductsComponentsPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#13B24B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_logo;",136,24,"","Veeam logo",null,null,this.getTagsForStencil("mxgraph.veeam2","logo","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_availability_suite;",
|
||||
34,34,"","Veeam Availability Suite",null,null,this.getTagsForStencil("mxgraph.veeam2","availability suite","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vas_server;",40,52,"","VAS server",null,null,this.getTagsForStencil("mxgraph.veeam2","vas server",
|
||||
"veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_backup_replication;",34,34,"","Veeam Backup & Replication",null,null,this.getTagsForStencil("mxgraph.veeam2","backup and replication","veeam vm vmware virtual machine products and components").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vbr_server;",40,52,"","VBR server",null,null,this.getTagsForStencil("mxgraph.veeam2","vbr server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.proxy_server;",
|
||||
40,52,"","Proxy Server",null,null,this.getTagsForStencil("mxgraph.veeam2","proxy server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.repository_server;",40,52,"","Repository Server",null,null,this.getTagsForStencil("mxgraph.veeam2","repository server",
|
||||
"veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.mount_server;",40,52,"","Mount Server",null,null,this.getTagsForStencil("mxgraph.veeam2","mount server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.tape_server;",
|
||||
40,52,"","Tape Server",null,null,this.getTagsForStencil("mxgraph.veeam2","tape server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_backup_enterprise_manager;",34,34,"","Veeam Backup Enterprise Manager",null,null,this.getTagsForStencil("mxgraph.veeam2",
|
||||
"backup enterprise manager","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vbem_server;",40,52,"","VBEM Server",null,null,this.getTagsForStencil("mxgraph.veeam2","vbem server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.search_server;",
|
||||
40,52,"","Search Server",null,null,this.getTagsForStencil("mxgraph.veeam2","search server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_cloud_connect;",34,34,"","Veeam Cloud Connect",null,null,this.getTagsForStencil("mxgraph.veeam2","cloud connect",
|
||||
"veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_one;",34,34,"","Veeam ONE",null,null,this.getTagsForStencil("mxgraph.veeam2","one","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.one_server;",
|
||||
40,52,"","ONE Server",null,null,this.getTagsForStencil("mxgraph.veeam2","one server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_one_reporter;",34,34,"","Veeam ONE Reporter",null,null,this.getTagsForStencil("mxgraph.veeam2","one reporter","veeam vm vmware virtual machine products and components").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_agents;",34,34,"","Veeam Agents",null,null,this.getTagsForStencil("mxgraph.veeam2","agents","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.server_with_veeam_agent;",
|
||||
40,52,"","Server with Veeam Agent",null,null,this.getTagsForStencil("mxgraph.veeam2","server with agent","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_agent_for_windows;",34,34,"","Veeam Agent for Windows",null,null,this.getTagsForStencil("mxgraph.veeam2",
|
||||
"agent for windows","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_agent_for_linux;",34,34,"","Veeam Agent for Linux",null,null,this.getTagsForStencil("mxgraph.veeam2","agent for linux","veeam vm vmware virtual machine products and components").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_agent_for_oracle_solaris;",34,34,"","Veeam Agent for Oracle Solaris",null,null,this.getTagsForStencil("mxgraph.veeam2","agent for oracle solaris","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_agent_for_ibm_aix;",
|
||||
34,34,"","Veeam Agent for IBM AIX",null,null,this.getTagsForStencil("mxgraph.veeam2","agent for ibm aix","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_explorer_for_exchange;",34,34,"","Veeam Explorer for Exchange",null,null,this.getTagsForStencil("mxgraph.veeam2",
|
||||
"explorer for exchange","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_explorer_for_active_directory;",34,34,"","Veeam Explorer for Active Directory",null,null,this.getTagsForStencil("mxgraph.veeam2","explorer for active directory","veeam vm vmware virtual machine products and components").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_explorer_for_oracle;",34,34,"","Veeam Explorer for Oracle",null,null,this.getTagsForStencil("mxgraph.veeam2","explorer for oracle","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_explorer_for_onedrive;",
|
||||
34,34,"","Veeam Explorer for OneDrive",null,null,this.getTagsForStencil("mxgraph.veeam2","explorer for onedrive","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_explorer_for_storage_snapshots;",34,34,"","Veeam Explorer for Storage Snapshots",null,
|
||||
null,this.getTagsForStencil("mxgraph.veeam2","explorer for storage snapshots","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_explorer_for_sql;",34,34,"","Veeam Explorer for SQL",null,null,this.getTagsForStencil("mxgraph.veeam2","explorer for sql",
|
||||
"veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_explorer_for_sharepoint;",34,34,"","Veeam Explorer for SharePoint",null,null,this.getTagsForStencil("mxgraph.veeam2","explorer for sharepoint","veeam vm vmware virtual machine products and components").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_plugin_for_oracle_rman;",34,34,"","Veeam Plugin for Oracle RMAN",null,null,this.getTagsForStencil("mxgraph.veeam2","plugin for oracle rman","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_plugin_for_sap_hana;",
|
||||
34,34,"","Veeam Plugin for SAP HANA",null,null,this.getTagsForStencil("mxgraph.veeam2","plugin for sap hana","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_plugin_for_sap_on_oracle;",34,34,"","Veeam Plugin for SAP on Oracle",null,null,this.getTagsForStencil("mxgraph.veeam2",
|
||||
"plugin for sap on oracle","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_backup_for_office_365;",34,34,"","Veeam Backup for Office 365",null,null,this.getTagsForStencil("mxgraph.veeam2","plugin for office 365","veeam vm vmware virtual machine products and components").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vbo_server;",40,52,"","VBO Server",null,null,this.getTagsForStencil("mxgraph.veeam2","vbo server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_mp;",
|
||||
34,34,"","Veeam MP",null,null,this.getTagsForStencil("mxgraph.veeam2","mp","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_pn;",34,34,"","Veeam PN",null,null,this.getTagsForStencil("mxgraph.veeam2","pn","veeam vm vmware virtual machine products and components").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vpn_server;",40,52,"","VPN Server",null,null,this.getTagsForStencil("mxgraph.veeam2","vpn server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_availability_orchestrator;",
|
||||
34,34,"","Veeam Availability Orchestrator",null,null,this.getTagsForStencil("mxgraph.veeam2","availability orchestrator","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vao_server;",40,52,"","VAO Server",null,null,this.getTagsForStencil("mxgraph.veeam2",
|
||||
"vao server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_service_provider_console;",34,34,"","Veeam Service Provider Console",null,null,this.getTagsForStencil("mxgraph.veeam2","service provider console","veeam vm vmware virtual machine products and components").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vspc_server;",40,52,"","VSPC Server",null,null,this.getTagsForStencil("mxgraph.veeam2","vspc server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.agent;",
|
||||
21,21,"","Agent",null,null,this.getTagsForStencil("mxgraph.veeam2","agent","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.transport_service;",21,21,"","Transport Service",null,null,this.getTagsForStencil("mxgraph.veeam2","transport service","veeam vm vmware virtual machine products and components").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.data_mover;",21,21,"","Data Mover",null,null,this.getTagsForStencil("mxgraph.veeam2","data mover","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_proxy;",
|
||||
21,21,"","Veeam Proxy",null,null,this.getTagsForStencil("mxgraph.veeam2","veeam proxy","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.wan_accelerator;",21,21,"","WAN Accelerator",null,null,this.getTagsForStencil("mxgraph.veeam2","wan accelerator wide area network",
|
||||
"veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.flr_helper_appliance;",21,21,"","FLR Helper Appliance",null,null,this.getTagsForStencil("mxgraph.veeam2","flr helper appliance","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.network_proxy;",
|
||||
100*.28,100*.28,"","Network Proxy",null,null,this.getTagsForStencil("mxgraph.veeam2","network proxy","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_repository;",37,38,"","Veeam Repository",null,null,this.getTagsForStencil("mxgraph.veeam2","repository",
|
||||
"veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.windows_repository;",37,38,"","Windows Repository",null,null,this.getTagsForStencil("mxgraph.veeam2","windows repository","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.linux_repository;",
|
||||
37,38,"","Linux Repository",null,null,this.getTagsForStencil("mxgraph.veeam2","linux repository","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.cloud_repository;",37,38,"","Cloud Repository",null,null,this.getTagsForStencil("mxgraph.veeam2","cloud repository",
|
||||
"veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.scale_out_backup_repository;",37,38,"","Scale-Out Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam2","scale out backup repository","veeam vm vmware virtual machine products and components").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vbo_repository;",37,38,"","VBO Repository",null,null,this.getTagsForStencil("mxgraph.veeam2","vbo repository","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vbr_repository;",
|
||||
37,38,"","VBR Repository",null,null,this.getTagsForStencil("mxgraph.veeam2","vbr repository","veeam vm vmware virtual machine products and components").join(" "))];this.addPalette("veeam2Products and Components","Veeam / Products and Components",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addVeeam2SoftwarePalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.antivirus;",
|
||||
34,34,"","Antivirus",null,null,this.getTagsForStencil("mxgraph.veeam2","antivirus","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.firewall;",34,34,"","Firewall",null,null,this.getTagsForStencil("mxgraph.veeam2","firewall","veeam vm vmware virtual machine software").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.application;",34,34,"","Application",null,null,this.getTagsForStencil("mxgraph.veeam2","application","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.linux;",
|
||||
34,34,"","Linux",null,null,this.getTagsForStencil("mxgraph.veeam2","linux","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.linux_server;",40,52,"","Linux Server",null,null,this.getTagsForStencil("mxgraph.veeam2","linux server","veeam vm vmware virtual machine software").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_active_directory;",34,34,"","Microsoft Active Directory",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms active directory","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.domain_controller;",
|
||||
40,52,"","Domain Controller",null,null,this.getTagsForStencil("mxgraph.veeam2","domain controller","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_exchange;",34,34,"","Microsoft Exchange",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms exchange",
|
||||
"veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.exchange_server;",40,52,"","Exchange Server",null,null,this.getTagsForStencil("mxgraph.veeam2","exchange server","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_scom;",
|
||||
34,34,"","Microsoft SCOM",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms scom","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_scvmm;",34,34,"","Microsoft SCVMM",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms scvmm","veeam vm vmware virtual machine software").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_sharepoint;",34,34,"","Microsoft SharePoint",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms sharepoint","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.sharepoint_server;",
|
||||
40,52,"","Sharepoint Server",null,null,this.getTagsForStencil("mxgraph.veeam2","sharepoint server","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_sql;",34,34,"","Microsoft SQL",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms sql","veeam vm vmware virtual machine software").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.sql_server;",40,52,"","SQL Server",null,null,this.getTagsForStencil("mxgraph.veeam2","sql server","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_teams;",
|
||||
34,34,"","Microsoft Teams",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms teams","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_windows;",34,34,"","Microsoft Windows",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms windows",
|
||||
"veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.windows_server;",40,52,"","Windows Server",null,null,this.getTagsForStencil("mxgraph.veeam2","windows server","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_onedrive;",
|
||||
34,34,"","Microsoft OneDrive",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms onedrive","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_outlook;",34,34,"","Microsoft Outlook",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms outlook",
|
||||
"veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_office;",34,34,"","Microsoft Office",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms office","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.power_shell;",
|
||||
34,34,"","PowerShell",null,null,this.getTagsForStencil("mxgraph.veeam2","powershell","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.oracle_rman;",34,34,"","Oracle RMAN",null,null,this.getTagsForStencil("mxgraph.veeam2","oracle rman","veeam vm vmware virtual machine software").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.sap_brtools;",34,34,"","SAP BRTools",null,null,this.getTagsForStencil("mxgraph.veeam2","sap brtools","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.sap_hana;",
|
||||
34,34,"","SAP HANA",null,null,this.getTagsForStencil("mxgraph.veeam2","sap hana","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.nutanix;",34,34,"","Nutanix",null,null,this.getTagsForStencil("mxgraph.veeam2","nutanix","veeam vm vmware virtual machine software").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.server_nutanix;",40,52,"","Server Nutanix",null,null,this.getTagsForStencil("mxgraph.veeam2","server nutanix","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vmware_vcloud_director;",
|
||||
34,34,"","VMware vCloud Director",null,null,this.getTagsForStencil("mxgraph.veeam2","vmware vcloud director","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vcloud_director_server;",40,52,"","vCloud Director Server",null,null,this.getTagsForStencil("mxgraph.veeam2","vcloud director server",
|
||||
"veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vmware_vsphere;",34,34,"","VMware vSphere",null,null,this.getTagsForStencil("mxgraph.veeam2","vmware vsphere","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vcenter_server;",
|
||||
40,52,"","vCenter Server",null,null,this.getTagsForStencil("mxgraph.veeam2","vcenter server","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.database2;",34,34,"","Database",null,null,this.getTagsForStencil("mxgraph.veeam2","database db","veeam vm vmware virtual machine software").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.database_server;",40,52,"","Database Server",null,null,this.getTagsForStencil("mxgraph.veeam2","database server db","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_sql_db;",
|
||||
34,34,"","Microsoft SQL DB",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft sql db database","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.oracle_db;",34,34,"","Oracle DB",null,null,this.getTagsForStencil("mxgraph.veeam2","oracle db database","veeam vm vmware virtual machine software").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.sap_hana_db;",34,34,"","SAP HANA DB",null,null,this.getTagsForStencil("mxgraph.veeam2","sap hana db database","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.open_vpn;",
|
||||
34,34,"","OpenVPN",null,null,this.getTagsForStencil("mxgraph.veeam2","openvpn open vpn virtual private network","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.wireguard;",34,34,"","WireGuard",null,null,this.getTagsForStencil("mxgraph.veeam2","wireguard","veeam vm vmware virtual machine software").join(" "))];
|
||||
this.addPalette("veeam2Software","Veeam / Software",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addVeeam2StatesPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.turn_on_off;",21,21,"","Turn on / off",null,null,this.getTagsForStencil("mxgraph.veeam2",
|
||||
"turn on off","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.running_playing;",21,21,"","Running / Playing",null,null,this.getTagsForStencil("mxgraph.veeam2","running playing","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.critical;",
|
||||
21,21,"","Critical",null,null,this.getTagsForStencil("mxgraph.veeam2","critical","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.failed;",21,21,"","Failed",null,null,this.getTagsForStencil("mxgraph.veeam2","failed","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.unavailable;",
|
||||
21,21,"","Unavailable",null,null,this.getTagsForStencil("mxgraph.veeam2","unavailable","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.paused;",21,21,"","Paused / saved",null,null,this.getTagsForStencil("mxgraph.veeam2","paused","veeam vm vmware virtual machine states").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.zipped;",21,21,"","Zipped",null,null,this.getTagsForStencil("mxgraph.veeam2","zipped","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.recording;",
|
||||
21,21,"","Recording",null,null,this.getTagsForStencil("mxgraph.veeam2","recording","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.locked;",21,21,"","Locked",null,null,this.getTagsForStencil("mxgraph.veeam2","locked","veeam vm vmware virtual machine states").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.unlocked;",21,21,"","Unlocked",null,null,this.getTagsForStencil("mxgraph.veeam2","unlocked","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.encrypted;",
|
||||
21,21,"","encrypted",null,null,this.getTagsForStencil("mxgraph.veeam2","enrypted","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.delayed;",21,21,"","Delayed",null,null,this.getTagsForStencil("mxgraph.veeam2","delayed","veeam vm vmware virtual machine states").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.restored;",21,21,"","Restored",null,null,this.getTagsForStencil("mxgraph.veeam2","restored","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.exported;",
|
||||
21,21,"","Exported",null,null,this.getTagsForStencil("mxgraph.veeam2","exported","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.ejected;",21,21,"","Ejected",null,null,this.getTagsForStencil("mxgraph.veeam2","ejected","veeam vm vmware virtual machine states").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.instant;",21,21,"","Instant",null,null,this.getTagsForStencil("mxgraph.veeam2","instant","veeam vm vmware virtual machine states").join(" "))];this.addPalette("veeam2States","Veeam2 / States",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};
|
||||
Sidebar.prototype.addVeeam2StoragePalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.object_storage;",100*.28,100*.28,"","Object Storage",null,null,this.getTagsForStencil("mxgraph.veeam2","object storage","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.azure_blob;",
|
||||
34,34,"","Azure Blob",null,null,this.getTagsForStencil("mxgraph.veeam2","azure blob","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.aws_s3;",34,34,"","AWS S3",null,null,this.getTagsForStencil("mxgraph.veeam2","aws s3","veeam vm vmware virtual machine storage").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.ibm_object_storage;",34,34,"","IBM Object Storage",null,null,this.getTagsForStencil("mxgraph.veeam2","ibm object storage","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.s3_compatible;",
|
||||
100*.28,100*.28,"","S3-compatible",null,null,this.getTagsForStencil("mxgraph.veeam2","s3 compatible","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vmware_vsan;",34,34,"","VMware vSAN",null,null,this.getTagsForStencil("mxgraph.veeam2","vmware vsan","veeam vm vmware virtual machine storage").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.nas;",100*.28,100*.28,"","NAS",null,null,this.getTagsForStencil("mxgraph.veeam2","nas","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.shared_folder;",
|
||||
100*.28,24,"","Shared Folder",null,null,this.getTagsForStencil("mxgraph.veeam2","shared folder","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.folder;",100*.28,24,"","Folder",null,null,this.getTagsForStencil("mxgraph.veeam2","folder","veeam vm vmware virtual machine storage").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.datastore_empty;",100*.28,35,"","Datastore empty",null,null,this.getTagsForStencil("mxgraph.veeam2","datastore empty","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.datastore_33_full;",
|
||||
100*.28,35,"","Datastore 33% full",null,null,this.getTagsForStencil("mxgraph.veeam2","datastore 33 percentage third full 33%","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.datastore_66_full;",100*.28,35,"","Datastore 66% full",null,null,this.getTagsForStencil("mxgraph.veeam2",
|
||||
"datastore 66 percentage two thirds full 66%","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.datastore;",100*.28,35,"","Datastore",null,null,this.getTagsForStencil("mxgraph.veeam2","datastore","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.sd_card;",
|
||||
23,100*.28,"","SD Card",null,null,this.getTagsForStencil("mxgraph.veeam2","sd card","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.storage;",40,11,"","Storage",null,null,this.getTagsForStencil("mxgraph.veeam2","storage","veeam vm vmware virtual machine storage").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.storage_snapshot;",40,11,"","Storage Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam2","storage snapshot","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.storage_with_snapshot;",
|
||||
43,15,"","Storage with Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam2","storage with snapshot","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.storage_stack;",40,40,"","Storage Stack",null,null,this.getTagsForStencil("mxgraph.veeam2","storage stack","veeam vm vmware virtual machine storage").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.deduplicating_storage;",40,11,"","Deduplicating Storage",null,null,this.getTagsForStencil("mxgraph.veeam2","deduplicating storage","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.data_volume;",
|
||||
40,11,"","Data Volume",null,null,this.getTagsForStencil("mxgraph.veeam2","data volume","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.data_volume_snapshot;",40,11,"","Data Volume Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam2","data volume snapshot","veeam vm vmware virtual machine storage").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.data_volume_with_snapshot;",43,15,"","Data Volume with Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam2","data volume with snapshot","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.file;",
|
||||
100*.28,39,"","File",null,null,this.getTagsForStencil("mxgraph.veeam2","file","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.backup_file;",100*.28,39,"","Backup file",null,null,this.getTagsForStencil("mxgraph.veeam2","backup file","veeam vm vmware virtual machine storage").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_full_backup;",100*.28,39,"","Veeam Full Backup",null,null,this.getTagsForStencil("mxgraph.veeam2","full backup","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_incremental_backup;",
|
||||
100*.28,39,"","Veeam Incremental Backup",null,null,this.getTagsForStencil("mxgraph.veeam2","incremental backup","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_reversed_incremental_backup;",100*.28,39,"","Veeam Reversed Incremental Backup",null,null,this.getTagsForStencil("mxgraph.veeam2",
|
||||
"reversed incremental backup","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_backup_chain_metadata;",100*.28,39,"","Veeam Backup Chain Metadata",null,null,this.getTagsForStencil("mxgraph.veeam2","backup chain metadata","veeam vm vmware virtual machine storage").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vbr_configuration_backup;",100*.28,39,"","VBR Configuration Backup",null,null,this.getTagsForStencil("mxgraph.veeam2","vbr configuration backup","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vbr_transaction_log_backup;",
|
||||
100*.28,39,"","VBR Transaction Log Backup",null,null,this.getTagsForStencil("mxgraph.veeam2","vbr transaction log backup","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.tape;",38,22,"","Tape",null,null,this.getTagsForStencil("mxgraph.veeam2","tape","veeam vm vmware virtual machine storage").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.tape_checkout;",46,30,"","Tape Checkout",null,null,this.getTagsForStencil("mxgraph.veeam2","tape checkout","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.tape_encrypted;",
|
||||
46,30,"","Tape Encrypted",null,null,this.getTagsForStencil("mxgraph.veeam2","tape encrypted","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.tape_locked;",46,30,"","Tape Locked",null,null,this.getTagsForStencil("mxgraph.veeam2","tape locked","veeam vm vmware virtual machine storage").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.tape_recording;",46,30,"","Tape Recording",null,null,this.getTagsForStencil("mxgraph.veeam2","tape recording","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.tape_media_pool;",
|
||||
100*.28,24,"","Tape Media Pool",null,null,this.getTagsForStencil("mxgraph.veeam2","tape media pool","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.tape_library;",100*.28,35,"","Tape Library",null,null,this.getTagsForStencil("mxgraph.veeam2","tape library","veeam vm vmware virtual machine storage").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.tape_writing_device;",38,100*.14,"","Tape Writing Device",null,null,this.getTagsForStencil("mxgraph.veeam2","tape writing device","veeam vm vmware virtual machine storage").join(" "))];this.addPalette("veeam2Storage","Veeam / Storage",!1,mxUtils.bind(this,function(b){for(var e=
|
||||
0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addVeeam23DPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.1ftvm;",68,62,"","1FTVM",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.1ftvm_error;",
|
||||
68,62,"","1FTVM Error",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm error","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.1ftvm_running;",68,62,"","1FTVM Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm running","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.1ftvm_unavailable;",
|
||||
68,62,"","1FTVM Unavailable",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm unavailable","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.1ftvm_warning;",68,62,"","1FTVM Warning",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm warning","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.2ftvm;",
|
||||
68,62,"","2FTVM",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.2ftvm_error;",68,62,"","2FTVM Error",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm error","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.2ftvm_running;",
|
||||
68,62,"","2FTVM Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm running","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.2ftvm_unavailable;",68,62,"","2FTVM Unavailable",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm unavailable","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.2ftvm_warning;",
|
||||
68,62,"","2FTVM Warning",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm warning","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.backup_repository;",62,62,"","Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam.3d","backup repository","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.backup_repository_2;",
|
||||
62,62,"","Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam.3d","backup repository","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.cd;",68,26,"","CD",null,null,this.getTagsForStencil("mxgraph.veeam.3d","cd","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.database;",
|
||||
58,62,"","Database",null,null,this.getTagsForStencil("mxgraph.veeam.3d","database","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.datastore;",44,60,"","Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","datastore","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.datastore_snapshot;",
|
||||
54,34,"","Datastore Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam.3d","datastore snapshot","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.datastore_volume;",54,34,"","Datastore Volume",null,null,this.getTagsForStencil("mxgraph.veeam.3d","datastore volume","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.esx_esxi;",
|
||||
38,52,"","ESX ESXi",null,null,this.getTagsForStencil("mxgraph.veeam.3d","esx esxi","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.failover_protective_snapshot;",46,46,"","Failover Protective Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam.3d","failover protective snapshot","veeam 3d vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.failover_protective_snapshot_locked;",56,46,"","Failover Protective Snapshot Locked",null,null,this.getTagsForStencil("mxgraph.veeam.3d","failover protective snapshot locked","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.failover_protective_snapshot_running;",
|
||||
58,46,"","Failover Protective Snapshot Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","failover protective snapshot running","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.free_datastore;",44,60,"","Free Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","free datastore","veeam 3d vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.full_datastore;",44,60,"","Full Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","full datastore","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.hard_drive;fillColor=#637D8A;gradientColor=#324752;strokeColor=none;",
|
||||
62,28,"","Hard Drive",null,null,this.getTagsForStencil("mxgraph.veeam.3d","hard drive","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.hyper_v_host;",110,98,"","Hyper-V Host",null,null,this.getTagsForStencil("mxgraph.veeam.3d","hyper-v host","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.lost_space;",
|
||||
44,60,"","Lost Space",null,null,this.getTagsForStencil("mxgraph.veeam.3d","lost space","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.lun;",72,40,"","LUN",null,null,this.getTagsForStencil("mxgraph.veeam.3d","lun","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.medium_datastore;",
|
||||
44,60,"","Medium Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","medium datastore","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.network_card;",38,40,"","Network Card",null,null,this.getTagsForStencil("mxgraph.veeam.3d","network card","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.physical_storage;",
|
||||
108,60,"","Physical Storage",null,null,this.getTagsForStencil("mxgraph.veeam.3d","physical_storage","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.proxy;",46,46,"","Proxy",null,null,this.getTagsForStencil("mxgraph.veeam.3d","proxy","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.proxy_appliance;",
|
||||
46,46,"","Proxy Appliance",null,null,this.getTagsForStencil("mxgraph.veeam.3d","proxy appliance","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.remote_site;",46,60,"","Remote Site",null,null,this.getTagsForStencil("mxgraph.veeam.3d","remote site","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.remote_storage;",
|
||||
52,62,"","Remote Storage",null,null,this.getTagsForStencil("mxgraph.veeam.3d","remote storage","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.resource_pool;",56,32,"","Resource Pool",null,null,this.getTagsForStencil("mxgraph.veeam.3d","resource pool","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.service_vnic;",
|
||||
72,64,"","Service vNIC",null,null,this.getTagsForStencil("mxgraph.veeam.3d","service vnic","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.switch;",110,58,"","Switch",null,null,this.getTagsForStencil("mxgraph.veeam.3d","switch","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.tape;",
|
||||
58,58,"","Tape",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.tape_checked;",70,58,"","Tape Checked",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape checked","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.tape_ejecting;",
|
||||
70,58,"","Tape Ejecting",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape ejecting","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.tape_library;",62,74,"","Tape Library",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape library","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.tape_licensed;",
|
||||
70,58,"","Tape Licensed",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape licensed","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.tape_recording;",70,58,"","Tape Recording",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape recording","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.tape_server;",
|
||||
46,46,"","Tape Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape server","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vapp;",92,62,"","vApp",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vapp","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vapp_started;",
|
||||
92,62,"","vApp Started",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vapp started","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_availability_suite;",46,46,"","Veeam Availability Suite",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam availability suite","veeam 3d vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_backup_and_replication_server;",46,46,"","Veeam Backup and Replication Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam backup and replication server","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_backup_enterprise_manager_server;",
|
||||
46,46,"","Veeam Backup Enterprise Manager Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam backup enterprise manager server","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_backup_search_server;",46,46,"","Veeam Backup Search Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam backup search server",
|
||||
"veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_one_business_view;",46,46,"","Veeam ONE Business View",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one business view","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_one_monitor;",
|
||||
46,46,"","Veeam ONE Monitor",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one monitor","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_one_reporter;",46,46,"","Veeam ONE Reporter",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one reporter","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_one_server;",
|
||||
46,46,"","Veeam ONE Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one server","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.virtual_machine;",46,46,"","Virtual Machine",null,null,this.getTagsForStencil("mxgraph.veeam.3d","virtual machine","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vmware_host;",
|
||||
110,98,"","VMware Host",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vmware host","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_failed;",56,46,"","VM Failed",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm failed","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_linux;",
|
||||
46,60,"","VM Linux",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm linux","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_no_network;",58,46,"","VM No Network",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm no network","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_problem;",
|
||||
56,46,"","VM Problem",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm problem","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_running;",56,46,"","VM Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm running","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_saved_state;",
|
||||
58,48,"","VM Saved State",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm saved state","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_windows;",46,60,"","VM Windows",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm windows","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vnic;",
|
||||
62,62,"","vNIC",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vnic","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.wan_accelerator;",46,46,"","WAN Accelerator",null,null,this.getTagsForStencil("mxgraph.veeam.3d","wan accelerator","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.workstation;",
|
||||
76,62,"","Workstation",null,null,this.getTagsForStencil("mxgraph.veeam.3d","workstation","veeam 3d vmware virtual machine ").join(" "))];this.addPalette("veeam23D","Veeam2 / 3D",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))}})();(function(){Sidebar.prototype.addVVDPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.administrator;",21.5,50,"","Administrator",null,null,this.getTagsForStencil("mxgraph.vvd","administrator","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.administrator;fillColor=#066A90;",
|
||||
21.5,50,"","Infrastructure Role",null,null,this.getTagsForStencil("mxgraph.vvd","administrator","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.administrator;fillColor=#65B245;",21.5,50,"","Tenant Role",null,null,this.getTagsForStencil("mxgraph.vvd","administrator","vmware validated design").join(" ")),
|
||||
this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.app;",50,50,"","App",null,null,this.getTagsForStencil("mxgraph.vvd","app application","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.volumes_agent;",
|
||||
49,50,"","Volumes Agent",null,null,this.getTagsForStencil("mxgraph.vvd","volumes agent","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.appstack_volume;",50,35,"","AppStack Volume",null,null,this.getTagsForStencil("mxgraph.vvd","appstack volume","vmware validated design").join(" ")),
|
||||
|
@ -7916,7 +8138,7 @@ try{EditorUi.logEvent({category:"CHECKSUM-ERROR-SYNC-FILE-"+this.getHash(),actio
|
|||
DrawioFile.prototype.sendErrorReport=function(a,c,d,b){try{var f=this.compressReportData(this.getAnonymizedXmlForPages(this.shadowPages),25E3),g=this.compressReportData(this.getAnonymizedXmlForPages(this.ui.pages),25E3),k=this.getCurrentUser(),l=null!=k?this.ui.hashValue(k.id):"unknown",n=null!=this.sync?"-client_"+this.sync.clientId:"-nosync",q=this.getTitle(),e=q.lastIndexOf("."),k="xml";0<e&&(k=q.substring(e));var m=null!=d?d.stack:Error().stack;EditorUi.sendReport(a+" "+(new Date).toISOString()+
|
||||
":\n\nBrowser="+navigator.userAgent+"\nFile="+this.ui.hashValue(this.getId())+" ("+this.getMode()+")"+(this.isModified()?" modified":"")+"\nSize/Type="+this.getSize()+" ("+k+")\nUser="+l+n+"\nPrefix="+this.ui.editor.graph.model.prefix+"\nSync="+DrawioFile.SYNC+(null!=this.sync?(this.sync.enabled?" enabled":"")+(this.sync.isConnected()?" connected":""):"")+"\nPlugins="+(null!=mxSettings.settings?mxSettings.getPlugins():"null")+"\n\nStats:\n"+JSON.stringify(this.stats,null,2)+(null!=c?"\n\n"+c:"")+
|
||||
(null!=d?"\n\nError: "+d.message:"")+"\n\nStack:\n"+m+"\n\nShadow:\n"+f+"\n\nData:\n"+g,b)}catch(p){}};
|
||||
DrawioFile.prototype.reloadFile=function(a,c){try{this.ui.spinner.stop();var d=mxUtils.bind(this,function(){this.stats.fileReloaded++;this.reportEnabled=!1;var b=this.ui.editor.graph.getViewState(),d=this.ui.editor.graph.getSelectionCells(),c=this.ui.currentPage;this.ui.loadFile(this.getHash(),!0,null,mxUtils.bind(this,function(){if(null==this.ui.fileLoadedError){this.ui.restoreViewState(c,b,d);null!=this.backupPatch&&this.patch([this.backupPatch]);var f=this.ui.getCurrentFile();null!=f&&(f.stats=
|
||||
DrawioFile.prototype.reloadFile=function(a,c){try{this.ui.spinner.stop();var d=mxUtils.bind(this,function(){this.stats.fileReloaded++;this.reportEnabled=!1;var b=this.ui.editor.graph.getViewState(),d=this.ui.editor.graph.getSelectionCells(),c=this.ui.currentPage;this.ui.loadFile(this.getHash(),!0,null,mxUtils.bind(this,function(){if(null==this.ui.fileLoadedError){this.ui.restoreViewState(c,b,d);null!=this.backupPatch&&this.patch([this.backupPatch]);var g=this.ui.getCurrentFile();null!=g&&(g.stats=
|
||||
this.stats);null!=a&&a()}}),!0)});this.isModified()&&null==this.backupPatch?this.ui.confirm(mxResources.get("allChangesLost"),mxUtils.bind(this,function(){this.handleFileSuccess("manual"==DrawioFile.SYNC)}),d,mxResources.get("cancel"),mxResources.get("discardChanges")):d()}catch(b){null!=c&&c(b)}};DrawioFile.prototype.copyFile=function(a,c){this.ui.editor.editAsNew(this.ui.getFileData(!0),this.ui.getCopyFilename(this))};
|
||||
DrawioFile.prototype.ignorePatches=function(a){for(var c=!0,d=0;d<a.length&&c;d++)c=c&&0==Object.keys(a[d]).length;return c};
|
||||
DrawioFile.prototype.patch=function(a,c){var d=this.ui.editor.undoManager,b=d.history.slice(),f=d.indexOfNextAdd,g=this.ui.editor.graph;g.container.style.visibility="hidden";var k=this.changeListenerEnabled;this.changeListenerEnabled=!1;var l=g.foldingEnabled,n=g.mathEnabled,q=g.cellRenderer.redraw;g.cellRenderer.redraw=function(a){a.view.graph.isEditing(a.cell)&&(a.view.graph.scrollCellToVisible(a.cell),a.view.graph.cellEditor.resize());q.apply(this,arguments)};g.model.beginUpdate();try{for(var e=
|
||||
|
@ -7973,12 +8195,12 @@ StorageFile.prototype.open=function(){DrawioFile.prototype.open.apply(this,argum
|
|||
StorageLibrary.prototype.isRenamable=function(a,c,d){return".scratchpad"!=this.title};StorageLibrary.prototype.open=function(){};RemoteFile=function(a,c,d){DrawioFile.call(this,a,c);this.title=d;this.mode=null};mxUtils.extend(RemoteFile,DrawioFile);RemoteFile.prototype.isAutosave=function(){return!1};RemoteFile.prototype.getMode=function(){return this.mode};RemoteFile.prototype.getTitle=function(){return this.title};RemoteFile.prototype.isRenamable=function(){return!1};RemoteFile.prototype.open=function(){this.ui.setFileData(this.getData());this.installListeners()};RemoteLibrary=function(a,c,d){RemoteFile.call(this,a,c,d.title);this.libObj=d};mxUtils.extend(RemoteLibrary,LocalFile);RemoteLibrary.prototype.getHash=function(){return"R"+encodeURIComponent(JSON.stringify([this.libObj.id,this.libObj.title,this.libObj.downloadUrl]))};RemoteLibrary.prototype.isEditable=function(){return!1};RemoteLibrary.prototype.isRenamable=function(){return!1};RemoteLibrary.prototype.isAutosave=function(){return!1};RemoteLibrary.prototype.save=function(a,c,d){};
|
||||
RemoteLibrary.prototype.saveAs=function(a,c,d){};RemoteLibrary.prototype.updateFileData=function(){};RemoteLibrary.prototype.open=function(){};UrlLibrary=function(a,c,d){StorageFile.call(this,a,c,d);a=d;c=a.lastIndexOf("/");0<=c&&(a=a.substring(c+1));this.fname=a};mxUtils.extend(UrlLibrary,StorageFile);UrlLibrary.prototype.getHash=function(){return"U"+encodeURIComponent(this.title)};UrlLibrary.prototype.getTitle=function(){return this.fname};UrlLibrary.prototype.isAutosave=function(){return!1};UrlLibrary.prototype.isEditable=function(a,c,d){return!1};UrlLibrary.prototype.saveAs=function(a,c,d){};UrlLibrary.prototype.open=function(){};/*
|
||||
mxClient.IS_IOS || */
|
||||
var StorageDialog=function(a,c,d){function b(b,p,t,f,A,g){function x(){mxEvent.addListener(k,"click",null!=g?g:function(){t!=App.MODE_GOOGLE||a.isDriveDomain()?t==App.MODE_GOOGLE&&a.spinner.spin(document.body,mxResources.get("authorizing"))?a.drive.checkToken(mxUtils.bind(this,function(){a.spinner.stop();a.setMode(t,n.checked);c()})):t==App.MODE_ONEDRIVE&&a.spinner.spin(document.body,mxResources.get("authorizing"))?a.oneDrive.checkToken(mxUtils.bind(this,function(){a.spinner.stop();a.setMode(t,n.checked);
|
||||
var StorageDialog=function(a,c,d){function b(b,p,t,g,A,f){function x(){mxEvent.addListener(k,"click",null!=f?f:function(){t!=App.MODE_GOOGLE||a.isDriveDomain()?t==App.MODE_GOOGLE&&a.spinner.spin(document.body,mxResources.get("authorizing"))?a.drive.checkToken(mxUtils.bind(this,function(){a.spinner.stop();a.setMode(t,n.checked);c()})):t==App.MODE_ONEDRIVE&&a.spinner.spin(document.body,mxResources.get("authorizing"))?a.oneDrive.checkToken(mxUtils.bind(this,function(){a.spinner.stop();a.setMode(t,n.checked);
|
||||
c()})):(a.setMode(t,n.checked),c()):window.location.hostname=DriveClient.prototype.newAppHostname})}++q>d&&(mxUtils.br(e),q=0);var k=document.createElement("a");k.style.overflow="hidden";k.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";k.className="geBaseButton";k.style.boxSizing="border-box";k.style.fontSize="11px";k.style.position="relative";k.style.margin="4px";k.style.marginTop="2px";k.style.padding="8px 10px 12px 10px";k.style.width="88px";k.style.height=StorageDialog.extended?"50px":
|
||||
"100px";k.style.whiteSpace="nowrap";k.setAttribute("title",p);mxClient.IS_QUIRKS&&(k.style.cssFloat="left",k.style.zoom="1");var u=document.createElement("div");u.style.textOverflow="ellipsis";u.style.overflow="hidden";if(null!=b){var D=document.createElement("img");D.setAttribute("src",b);D.setAttribute("border","0");D.setAttribute("align","absmiddle");D.style.width=StorageDialog.extended?"24px":"60px";D.style.height=StorageDialog.extended?"24px":"60px";D.style.paddingBottom=StorageDialog.extended?
|
||||
"4px":"6px";k.appendChild(D)}else u.style.paddingTop="5px",u.style.whiteSpace="normal",mxClient.IS_IOS?(k.style.padding="0px 10px 20px 10px",k.style.top="6px"):mxClient.IS_FF&&(u.style.paddingTop="0px",u.style.marginTop="-2px");StorageDialog.extended&&(k.style.paddingTop="4px",k.style.marginBottom="0px",u.display="inline-block",2==d&&(D.style.width="38px",D.style.height="38px",k.style.width="80px",k.style.height="68px"));k.appendChild(u);mxUtils.write(u,p);if(null!=A)for(b=0;b<A.length;b++)mxUtils.br(u),
|
||||
mxUtils.write(u,A[b]);if(null!=f&&null==a[f]){D.style.visibility="hidden";mxUtils.setOpacity(u,10);var v=new Spinner({lines:12,length:12,width:5,radius:10,rotate:0,color:"dark"==uiTheme?"#c0c0c0":"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"40%",zIndex:2E9});v.spin(k);var l=window.setTimeout(function(){null==a[f]&&(v.stop(),k.style.display="none")},3E4);a.addListener("clientLoaded",mxUtils.bind(this,function(b,e){null!=a[f]&&e.getProperty("client")==a[f]&&(window.clearTimeout(l),mxUtils.setOpacity(u,
|
||||
100),D.style.visibility="",v.stop(),x(),"drive"==f&&null!=m.parentNode&&m.parentNode.removeChild(m))}))}else x();e.appendChild(k)}d=null!=d?d:2;var f=document.createElement("div");f.style.textAlign="center";f.style.whiteSpace="nowrap";f.style.paddingTop="0px";f.style.paddingBottom="20px";var g=a.addLanguageMenu(f,!0);null!=g&&(g.style.bottom=parseInt("28px")-3+"px");if(!a.isOffline()&&1<a.getServiceCount()){g=document.createElement("a");g.setAttribute("href","https://about.draw.io/support/");g.setAttribute("title",
|
||||
mxUtils.write(u,A[b]);if(null!=g&&null==a[g]){D.style.visibility="hidden";mxUtils.setOpacity(u,10);var v=new Spinner({lines:12,length:12,width:5,radius:10,rotate:0,color:"dark"==uiTheme?"#c0c0c0":"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"40%",zIndex:2E9});v.spin(k);var l=window.setTimeout(function(){null==a[g]&&(v.stop(),k.style.display="none")},3E4);a.addListener("clientLoaded",mxUtils.bind(this,function(b,e){null!=a[g]&&e.getProperty("client")==a[g]&&(window.clearTimeout(l),mxUtils.setOpacity(u,
|
||||
100),D.style.visibility="",v.stop(),x(),"drive"==g&&null!=m.parentNode&&m.parentNode.removeChild(m))}))}else x();e.appendChild(k)}d=null!=d?d:2;var f=document.createElement("div");f.style.textAlign="center";f.style.whiteSpace="nowrap";f.style.paddingTop="0px";f.style.paddingBottom="20px";var g=a.addLanguageMenu(f,!0);null!=g&&(g.style.bottom=parseInt("28px")-3+"px");if(!a.isOffline()&&1<a.getServiceCount()){g=document.createElement("a");g.setAttribute("href","https://about.draw.io/support/");g.setAttribute("title",
|
||||
mxResources.get("help"));g.setAttribute("target","_blank");g.style.position="absolute";g.style.userSelect="none";g.style.textDecoration="none";g.style.cursor="pointer";g.style.fontSize="12px";g.style.bottom="28px";g.style.left="26px";g.style.color="gray";var k=document.createElement("img");mxUtils.setOpacity(k,50);k.style.height="16px";k.style.width="16px";k.setAttribute("border","0");k.setAttribute("valign","bottom");k.setAttribute("src",Editor.helpImage);k.style.marginRight="2px";g.appendChild(k);
|
||||
mxUtils.write(g,mxResources.get("help"));f.appendChild(g)}var l=document.createElement("div");l.style.position="absolute";l.style.cursor="pointer";l.style.fontSize="12px";l.style.bottom="28px";l.style.color="gray";l.style.userSelect="none";mxUtils.write(l,mxResources.get("decideLater"));mxUtils.setPrefixedStyle(l.style,"transform","translate(-50%,0)");l.style.left="50%";a.isOfflineApp()&&(l.style.bottom="28px");this.init=function(){if(mxClient.IS_QUIRKS||8==document.documentMode)l.style.marginLeft=
|
||||
-Math.round(l.clientWidth/2)+"px"};f.appendChild(l);mxEvent.addListener(l,"click",function(){a.hideDialog();var b=Editor.useLocalStorage;a.createFile(a.defaultFilename,null,null,null,null,null,null,!0);Editor.useLocalStorage=b});g=document.createElement("div");mxClient.IS_QUIRKS&&(g.style.whiteSpace="nowrap",g.style.cssFloat="left");g.style.border="1px solid #d3d3d3";g.style.borderWidth="1px 0px 1px 0px";g.style.padding="12px 0px 12px 0px";var n=document.createElement("input");n.setAttribute("type",
|
||||
|
@ -8060,10 +8282,10 @@ n=document.createElement("option");n.setAttribute("value","diagram");mxUtils.wri
|
|||
a.preventDefault();if(0<a.dataTransfer.files.length){a=a.dataTransfer.files[0];var b=new FileReader;b.onload=function(a){k.value=a.target.result};b.readAsText(a)}},!1));c.appendChild(l);mxEvent.addListener(l,"change",function(){var a=f();if(0==k.value.length||k.value==m)m=a,k.value=m});d=mxUtils.button(mxResources.get("close"),function(){k.value==m?a.hideDialog():a.confirm(mxResources.get("areYouSure"),function(){a.hideDialog()})});d.className="geBtn";a.editor.cancelFirst&&c.appendChild(d);n=mxUtils.button(mxResources.get("insert"),
|
||||
function(){a.hideDialog();b(k.value,l.value)});c.appendChild(n);n.className="geBtn gePrimaryBtn";a.editor.cancelFirst||c.appendChild(d);this.container=c},NewDialog=function(a,c,d,b,f,g,k,l,n,q,e,m,p,u,v,t,y){function z(){var a=!0;if(null!=X)for(;J<X.length&&(a||0!=mxUtils.mod(J,30));){var b=X[J++],b=x(b.url,b.libs,b.title,b.tooltip?b.tooltip:b.title,b.select,b.imgUrl,b.info,b.onClick,b.preview,b.noImg,b.clibs);a&&b.click();a=!1}}function B(){if(U)d||a.hideDialog(),u(U,ba,I.value);else if(b)d||a.hideDialog(),
|
||||
b(fa,I.value);else{var c=I.value;null!=c&&0<c.length&&a.pickFolder(a.mode,function(b){a.createFile(c,fa,null!=Z&&0<Z.length?Z:null,null,function(){a.hideDialog()},null,b,null,null!=ga&&0<ga.length?ga:null)},a.mode!=App.MODE_GOOGLE||null==a.stateArg||null==a.stateArg.folderId)}}function G(a,b,c,e,d,m){null!=aa&&(aa.style.backgroundColor="transparent",aa.style.border="1px solid transparent");E.removeAttribute("disabled");fa=b;Z=c;ga=m;aa=a;U=e;ba=d;aa.style.backgroundColor=l;aa.style.border=n}function x(b,
|
||||
c,e,d,m,p,A,f,g,t,k){var x=document.createElement("div");x.className="geTemplate";x.style.height=Y+"px";x.style.width=ea+"px";null!=e?x.setAttribute("title",mxResources.get(e,null,e)):null!=d&&0<d.length&&x.setAttribute("title",d);if(null!=p)x.style.backgroundImage="url("+p+")",x.style.backgroundSize="contain",x.style.backgroundPosition="center center",x.style.backgroundRepeat="no-repeat",mxEvent.addListener(x,"click",function(a){G(x,null,null,b,A,k)}),mxEvent.addListener(x,"dblclick",function(a){B()});
|
||||
else if(!t&&null!=b&&0<b.length){d=g||TEMPLATE_PATH+"/"+b.substring(0,b.length-4)+".png";x.style.backgroundImage="url("+d+")";x.style.backgroundPosition="center center";x.style.backgroundRepeat="no-repeat";null!=e&&(x.innerHTML='<table width="100%" height="100%" style="line-height:1.3em;'+("dark"==uiTheme?"":"background:rgba(255,255,255,0.85);")+'border:inherit;"><tr><td align="center" valign="middle"><span style="display:inline-block;padding:4px 8px 4px 8px;user-select:none;border-radius:3px;background:rgba(255,255,255,0.85);overflow:hidden;text-overflow:ellipsis;max-width:'+
|
||||
c,e,d,m,p,A,g,f,t,k){var x=document.createElement("div");x.className="geTemplate";x.style.height=Y+"px";x.style.width=ea+"px";null!=e?x.setAttribute("title",mxResources.get(e,null,e)):null!=d&&0<d.length&&x.setAttribute("title",d);if(null!=p)x.style.backgroundImage="url("+p+")",x.style.backgroundSize="contain",x.style.backgroundPosition="center center",x.style.backgroundRepeat="no-repeat",mxEvent.addListener(x,"click",function(a){G(x,null,null,b,A,k)}),mxEvent.addListener(x,"dblclick",function(a){B()});
|
||||
else if(!t&&null!=b&&0<b.length){d=f||TEMPLATE_PATH+"/"+b.substring(0,b.length-4)+".png";x.style.backgroundImage="url("+d+")";x.style.backgroundPosition="center center";x.style.backgroundRepeat="no-repeat";null!=e&&(x.innerHTML='<table width="100%" height="100%" style="line-height:1.3em;'+("dark"==uiTheme?"":"background:rgba(255,255,255,0.85);")+'border:inherit;"><tr><td align="center" valign="middle"><span style="display:inline-block;padding:4px 8px 4px 8px;user-select:none;border-radius:3px;background:rgba(255,255,255,0.85);overflow:hidden;text-overflow:ellipsis;max-width:'+
|
||||
(Y-34)+'px;">'+mxResources.get(e,null,e)+"</span></td></tr></table>");var u=!1;mxEvent.addListener(x,"click",function(e){E.setAttribute("disabled","disabled");x.style.backgroundColor="transparent";x.style.border="1px solid transparent";e=b;e=/^https?:\/\//.test(e)&&!a.editor.isCorsEnabledForUrl(e)?PROXY_URL+"?url="+encodeURIComponent(e):TEMPLATE_PATH+"/"+e;H.spin(Q);mxUtils.get(e,mxUtils.bind(this,function(a){H.stop();200<=a.getStatus()&&299>=a.getStatus()&&(G(x,a.getText(),c,null,null,k),u&&B())}))});
|
||||
mxEvent.addListener(x,"dblclick",function(a){u=!0})}else x.innerHTML='<table width="100%" height="100%" style="line-height:1.3em;"><tr><td align="center" valign="middle"><span style="display:inline-block;padding:4px 8px 4px 8px;user-select:none;border-radius:3px;background:#ffffff;overflow:hidden;text-overflow:ellipsis;max-width:'+(Y-34)+'px;">'+mxResources.get(e,null,e)+"</span></td></tr></table>",m&&G(x),null!=f?mxEvent.addListener(x,"click",f):(mxEvent.addListener(x,"click",function(a){G(x,null,
|
||||
mxEvent.addListener(x,"dblclick",function(a){u=!0})}else x.innerHTML='<table width="100%" height="100%" style="line-height:1.3em;"><tr><td align="center" valign="middle"><span style="display:inline-block;padding:4px 8px 4px 8px;user-select:none;border-radius:3px;background:#ffffff;overflow:hidden;text-overflow:ellipsis;max-width:'+(Y-34)+'px;">'+mxResources.get(e,null,e)+"</span></td></tr></table>",m&&G(x),null!=g?mxEvent.addListener(x,"click",g):(mxEvent.addListener(x,"click",function(a){G(x,null,
|
||||
null,b,A)}),mxEvent.addListener(x,"dblclick",function(a){B()}));Q.appendChild(x);return x}function C(){S&&(S=!1,mxEvent.addListener(Q,"scroll",function(a){Q.scrollTop+Q.clientHeight>=Q.scrollHeight&&(z(),mxEvent.consume(a))}));var a=null;if(0<da){var b=document.createElement("div");b.style.cssText="font-weight: bold;background: #f9f9f9;padding: 5px 0 5px 0;text-align: center;";mxUtils.write(b,mxResources.get("custom"));ca.appendChild(b);for(var e in N){var c=document.createElement("div"),b=e,d=N[e];
|
||||
18<b.length&&(b=b.substring(0,18)+"…");c.style.cssText="display:block;cursor:pointer;padding:6px;white-space:nowrap;margin-bottom:-1px;overflow:hidden;text-overflow:ellipsis;user-select:none;";c.setAttribute("title",b+" ("+d.length+")");mxUtils.write(c,c.getAttribute("title"));null!=q&&(c.style.padding=q);ca.appendChild(c);(function(b,e){mxEvent.addListener(c,"click",function(){a!=e&&(a.style.backgroundColor="",a=e,a.style.backgroundColor=k,Q.scrollTop=0,Q.innerHTML="",J=0,X=N[b],M=null,z())})})(e,
|
||||
c)}b=document.createElement("div");b.style.cssText="font-weight: bold;background: #f9f9f9;padding: 5px 0 5px 0;text-align: center;";mxUtils.write(b,"draw.io");ca.appendChild(b)}for(e in P)c=document.createElement("div"),b=mxResources.get(e),d=P[e],null==b&&(b=e.substring(0,1).toUpperCase()+e.substring(1)),18<b.length&&(b=b.substring(0,18)+"…"),c.style.cssText="display:block;cursor:pointer;padding:6px;white-space:nowrap;margin-bottom:-1px;overflow:hidden;text-overflow:ellipsis;user-select:none;",
|
||||
|
@ -8082,10 +8304,10 @@ preview:a.getAttribute("preview"),clibs:c}));a=a.nextSibling}H.stop();C()}})};A.
|
|||
"absolute";e.style.left="40px";e.style.bottom="24px";e.style.right="40px";c||a.isOffline()||!d||null!=b||f||(y=mxUtils.button(mxResources.get("help"),function(){a.openLink("https://support.draw.io/display/DO/Creating+and+Opening+Files")}),y.className="geBtn",e.appendChild(y));y=mxUtils.button(mxResources.get("cancel"),function(){null!=g&&g();a.hideDialog(!0)});y.className="geBtn";!a.editor.cancelFirst||f&&null==g||e.appendChild(y);c||"1"==urlParams.embed||f||(c=mxUtils.button(mxResources.get("fromTemplateUrl"),
|
||||
function(){var b=new FilenameDialog(a,"",mxResources.get("create"),function(b){null!=b&&0<b.length&&(b=a.getUrl(window.location.pathname+"?mode="+a.mode+"&title="+encodeURIComponent(I.value)+"&create="+encodeURIComponent(b)),null==a.getCurrentFile()?window.location.href=b:window.openWindow(b))},mxResources.get("url"));a.showDialog(b.container,300,80,!0,!0);b.init()}),c.className="geBtn",e.appendChild(c));Graph.fileSupport&&v&&(v=mxUtils.button(mxResources.get("import"),function(){if(null==a.newDlgFileInputElt){var b=
|
||||
document.createElement("input");b.setAttribute("multiple","multiple");b.setAttribute("type","file");mxEvent.addListener(b,"change",function(e){a.openFiles(b.files,!0);b.value=""});b.style.display="none";document.body.appendChild(b);a.newDlgFileInputElt=b}a.newDlgFileInputElt.click()}),v.className="geBtn",e.appendChild(v));e.appendChild(E);a.editor.cancelFirst||null!=b||f&&null==g||e.appendChild(y);A.appendChild(e);this.container=A},CreateDialog=function(a,c,d,b,f,g,k,l,n,q,e,m,p,u,v,t,y){function z(b,
|
||||
e,d,p){function f(){mxEvent.addListener(g,"click",function(){var b=d;if(k){var e=x.value,m=e.lastIndexOf(".");if(0>c.lastIndexOf(".")&&0>m){var b=null!=b?b:D.value,p="";b==App.MODE_GOOGLE?p=a.drive.extension:b==App.MODE_GITHUB?p=a.gitHub.extension:b==App.MODE_GITLAB?p=a.gitLab.extension:b==App.MODE_TRELLO?p=a.trello.extension:b==App.MODE_DROPBOX?p=a.dropbox.extension:b==App.MODE_ONEDRIVE?p=a.oneDrive.extension:b==App.MODE_DEVICE&&(p=".drawio");0<=m&&(e=e.substring(0,m));x.value=e+p}}B(d)})}var g=
|
||||
document.createElement("a");g.style.overflow="hidden";var t=document.createElement("img");t.src=b;t.setAttribute("border","0");t.setAttribute("align","absmiddle");t.style.width="60px";t.style.height="60px";t.style.paddingBottom="6px";g.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";g.className="geBaseButton";g.style.position="relative";g.style.margin="4px";g.style.padding="8px 8px 10px 8px";g.style.whiteSpace="nowrap";g.appendChild(t);mxClient.IS_QUIRKS&&(g.style.cssFloat="left",g.style.zoom=
|
||||
"1");g.style.color="gray";g.style.fontSize="11px";var u=document.createElement("div");g.appendChild(u);mxUtils.write(u,e);if(null!=p&&null==a[p]){t.style.visibility="hidden";mxUtils.setOpacity(u,10);var v=new Spinner({lines:12,length:12,width:5,radius:10,rotate:0,color:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"40%",zIndex:2E9});v.spin(g);var l=window.setTimeout(function(){null==a[p]&&(v.stop(),g.style.display="none")},3E4);a.addListener("clientLoaded",mxUtils.bind(this,function(){null!=
|
||||
a[p]&&(window.clearTimeout(l),mxUtils.setOpacity(u,100),t.style.visibility="",v.stop(),f())}))}else f();C.appendChild(g);++A==m&&(mxUtils.br(C),A=0)}function B(b){var e=x.value;if(null==b||null!=e&&0<e.length)y&&a.hideDialog(),d(e,b,x)}k=null!=k?k:!0;l=null!=l?l:!0;m=null!=m?m:4;y=null!=y?y:!0;g=document.createElement("div");g.style.whiteSpace="nowrap";null==b&&a.addLanguageMenu(g);var G=document.createElement("h2");mxUtils.write(G,f||mxResources.get("create"));G.style.marginTop="0px";G.style.marginBottom=
|
||||
e,d,p){function g(){mxEvent.addListener(f,"click",function(){var b=d;if(k){var e=x.value,m=e.lastIndexOf(".");if(0>c.lastIndexOf(".")&&0>m){var b=null!=b?b:D.value,p="";b==App.MODE_GOOGLE?p=a.drive.extension:b==App.MODE_GITHUB?p=a.gitHub.extension:b==App.MODE_GITLAB?p=a.gitLab.extension:b==App.MODE_TRELLO?p=a.trello.extension:b==App.MODE_DROPBOX?p=a.dropbox.extension:b==App.MODE_ONEDRIVE?p=a.oneDrive.extension:b==App.MODE_DEVICE&&(p=".drawio");0<=m&&(e=e.substring(0,m));x.value=e+p}}B(d)})}var f=
|
||||
document.createElement("a");f.style.overflow="hidden";var t=document.createElement("img");t.src=b;t.setAttribute("border","0");t.setAttribute("align","absmiddle");t.style.width="60px";t.style.height="60px";t.style.paddingBottom="6px";f.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";f.className="geBaseButton";f.style.position="relative";f.style.margin="4px";f.style.padding="8px 8px 10px 8px";f.style.whiteSpace="nowrap";f.appendChild(t);mxClient.IS_QUIRKS&&(f.style.cssFloat="left",f.style.zoom=
|
||||
"1");f.style.color="gray";f.style.fontSize="11px";var u=document.createElement("div");f.appendChild(u);mxUtils.write(u,e);if(null!=p&&null==a[p]){t.style.visibility="hidden";mxUtils.setOpacity(u,10);var v=new Spinner({lines:12,length:12,width:5,radius:10,rotate:0,color:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"40%",zIndex:2E9});v.spin(f);var l=window.setTimeout(function(){null==a[p]&&(v.stop(),f.style.display="none")},3E4);a.addListener("clientLoaded",mxUtils.bind(this,function(){null!=
|
||||
a[p]&&(window.clearTimeout(l),mxUtils.setOpacity(u,100),t.style.visibility="",v.stop(),g())}))}else g();C.appendChild(f);++A==m&&(mxUtils.br(C),A=0)}function B(b){var e=x.value;if(null==b||null!=e&&0<e.length)y&&a.hideDialog(),d(e,b,x)}k=null!=k?k:!0;l=null!=l?l:!0;m=null!=m?m:4;y=null!=y?y:!0;g=document.createElement("div");g.style.whiteSpace="nowrap";null==b&&a.addLanguageMenu(g);var G=document.createElement("h2");mxUtils.write(G,f||mxResources.get("create"));G.style.marginTop="0px";G.style.marginBottom=
|
||||
"24px";g.appendChild(G);mxUtils.write(g,mxResources.get("filename")+":");var x=document.createElement("input");x.setAttribute("value",c);x.style.width="280px";x.style.marginLeft="10px";x.style.marginBottom="20px";x.style.maxWidth="70%";this.init=function(){x.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?x.select():document.execCommand("selectAll",!1,null)};g.appendChild(x);null!=t&&g.appendChild(FilenameDialog.createTypeHint(a,x,t));null==p||null==u||"image/"!=
|
||||
u.substring(0,6)||"image/svg"==u.substring(0,9)&&!mxClient.IS_SVG||(x.style.width="160px",f=document.createElement("img"),p=v?p:btoa(unescape(encodeURIComponent(p))),f.setAttribute("src","data:"+u+";base64,"+p),f.style.position="absolute",f.style.top="70px",f.style.right="100px",f.style.maxWidth="120px",f.style.maxHeight="80px",mxUtils.setPrefixedStyle(f.style,"transform","translate(50%,-50%)"),g.appendChild(f),n&&Editor.popupsAllowed&&(f.style.cursor="pointer",mxEvent.addGestureListeners(f,null,
|
||||
null,function(){B("_blank")})));mxUtils.br(g);var C=document.createElement("div");C.style.textAlign="center";var A=0;C.style.marginTop="6px";g.appendChild(C);var D=document.createElement("select");D.style.marginLeft="10px";a.isOfflineApp()||a.isOffline()||("function"===typeof window.DriveClient&&(u=document.createElement("option"),u.setAttribute("value",App.MODE_GOOGLE),mxUtils.write(u,mxResources.get("googleDrive")),D.appendChild(u),z(IMAGE_PATH+"/google-drive-logo.svg",mxResources.get("googleDrive"),
|
||||
|
@ -8142,14 +8364,14 @@ B.setAttribute("title",mxResources.get("zoomIn"));B.style.outline="none";B.style
|
|||
a.replaceFileData(z);a.hideDialog()},function(b){a.spinner.stop();a.editor.setStatus("");a.handleError(b,null!=b?mxResources.get("errorSavingFile"):null)})})});F.className="geBtn";F.setAttribute("disabled","disabled");var I=document.createElement("select");I.setAttribute("disabled","disabled");I.style.maxWidth="80px";I.style.position="relative";I.style.top="-2px";I.style.verticalAlign="bottom";I.style.marginRight="6px";I.style.display="none";var J=null;mxEvent.addListener(I,"change",function(a){null!=
|
||||
J&&(J(a),mxEvent.consume(a))});var H=mxUtils.button(mxResources.get("edit"),function(){null!=y&&(window.openFile=new OpenFile(function(){window.openFile=null}),window.openFile.setData(mxUtils.getXml(y.documentElement)),a.openLink(a.getUrl(),null,!0))});H.className="geBtn";H.setAttribute("disabled","disabled");null!=d&&(H.style.display="none");var E=mxUtils.button(mxResources.get("show"),function(){null!=t&&a.openLink(t.getUrl(I.selectedIndex))});E.className="geBtn gePrimaryBtn";E.setAttribute("disabled",
|
||||
"disabled");null!=d&&(E.style.display="none",F.className="geBtn gePrimaryBtn");f=document.createElement("div");f.style.position="absolute";f.style.top="482px";f.style.width="640px";f.style.textAlign="right";var K=document.createElement("div");K.className="geToolbarContainer";K.style.backgroundColor="transparent";K.style.padding="2px";K.style.border="none";K.style.left="199px";K.style.top="442px";var M=null;if(null!=c&&0<c.length){k.style.cursor="move";var R=document.createElement("table");R.style.border=
|
||||
"1px solid lightGray";R.style.borderCollapse="collapse";R.style.borderSpacing="0px";R.style.width="100%";var W=document.createElement("tbody"),T=(new Date).toDateString();null!=a.currentPage&&null!=a.pages&&(n=mxUtils.indexOf(a.pages,a.currentPage));for(var L=c.length-1;0<=L;L--){var V=function(b){var d=new Date(b.modifiedDate),m=null;if(0<=d.getTime()){var g=function(c){p.stop();var f=mxUtils.parseXml(c),g=a.editor.extractGraphModel(f.documentElement,!0);if(null!=g){var t=function(a){null!=a&&(a=
|
||||
"1px solid lightGray";R.style.borderCollapse="collapse";R.style.borderSpacing="0px";R.style.width="100%";var W=document.createElement("tbody"),T=(new Date).toDateString();null!=a.currentPage&&null!=a.pages&&(n=mxUtils.indexOf(a.pages,a.currentPage));for(var L=c.length-1;0<=L;L--){var V=function(b){var d=new Date(b.modifiedDate),m=null;if(0<=d.getTime()){var f=function(c){p.stop();var f=mxUtils.parseXml(c),g=a.editor.extractGraphModel(f.documentElement,!0);if(null!=g){var t=function(a){null!=a&&(a=
|
||||
v(mxUtils.parseXml(Graph.decompress(mxUtils.getTextContent(a))).documentElement));return a},v=function(a){var b=a.getAttribute("background");if(null==b||""==b||b==mxConstants.NONE)b="#ffffff";k.style.backgroundColor=b;(new mxCodec(a.ownerDocument)).decode(a,l.getModel());l.maxFitScale=1;l.fit(8);l.center();return a};I.style.display="none";I.innerHTML="";y=f;z=c;q=parseSelectFunction=null;e=0;if("mxfile"==g.nodeName){f=g.getElementsByTagName("diagram");q=[];for(c=0;c<f.length;c++)q.push(f[c]);e=Math.min(n,
|
||||
q.length-1);0<q.length&&t(q[e]);if(1<q.length)for(I.removeAttribute("disabled"),I.style.display="",c=0;c<q.length;c++)f=document.createElement("option"),mxUtils.write(f,q[c].getAttribute("name")||mxResources.get("pageWithNumber",[c+1])),f.setAttribute("value",c),c==e&&f.setAttribute("selected","selected"),I.appendChild(f);J=function(){try{var b=parseInt(I.value);e=n=b;t(q[b])}catch(N){I.value=n,a.handleError(N)}}}else v(g);c=b.lastModifyingUserName;null!=c&&20<c.length&&(c=c.substring(0,20)+"...");
|
||||
A.innerHTML="";mxUtils.write(A,(null!=c?c+" ":"")+d.toLocaleDateString()+" "+d.toLocaleTimeString());A.setAttribute("title",m.getAttribute("title"));B.removeAttribute("disabled");G.removeAttribute("disabled");x.removeAttribute("disabled");C.removeAttribute("disabled");null!=u&&u.isRestricted()||(a.editor.graph.isEnabled()&&F.removeAttribute("disabled"),D.removeAttribute("disabled"),E.removeAttribute("disabled"),H.removeAttribute("disabled"));mxUtils.setOpacity(B,60);mxUtils.setOpacity(G,60);mxUtils.setOpacity(x,
|
||||
60);mxUtils.setOpacity(C,60)}else I.style.display="none",I.innerHTML="",A.innerHTML="",mxUtils.write(A,mxResources.get("errorLoadingFile"))},m=document.createElement("tr");m.style.borderBottom="1px solid lightGray";m.style.fontSize="12px";m.style.cursor="pointer";var f=document.createElement("td");f.style.padding="6px";f.style.whiteSpace="nowrap";b==c[c.length-1]?mxUtils.write(f,mxResources.get("current")):d.toDateString()===T?mxUtils.write(f,d.toLocaleTimeString()):mxUtils.write(f,d.toLocaleDateString()+
|
||||
" "+d.toLocaleTimeString());m.appendChild(f);m.setAttribute("title",d.toLocaleDateString()+" "+d.toLocaleTimeString()+(null!=b.fileSize?" "+a.formatFileSize(parseInt(b.fileSize)):"")+(null!=b.lastModifyingUserName?" "+b.lastModifyingUserName:""));mxEvent.addListener(m,"click",function(a){t!=b&&(p.stop(),null!=v&&(v.style.backgroundColor=""),t=b,v=m,v.style.backgroundColor="#ebf2f9",z=y=null,A.removeAttribute("title"),A.innerHTML=mxUtils.htmlEntities(mxResources.get("loading")+"..."),k.style.backgroundColor=
|
||||
60);mxUtils.setOpacity(C,60)}else I.style.display="none",I.innerHTML="",A.innerHTML="",mxUtils.write(A,mxResources.get("errorLoadingFile"))},m=document.createElement("tr");m.style.borderBottom="1px solid lightGray";m.style.fontSize="12px";m.style.cursor="pointer";var g=document.createElement("td");g.style.padding="6px";g.style.whiteSpace="nowrap";b==c[c.length-1]?mxUtils.write(g,mxResources.get("current")):d.toDateString()===T?mxUtils.write(g,d.toLocaleTimeString()):mxUtils.write(g,d.toLocaleDateString()+
|
||||
" "+d.toLocaleTimeString());m.appendChild(g);m.setAttribute("title",d.toLocaleDateString()+" "+d.toLocaleTimeString()+(null!=b.fileSize?" "+a.formatFileSize(parseInt(b.fileSize)):"")+(null!=b.lastModifyingUserName?" "+b.lastModifyingUserName:""));mxEvent.addListener(m,"click",function(a){t!=b&&(p.stop(),null!=v&&(v.style.backgroundColor=""),t=b,v=m,v.style.backgroundColor="#ebf2f9",z=y=null,A.removeAttribute("title"),A.innerHTML=mxUtils.htmlEntities(mxResources.get("loading")+"..."),k.style.backgroundColor=
|
||||
"#ffffff",l.getModel().clear(),F.setAttribute("disabled","disabled"),D.setAttribute("disabled","disabled"),B.setAttribute("disabled","disabled"),G.setAttribute("disabled","disabled"),C.setAttribute("disabled","disabled"),x.setAttribute("disabled","disabled"),H.setAttribute("disabled","disabled"),E.setAttribute("disabled","disabled"),I.setAttribute("disabled","disabled"),mxUtils.setOpacity(B,20),mxUtils.setOpacity(G,20),mxUtils.setOpacity(x,20),mxUtils.setOpacity(C,20),p.spin(k),b.getXml(function(a){if(t==
|
||||
b)try{g(a)}catch(ca){A.innerHTML=mxUtils.htmlEntities(mxResources.get("error")+": "+ca.message)}},function(a){p.stop();I.style.display="none";I.innerHTML="";A.innerHTML="";mxUtils.write(A,mxResources.get("errorLoadingFile"))}),mxEvent.consume(a))});mxEvent.addListener(m,"dblclick",function(a){E.click();window.getSelection?window.getSelection().removeAllRanges():document.selection&&document.selection.empty();mxEvent.consume(a)},!1);W.appendChild(m)}return m}(c[L]);null!=V&&L==c.length-1&&(M=V)}R.appendChild(W);
|
||||
b)try{f(a)}catch(ca){A.innerHTML=mxUtils.htmlEntities(mxResources.get("error")+": "+ca.message)}},function(a){p.stop();I.style.display="none";I.innerHTML="";A.innerHTML="";mxUtils.write(A,mxResources.get("errorLoadingFile"))}),mxEvent.consume(a))});mxEvent.addListener(m,"dblclick",function(a){E.click();window.getSelection?window.getSelection().removeAllRanges():document.selection&&document.selection.empty();mxEvent.consume(a)},!1);W.appendChild(m)}return m}(c[L]);null!=V&&L==c.length-1&&(M=V)}R.appendChild(W);
|
||||
g.appendChild(R)}else null==u||null==a.drive&&u.constructor==window.DriveFile||null==a.dropbox&&u.constructor==window.DropboxFile?(k.style.display="none",K.style.display="none",mxUtils.write(g,mxResources.get("notAvailable"))):(k.style.display="none",K.style.display="none",mxUtils.write(g,mxResources.get("noRevisions")));this.init=function(){null!=M&&M.click()};g=mxUtils.button(mxResources.get("close"),function(){a.hideDialog()});g.className="geBtn";K.appendChild(I);K.appendChild(B);K.appendChild(G);
|
||||
K.appendChild(C);K.appendChild(x);a.editor.cancelFirst?(f.appendChild(g),f.appendChild(D),f.appendChild(H),f.appendChild(F),f.appendChild(E)):(f.appendChild(D),f.appendChild(H),f.appendChild(F),f.appendChild(E),f.appendChild(g));b.appendChild(f);b.appendChild(K);b.appendChild(A);this.container=b},DraftDialog=function(a,c,d,b,f,g,k,l){var n=document.createElement("div"),q=document.createElement("div");q.style.marginTop="0px";q.style.whiteSpace="nowrap";q.style.overflow="auto";mxUtils.write(q,c);n.appendChild(q);
|
||||
var e=document.createElement("div");e.style.position="absolute";e.style.border="1px solid lightGray";e.style.marginTop="10px";e.style.width="640px";e.style.top="46px";e.style.bottom="74px";e.style.overflow="hidden";mxEvent.disableContextMenu(e);n.appendChild(e);var m=new Graph(e);m.setEnabled(!1);m.setPanning(!0);m.panningHandler.ignoreCell=!0;m.panningHandler.useLeftButtonForPanning=!0;m.minFitScale=null;m.maxFitScale=null;m.centerZoom=!0;c=mxUtils.parseXml(d);var p=a.editor.extractGraphModel(c.documentElement,
|
||||
|
@ -8280,8 +8502,8 @@ b||0==b.length?(q.querySelector(".dlg_fontName_"+g).style.border="1px solid red"
|
|||
function(){u.setAttribute("checked","checked");u.checked=!0});mxEvent.addListener(y,"focus",function(){t.setAttribute("checked","checked");t.checked=!0});mxEvent.addListener(z,"focus",function(){t.setAttribute("checked","checked");t.checked=!0});l.appendChild(B);a.editor.cancelFirst||l.appendChild(c);k.appendChild(l);e.appendChild(k);q.appendChild(e);this.container=q};
|
||||
function AspectDialog(a,c,d,b,f){this.aspect={pageId:c||a.pages[0].getId(),layerIds:d||[]};c=document.createElement("div");var g=document.createElement("h5");g.style.margin="0 0 10px";mxUtils.write(g,mxResources.get("pages"));c.appendChild(g);d=document.createElement("div");d.className="geAspectDlgList";c.appendChild(d);g=document.createElement("h5");g.style.margin="0 0 10px";mxUtils.write(g,mxResources.get("layers"));c.appendChild(g);g=document.createElement("div");g.className="geAspectDlgList";
|
||||
c.appendChild(g);this.pagesContainer=d;this.layersContainer=g;this.ui=a;d=document.createElement("div");d.style.marginTop="16px";d.style.textAlign="center";g=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=f&&f()});g.className="geBtn";a.editor.cancelFirst&&d.appendChild(g);var k=mxUtils.button(mxResources.get("ok"),mxUtils.bind(this,function(){a.hideDialog();b({pageId:this.selectedPage,layerIds:Object.keys(this.selectedLayers)})}));d.appendChild(k);k.className="geBtn gePrimaryBtn";
|
||||
a.editor.cancelFirst||d.appendChild(g);k.setAttribute("disabled","disabled");this.okBtn=k;c.appendChild(d);this.container=c}AspectDialog.prototype.init=function(){for(var a=0;a<this.ui.pages.length;a++){var c=this.ui.updatePageRoot(this.ui.pages[a]);this.createPageItem(c.getId(),c.getName(),c.node,c.root)}};
|
||||
AspectDialog.prototype.createViewer=function(a,c,d){mxEvent.disableContextMenu(a);a.style.userSelect="none";var b=new Graph(a);b.setTooltips(!1);b.setEnabled(!1);b.setPanning(!1);b.minFitScale=null;b.maxFitScale=null;b.centerZoom=!0;c=c.firstElementChild;if(null!=c){var f=c.getAttribute("background");if(null==f||""==f||f==mxConstants.NONE)f="#ffffff";a.style.backgroundColor=f;f=new mxCodec(c.ownerDocument);a=b.getModel();f.decode(c,a);c=a.getChildCount(a.root);for(var f=null==d,g=0;g<c;g++){var k=
|
||||
a.editor.cancelFirst||d.appendChild(g);k.setAttribute("disabled","disabled");this.okBtn=k;c.appendChild(d);this.container=c}AspectDialog.prototype.init=function(){this.ui.getFileData(!0);for(var a=0;a<this.ui.pages.length;a++){var c=this.ui.updatePageRoot(this.ui.pages[a]);this.createPageItem(c.getId(),c.getName(),c.node,c.root)}};
|
||||
AspectDialog.prototype.createViewer=function(a,c,d){mxEvent.disableContextMenu(a);a.style.userSelect="none";var b=new Graph(a);b.setTooltips(!1);b.setEnabled(!1);b.setPanning(!1);b.minFitScale=null;b.maxFitScale=null;b.centerZoom=!0;c=Editor.parseDiagramNode(c);if(null!=c){var f=c.getAttribute("background");if(null==f||""==f||f==mxConstants.NONE)f="#ffffff";a.style.backgroundColor=f;f=new mxCodec(c.ownerDocument);a=b.getModel();f.decode(c,a);c=a.getChildCount(a.root);for(var f=null==d,g=0;g<c;g++){var k=
|
||||
a.getChildAt(a.root,g);a.setVisible(k,f||d==k.id)}b.maxFitScale=1;b.fit(0);b.center()}return b};
|
||||
AspectDialog.prototype.createPageItem=function(a,c,d,b){var f=document.createElement("div");f.className="geAspectDlgListItem";f.setAttribute("data-page-id",a);f.innerHTML='<div style="max-width: 100%; max-height: 100%;"></div><div class="geAspectDlgListItemText">'+c+"</div>";this.pagesContainer.appendChild(f);var g=this.createViewer(f.childNodes[0],d);c=mxUtils.bind(this,function(){null!=this.selectedItem&&(this.selectedItem.className="geAspectDlgListItem");this.selectedItem=f;this.selectedPage=a;
|
||||
f.className+=" geAspectDlgListItemSelected";this.layersContainer.innerHTML="";this.selectedLayers={};this.okBtn.setAttribute("disabled","disabled");for(var b=g.model,b=b.getChildCells(b.getRoot()),c=0;c<b.length;c++)this.createLayerItem(b[c],a,g,d)});mxEvent.addListener(f,"click",c);this.aspect.pageId==a&&c()};
|
||||
|
@ -8445,31 +8667,31 @@ mxStencilRegistry.libraries.cisco19=[SHAPES_PATH+"/mxCisco19.js",STENCIL_PATH+"/
|
|||
STENCIL_PATH+"/mockup/misc.xml"];mxStencilRegistry.libraries["mockup/markup"]=[SHAPES_PATH+"/mockup/mxMockupMarkup.js"];mxStencilRegistry.libraries["mockup/misc"]=[SHAPES_PATH+"/mockup/mxMockupMisc.js",STENCIL_PATH+"/mockup/misc.xml"];mxStencilRegistry.libraries["mockup/navigation"]=[SHAPES_PATH+"/mockup/mxMockupNavigation.js",STENCIL_PATH+"/mockup/misc.xml"];mxStencilRegistry.libraries["mockup/text"]=[SHAPES_PATH+"/mockup/mxMockupText.js"];mxStencilRegistry.libraries.floorplan=[SHAPES_PATH+"/mxFloorplan.js",
|
||||
STENCIL_PATH+"/floorplan.xml"];mxStencilRegistry.libraries.bootstrap=[SHAPES_PATH+"/mxBootstrap.js",STENCIL_PATH+"/bootstrap.xml"];mxStencilRegistry.libraries.gmdl=[SHAPES_PATH+"/mxGmdl.js",STENCIL_PATH+"/gmdl.xml"];mxStencilRegistry.libraries.gcp2=[SHAPES_PATH+"/mxGCP2.js",STENCIL_PATH+"/gcp2.xml"];mxStencilRegistry.libraries.cabinets=[SHAPES_PATH+"/mxCabinets.js",STENCIL_PATH+"/cabinets.xml"];mxStencilRegistry.libraries.archimate=[SHAPES_PATH+"/mxArchiMate.js"];mxStencilRegistry.libraries.archimate3=
|
||||
[SHAPES_PATH+"/mxArchiMate3.js"];mxStencilRegistry.libraries.sysml=[SHAPES_PATH+"/mxSysML.js"];mxStencilRegistry.libraries.eip=[SHAPES_PATH+"/mxEip.js",STENCIL_PATH+"/eip.xml"];mxStencilRegistry.libraries.networks=[SHAPES_PATH+"/mxNetworks.js",STENCIL_PATH+"/networks.xml"];mxStencilRegistry.libraries.aws3d=[SHAPES_PATH+"/mxAWS3D.js",STENCIL_PATH+"/aws3d.xml"];mxStencilRegistry.libraries.aws4=[SHAPES_PATH+"/mxAWS4.js",STENCIL_PATH+"/aws4.xml"];mxStencilRegistry.libraries.aws4b=[SHAPES_PATH+"/mxAWS4.js",
|
||||
STENCIL_PATH+"/aws4.xml"];mxStencilRegistry.libraries.veeam=[STENCIL_PATH+"/veeam/2d.xml",STENCIL_PATH+"/veeam/3d.xml",STENCIL_PATH+"/veeam/veeam.xml"];mxStencilRegistry.libraries.pid2inst=[SHAPES_PATH+"/pid2/mxPidInstruments.js"];mxStencilRegistry.libraries.pid2misc=[SHAPES_PATH+"/pid2/mxPidMisc.js",STENCIL_PATH+"/pid/misc.xml"];mxStencilRegistry.libraries.pid2valves=[SHAPES_PATH+"/pid2/mxPidValves.js"];mxStencilRegistry.libraries.pidFlowSensors=[STENCIL_PATH+"/pid/flow_sensors.xml"];mxMarker.getPackageForType=
|
||||
function(a){var b=null;null!=a&&0<a.length&&("ER"==a.substring(0,2)?b="mxgraph.er":"sysML"==a.substring(0,5)&&(b="mxgraph.sysml"));return b};var B=mxMarker.createMarker;mxMarker.createMarker=function(a,b,c,e,d,m,p,f,g,k){if(null!=c&&null==mxMarker.markers[c]){var t=this.getPackageForType(c);null!=t&&mxStencilRegistry.getStencil(t)}return B.apply(this,arguments)};PrintDialog.prototype.create=function(a,b){function c(){l.value=Math.max(1,Math.min(f,Math.max(parseInt(l.value),parseInt(u.value))));u.value=
|
||||
Math.max(1,Math.min(f,Math.min(parseInt(l.value),parseInt(u.value))))}function e(b){function c(b,c,m){var p=b.useCssTransforms,f=b.currentTranslate,g=b.currentScale,k=b.view.translate,t=b.view.scale;b.useCssTransforms&&(b.useCssTransforms=!1,b.currentTranslate=new mxPoint(0,0),b.currentScale=1,b.view.translate=new mxPoint(0,0),b.view.scale=1);var x=b.getGraphBounds(),u=0,v=0,l=ja.get(),n=1/b.pageScale,A=z.checked;if(A)var n=parseInt(S.value),y=parseInt(X.value),n=Math.min(l.height*y/(x.height/b.view.scale),
|
||||
l.width*n/(x.width/b.view.scale));else n=parseInt(C.value)/(100*b.pageScale),isNaN(n)&&(e=1/b.pageScale,C.value="100 %");l=mxRectangle.fromRectangle(l);l.width=Math.ceil(l.width*e);l.height=Math.ceil(l.height*e);n*=e;!A&&b.pageVisible?(x=b.getPageLayout(),u-=x.x*l.width,v-=x.y*l.height):A=!0;if(null==c){c=PrintDialog.createPrintPreview(b,n,l,0,u,v,A);c.pageSelector=!1;c.mathEnabled=!1;u=a.getCurrentFile();null!=u&&(c.title=u.getTitle());var B=c.writeHead;c.writeHead=function(c){B.apply(this,arguments);
|
||||
null!=a.editor.fontCss&&(c.writeln('<style type="text/css">'),c.writeln(a.editor.fontCss),c.writeln("</style>"));if(null!=b.extFonts)for(var e=0;e<b.extFonts.length;e++){var d=b.extFonts[e].name,m=b.extFonts[e].url;0==m.indexOf(Editor.GOOGLE_FONTS)?c.writeln('<link rel="stylesheet" href="'+m+'" charset="UTF-8" type="text/css">'):(c.writeln('<style type="text/css">'),c.writeln('@font-face {\n\tfont-family: "'+d+'";\n\tsrc: url("'+m+'");\n}'),c.writeln("</style>"))}};if("undefined"!==typeof MathJax){var q=
|
||||
c.renderPage;c.renderPage=function(b,c,e,d,m,p){var f=mxClient.NO_FO;mxClient.NO_FO=this.graph.mathEnabled&&!a.editor.useForeignObjectForMath?!0:a.editor.originalNoForeignObject;var g=q.apply(this,arguments);mxClient.NO_FO=f;this.graph.mathEnabled?this.mathEnabled=this.mathEnabled||!0:g.className="geDisableMathJax";return g}}u=null;null!=d.themes&&"darkTheme"==d.defaultThemeName&&(u=d.stylesheet,d.stylesheet=d.getDefaultStylesheet(),d.refresh());c.open(null,null,m,!0);null!=u&&(d.stylesheet=u,d.refresh())}else{l=
|
||||
b.background;if(null==l||""==l||l==mxConstants.NONE)l="#ffffff";c.backgroundColor=l;c.autoOrigin=A;c.appendGraph(b,n,u,v,m,!0);if(null!=b.extFonts&&null!=c.wnd)for(m=0;m<b.extFonts.length;m++)u=b.extFonts[m].name,v=b.extFonts[m].url,0==v.indexOf(Editor.GOOGLE_FONTS)?c.wnd.document.writeln('<link rel="stylesheet" href="'+v+'" charset="UTF-8" type="text/css">'):(c.wnd.document.writeln('<style type="text/css">'),c.wnd.document.writeln('@font-face {\n\tfont-family: "'+u+'";\n\tsrc: url("'+v+'");\n}'),
|
||||
c.wnd.document.writeln("</style>"))}p&&(b.useCssTransforms=p,b.currentTranslate=f,b.currentScale=g,b.view.translate=k,b.view.scale=t);return c}var e=parseInt(ka.value)/100;isNaN(e)&&(e=1,ka.value="100 %");var e=.75*e,m=u.value,p=l.value,f=!t.checked,k=null;f&&(f=m==g&&p==g);if(!f&&null!=a.pages&&a.pages.length){var x=0,f=a.pages.length-1;t.checked||(x=parseInt(m)-1,f=parseInt(p)-1);for(var v=x;v<=f;v++){var n=a.pages[v],m=n==a.currentPage?d:null;if(null==m){var m=a.createTemporaryGraph(d.getStylesheet()),
|
||||
p=!0,x=!1,A=null,y=null;null==n.viewState&&null==n.root&&a.updatePageRoot(n);null!=n.viewState&&(p=n.viewState.pageVisible,x=n.viewState.mathEnabled,A=n.viewState.background,y=n.viewState.backgroundImage,m.extFonts=n.viewState.extFonts);m.background=A;m.backgroundImage=null!=y?new mxImage(y.src,y.width,y.height):null;m.pageVisible=p;m.mathEnabled=x;var B=m.getGlobalVariable;m.getGlobalVariable=function(b){return"page"==b?n.getName():"pagenumber"==b?v+1:"pagecount"==b?null!=a.pages?a.pages.length:
|
||||
1:B.apply(this,arguments)};document.body.appendChild(m.container);a.updatePageRoot(n);m.model.setRoot(n.root)}k=c(m,k,v!=f);m!=d&&m.container.parentNode.removeChild(m.container)}}else k=c(d);null==k?a.handleError({message:mxResources.get("errorUpdatingPreview")}):(k.mathEnabled&&(f=k.wnd.document,f.writeln('<script type="text/x-mathjax-config">'),f.writeln("MathJax.Hub.Config({"),f.writeln("showMathMenu: false,"),f.writeln('messageStyle: "none",'),f.writeln('jax: ["input/TeX", "input/MathML", "input/AsciiMath", "output/HTML-CSS"],'),
|
||||
f.writeln('extensions: ["tex2jax.js", "mml2jax.js", "asciimath2jax.js"],'),f.writeln('"HTML-CSS": {'),f.writeln("imageFont: null"),f.writeln("},"),f.writeln("TeX: {"),f.writeln('extensions: ["AMSmath.js", "AMSsymbols.js", "noErrors.js", "noUndefined.js"]'),f.writeln("},"),f.writeln("tex2jax: {"),f.writeln('\tignoreClass: "geDisableMathJax"'),f.writeln("},"),f.writeln("asciimath2jax: {"),f.writeln('\tignoreClass: "geDisableMathJax"'),f.writeln("}"),f.writeln("});"),b&&(f.writeln("MathJax.Hub.Queue(function () {"),
|
||||
f.writeln("window.print();"),f.writeln("});")),f.writeln("\x3c/script>"),f.writeln('<script type="text/javascript" src="'+DRAW_MATH_URL+'/MathJax.js">\x3c/script>')),k.closeDocument(),!k.mathEnabled&&b&&PrintDialog.printPreview(k))}var d=a.editor.graph,m=document.createElement("div"),p=document.createElement("h3");p.style.width="100%";p.style.textAlign="center";p.style.marginTop="0px";mxUtils.write(p,b||mxResources.get("print"));m.appendChild(p);var f=1,g=1,k=document.createElement("div");k.style.cssText=
|
||||
"border-bottom:1px solid lightGray;padding-bottom:12px;margin-bottom:12px;";var t=document.createElement("input");t.style.cssText="margin-right:8px;margin-bottom:8px;";t.setAttribute("value","all");t.setAttribute("type","radio");t.setAttribute("name","pages-printdialog");k.appendChild(t);p=document.createElement("span");mxUtils.write(p,mxResources.get("printAllPages"));k.appendChild(p);mxUtils.br(k);var x=t.cloneNode(!0);t.setAttribute("checked","checked");x.setAttribute("value","range");k.appendChild(x);
|
||||
p=document.createElement("span");mxUtils.write(p,mxResources.get("pages")+":");k.appendChild(p);var u=document.createElement("input");u.style.cssText="margin:0 8px 0 8px;";u.setAttribute("value","1");u.setAttribute("type","number");u.setAttribute("min","1");u.style.width="50px";k.appendChild(u);p=document.createElement("span");mxUtils.write(p,mxResources.get("to"));k.appendChild(p);var l=u.cloneNode(!0);k.appendChild(l);mxEvent.addListener(u,"focus",function(){x.checked=!0});mxEvent.addListener(l,
|
||||
"focus",function(){x.checked=!0});mxEvent.addListener(u,"change",c);mxEvent.addListener(l,"change",c);if(null!=a.pages&&(f=a.pages.length,null!=a.currentPage))for(p=0;p<a.pages.length;p++)if(a.currentPage==a.pages[p]){g=p+1;u.value=g;l.value=g;break}u.setAttribute("max",f);l.setAttribute("max",f);1<f&&m.appendChild(k);var v=document.createElement("div");v.style.marginBottom="10px";var n=document.createElement("input");n.style.marginRight="8px";n.setAttribute("value","adjust");n.setAttribute("type",
|
||||
"radio");n.setAttribute("name","printZoom");v.appendChild(n);p=document.createElement("span");mxUtils.write(p,mxResources.get("adjustTo"));v.appendChild(p);var C=document.createElement("input");C.style.cssText="margin:0 8px 0 8px;";C.setAttribute("value","100 %");C.style.width="50px";v.appendChild(C);mxEvent.addListener(C,"focus",function(){n.checked=!0});m.appendChild(v);var k=k.cloneNode(!1),z=n.cloneNode(!0);z.setAttribute("value","fit");n.setAttribute("checked","checked");p=document.createElement("div");
|
||||
p.style.cssText="display:inline-block;height:100%;vertical-align:top;padding-top:2px;";p.appendChild(z);k.appendChild(p);v=document.createElement("table");v.style.display="inline-block";var A=document.createElement("tbody"),y=document.createElement("tr"),B=y.cloneNode(!0),q=document.createElement("td"),D=q.cloneNode(!0),G=q.cloneNode(!0),P=q.cloneNode(!0),N=q.cloneNode(!0),da=q.cloneNode(!0);q.style.textAlign="right";P.style.textAlign="right";mxUtils.write(q,mxResources.get("fitTo"));var S=document.createElement("input");
|
||||
S.style.cssText="margin:0 8px 0 8px;";S.setAttribute("value","1");S.setAttribute("min","1");S.setAttribute("type","number");S.style.width="40px";D.appendChild(S);p=document.createElement("span");mxUtils.write(p,mxResources.get("fitToSheetsAcross"));G.appendChild(p);mxUtils.write(P,mxResources.get("fitToBy"));var X=S.cloneNode(!0);N.appendChild(X);mxEvent.addListener(S,"focus",function(){z.checked=!0});mxEvent.addListener(X,"focus",function(){z.checked=!0});p=document.createElement("span");mxUtils.write(p,
|
||||
mxResources.get("fitToSheetsDown"));da.appendChild(p);y.appendChild(q);y.appendChild(D);y.appendChild(G);B.appendChild(P);B.appendChild(N);B.appendChild(da);A.appendChild(y);A.appendChild(B);v.appendChild(A);k.appendChild(v);m.appendChild(k);k=document.createElement("div");p=document.createElement("div");p.style.fontWeight="bold";p.style.marginBottom="12px";mxUtils.write(p,mxResources.get("paperSize"));k.appendChild(p);p=document.createElement("div");p.style.marginBottom="12px";var ja=PageSetupDialog.addPageFormatPanel(p,
|
||||
"printdialog",a.editor.graph.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT);k.appendChild(p);p=document.createElement("span");mxUtils.write(p,mxResources.get("pageScale"));k.appendChild(p);var ka=document.createElement("input");ka.style.cssText="margin:0 8px 0 8px;";ka.setAttribute("value","100 %");ka.style.width="60px";k.appendChild(ka);m.appendChild(k);p=document.createElement("div");p.style.cssText="text-align:right;margin:48px 0 0 0;";k=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});
|
||||
k.className="geBtn";a.editor.cancelFirst&&p.appendChild(k);a.isOffline()||(v=mxUtils.button(mxResources.get("help"),function(){d.openLink("https://desk.draw.io/support/solutions/articles/16000048947")}),v.className="geBtn",p.appendChild(v));PrintDialog.previewEnabled&&(v=mxUtils.button(mxResources.get("preview"),function(){a.hideDialog();e(!1)}),v.className="geBtn",p.appendChild(v));v=mxUtils.button(mxResources.get(PrintDialog.previewEnabled?"print":"ok"),function(){a.hideDialog();e(!0)});v.className=
|
||||
"geBtn gePrimaryBtn";p.appendChild(v);a.editor.cancelFirst||p.appendChild(k);m.appendChild(p);this.container=m};var G=ChangePageSetup.prototype.execute;ChangePageSetup.prototype.execute=function(){null==this.page&&(this.page=this.ui.currentPage);this.page!=this.ui.currentPage?null!=this.page.viewState&&(this.ignoreColor||(this.page.viewState.background=this.color),this.ignoreImage||(this.page.viewState.backgroundImage=this.image),null!=this.format&&(this.page.viewState.pageFormat=this.format),null!=
|
||||
this.mathEnabled&&(this.page.viewState.mathEnabled=this.mathEnabled),null!=this.shadowVisible&&(this.page.viewState.shadowVisible=this.shadowVisible)):(G.apply(this,arguments),null!=this.mathEnabled&&this.mathEnabled!=this.ui.isMathEnabled()&&(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),this.shadowVisible=!this.shadowVisible))};
|
||||
Editor.prototype.useCanvasForExport=!1;try{var x=document.createElement("canvas"),C=new Image;C.onload=function(){try{x.getContext("2d").drawImage(C,0,0);var a=x.toDataURL("image/png");Editor.prototype.useCanvasForExport=null!=a&&6<a.length}catch(D){}};C.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1px" height="1px" version="1.1"><foreignObject pointer-events="all" width="1" height="1"><div xmlns="http://www.w3.org/1999/xhtml"></div></foreignObject></svg>')))}catch(A){}})();
|
||||
(function(){var a=new mxObjectCodec(new ChangePageSetup,["ui","previousColor","previousImage","previousFormat"]);a.beforeDecode=function(a,d,b){b.ui=a.ui;return d};a.afterDecode=function(a,d,b){b.previousColor=b.color;b.previousImage=b.image;b.previousFormat=b.format;null!=b.foldingEnabled&&(b.foldingEnabled=!b.foldingEnabled);null!=b.mathEnabled&&(b.mathEnabled=!b.mathEnabled);null!=b.shadowVisible&&(b.shadowVisible=!b.shadowVisible);return b};mxCodecRegistry.register(a)})();(function(){EditorUi.VERSION="12.5.8";EditorUi.compactUi="atlas"!=uiTheme;mxGraphView.prototype.defaultDarkGridColor="#6e6e6e";"dark"==uiTheme&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&/.*\.draw\.io$/.test(window.location.hostname)&&"support.draw.io"!=window.location.hostname;EditorUi.drawHost="https://www.draw.io";EditorUi.lastErrorMessage=null;EditorUi.ignoredAnonymizedChars="\n\t`~!@#$%^&*()_+{}|:\"<>?-=[];'./,\n\t";
|
||||
STENCIL_PATH+"/aws4.xml"];mxStencilRegistry.libraries.veeam=[STENCIL_PATH+"/veeam/2d.xml",STENCIL_PATH+"/veeam/3d.xml",STENCIL_PATH+"/veeam/veeam.xml"];mxStencilRegistry.libraries.veeam2=[STENCIL_PATH+"/veeam/2d.xml",STENCIL_PATH+"/veeam/3d.xml",STENCIL_PATH+"/veeam/veeam2.xml"];mxStencilRegistry.libraries.pid2inst=[SHAPES_PATH+"/pid2/mxPidInstruments.js"];mxStencilRegistry.libraries.pid2misc=[SHAPES_PATH+"/pid2/mxPidMisc.js",STENCIL_PATH+"/pid/misc.xml"];mxStencilRegistry.libraries.pid2valves=[SHAPES_PATH+
|
||||
"/pid2/mxPidValves.js"];mxStencilRegistry.libraries.pidFlowSensors=[STENCIL_PATH+"/pid/flow_sensors.xml"];mxMarker.getPackageForType=function(a){var b=null;null!=a&&0<a.length&&("ER"==a.substring(0,2)?b="mxgraph.er":"sysML"==a.substring(0,5)&&(b="mxgraph.sysml"));return b};var B=mxMarker.createMarker;mxMarker.createMarker=function(a,b,c,e,d,m,p,f,g,k){if(null!=c&&null==mxMarker.markers[c]){var t=this.getPackageForType(c);null!=t&&mxStencilRegistry.getStencil(t)}return B.apply(this,arguments)};PrintDialog.prototype.create=
|
||||
function(a,b){function c(){l.value=Math.max(1,Math.min(f,Math.max(parseInt(l.value),parseInt(u.value))));u.value=Math.max(1,Math.min(f,Math.min(parseInt(l.value),parseInt(u.value))))}function e(b){function c(b,c,m){var p=b.useCssTransforms,f=b.currentTranslate,g=b.currentScale,k=b.view.translate,t=b.view.scale;b.useCssTransforms&&(b.useCssTransforms=!1,b.currentTranslate=new mxPoint(0,0),b.currentScale=1,b.view.translate=new mxPoint(0,0),b.view.scale=1);var x=b.getGraphBounds(),u=0,v=0,l=ja.get(),
|
||||
n=1/b.pageScale,A=z.checked;if(A)var n=parseInt(S.value),y=parseInt(X.value),n=Math.min(l.height*y/(x.height/b.view.scale),l.width*n/(x.width/b.view.scale));else n=parseInt(C.value)/(100*b.pageScale),isNaN(n)&&(e=1/b.pageScale,C.value="100 %");l=mxRectangle.fromRectangle(l);l.width=Math.ceil(l.width*e);l.height=Math.ceil(l.height*e);n*=e;!A&&b.pageVisible?(x=b.getPageLayout(),u-=x.x*l.width,v-=x.y*l.height):A=!0;if(null==c){c=PrintDialog.createPrintPreview(b,n,l,0,u,v,A);c.pageSelector=!1;c.mathEnabled=
|
||||
!1;u=a.getCurrentFile();null!=u&&(c.title=u.getTitle());var B=c.writeHead;c.writeHead=function(c){B.apply(this,arguments);null!=a.editor.fontCss&&(c.writeln('<style type="text/css">'),c.writeln(a.editor.fontCss),c.writeln("</style>"));if(null!=b.extFonts)for(var e=0;e<b.extFonts.length;e++){var d=b.extFonts[e].name,m=b.extFonts[e].url;0==m.indexOf(Editor.GOOGLE_FONTS)?c.writeln('<link rel="stylesheet" href="'+m+'" charset="UTF-8" type="text/css">'):(c.writeln('<style type="text/css">'),c.writeln('@font-face {\n\tfont-family: "'+
|
||||
d+'";\n\tsrc: url("'+m+'");\n}'),c.writeln("</style>"))}};if("undefined"!==typeof MathJax){var q=c.renderPage;c.renderPage=function(b,c,e,d,m,p){var f=mxClient.NO_FO;mxClient.NO_FO=this.graph.mathEnabled&&!a.editor.useForeignObjectForMath?!0:a.editor.originalNoForeignObject;var g=q.apply(this,arguments);mxClient.NO_FO=f;this.graph.mathEnabled?this.mathEnabled=this.mathEnabled||!0:g.className="geDisableMathJax";return g}}u=null;null!=d.themes&&"darkTheme"==d.defaultThemeName&&(u=d.stylesheet,d.stylesheet=
|
||||
d.getDefaultStylesheet(),d.refresh());c.open(null,null,m,!0);null!=u&&(d.stylesheet=u,d.refresh())}else{l=b.background;if(null==l||""==l||l==mxConstants.NONE)l="#ffffff";c.backgroundColor=l;c.autoOrigin=A;c.appendGraph(b,n,u,v,m,!0);if(null!=b.extFonts&&null!=c.wnd)for(m=0;m<b.extFonts.length;m++)u=b.extFonts[m].name,v=b.extFonts[m].url,0==v.indexOf(Editor.GOOGLE_FONTS)?c.wnd.document.writeln('<link rel="stylesheet" href="'+v+'" charset="UTF-8" type="text/css">'):(c.wnd.document.writeln('<style type="text/css">'),
|
||||
c.wnd.document.writeln('@font-face {\n\tfont-family: "'+u+'";\n\tsrc: url("'+v+'");\n}'),c.wnd.document.writeln("</style>"))}p&&(b.useCssTransforms=p,b.currentTranslate=f,b.currentScale=g,b.view.translate=k,b.view.scale=t);return c}var e=parseInt(ka.value)/100;isNaN(e)&&(e=1,ka.value="100 %");var e=.75*e,m=u.value,p=l.value,f=!t.checked,k=null;f&&(f=m==g&&p==g);if(!f&&null!=a.pages&&a.pages.length){var x=0,f=a.pages.length-1;t.checked||(x=parseInt(m)-1,f=parseInt(p)-1);for(var v=x;v<=f;v++){var n=
|
||||
a.pages[v],m=n==a.currentPage?d:null;if(null==m){var m=a.createTemporaryGraph(d.getStylesheet()),p=!0,x=!1,A=null,y=null;null==n.viewState&&null==n.root&&a.updatePageRoot(n);null!=n.viewState&&(p=n.viewState.pageVisible,x=n.viewState.mathEnabled,A=n.viewState.background,y=n.viewState.backgroundImage,m.extFonts=n.viewState.extFonts);m.background=A;m.backgroundImage=null!=y?new mxImage(y.src,y.width,y.height):null;m.pageVisible=p;m.mathEnabled=x;var B=m.getGlobalVariable;m.getGlobalVariable=function(b){return"page"==
|
||||
b?n.getName():"pagenumber"==b?v+1:"pagecount"==b?null!=a.pages?a.pages.length:1:B.apply(this,arguments)};document.body.appendChild(m.container);a.updatePageRoot(n);m.model.setRoot(n.root)}k=c(m,k,v!=f);m!=d&&m.container.parentNode.removeChild(m.container)}}else k=c(d);null==k?a.handleError({message:mxResources.get("errorUpdatingPreview")}):(k.mathEnabled&&(f=k.wnd.document,f.writeln('<script type="text/x-mathjax-config">'),f.writeln("MathJax.Hub.Config({"),f.writeln("showMathMenu: false,"),f.writeln('messageStyle: "none",'),
|
||||
f.writeln('jax: ["input/TeX", "input/MathML", "input/AsciiMath", "output/HTML-CSS"],'),f.writeln('extensions: ["tex2jax.js", "mml2jax.js", "asciimath2jax.js"],'),f.writeln('"HTML-CSS": {'),f.writeln("imageFont: null"),f.writeln("},"),f.writeln("TeX: {"),f.writeln('extensions: ["AMSmath.js", "AMSsymbols.js", "noErrors.js", "noUndefined.js"]'),f.writeln("},"),f.writeln("tex2jax: {"),f.writeln('\tignoreClass: "geDisableMathJax"'),f.writeln("},"),f.writeln("asciimath2jax: {"),f.writeln('\tignoreClass: "geDisableMathJax"'),
|
||||
f.writeln("}"),f.writeln("});"),b&&(f.writeln("MathJax.Hub.Queue(function () {"),f.writeln("window.print();"),f.writeln("});")),f.writeln("\x3c/script>"),f.writeln('<script type="text/javascript" src="'+DRAW_MATH_URL+'/MathJax.js">\x3c/script>')),k.closeDocument(),!k.mathEnabled&&b&&PrintDialog.printPreview(k))}var d=a.editor.graph,m=document.createElement("div"),p=document.createElement("h3");p.style.width="100%";p.style.textAlign="center";p.style.marginTop="0px";mxUtils.write(p,b||mxResources.get("print"));
|
||||
m.appendChild(p);var f=1,g=1,k=document.createElement("div");k.style.cssText="border-bottom:1px solid lightGray;padding-bottom:12px;margin-bottom:12px;";var t=document.createElement("input");t.style.cssText="margin-right:8px;margin-bottom:8px;";t.setAttribute("value","all");t.setAttribute("type","radio");t.setAttribute("name","pages-printdialog");k.appendChild(t);p=document.createElement("span");mxUtils.write(p,mxResources.get("printAllPages"));k.appendChild(p);mxUtils.br(k);var x=t.cloneNode(!0);
|
||||
t.setAttribute("checked","checked");x.setAttribute("value","range");k.appendChild(x);p=document.createElement("span");mxUtils.write(p,mxResources.get("pages")+":");k.appendChild(p);var u=document.createElement("input");u.style.cssText="margin:0 8px 0 8px;";u.setAttribute("value","1");u.setAttribute("type","number");u.setAttribute("min","1");u.style.width="50px";k.appendChild(u);p=document.createElement("span");mxUtils.write(p,mxResources.get("to"));k.appendChild(p);var l=u.cloneNode(!0);k.appendChild(l);
|
||||
mxEvent.addListener(u,"focus",function(){x.checked=!0});mxEvent.addListener(l,"focus",function(){x.checked=!0});mxEvent.addListener(u,"change",c);mxEvent.addListener(l,"change",c);if(null!=a.pages&&(f=a.pages.length,null!=a.currentPage))for(p=0;p<a.pages.length;p++)if(a.currentPage==a.pages[p]){g=p+1;u.value=g;l.value=g;break}u.setAttribute("max",f);l.setAttribute("max",f);1<f&&m.appendChild(k);var v=document.createElement("div");v.style.marginBottom="10px";var n=document.createElement("input");n.style.marginRight=
|
||||
"8px";n.setAttribute("value","adjust");n.setAttribute("type","radio");n.setAttribute("name","printZoom");v.appendChild(n);p=document.createElement("span");mxUtils.write(p,mxResources.get("adjustTo"));v.appendChild(p);var C=document.createElement("input");C.style.cssText="margin:0 8px 0 8px;";C.setAttribute("value","100 %");C.style.width="50px";v.appendChild(C);mxEvent.addListener(C,"focus",function(){n.checked=!0});m.appendChild(v);var k=k.cloneNode(!1),z=n.cloneNode(!0);z.setAttribute("value","fit");
|
||||
n.setAttribute("checked","checked");p=document.createElement("div");p.style.cssText="display:inline-block;height:100%;vertical-align:top;padding-top:2px;";p.appendChild(z);k.appendChild(p);v=document.createElement("table");v.style.display="inline-block";var A=document.createElement("tbody"),y=document.createElement("tr"),B=y.cloneNode(!0),q=document.createElement("td"),D=q.cloneNode(!0),G=q.cloneNode(!0),P=q.cloneNode(!0),N=q.cloneNode(!0),da=q.cloneNode(!0);q.style.textAlign="right";P.style.textAlign=
|
||||
"right";mxUtils.write(q,mxResources.get("fitTo"));var S=document.createElement("input");S.style.cssText="margin:0 8px 0 8px;";S.setAttribute("value","1");S.setAttribute("min","1");S.setAttribute("type","number");S.style.width="40px";D.appendChild(S);p=document.createElement("span");mxUtils.write(p,mxResources.get("fitToSheetsAcross"));G.appendChild(p);mxUtils.write(P,mxResources.get("fitToBy"));var X=S.cloneNode(!0);N.appendChild(X);mxEvent.addListener(S,"focus",function(){z.checked=!0});mxEvent.addListener(X,
|
||||
"focus",function(){z.checked=!0});p=document.createElement("span");mxUtils.write(p,mxResources.get("fitToSheetsDown"));da.appendChild(p);y.appendChild(q);y.appendChild(D);y.appendChild(G);B.appendChild(P);B.appendChild(N);B.appendChild(da);A.appendChild(y);A.appendChild(B);v.appendChild(A);k.appendChild(v);m.appendChild(k);k=document.createElement("div");p=document.createElement("div");p.style.fontWeight="bold";p.style.marginBottom="12px";mxUtils.write(p,mxResources.get("paperSize"));k.appendChild(p);
|
||||
p=document.createElement("div");p.style.marginBottom="12px";var ja=PageSetupDialog.addPageFormatPanel(p,"printdialog",a.editor.graph.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT);k.appendChild(p);p=document.createElement("span");mxUtils.write(p,mxResources.get("pageScale"));k.appendChild(p);var ka=document.createElement("input");ka.style.cssText="margin:0 8px 0 8px;";ka.setAttribute("value","100 %");ka.style.width="60px";k.appendChild(ka);m.appendChild(k);p=document.createElement("div");p.style.cssText=
|
||||
"text-align:right;margin:48px 0 0 0;";k=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});k.className="geBtn";a.editor.cancelFirst&&p.appendChild(k);a.isOffline()||(v=mxUtils.button(mxResources.get("help"),function(){d.openLink("https://desk.draw.io/support/solutions/articles/16000048947")}),v.className="geBtn",p.appendChild(v));PrintDialog.previewEnabled&&(v=mxUtils.button(mxResources.get("preview"),function(){a.hideDialog();e(!1)}),v.className="geBtn",p.appendChild(v));v=mxUtils.button(mxResources.get(PrintDialog.previewEnabled?
|
||||
"print":"ok"),function(){a.hideDialog();e(!0)});v.className="geBtn gePrimaryBtn";p.appendChild(v);a.editor.cancelFirst||p.appendChild(k);m.appendChild(p);this.container=m};var G=ChangePageSetup.prototype.execute;ChangePageSetup.prototype.execute=function(){null==this.page&&(this.page=this.ui.currentPage);this.page!=this.ui.currentPage?null!=this.page.viewState&&(this.ignoreColor||(this.page.viewState.background=this.color),this.ignoreImage||(this.page.viewState.backgroundImage=this.image),null!=this.format&&
|
||||
(this.page.viewState.pageFormat=this.format),null!=this.mathEnabled&&(this.page.viewState.mathEnabled=this.mathEnabled),null!=this.shadowVisible&&(this.page.viewState.shadowVisible=this.shadowVisible)):(G.apply(this,arguments),null!=this.mathEnabled&&this.mathEnabled!=this.ui.isMathEnabled()&&(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),
|
||||
this.shadowVisible=!this.shadowVisible))};Editor.prototype.useCanvasForExport=!1;try{var x=document.createElement("canvas"),C=new Image;C.onload=function(){try{x.getContext("2d").drawImage(C,0,0);var a=x.toDataURL("image/png");Editor.prototype.useCanvasForExport=null!=a&&6<a.length}catch(D){}};C.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1px" height="1px" version="1.1"><foreignObject pointer-events="all" width="1" height="1"><div xmlns="http://www.w3.org/1999/xhtml"></div></foreignObject></svg>')))}catch(A){}})();
|
||||
(function(){var a=new mxObjectCodec(new ChangePageSetup,["ui","previousColor","previousImage","previousFormat"]);a.beforeDecode=function(a,d,b){b.ui=a.ui;return d};a.afterDecode=function(a,d,b){b.previousColor=b.color;b.previousImage=b.image;b.previousFormat=b.format;null!=b.foldingEnabled&&(b.foldingEnabled=!b.foldingEnabled);null!=b.mathEnabled&&(b.mathEnabled=!b.mathEnabled);null!=b.shadowVisible&&(b.shadowVisible=!b.shadowVisible);return b};mxCodecRegistry.register(a)})();(function(){EditorUi.VERSION="12.6.1";EditorUi.compactUi="atlas"!=uiTheme;mxGraphView.prototype.defaultDarkGridColor="#6e6e6e";"dark"==uiTheme&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&/.*\.draw\.io$/.test(window.location.hostname)&&"support.draw.io"!=window.location.hostname;EditorUi.drawHost="https://www.draw.io";EditorUi.lastErrorMessage=null;EditorUi.ignoredAnonymizedChars="\n\t`~!@#$%^&*()_+{}|:\"<>?-=[];'./,\n\t";
|
||||
EditorUi.templateFile=TEMPLATE_PATH+"/index.xml";EditorUi.cacheUrl="1"==urlParams.dev?"/cache":window.REALTIME_URL;null==EditorUi.cacheUrl&&"undefined"!==typeof DrawioFile&&(DrawioFile.SYNC="none");Editor.cacheTimeout=1E4;EditorUi.enablePlantUml=EditorUi.enableLogging;EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&null!=window.process.versions.electron;EditorUi.scratchpadHelpLink="https://desk.draw.io/support/solutions/articles/16000042367";EditorUi.logError=
|
||||
function(a,b,c,d,f){if("1"==urlParams.dev)EditorUi.debug("logError",a,b,c,d,f);else if(EditorUi.enableLogging)try{if(a!=EditorUi.lastErrorMessage&&(null==a||null==b||-1==a.indexOf("Script error")&&-1==a.indexOf("extension"))&&null!=a&&0>a.indexOf("DocumentClosedError")){EditorUi.lastErrorMessage=a;var e=0<=a.indexOf("NetworkError")||0<=a.indexOf("SecurityError")||0<=a.indexOf("NS_ERROR_FAILURE")||0<=a.indexOf("out of memory")?"CONFIG":"SEVERE",m=null!=window.DRAWIO_LOG_URL?window.DRAWIO_LOG_URL:"";
|
||||
f=null!=f?f:Error(a);(new Image).src=m+"/log?severity="+e+"&v="+encodeURIComponent(EditorUi.VERSION)+"&msg=clientError:"+encodeURIComponent(a)+":url:"+encodeURIComponent(window.location.href)+":lnum:"+encodeURIComponent(c)+(null!=d?":colno:"+encodeURIComponent(d):"")+(null!=f&&null!=f.stack?"&stack="+encodeURIComponent(f.stack):"")}}catch(z){}};EditorUi.logEvent=function(a){if("1"==urlParams.dev)EditorUi.debug("logEvent",a);else if(EditorUi.enableLogging)try{var b=null!=window.DRAWIO_LOG_URL?window.DRAWIO_LOG_URL:
|
||||
|
@ -8576,8 +8798,8 @@ c))throw{message:"Invalid image"};null!=b&&(e=this.writeGraphModelToPng(e,"tEXt"
|
|||
"undefined"!==typeof window.URL)&&9!=document.documentMode&&8!=document.documentMode&&7!=document.documentMode&&!mxClient.IS_QUIRKS||this.isOfflineApp()||mxClient.IS_IOS};EditorUi.prototype.showTextDialog=function(a,b){var c=new TextareaDialog(this,a,b,null,null,mxResources.get("close"));c.textarea.style.width="600px";c.textarea.style.height="380px";this.showDialog(c.container,620,460,!0,!0,null,null,null,null,!0);c.init();document.execCommand("selectall",!1,null)};EditorUi.prototype.doSaveLocalFile=
|
||||
function(a,b,c,d,f){if(window.Blob&&navigator.msSaveOrOpenBlob)a=d?this.base64ToBlob(a,c):new Blob([a],{type:c}),navigator.msSaveOrOpenBlob(a,b);else if(mxClient.IS_IE)c=window.open("about:blank","_blank"),null==c?mxUtils.popup(a,!0):(c.document.write(a),c.document.close(),c.document.execCommand("SaveAs",!0,b),c.close());else if(mxClient.IS_IOS&&mxClient.IS_SF&&this.isOffline())navigator.standalone||null==c||"image/"!=c.substring(0,6)?this.showTextDialog(b+":",a):this.openInNewWindow(a,c,d);else{var e=
|
||||
document.createElement("a"),m=0>navigator.userAgent.indexOf("PaleMoon/")&&"undefined"!==typeof e.download;if(mxClient.IS_GC)var g=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./),m=65==(g?parseInt(g[2],10):!1)?!1:m;if(m||this.isOffline()){e.href=URL.createObjectURL(d?this.base64ToBlob(a,c):new Blob([a],{type:c}));m?e.download=b:e.setAttribute("target","_blank");document.body.appendChild(e);try{window.setTimeout(function(){URL.revokeObjectURL(e.href)},0),e.click(),e.parentNode.removeChild(e)}catch(B){}}else this.createEchoRequest(a,
|
||||
b,c,d,f).simulate(document,"_blank")}};EditorUi.prototype.createEchoRequest=function(a,b,c,d,f,g){a="xml="+encodeURIComponent(a);return new mxXmlRequest(SAVE_URL,a+(null!=c?"&mime="+c:"")+(null!=f?"&format="+f:"")+(null!=g?"&base64="+g:"")+(null!=b?"&filename="+encodeURIComponent(b):"")+(d?"&binary=1":""))};EditorUi.prototype.base64ToBlob=function(a,b){b=b||"";for(var c=atob(a),d=c.length,e=Math.ceil(d/1024),f=Array(e),m=0;m<e;++m){for(var g=1024*m,k=Math.min(g+1024,d),l=Array(k-g),x=0;g<k;++x,++g)l[x]=
|
||||
c[g].charCodeAt(0);f[m]=new Uint8Array(l)}return new Blob(f,{type:b})};EditorUi.prototype.saveLocalFile=function(a,b,c,d,f,g,k){g=null!=g?g:!1;k=null!=k?k:"vsdx"!=f&&(!mxClient.IS_IOS||!navigator.standalone);f=this.getServiceCount(g);isLocalStorage&&f++;var e=4>=f?2:6<f?4:3;b=new CreateDialog(this,b,mxUtils.bind(this,function(b,e){try{if("_blank"==e)if(null!=c&&"image/"==c.substring(0,6))this.openInNewWindow(a,c,d);else{var f=window.open("about:blank");null==f?mxUtils.popup(a,!0):(f.document.write("<pre>"+
|
||||
b,c,d,f).simulate(document,"_blank")}};EditorUi.prototype.createEchoRequest=function(a,b,c,d,f,g){a="xml="+encodeURIComponent(a);return new mxXmlRequest(SAVE_URL,a+(null!=c?"&mime="+c:"")+(null!=f?"&format="+f:"")+(null!=g?"&base64="+g:"")+(null!=b?"&filename="+encodeURIComponent(b):"")+(d?"&binary=1":""))};EditorUi.prototype.base64ToBlob=function(a,b){b=b||"";for(var c=atob(a),d=c.length,e=Math.ceil(d/1024),m=Array(e),f=0;f<e;++f){for(var g=1024*f,k=Math.min(g+1024,d),l=Array(k-g),x=0;g<k;++x,++g)l[x]=
|
||||
c[g].charCodeAt(0);m[f]=new Uint8Array(l)}return new Blob(m,{type:b})};EditorUi.prototype.saveLocalFile=function(a,b,c,d,f,g,k){g=null!=g?g:!1;k=null!=k?k:"vsdx"!=f&&(!mxClient.IS_IOS||!navigator.standalone);f=this.getServiceCount(g);isLocalStorage&&f++;var e=4>=f?2:6<f?4:3;b=new CreateDialog(this,b,mxUtils.bind(this,function(b,e){try{if("_blank"==e)if(null!=c&&"image/"==c.substring(0,6))this.openInNewWindow(a,c,d);else{var f=window.open("about:blank");null==f?mxUtils.popup(a,!0):(f.document.write("<pre>"+
|
||||
mxUtils.htmlEntities(a,!1)+"</pre>"),f.document.close())}else e==App.MODE_DEVICE||"download"==e?this.doSaveLocalFile(a,b,c,d):null!=b&&0<b.length&&this.pickFolder(e,mxUtils.bind(this,function(f){try{this.exportFile(a,b,c,d,e,f)}catch(A){this.handleError(A)}}))}catch(C){this.handleError(C)}}),mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("download"),!1,g,k,null,1<f,e,a,c,d);g=this.isServices(f)?f>e?390:270:160;this.showDialog(b.container,400,g,!0,!0);b.init()};
|
||||
EditorUi.prototype.openInNewWindow=function(a,b,c){var d=window.open("about:blank");null==d||null==d.document?mxUtils.popup(a,!0):("image/svg+xml"!=b||mxClient.IS_SVG?(c=c?a:btoa(unescape(encodeURIComponent(a))),"image/svg+xml"==b?mxClient.IS_GC&&mxClient.IS_MAC?d.document.write('<html><object style="max-width:100%;" data="data:'+b+";base64,"+c+'"/></html>'):d.document.write("<html>"+a+"</html>"):d.document.write('<html><img style="max-width:100%;" src="data:'+b+";base64,"+c+'"/></html>')):d.document.write("<html><pre>"+
|
||||
mxUtils.htmlEntities(a,!1)+"</pre></html>"),d.document.close())};var d=EditorUi.prototype.addChromelessToolbarItems;EditorUi.prototype.addChromelessToolbarItems=function(a){if(this.isExportToCanvas()){this.exportDialog=null;var b=a(mxUtils.bind(this,function(a){var c=mxUtils.bind(this,function(){mxEvent.removeListener(this.editor.graph.container,"click",c);null!=this.exportDialog&&(this.exportDialog.parentNode.removeChild(this.exportDialog),this.exportDialog=null)});if(null!=this.exportDialog)c.apply(this);
|
||||
|
@ -8611,18 +8833,18 @@ E.setAttribute("disabled","disabled");E.checked&&J.checked?H.getEditSelect().rem
|
|||
var x=document.createElement("div");x.style.whiteSpace="normal";mxUtils.write(x,mxResources.get("linkAccountRequired"));p.appendChild(x);x=mxUtils.button(mxResources.get("share"),mxUtils.bind(this,function(){this.drive.showPermissions(k.getId())}));x.style.marginTop="12px";x.className="geBtn";p.appendChild(x);e.appendChild(p);x=document.createElement("a");x.style.paddingLeft="12px";x.style.color="gray";x.style.fontSize="11px";x.setAttribute("href","javascript:void(0);");mxUtils.write(x,mxResources.get("check"));
|
||||
p.appendChild(x);mxEvent.addListener(x,"click",mxUtils.bind(this,function(){this.spinner.spin(document.body,mxResources.get("loading"))&&this.getPublicUrl(this.getCurrentFile(),mxUtils.bind(this,function(a){this.spinner.stop();a=new ErrorDialog(this,null,mxResources.get(null!=a?"diagramIsPublic":"diagramIsNotPublic"),mxResources.get("ok"));this.showDialog(a.container,300,80,!0,!1);a.init()}))}))}var l=null,t=null;if(null!=c||null!=d)a+=30,mxUtils.write(e,mxResources.get("width")+":"),l=document.createElement("input"),
|
||||
l.setAttribute("type","text"),l.style.marginRight="16px",l.style.width="50px",l.style.marginLeft="6px",l.style.marginRight="16px",l.style.marginBottom="10px",l.value="100%",e.appendChild(l),mxUtils.write(e,mxResources.get("height")+":"),t=document.createElement("input"),t.setAttribute("type","text"),t.style.width="50px",t.style.marginLeft="6px",t.style.marginBottom="10px",t.value=d+"px",e.appendChild(t),mxUtils.br(e);var n=this.addLinkSection(e,g);c=null!=this.pages&&1<this.pages.length;var u=null;
|
||||
if(null==k||k.constructor!=window.DriveFile||b)u=this.addCheckbox(e,mxResources.get("allPages"),c,!c);var q=this.addCheckbox(e,mxResources.get("lightbox"),!0),v=this.addEditButton(e,q),H=v.getEditInput(),E=this.addCheckbox(e,mxResources.get("layers"),!0);E.style.marginLeft=H.style.marginLeft;E.style.marginBottom="16px";E.style.marginTop="8px";mxEvent.addListener(q,"change",function(){q.checked?(E.removeAttribute("disabled"),H.removeAttribute("disabled")):(E.setAttribute("disabled","disabled"),H.setAttribute("disabled",
|
||||
"disabled"));H.checked&&q.checked?v.getEditSelect().removeAttribute("disabled"):v.getEditSelect().setAttribute("disabled","disabled")});b=new CustomDialog(this,e,mxUtils.bind(this,function(){f(n.getTarget(),n.getColor(),null==u?!0:u.checked,q.checked,v.getLink(),E.checked,null!=l?l.value:null,null!=t?t.value:null)}),null,mxResources.get("create"),m);this.showDialog(b.container,340,254+a,!0,!0);null!=l?(l.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?l.select():
|
||||
if(null==k||k.constructor!=window.DriveFile||b)u=this.addCheckbox(e,mxResources.get("allPages"),c,!c);var v=this.addCheckbox(e,mxResources.get("lightbox"),!0),q=this.addEditButton(e,v),H=q.getEditInput(),E=this.addCheckbox(e,mxResources.get("layers"),!0);E.style.marginLeft=H.style.marginLeft;E.style.marginBottom="16px";E.style.marginTop="8px";mxEvent.addListener(v,"change",function(){v.checked?(E.removeAttribute("disabled"),H.removeAttribute("disabled")):(E.setAttribute("disabled","disabled"),H.setAttribute("disabled",
|
||||
"disabled"));H.checked&&v.checked?q.getEditSelect().removeAttribute("disabled"):q.getEditSelect().setAttribute("disabled","disabled")});b=new CustomDialog(this,e,mxUtils.bind(this,function(){f(n.getTarget(),n.getColor(),null==u?!0:u.checked,v.checked,q.getLink(),E.checked,null!=l?l.value:null,null!=t?t.value:null)}),null,mxResources.get("create"),m);this.showDialog(b.container,340,254+a,!0,!0);null!=l?(l.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?l.select():
|
||||
document.execCommand("selectAll",!1,null)):n.focus()};EditorUi.prototype.showRemoteExportDialog=function(a,b,c,d,f){var e=document.createElement("div");e.style.whiteSpace="nowrap";var m=document.createElement("h3");mxUtils.write(m,mxResources.get("image"));m.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:"+(f?"10":"4")+"px";e.appendChild(m);if(f){mxUtils.write(e,mxResources.get("zoom")+":");var g=document.createElement("input");g.setAttribute("type","text");g.style.marginRight=
|
||||
"16px";g.style.width="60px";g.style.marginLeft="4px";g.style.marginRight="12px";g.value=this.lastExportZoom||"100%";e.appendChild(g);mxUtils.write(e,mxResources.get("borderWidth")+":");var k=document.createElement("input");k.setAttribute("type","text");k.style.marginRight="16px";k.style.width="60px";k.style.marginLeft="4px";k.value=this.lastExportBorder||"0";e.appendChild(k);mxUtils.br(e)}var p=this.addCheckbox(e,mxResources.get("selectionOnly"),!1,this.editor.graph.isSelectionEmpty()),x=d?null:this.addCheckbox(e,
|
||||
mxResources.get("includeCopyOfMyDiagram"),!0),m=this.editor.graph,l=d?null:this.addCheckbox(e,mxResources.get("transparentBackground"),m.background==mxConstants.NONE||null==m.background);null!=l&&(l.style.marginBottom="16px");a=new CustomDialog(this,e,mxUtils.bind(this,function(){var a=parseInt(g.value)/100||1,b=parseInt(k.value)||0;c(!p.checked,null!=x?x.checked:!1,null!=l?l.checked:!1,a,b)}),null,a,b);this.showDialog(a.container,300,(f?25:0)+(d?125:210),!0,!0)};EditorUi.prototype.showExportDialog=
|
||||
function(a,b,c,d,f,g,k,l){k=null!=k?k:!0;var e=document.createElement("div");e.style.whiteSpace="nowrap";var m=this.editor.graph,p="jpeg"==l?196:300,n=document.createElement("h3");mxUtils.write(n,a);n.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:10px";e.appendChild(n);mxUtils.write(e,mxResources.get("zoom")+":");var t=document.createElement("input");t.setAttribute("type","text");t.style.marginRight="16px";t.style.width="60px";t.style.marginLeft="4px";t.style.marginRight=
|
||||
"12px";t.value=this.lastExportZoom||"100%";e.appendChild(t);mxUtils.write(e,mxResources.get("borderWidth")+":");var u=document.createElement("input");u.setAttribute("type","text");u.style.marginRight="16px";u.style.width="60px";u.style.marginLeft="4px";u.value=this.lastExportBorder||"0";e.appendChild(u);mxUtils.br(e);var q=this.addCheckbox(e,mxResources.get("transparentBackground"),!1,null,null,"jpeg"!=l),v=this.addCheckbox(e,mxResources.get("selectionOnly"),!1,m.isSelectionEmpty()),z=document.createElement("input");
|
||||
z.style.marginTop="16px";z.style.marginRight="8px";z.style.marginLeft="24px";z.setAttribute("disabled","disabled");z.setAttribute("type","checkbox");g&&(e.appendChild(z),mxUtils.write(e,mxResources.get("crop")),mxUtils.br(e),p+=26,mxEvent.addListener(v,"change",function(){v.checked?z.removeAttribute("disabled"):z.setAttribute("disabled","disabled")}));m.isSelectionEmpty()||(z.setAttribute("checked","checked"),z.defaultChecked=!0);var y=this.addCheckbox(e,mxResources.get("shadow"),m.shadowVisible),
|
||||
"12px";t.value=this.lastExportZoom||"100%";e.appendChild(t);mxUtils.write(e,mxResources.get("borderWidth")+":");var u=document.createElement("input");u.setAttribute("type","text");u.style.marginRight="16px";u.style.width="60px";u.style.marginLeft="4px";u.value=this.lastExportBorder||"0";e.appendChild(u);mxUtils.br(e);var v=this.addCheckbox(e,mxResources.get("transparentBackground"),!1,null,null,"jpeg"!=l),q=this.addCheckbox(e,mxResources.get("selectionOnly"),!1,m.isSelectionEmpty()),z=document.createElement("input");
|
||||
z.style.marginTop="16px";z.style.marginRight="8px";z.style.marginLeft="24px";z.setAttribute("disabled","disabled");z.setAttribute("type","checkbox");g&&(e.appendChild(z),mxUtils.write(e,mxResources.get("crop")),mxUtils.br(e),p+=26,mxEvent.addListener(q,"change",function(){q.checked?z.removeAttribute("disabled"):z.setAttribute("disabled","disabled")}));m.isSelectionEmpty()||(z.setAttribute("checked","checked"),z.defaultChecked=!0);var y=this.addCheckbox(e,mxResources.get("shadow"),m.shadowVisible),
|
||||
E=document.createElement("input");E.style.marginTop="16px";E.style.marginRight="8px";E.setAttribute("type","checkbox");!this.isOffline()&&this.canvasSupported||E.setAttribute("disabled","disabled");b&&(e.appendChild(E),mxUtils.write(e,mxResources.get("embedImages")),mxUtils.br(e),p+=26);var K=null;if("png"==l||"jpeg"==l)K=this.addCheckbox(e,mxResources.get("grid"),!1,this.isOffline()||!this.canvasSupported,!1,!0),p+=26;var M=this.addCheckbox(e,mxResources.get("includeCopyOfMyDiagram"),k,null,null,
|
||||
"jpeg"!=l),R=null!=this.pages&&1<this.pages.length,W=this.addCheckbox(e,R?mxResources.get("allPages"):"",R,!R,null,"jpeg"!=l);W.style.marginLeft="24px";W.style.marginBottom="16px";R?p+=26:W.style.display="none";mxEvent.addListener(M,"change",function(){M.checked&&R?W.removeAttribute("disabled"):W.setAttribute("disabled","disabled")});k&&R||W.setAttribute("disabled","disabled");var T=document.createElement("select");T.style.maxWidth="260px";T.style.marginLeft="8px";T.style.marginRight="10px";T.className=
|
||||
"geBtn";a=document.createElement("option");a.setAttribute("value","auto");mxUtils.write(a,mxResources.get("automatic"));T.appendChild(a);a=document.createElement("option");a.setAttribute("value","blank");mxUtils.write(a,mxResources.get("openInNewWindow"));T.appendChild(a);a=document.createElement("option");a.setAttribute("value","self");mxUtils.write(a,mxResources.get("openInThisWindow"));T.appendChild(a);"svg"==l&&(mxUtils.write(e,mxResources.get("links")+":"),e.appendChild(T),mxUtils.br(e),mxUtils.br(e),
|
||||
p+=26);c=new CustomDialog(this,e,mxUtils.bind(this,function(){this.lastExportBorder=u.value;this.lastExportZoom=t.value;f(t.value,q.checked,!v.checked,y.checked,M.checked,E.checked,u.value,z.checked,!W.checked,T.value,null!=K?K.checked:null)}),null,c,d);this.showDialog(c.container,340,p,!0,!0,null,null,null,null,!0);t.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?t.select():document.execCommand("selectAll",!1,null)};EditorUi.prototype.showEmbedImageDialog=function(a,
|
||||
p+=26);c=new CustomDialog(this,e,mxUtils.bind(this,function(){this.lastExportBorder=u.value;this.lastExportZoom=t.value;f(t.value,v.checked,!q.checked,y.checked,M.checked,E.checked,u.value,z.checked,!W.checked,T.value,null!=K?K.checked:null)}),null,c,d);this.showDialog(c.container,340,p,!0,!0,null,null,null,null,!0);t.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?t.select():document.execCommand("selectAll",!1,null)};EditorUi.prototype.showEmbedImageDialog=function(a,
|
||||
b,c,d,f){var e=document.createElement("div");e.style.whiteSpace="nowrap";var m=this.editor.graph;if(null!=b){var g=document.createElement("h3");mxUtils.write(g,b);g.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:4px";e.appendChild(g)}var k=this.addCheckbox(e,mxResources.get("fit"),!0),p=this.addCheckbox(e,mxResources.get("shadow"),m.shadowVisible&&d,!d),x=this.addCheckbox(e,c),l=this.addCheckbox(e,mxResources.get("lightbox"),!0),n=this.addEditButton(e,l),u=n.getEditInput(),
|
||||
q=1<m.model.getChildCount(m.model.getRoot()),v=this.addCheckbox(e,mxResources.get("layers"),q,!q);v.style.marginLeft=u.style.marginLeft;v.style.marginBottom="12px";v.style.marginTop="8px";mxEvent.addListener(l,"change",function(){l.checked?(q&&v.removeAttribute("disabled"),u.removeAttribute("disabled")):(v.setAttribute("disabled","disabled"),u.setAttribute("disabled","disabled"));u.checked&&l.checked?n.getEditSelect().removeAttribute("disabled"):n.getEditSelect().setAttribute("disabled","disabled")});
|
||||
b=new CustomDialog(this,e,mxUtils.bind(this,function(){a(k.checked,p.checked,x.checked,l.checked,n.getLink(),v.checked)}),null,mxResources.get("embed"),f);this.showDialog(b.container,280,280,!0,!0)};EditorUi.prototype.createEmbedImage=function(a,b,c,d,f,g,k,l){function e(b){var e=" ",p="";d&&(e=" onclick=\"(function(img){if(img.wnd!=null&&!img.wnd.closed){img.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==img.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute('src')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);img.wnd=window.open('"+
|
||||
|
@ -9274,11 +9496,11 @@ window.DrawGapiClientCallback=null):a()}else null==window.DrawGapiClientCallback
|
|||
this.mode=App.mode;if("1"==urlParams.offline&&"serviceWorker"in navigator&&!mxClient.IS_CHROMEAPP&&!EditorUi.isElectronApp){var g=null;window.addEventListener("beforeinstallprompt",mxUtils.bind(this,function(b){if(!(this.footerShowing||isLocalStorage&&null!=mxSettings.settings&&null!=mxSettings.settings.closeAddToHomeScreenFooter)){g=b;var c=mxUtils.bind(this,function(){d.parentNode.removeChild(d);this.footerShowing=!1;g=null;this.hideFooter();isLocalStorage&&null!=mxSettings.settings&&(mxSettings.settings.closeAddToHomeScreenFooter=
|
||||
Date.now(),mxSettings.save())}),d=a('<img border="0" align="absmiddle" style="margin-top:-6px;cursor:pointer;margin-left:8px;margin-right:12px;width:24px;height:24px;" src="'+IMAGE_PATH+'/logo.png"><font size="3" style="color:#ffffff;">'+mxUtils.htmlEntities(mxResources.get("installDrawio",null,"Install draw.io"))+"</font>","https://www.draw.io/index.html?offline=1","geStatusMessage geBtn gePrimaryBtn",c,null,mxUtils.bind(this,function(){null!=g&&(g.prompt(),g.userChoice.then(c))}));d.style.zIndex=
|
||||
mxPopupMenu.prototype.zIndex;d.style.padding="18px 50px 12px 30px";d.getElementsByTagName("img")[1].style.filter="invert(1)";document.body.appendChild(d);this.footerShowing=!0;window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(d.style,"transform","translate(-50%,0%)")}),500);window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(d.style,"transform","translate(-50%,110%)");this.footerShowing=!1}),6E4)}}))}else mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||this.editor.chromeless&&
|
||||
!this.editor.editable||this.editor.addListener("fileLoaded",mxUtils.bind(this,function(){var b=this.getCurrentFile(),b=null!=b?b.getMode():null;b!=App.MODE_DEVICE&&b!=App.MODE_BROWSER||isLocalStorage&&null!=mxSettings.settings&&null!=mxSettings.settings.closeDesktopFooter||this.footerShowing||null!=urlParams.open||mxUtils.get("https://api.github.com/repos/jgraph/drawio-desktop/releases/latest",mxUtils.bind(this,function(b){var c=JSON.parse(b.getText());b="https://get.draw.io/";null!=c&&null!=c.tag_name&&
|
||||
null!=c.name&&null!=c.html_url&&(mxClient.IS_MAC?b="https://github.com/jgraph/drawio-desktop/releases/download/"+c.tag_name+"/draw.io-"+c.name+".dmg":mxClient.IS_WIN&&(b="https://github.com/jgraph/drawio-desktop/releases/download/"+c.tag_name+"/draw.io-"+c.name+"-windows-installer.exe"));var c=mxUtils.bind(this,function(){d.parentNode.removeChild(d);this.footerShowing=!1;this.hideFooter();isLocalStorage&&null!=mxSettings.settings&&(mxSettings.settings.closeDesktopFooter=Date.now(),mxSettings.save())}),
|
||||
d=a('<img border="0" align="absmiddle" style="margin-top:-6px;cursor:pointer;margin-left:8px;margin-right:12px;width:24px;height:24px;" src="'+IMAGE_PATH+'/logo.png"><font size="3" style="color:#ffffff;">'+mxUtils.htmlEntities(mxResources.get("downloadDesktop"))+"</font>",b,"geStatusMessage geBtn gePrimaryBtn",c,null,c);d.style.zIndex=mxPopupMenu.prototype.zIndex;d.style.padding="18px 50px 12px 30px";d.getElementsByTagName("img")[1].style.filter="invert(1)";document.body.appendChild(d);this.footerShowing=
|
||||
!0;window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(d.style,"transform","translate(-50%,0%)")}),500);window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(d.style,"transform","translate(-50%,110%)");this.footerShowing=!1}),6E4)}))}));if(!(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||"1"==urlParams.embed||"auto"!=DrawioFile.SYNC||"1"==urlParams.local||"1"==urlParams.stealth||"1"==urlParams.offline||this.editor.chromeless&&!this.editor.editable)){var k=window.setTimeout(mxUtils.bind(this,
|
||||
function(){DrawioFile.SYNC="manual";var a=this.getCurrentFile();null!=a&&null!=a.sync&&(a.sync.destroy(),a.sync=null,a=mxUtils.htmlEntities(mxResources.get("timeout")),this.editor.setStatus('<div title="'+a+'" class="geStatusAlert" style="overflow:hidden;">'+a+"</div>"));EditorUi.logEvent({category:"TIMEOUT-CACHE-CHECK",action:"timeout",label:408})}),Editor.cacheTimeout);(new Date).getTime();mxUtils.get(EditorUi.cacheUrl+"?alive",mxUtils.bind(this,function(a){window.clearTimeout(k)}))}}else null!=
|
||||
!this.editor.editable||this.editor.addListener("fileLoaded",mxUtils.bind(this,function(){var b=this.getCurrentFile(),b=null!=b?b.getMode():null;b!=App.MODE_DEVICE&&b!=App.MODE_BROWSER||isLocalStorage&&null!=mxSettings.settings&&null!=mxSettings.settings.closeDesktopFooter||this.footerShowing||null!=urlParams.open||mxUtils.get("https://api.github.com/repos/jgraph/drawio-desktop/releases/latest",mxUtils.bind(this,function(b){var c="https://get.draw.io/";try{var d=JSON.parse(b.getText());null!=d&&null!=
|
||||
d.tag_name&&null!=d.name&&null!=d.html_url&&(mxClient.IS_MAC?c="https://github.com/jgraph/drawio-desktop/releases/download/"+d.tag_name+"/draw.io-"+d.name+".dmg":mxClient.IS_WIN&&(c="https://github.com/jgraph/drawio-desktop/releases/download/"+d.tag_name+"/draw.io-"+d.name+"-windows-installer.exe"))}catch(p){}b=mxUtils.bind(this,function(){f.parentNode.removeChild(f);this.footerShowing=!1;this.hideFooter();isLocalStorage&&null!=mxSettings.settings&&(mxSettings.settings.closeDesktopFooter=Date.now(),
|
||||
mxSettings.save())});var f=a('<img border="0" align="absmiddle" style="margin-top:-6px;cursor:pointer;margin-left:8px;margin-right:12px;width:24px;height:24px;" src="'+IMAGE_PATH+'/logo.png"><font size="3" style="color:#ffffff;">'+mxUtils.htmlEntities(mxResources.get("downloadDesktop"))+"</font>",c,"geStatusMessage geBtn gePrimaryBtn",b,null,b);f.style.zIndex=mxPopupMenu.prototype.zIndex;f.style.padding="18px 50px 12px 30px";f.getElementsByTagName("img")[1].style.filter="invert(1)";document.body.appendChild(f);
|
||||
this.footerShowing=!0;window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(f.style,"transform","translate(-50%,0%)")}),500);window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(f.style,"transform","translate(-50%,110%)");this.footerShowing=!1}),6E4)}))}));if(!(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||"1"==urlParams.embed||"auto"!=DrawioFile.SYNC||"1"==urlParams.local||"1"==urlParams.stealth||"1"==urlParams.offline||this.editor.chromeless&&!this.editor.editable)){var k=
|
||||
window.setTimeout(mxUtils.bind(this,function(){DrawioFile.SYNC="manual";var a=this.getCurrentFile();null!=a&&null!=a.sync&&(a.sync.destroy(),a.sync=null,a=mxUtils.htmlEntities(mxResources.get("timeout")),this.editor.setStatus('<div title="'+a+'" class="geStatusAlert" style="overflow:hidden;">'+a+"</div>"));EditorUi.logEvent({category:"TIMEOUT-CACHE-CHECK",action:"timeout",label:408})}),Editor.cacheTimeout);(new Date).getTime();mxUtils.get(EditorUi.cacheUrl+"?alive",mxUtils.bind(this,function(a){window.clearTimeout(k)}))}}else null!=
|
||||
this.menubar&&(this.menubar.container.style.paddingTop="0px");this.updateHeader();null!=this.menubar&&(this.buttonContainer=document.createElement("div"),this.buttonContainer.style.display="inline-block",this.buttonContainer.style.paddingRight="48px",this.buttonContainer.style.position="absolute",this.buttonContainer.style.right="0px",this.menubar.container.appendChild(this.buttonContainer));"atlas"==uiTheme&&null!=this.menubar&&(null!=this.toggleElement&&(this.toggleElement.click(),this.toggleElement.style.display=
|
||||
"none"),this.icon=document.createElement("img"),this.icon.setAttribute("src",IMAGE_PATH+"/logo-flat-small.png"),this.icon.setAttribute("title",mxResources.get("draw.io")),this.icon.style.padding="6px",this.icon.style.cursor="pointer",mxEvent.addListener(this.icon,"click",mxUtils.bind(this,function(a){this.appIconClicked(a)})),mxClient.IS_QUIRKS&&(this.icon.style.marginTop="12px"),this.menubar.container.insertBefore(this.icon,this.menubar.container.firstChild));this.editor.graph.isViewer()&&this.initializeViewerMode()};
|
||||
App.prototype.scheduleSanityCheck=function(){null==this.sanityCheckThread&&(this.sanityCheckThread=window.setTimeout(mxUtils.bind(this,function(){this.sanityCheckThread=null;this.sanityCheck()}),this.warnInterval))};App.prototype.stopSanityCheck=function(){null!=this.sanityCheckThread&&(window.clearTimeout(this.sanityCheckThread),this.sanityCheckThread=null)};
|
||||
|
@ -9471,90 +9693,90 @@ function(d){var e=""==d?mxResources.get("automatic"):mxLanguageMap[d],f=null;""!
|
|||
Menus.prototype.createMenubar=function(a){var b=v.apply(this,arguments);if(null!=b){var c=this.get("language");if(null!=c){c=b.addMenu("",c.funct);c.setAttribute("title",mxResources.get("language"));c.style.width="16px";c.style.paddingTop="2px";c.style.paddingLeft="4px";c.style.zIndex="1";c.style.position="absolute";c.style.display="block";c.style.cursor="pointer";c.style.right="17px";"atlas"==uiTheme?(c.style.top="6px",c.style.right="15px"):c.style.top="min"==uiTheme?"2px":"0px";if(mxClient.IS_VML)c.innerHTML=
|
||||
'<div class="geIcon geSprite geSprite-globe"/>';else{var d=document.createElement("div");d.style.backgroundImage="url("+Editor.globeImage+")";d.style.backgroundPosition="center center";d.style.backgroundRepeat="no-repeat";d.style.backgroundSize="19px 19px";d.style.position="absolute";d.style.height="19px";d.style.width="19px";d.style.marginTop="2px";d.style.zIndex="1";c.appendChild(d);mxUtils.setOpacity(c,40);if("atlas"==uiTheme||"dark"==uiTheme)c.style.opacity="0.85",c.style.filter="invert(100%)"}document.body.appendChild(c)}}return b}}b.customLayoutConfig=
|
||||
[{layout:"mxHierarchicalLayout",config:{orientation:"west",intraCellSpacing:30,interRankCellSpacing:100,interHierarchySpacing:60,parallelEdgeSpacing:10}}];b.actions.addAction("runLayout",function(){var a=new TextareaDialog(b,"Run Layouts:",JSON.stringify(b.customLayoutConfig,null,2),function(a){if(0<a.length)try{var c=JSON.parse(a);b.executeLayoutList(c);b.customLayoutConfig=c}catch(D){b.handleError(D),null!=window.console&&console.error(D)}});a.textarea.style.width="600px";a.textarea.style.height=
|
||||
"380px";b.showDialog(a.container,620,460,!0,!0);a.init()});var e=this.get("layout"),t=e.funct;e.funct=function(a,c){t.apply(this,arguments);a.addSeparator(c);b.menus.addMenuItem(a,"runLayout",c,null,null,mxResources.get("apply")+"...")};this.put("help",new Menu(mxUtils.bind(this,function(a,c){if(!mxClient.IS_CHROMEAPP&&b.isOffline())this.addMenuItems(a,["about"],c);else{var d=a.addItem("Search:",null,null,c,null,null,!1);d.style.backgroundColor="dark"==uiTheme?"#505759":"whiteSmoke";d.style.cursor=
|
||||
"default";var e=document.createElement("input");e.setAttribute("type","text");e.setAttribute("size","25");e.style.marginLeft="8px";mxEvent.addListener(e,"keydown",mxUtils.bind(this,function(a){var b=mxUtils.trim(e.value);13==a.keyCode&&0<b.length?(this.editorUi.openLink("https://desk.draw.io/support/search/solutions?term="+encodeURIComponent(b)),e.value="",EditorUi.logEvent({category:"SEARCH-HELP",action:"search",label:b}),null!=this.editorUi.menubar&&window.setTimeout(mxUtils.bind(this,function(){this.editorUi.menubar.hideMenu()}),
|
||||
0)):27==a.keyCode&&(e.value="")}));d.firstChild.nextSibling.appendChild(e);mxEvent.addGestureListeners(e,function(a){document.activeElement!=e&&e.focus();mxEvent.consume(a)},function(a){mxEvent.consume(a)},function(a){mxEvent.consume(a)});window.setTimeout(function(){e.focus()},0);this.addMenuItems(a,["-","keyboardShortcuts","quickStart","userManual","-"],c);EditorUi.isElectronApp||navigator.standalone||"1"==urlParams.embed||this.addMenuItems(a,["downloadDesktop"],c);mxClient.IS_CHROMEAPP||this.addMenuItems(a,
|
||||
["feedback","support"],c);this.addMenuItems(a,["-","about"],c)}"1"==urlParams.test&&(a.addSeparator(c),this.addSubmenu("testDevelop",a,c))})));"1"==urlParams.test&&(mxResources.parse("testDevelop=Develop"),mxResources.parse("showBoundingBox=Show bounding box"),mxResources.parse("createSidebarEntry=Create Sidebar Entry"),mxResources.parse("testCheckFile=Check File"),mxResources.parse("testDiff=Diff"),mxResources.parse("testInspect=Inspect"),mxResources.parse("testShowConsole=Show Console"),mxResources.parse("testXmlImageExport=XML Image Export"),
|
||||
mxResources.parse("testDownloadRtModel=Export RT model"),mxResources.parse("testImportRtModel=Import RT model"),b.actions.addAction("createSidebarEntry",mxUtils.bind(this,function(){f.isSelectionEmpty()||b.showTextDialog("Create Sidebar Entry","sb.createVertexTemplateFromData('"+Graph.compress(mxUtils.getXml(f.encodeCells(f.getSelectionCells())))+"', width, height, 'Title');")})),b.actions.addAction("showBoundingBox",mxUtils.bind(this,function(){var a=f.getGraphBounds(),b=f.view.translate,c=f.view.scale;
|
||||
f.insertVertex(f.getDefaultParent(),null,"",a.x/c-b.x,a.y/c-b.y,a.width/c,a.height/c,"fillColor=none;strokeColor=red;")})),b.actions.addAction("testCheckFile",mxUtils.bind(this,function(){var a=null!=b.pages&&null!=b.getCurrentFile()?b.getCurrentFile().getAnonymizedXmlForPages(b.pages):"",a=new TextareaDialog(b,"Paste Data:",a,function(a){if(0<a.length)try{var c=function(a){function b(a){if(null==n[a]){if(n[a]=!0,null!=e[a]){for(;0<e[a].length;){var d=e[a].pop();b(d)}delete e[a]}}else mxLog.debug(c+
|
||||
": Visited: "+a)}var c=a.parentNode.id,d=a.childNodes;a={};for(var e={},f=null,g={},k=0;k<d.length;k++){var l=d[k];if(null!=l.id&&0<l.id.length)if(null==a[l.id]){a[l.id]=l.id;var m=l.getAttribute("parent");null==m?null!=f?mxLog.debug(c+": Multiple roots: "+l.id):f=l.id:(null==e[m]&&(e[m]=[]),e[m].push(l.id))}else g[l.id]=l.id}0<Object.keys(g).length?(d=c+": "+Object.keys(g).length+" Duplicates: "+Object.keys(g).join(", "),mxLog.debug(d+" (see console)")):mxLog.debug(c+": Checked");var n={};null==
|
||||
f?mxLog.debug(c+": No root"):(b(f),Object.keys(n).length!=Object.keys(a).length&&(mxLog.debug(c+": Invalid tree: (see console)"),console.log(c+": Invalid tree",e)))};"<"!=a.charAt(0)&&(a=Graph.decompress(a),mxLog.debug("See console for uncompressed XML"),console.log("xml",a));var d=mxUtils.parseXml(a),e=b.getPagesForNode(d.documentElement,"mxGraphModel");if(null!=e&&0<e.length)try{var f=b.getHashValueForPages(e);mxLog.debug("Checksum: ",f)}catch(H){mxLog.debug("Error: ",H.message)}else mxLog.debug("No pages found for checksum");
|
||||
var g=d.getElementsByTagName("root");for(a=0;a<g.length;a++)c(g[a]);mxLog.show()}catch(H){b.handleError(H),null!=window.console&&console.error(H)}});a.textarea.style.width="600px";a.textarea.style.height="380px";b.showDialog(a.container,620,460,!0,!0);a.init()})),b.actions.addAction("testDiff",mxUtils.bind(this,function(){if(null!=b.pages){var a=new TextareaDialog(b,"Paste Data:","",function(a){if(0<a.length)try{console.log(JSON.stringify(b.diffPages(b.pages,b.getPagesForNode(mxUtils.parseXml(a).documentElement)),
|
||||
null,2))}catch(A){b.handleError(A),null!=window.console&&console.error(A)}});a.textarea.style.width="600px";a.textarea.style.height="380px";b.showDialog(a.container,620,460,!0,!0);a.init()}else b.alert("No pages")})),b.actions.addAction("testInspect",mxUtils.bind(this,function(){console.log(b,f.getModel())})),b.actions.addAction("testXmlImageExport",mxUtils.bind(this,function(){var a=new mxImageExport,b=f.getGraphBounds(),c=f.view.scale,d=mxUtils.createXmlDocument(),e=d.createElement("output");d.appendChild(e);
|
||||
d=new mxXmlCanvas2D(e);d.translate(Math.floor((1-b.x)/c),Math.floor((1-b.y)/c));d.scale(1/c);var g=0,k=d.save;d.save=function(){g++;k.apply(this,arguments)};var l=d.restore;d.restore=function(){g--;l.apply(this,arguments)};var m=a.drawShape;a.drawShape=function(a){mxLog.debug("entering shape",a,g);m.apply(this,arguments);mxLog.debug("leaving shape",a,g)};a.drawState(f.getView().getState(f.model.root),d);mxLog.show();mxLog.debug(mxUtils.getXml(e));mxLog.debug("stateCounter",g)})),b.actions.addAction("testDownloadRtModel...",
|
||||
mxUtils.bind(this,function(){null==b.drive?b.handleError({message:mxResources.get("serviceUnavailableOrBlocked")}):b.drive.execute(mxUtils.bind(this,function(){var a=prompt("File ID","");if(null!=a&&0<a.length&&b.spinner.spin(document.body,mxResources.get("export"))){var c=new mxXmlRequest("https://www.googleapis.com/drive/v2/files/"+a+"/realtime?supportsTeamDrives=true",null,"GET");c.setRequestHeaders=function(a){mxXmlRequest.prototype.setRequestHeaders.apply(this,arguments);a.setRequestHeader("authorization",
|
||||
"Bearer "+b.drive.token)};c.send(function(c){b.spinner.stop();200<=c.getStatus()&&299>=c.getStatus()?b.saveLocalFile(c.getText(),"json-"+a+".txt","text/plain"):b.handleError({message:mxResources.get("fileNotFound")},mxResources.get("errorLoadingFile"))})}}))})),b.actions.addAction("testShowConsole",function(){mxLog.isVisible()?mxLog.window.fit():mxLog.show();mxLog.window.div.style.zIndex=mxPopupMenu.prototype.zIndex-1}),this.put("testDevelop",new Menu(mxUtils.bind(this,function(a,c){this.addMenuItems(a,
|
||||
"createSidebarEntry showBoundingBox - testCheckFile testDiff - testInspect - testXmlImageExport - testDownloadRtModel".split(" "),c);a.addItem(mxResources.get("testImportRtModel")+"...",null,function(){var a=document.createElement("input");a.setAttribute("type","file");mxEvent.addListener(a,"change",mxUtils.bind(this,function(){if(null!=a.files){var c=new FileReader;c.onload=mxUtils.bind(this,function(c){try{b.openLocalFile(mxUtils.getXml(b.drive.convertJsonToXml(JSON.parse(c.target.result).data)),
|
||||
a.files[0].name,!0)}catch(I){b.handleError(I,mxResources.get("errorLoadingFile"))}});c.readAsText(a.files[0])}}));a.click()},c);this.addMenuItems(a,["-","testShowConsole"],c)}))));b.actions.addAction("shapes...",function(){mxClient.IS_CHROMEAPP||!b.isOffline()?b.showDialog((new MoreShapesDialog(b,!0)).container,640,isLocalStorage?mxClient.IS_IOS?480:460:440,!0,!0):b.showDialog((new MoreShapesDialog(b,!1)).container,360,isLocalStorage?mxClient.IS_IOS?300:280:260,!0,!0)});b.actions.put("createShape",
|
||||
new Action(mxResources.get("shape")+"...",function(a){f.isEnabled()&&(a=new mxCell("",new mxGeometry(0,0,120,120),b.defaultCustomShapeStyle),a.vertex=!0,a=new EditShapeDialog(b,a,mxResources.get("editShape")+":",630,400),b.showDialog(a.container,640,480,!0,!1),a.init())})).isEnabled=g;b.actions.put("embedHtml",new Action(mxResources.get("html")+"...",function(){b.spinner.spin(document.body,mxResources.get("loading"))&&b.getPublicUrl(b.getCurrentFile(),function(a){b.spinner.stop();b.showHtmlDialog(mxResources.get("create"),
|
||||
"https://desk.draw.io/support/solutions/articles/16000042542",a,function(a,c,d,e,f,g,k,l,m,n){b.createHtml(a,c,d,e,f,g,k,l,m,n,mxUtils.bind(this,function(a,c){var d=new EmbedDialog(b,a+"\n"+c,null,null,function(){var d=window.open(),e=d.document;if(null!=e){"CSS1Compat"===document.compatMode&&e.writeln("<!DOCTYPE html>");e.writeln("<html>");e.writeln("<head><title>"+encodeURIComponent(mxResources.get("preview"))+'</title><meta charset="utf-8"></head>');e.writeln("<body>");e.writeln(a);var f=mxClient.IS_IE||
|
||||
mxClient.IS_EDGE||null!=document.documentMode;f&&e.writeln(c);e.writeln("</body>");e.writeln("</html>");e.close();if(!f){var g=d.document.createElement("div");g.marginLeft="26px";g.marginTop="26px";mxUtils.write(g,mxResources.get("updatingDocument"));f=d.document.createElement("img");f.setAttribute("src",window.location.protocol+"//"+window.location.hostname+"/"+IMAGE_PATH+"/spin.gif");f.style.marginLeft="6px";g.appendChild(f);d.document.body.insertBefore(g,d.document.body.firstChild);window.setTimeout(function(){var a=
|
||||
document.createElement("script");a.type="text/javascript";a.src=/<script.*?src="(.*?)"/.exec(c)[1];e.body.appendChild(a);g.parentNode.removeChild(g)},20)}}else b.handleError({message:mxResources.get("errorUpdatingPreview")})});b.showDialog(d.container,440,240,!0,!0);d.init()}))})})}));b.actions.put("liveImage",new Action("Live image...",function(){var a=b.getCurrentFile();null!=a&&b.spinner.spin(document.body,mxResources.get("loading"))&&b.getPublicUrl(b.getCurrentFile(),function(c){b.spinner.stop();
|
||||
null!=c?(c=new EmbedDialog(b,'<img src="'+(a.constructor!=DriveFile?c:"https://drive.google.com/uc?id="+a.getId())+'"/>'),b.showDialog(c.container,440,240,!0,!0),c.init()):b.handleError({message:mxResources.get("invalidPublicUrl")})})}));b.actions.put("embedImage",new Action(mxResources.get("image")+"...",function(){b.showEmbedImageDialog(function(a,c,d,e,f,g){b.spinner.spin(document.body,mxResources.get("loading"))&&b.createEmbedImage(a,c,d,e,f,g,function(a){b.spinner.stop();a=new EmbedDialog(b,
|
||||
a);b.showDialog(a.container,440,240,!0,!0);a.init()},function(a){b.spinner.stop();b.handleError(a)})},mxResources.get("image"),mxResources.get("retina"),b.isExportToCanvas())}));b.actions.put("embedSvg",new Action(mxResources.get("formatSvg")+"...",function(){b.showEmbedImageDialog(function(a,c,d,e,f,g){b.spinner.spin(document.body,mxResources.get("loading"))&&b.createEmbedSvg(a,c,d,e,f,g,function(a){b.spinner.stop();a=new EmbedDialog(b,a);b.showDialog(a.container,440,240,!0,!0);a.init()},function(a){b.spinner.stop();
|
||||
b.handleError(a)})},mxResources.get("formatSvg"),mxResources.get("image"),!0,"https://desk.draw.io/support/solutions/articles/16000042548")}));b.actions.put("embedIframe",new Action(mxResources.get("iframe")+"...",function(){var a=f.getGraphBounds();b.showPublishLinkDialog(mxResources.get("iframe"),null,"100%",Math.ceil((a.y+a.height-f.view.translate.y)/f.view.scale)+2,function(a,c,d,e,f,g,k,l){b.spinner.spin(document.body,mxResources.get("loading"))&&b.getPublicUrl(b.getCurrentFile(),function(m){b.spinner.stop();
|
||||
m=new EmbedDialog(b,'<iframe frameborder="0" style="width:'+k+";height:"+l+';" src="'+b.createLink(a,c,d,e,f,g,m)+'"></iframe>');b.showDialog(m.container,440,240,!0,!0);m.init()})},!0)}));b.actions.put("publishLink",new Action(mxResources.get("link")+"...",function(){b.showPublishLinkDialog(null,null,null,null,function(a,c,d,e,f,g){b.spinner.spin(document.body,mxResources.get("loading"))&&b.getPublicUrl(b.getCurrentFile(),function(k){b.spinner.stop();k=new EmbedDialog(b,b.createLink(a,c,d,e,f,g,k));
|
||||
b.showDialog(k.container,440,240,!0,!0);k.init()})})}));b.actions.addAction("microsoftOffice...",function(){b.openLink("https://office.draw.io")});b.actions.addAction("googleDocs...",function(){b.openLink("http://docsaddon.draw.io")});b.actions.addAction("googleSlides...",function(){b.openLink("https://slidesaddon.draw.io")});b.actions.addAction("googleSheets...",function(){b.openLink("https://sheetsaddon.draw.io")});b.actions.addAction("googleSites...",function(){b.spinner.spin(document.body,mxResources.get("loading"))&&
|
||||
b.getPublicUrl(b.getCurrentFile(),function(a){b.spinner.stop();a=new GoogleSitesDialog(b,a);b.showDialog(a.container,420,256,!0,!0);a.init()})});if(isLocalStorage||mxClient.IS_CHROMEAPP)e=b.actions.addAction("scratchpad",function(){b.toggleScratchpad()}),e.setToggleAction(!0),e.setSelectedCallback(function(){return null!=b.scratchpad}),b.actions.addAction("plugins...",function(){b.showDialog((new PluginsDialog(b)).container,360,170,!0,!1)});e=b.actions.addAction("search",function(){var a=b.sidebar.isEntryVisible("search");
|
||||
b.sidebar.showPalette("search",!a);isLocalStorage&&(mxSettings.settings.search=!a,mxSettings.save())});e.setToggleAction(!0);e.setSelectedCallback(function(){return b.sidebar.isEntryVisible("search")});"1"==urlParams.embed&&(b.actions.get("save").funct=function(a){f.isEditing()&&f.stopEditing();var c="0"!=urlParams.pages||null!=b.pages&&1<b.pages.length?b.getFileData(!0):mxUtils.getXml(b.editor.getGraphXml());if("json"==urlParams.proto){var d=b.createLoadMessage("save");d.xml=c;a&&(d.exit=!0);c=JSON.stringify(d)}(window.opener||
|
||||
window.parent).postMessage(c,"*");"0"!=urlParams.modified&&"1"!=urlParams.keepmodified&&(b.editor.modified=!1,b.editor.setStatus(""));null!=b.getCurrentFile()&&b.saveFile()},b.actions.addAction("saveAndExit",function(){b.actions.get("save").funct(!0)}),b.actions.addAction("exit",function(){var a=function(){b.editor.modified=!1;var a="json"==urlParams.proto?JSON.stringify({event:"exit",modified:b.editor.modified}):"";(window.opener||window.parent).postMessage(a,"*")};b.editor.modified?b.confirm(mxResources.get("allChangesLost"),
|
||||
null,a,mxResources.get("cancel"),mxResources.get("discardChanges")):a()}));this.put("exportAs",new Menu(mxUtils.bind(this,function(a,c){b.isExportToCanvas()?(this.addMenuItems(a,["exportPng"],c),b.jpgSupported&&this.addMenuItems(a,["exportJpg"],c)):b.isOffline()||mxClient.IS_IOS&&navigator.standalone||this.addMenuItems(a,["exportPng","exportJpg"],c);this.addMenuItems(a,["exportSvg","-"],c);b.isOffline()||b.printPdfExport?this.addMenuItems(a,["exportPdf"],c):b.isOffline()||mxClient.IS_IOS&&navigator.standalone||
|
||||
this.addMenuItems(a,["exportPdf"],c);mxClient.IS_IE||"undefined"===typeof VsdxExport&&b.isOffline()||this.addMenuItems(a,["exportVsdx"],c);this.addMenuItems(a,["-","exportHtml","exportXml","exportUrl"],c);b.isOffline()||(a.addSeparator(c),this.addMenuItem(a,"export",c).firstChild.nextSibling.innerHTML=mxResources.get("advanced")+"...")})));this.put("importFrom",new Menu(mxUtils.bind(this,function(a,c){function d(a){a.pickFile(function(c){b.spinner.spin(document.body,mxResources.get("loading"))&&a.getFile(c,
|
||||
function(a){var c="data:image/"==a.getData().substring(0,11)?g(a.getTitle()):"text/xml";/\.svg$/i.test(a.getTitle())&&!b.editor.isDataSvg(a.getData())&&(a.setData(b.createSvgDataUri(a.getData())),c="image/svg+xml");e(a.getData(),c,a.getTitle())},function(a){b.handleError(a,null!=a?mxResources.get("errorLoadingFile"):null)},a==b.drive)},!0)}var e=mxUtils.bind(this,function(a,c,d){var e=f.view,g=f.getGraphBounds(),k=f.snap(Math.ceil(Math.max(0,g.x/e.scale-e.translate.x)+4*f.gridSize)),l=f.snap(Math.ceil(Math.max(0,
|
||||
(g.y+g.height)/e.scale-e.translate.y)+4*f.gridSize));"data:image/"==a.substring(0,11)?b.loadImage(a,mxUtils.bind(this,function(e){var g=!0,m=mxUtils.bind(this,function(){b.resizeImage(e,a,mxUtils.bind(this,function(e,m,n){e=g?Math.min(1,Math.min(b.maxImageSize/m,b.maxImageSize/n)):1;b.importFile(a,c,k,l,Math.round(m*e),Math.round(n*e),d,function(a){b.spinner.stop();f.setSelectionCells(a);f.scrollCellToVisible(f.getSelectionCell())})}),g)});a.length>b.resampleThreshold?b.confirmImageResize(function(a){g=
|
||||
a;m()}):m()}),mxUtils.bind(this,function(){b.handleError({message:mxResources.get("cannotOpenFile")})})):b.importFile(a,c,k,l,0,0,d,function(a){b.spinner.stop();f.setSelectionCells(a);f.scrollCellToVisible(f.getSelectionCell())})}),g=mxUtils.bind(this,function(a){var b="text/xml";/\.png$/i.test(a)?b="image/png":/\.jpe?g$/i.test(a)?b="image/jpg":/\.gif$/i.test(a)?b="image/gif":/\.pdf$/i.test(a)&&(b="application/pdf");return b});"undefined"!=typeof google&&"undefined"!=typeof google.picker&&(null!=
|
||||
b.drive?a.addItem(mxResources.get("googleDrive")+"...",null,function(){d(b.drive)},c):k&&"function"===typeof window.DriveClient&&a.addItem(mxResources.get("googleDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1));null!=b.oneDrive?a.addItem(mxResources.get("oneDrive")+"...",null,function(){d(b.oneDrive)},c):n&&"function"===typeof window.OneDriveClient&&a.addItem(mxResources.get("oneDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=b.dropbox?
|
||||
a.addItem(mxResources.get("dropbox")+"...",null,function(){d(b.dropbox)},c):l&&"function"===typeof window.DropboxClient&&a.addItem(mxResources.get("dropbox")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);null!=b.gitHub&&a.addItem(mxResources.get("github")+"...",null,function(){d(b.gitHub)},c);null!=b.gitLab&&a.addItem(mxResources.get("gitlab")+"...",null,function(){d(b.gitLab)},c);null!=b.trello?a.addItem(mxResources.get("trello")+"...",null,function(){d(b.trello)},
|
||||
c):q&&"function"===typeof window.TrelloClient&&a.addItem(mxResources.get("trello")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);isLocalStorage&&"0"!=urlParams.browser&&a.addItem(mxResources.get("browser")+"...",null,function(){b.importLocalFile(!1)},c);a.addItem(mxResources.get("device")+"...",null,function(){b.importLocalFile(!0)},c);b.isOffline()||(a.addSeparator(c),a.addItem(mxResources.get("url")+"...",null,function(){var a=new FilenameDialog(b,"",mxResources.get("import"),
|
||||
function(a){if(null!=a&&0<a.length&&b.spinner.spin(document.body,mxResources.get("loading"))){var c=/(\.png)($|\?)/i.test(a)?"image/png":"text/xml";b.loadUrl(PROXY_URL+"?url="+encodeURIComponent(a),function(b){e(b,c,a)},function(){b.spinner.stop();b.handleError(null,mxResources.get("errorLoadingFile"))},"image/png"==c)}},mxResources.get("url"));b.showDialog(a.container,300,80,!0,!0);a.init()},c))}))).isEnabled=g;this.put("theme",new Menu(mxUtils.bind(this,function(a,c){var d=mxSettings.getUi(),e=
|
||||
a.addItem(mxResources.get("automatic"),null,function(){mxSettings.setUi("");mxSettings.save();b.alert(mxResources.get("restartForChangeRequired"))},c);"kennedy"!=d&&"atlas"!=d&&"dark"!=d&&"min"!=d&&a.addCheckmark(e,Editor.checkmarkImage);a.addSeparator(c);e=a.addItem(mxResources.get("kennedy"),null,function(){mxSettings.setUi("kennedy");mxSettings.save();b.alert(mxResources.get("restartForChangeRequired"))},c);"kennedy"==d&&a.addCheckmark(e,Editor.checkmarkImage);e=a.addItem(mxResources.get("minimal"),
|
||||
null,function(){mxSettings.setUi("min");mxSettings.save();b.alert(mxResources.get("restartForChangeRequired"))},c);"min"==d&&a.addCheckmark(e,Editor.checkmarkImage);e=a.addItem(mxResources.get("atlas"),null,function(){mxSettings.setUi("atlas");mxSettings.save();b.alert(mxResources.get("restartForChangeRequired"))},c);"atlas"==d&&a.addCheckmark(e,Editor.checkmarkImage);e=a.addItem(mxResources.get("dark"),null,function(){mxSettings.setUi("dark");mxSettings.save();b.alert(mxResources.get("restartForChangeRequired"))},
|
||||
c);"dark"==d&&a.addCheckmark(e,Editor.checkmarkImage)})));e=this.editorUi.actions.addAction("rename...",mxUtils.bind(this,function(){var a=this.editorUi.getCurrentFile();if(null!=a){var c=null!=a.getTitle()?a.getTitle():this.editorUi.defaultFilename,c=new FilenameDialog(this.editorUi,c,mxResources.get("rename"),mxUtils.bind(this,function(b){null!=b&&0<b.length&&null!=a&&b!=a.getTitle()&&this.editorUi.spinner.spin(document.body,mxResources.get("renaming"))&&a.rename(b,mxUtils.bind(this,function(a){this.editorUi.spinner.stop()}),
|
||||
mxUtils.bind(this,function(a){this.editorUi.handleError(a,null!=a?mxResources.get("errorRenamingFile"):null)}))}),a.constructor==DriveFile||a.constructor==StorageFile?mxResources.get("diagramName"):null,function(a){if(null!=a&&0<a.length)return!0;b.showError(mxResources.get("error"),mxResources.get("invalidName"),mxResources.get("ok"));return!1},null,null,null,null,b.editor.fileExtensions);this.editorUi.showDialog(c.container,340,90,!0,!0);c.init()}}));e.isEnabled=function(){return this.enabled&&
|
||||
g.apply(this,arguments)};e.visible="1"!=urlParams.embed;b.actions.addAction("makeCopy...",mxUtils.bind(this,function(){var a=b.getCurrentFile();if(null!=a){var c=b.getCopyFilename(a);a.constructor==DriveFile?(c=new CreateDialog(b,c,mxUtils.bind(this,function(c,d){"download"==d&&(d=App.MODE_GOOGLE);null!=c&&0<c.length&&(d==App.MODE_GOOGLE?b.spinner.spin(document.body,mxResources.get("saving"))&&a.saveAs(c,mxUtils.bind(this,function(c){a.desc=c;a.save(!1,mxUtils.bind(this,function(){b.spinner.stop();
|
||||
a.setModified(!1);a.addAllSavedStatus()}),mxUtils.bind(this,function(a){b.handleError(a)}))}),mxUtils.bind(this,function(a){b.handleError(a)})):b.createFile(c,b.getFileData(!0),null,d))}),mxUtils.bind(this,function(){b.hideDialog()}),mxResources.get("makeCopy"),mxResources.get("create"),null,null,null,null,!0,null,null,null,null,b.editor.fileExtensions),b.showDialog(c.container,420,380,!0,!0),c.init()):b.editor.editAsNew(this.editorUi.getFileData(!0),c)}}));b.actions.addAction("moveToFolder...",mxUtils.bind(this,
|
||||
function(){var a=b.getCurrentFile();if(a.getMode()==App.MODE_GOOGLE||a.getMode()==App.MODE_ONEDRIVE){var c=!1;if(a.getMode()==App.MODE_GOOGLE&&null!=a.desc.parents)for(var d=0;d<a.desc.parents.length;d++)if(a.desc.parents[d].isRoot){c=!0;break}b.pickFolder(a.getMode(),mxUtils.bind(this,function(c){b.spinner.spin(document.body,mxResources.get("moving"))&&a.move(c,mxUtils.bind(this,function(a){b.spinner.stop()}),mxUtils.bind(this,function(a){b.handleError(a)}))}),null,!0,c)}}));this.put("publish",new Menu(mxUtils.bind(this,
|
||||
function(a,b){this.addMenuItems(a,["publishLink"],b)})));b.actions.put("useOffline",new Action(mxResources.get("useOffline")+"...",function(){b.openLink("https://app.draw.io/")}));b.actions.put("downloadDesktop",new Action(mxResources.get("downloadDesktop")+"...",function(){b.openLink("https://get.draw.io/")}));this.editorUi.actions.addAction("share...",mxUtils.bind(this,function(){try{var a=b.getCurrentFile();null!=a&&b.drive.showPermissions(a.getId())}catch(C){b.handleError(C)}}));this.put("embed",
|
||||
new Menu(mxUtils.bind(this,function(a,c){var d=b.getCurrentFile();null==d||d.getMode()!=App.MODE_GOOGLE&&d.getMode()!=App.MODE_GITHUB||!/(\.png)$/i.test(d.getTitle())||this.addMenuItems(a,["liveImage","-"],c);this.addMenuItems(a,["embedImage","embedSvg","-","embedHtml"],c);navigator.standalone||b.isOffline()||this.addMenuItems(a,["embedIframe"],c);"1"==urlParams.embed||b.isOffline()||this.addMenuItems(a,"- googleDocs googleSlides googleSheets - microsoftOffice".split(" "),c)})));var y=function(a,
|
||||
c,d,e){("plantUml"!=e||EditorUi.enablePlantUml&&!b.isOffline())&&a.addItem(d,null,mxUtils.bind(this,function(){if("fromText"==e||"formatSql"==e||"plantUml"==e){var a=new ParseDialog(b,d,e);b.showDialog(a.container,620,420,!0,!1);b.dialog.container.style.overflow="auto"}else a=new CreateGraphDialog(b,d,e),b.showDialog(a.container,620,420,!0,!1);a.init()}),c,null,g())},z=function(a,b,c,d){var e=f.isMouseInsertPoint()?f.getInsertPoint():f.getFreeInsertPoint();a=new mxCell(a,new mxGeometry(e.x,e.y,b,
|
||||
c),d);a.vertex=!0;f.getModel().beginUpdate();try{a=f.addCell(a),f.fireEvent(new mxEventObject("cellsInserted","cells",[a]))}finally{f.getModel().endUpdate()}f.scrollCellToVisible(a);f.setSelectionCell(a);f.container.focus();f.editAfterInsert&&f.startEditing(a);return a};b.actions.put("exportSvg",new Action(mxResources.get("formatSvg")+"...",function(){b.showExportDialog(mxResources.get("formatSvg"),!0,mxResources.get("export"),"https://support.draw.io/display/DO/Exporting+Files",mxUtils.bind(this,
|
||||
function(a,c,d,e,f,g,k,l,m,n){a=parseInt(a);!isNaN(a)&&0<a&&b.exportSvg(a/100,c,d,e,f,g,k,!l,m,n)}),!0,null,"svg")}));b.actions.put("insertText",new Action(mxResources.get("text"),function(){f.isEnabled()&&!f.isCellLocked(f.getDefaultParent())&&f.startEditingAtCell(z("Text",40,20,"text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=none;strokeColor=none;rounded=0;"))}),null,null,Editor.ctrlKey+"+Shift+X").isEnabled=g;b.actions.put("insertRectangle",new Action(mxResources.get("rectangle"),
|
||||
function(){f.isEnabled()&&!f.isCellLocked(f.getDefaultParent())&&z("",120,60,"whiteSpace=wrap;html=1;")}),null,null,Editor.ctrlKey+"+K").isEnabled=g;b.actions.put("insertEllipse",new Action(mxResources.get("ellipse"),function(){f.isEnabled()&&!f.isCellLocked(f.getDefaultParent())&&z("",80,80,"ellipse;whiteSpace=wrap;html=1;")}),null,null,Editor.ctrlKey+"+Shift+K").isEnabled=g;b.actions.put("insertRhombus",new Action(mxResources.get("rhombus"),function(){f.isEnabled()&&!f.isCellLocked(f.getDefaultParent())&&
|
||||
z("",80,80,"rhombus;whiteSpace=wrap;html=1;")})).isEnabled=g;var B=mxUtils.bind(this,function(a,b,c){for(var d=0;d<c.length;d++)"-"==c[d]?a.addSeparator(b):y(a,b,mxResources.get(c[d])+"...",c[d])});this.put("insert",new Menu(mxUtils.bind(this,function(a,c){this.addMenuItems(a,"insertRectangle insertEllipse insertRhombus - insertText insertLink - createShape insertFreehand - insertImage".split(" "),c);b.insertTemplateEnabled&&!b.isOffline()&&this.addMenuItems(a,["insertTemplate"],c);a.addSeparator(c);
|
||||
this.addSubmenu("insertLayout",a,c,mxResources.get("layout"));this.addSubmenu("insertAdvanced",a,c,mxResources.get("advanced"))})));this.put("insertLayout",new Menu(mxUtils.bind(this,function(a,b){B(a,b,"horizontalFlow verticalFlow - horizontalTree verticalTree radialTree - organic circle".split(" "))})));this.put("insertAdvanced",new Menu(mxUtils.bind(this,function(a,c){B(a,c,["fromText","plantUml","-","formatSql"]);a.addItem(mxResources.get("csv")+"...",null,function(){b.showImportCsvDialog()},
|
||||
c,null,g())})));this.put("openRecent",new Menu(function(a,c){var d=b.getRecent();if(null!=d){for(var e=0;e<d.length;e++)(function(d){var e=d.mode;e==App.MODE_GOOGLE?e="googleDrive":e==App.MODE_ONEDRIVE&&(e="oneDrive");a.addItem(d.title+" ("+mxResources.get(e)+")",null,function(){b.loadFile(d.id)},c)})(d[e]);a.addSeparator(c)}a.addItem(mxResources.get("reset"),null,function(){b.resetRecent()},c)}));this.put("openFrom",new Menu(function(a,c){null!=b.drive?a.addItem(mxResources.get("googleDrive")+"...",
|
||||
null,function(){b.pickFile(App.MODE_GOOGLE)},c):k&&"function"===typeof window.DriveClient&&a.addItem(mxResources.get("googleDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=b.oneDrive?a.addItem(mxResources.get("oneDrive")+"...",null,function(){b.pickFile(App.MODE_ONEDRIVE)},c):n&&"function"===typeof window.OneDriveClient&&a.addItem(mxResources.get("oneDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=b.dropbox?a.addItem(mxResources.get("dropbox")+
|
||||
"...",null,function(){b.pickFile(App.MODE_DROPBOX)},c):l&&"function"===typeof window.DropboxClient&&a.addItem(mxResources.get("dropbox")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);null!=b.gitHub&&a.addItem(mxResources.get("github")+"...",null,function(){b.pickFile(App.MODE_GITHUB)},c);null!=b.gitLab&&a.addItem(mxResources.get("gitlab")+"...",null,function(){b.pickFile(App.MODE_GITLAB)},c);null!=b.trello?a.addItem(mxResources.get("trello")+"...",null,function(){b.pickFile(App.MODE_TRELLO)},
|
||||
c):q&&"function"===typeof window.TrelloClient&&a.addItem(mxResources.get("trello")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);isLocalStorage&&"0"!=urlParams.browser&&a.addItem(mxResources.get("browser")+"...",null,function(){b.pickFile(App.MODE_BROWSER)},c);a.addItem(mxResources.get("device")+"...",null,function(){b.pickFile(App.MODE_DEVICE)},c);b.isOffline()||(a.addSeparator(c),a.addItem(mxResources.get("url")+"...",null,function(){var a=new FilenameDialog(b,
|
||||
"",mxResources.get("open"),function(a){null!=a&&0<a.length&&(null==b.getCurrentFile()?window.location.hash="#U"+encodeURIComponent(a):window.openWindow((mxClient.IS_CHROMEAPP?"https://www.draw.io/":"https://"+location.host+"/")+window.location.search+"#U"+encodeURIComponent(a)))},mxResources.get("url"));b.showDialog(a.container,300,80,!0,!0);a.init()},c))}));Editor.enableCustomLibraries&&(this.put("newLibrary",new Menu(function(a,c){"undefined"!=typeof google&&"undefined"!=typeof google.picker&&(null!=
|
||||
b.drive?a.addItem(mxResources.get("googleDrive")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_GOOGLE)},c):k&&"function"===typeof window.DriveClient&&a.addItem(mxResources.get("googleDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1));null!=b.oneDrive?a.addItem(mxResources.get("oneDrive")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_ONEDRIVE)},c):n&&"function"===typeof window.OneDriveClient&&a.addItem(mxResources.get("oneDrive")+
|
||||
" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=b.dropbox?a.addItem(mxResources.get("dropbox")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_DROPBOX)},c):l&&"function"===typeof window.DropboxClient&&a.addItem(mxResources.get("dropbox")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);null!=b.gitHub&&a.addItem(mxResources.get("github")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_GITHUB)},
|
||||
c);null!=b.gitLab&&a.addItem(mxResources.get("gitlab")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_GITLAB)},c);null!=b.trello?a.addItem(mxResources.get("trello")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_TRELLO)},c):q&&"function"===typeof window.TrelloClient&&a.addItem(mxResources.get("trello")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);isLocalStorage&&"0"!=urlParams.browser&&a.addItem(mxResources.get("browser")+
|
||||
"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_BROWSER)},c);a.addItem(mxResources.get("device")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_DEVICE)},c)})),this.put("openLibraryFrom",new Menu(function(a,c){"undefined"!=typeof google&&"undefined"!=typeof google.picker&&(null!=b.drive?a.addItem(mxResources.get("googleDrive")+"...",null,function(){b.pickLibrary(App.MODE_GOOGLE)},c):k&&"function"===typeof window.DriveClient&&a.addItem(mxResources.get("googleDrive")+
|
||||
" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1));null!=b.oneDrive?a.addItem(mxResources.get("oneDrive")+"...",null,function(){b.pickLibrary(App.MODE_ONEDRIVE)},c):n&&"function"===typeof window.OneDriveClient&&a.addItem(mxResources.get("oneDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=b.dropbox?a.addItem(mxResources.get("dropbox")+"...",null,function(){b.pickLibrary(App.MODE_DROPBOX)},c):l&&"function"===typeof window.DropboxClient&&a.addItem(mxResources.get("dropbox")+
|
||||
" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);null!=b.gitHub&&a.addItem(mxResources.get("github")+"...",null,function(){b.pickLibrary(App.MODE_GITHUB)},c);null!=b.gitLab&&a.addItem(mxResources.get("gitlab")+"...",null,function(){b.pickLibrary(App.MODE_GITLAB)},c);null!=b.trello?a.addItem(mxResources.get("trello")+"...",null,function(){b.pickLibrary(App.MODE_TRELLO)},c):q&&"function"===typeof window.TrelloClient&&a.addItem(mxResources.get("trello")+" ("+mxResources.get("loading")+
|
||||
"...)",null,function(){},c,null,!1);a.addSeparator(c);isLocalStorage&&"0"!=urlParams.browser&&a.addItem(mxResources.get("browser")+"...",null,function(){b.pickLibrary(App.MODE_BROWSER)},c);a.addItem(mxResources.get("device")+"...",null,function(){b.pickLibrary(App.MODE_DEVICE)},c);b.isOffline()||(a.addSeparator(c),a.addItem(mxResources.get("url")+"...",null,function(){var a=new FilenameDialog(b,"",mxResources.get("open"),function(a){if(null!=a&&0<a.length&&b.spinner.spin(document.body,mxResources.get("loading"))){var c=
|
||||
a;b.editor.isCorsEnabledForUrl(a)||(c=PROXY_URL+"?url="+encodeURIComponent(a));mxUtils.get(c,function(c){if(200<=c.getStatus()&&299>=c.getStatus()){b.spinner.stop();try{b.loadLibrary(new UrlLibrary(this,c.getText(),a))}catch(J){b.handleError(J,mxResources.get("errorLoadingFile"))}}else b.spinner.stop(),b.handleError(null,mxResources.get("errorLoadingFile"))},function(){b.spinner.stop();b.handleError(null,mxResources.get("errorLoadingFile"))})}},mxResources.get("url"));b.showDialog(a.container,300,
|
||||
80,!0,!0);a.init()},c));"1"==urlParams.confLib&&(a.addSeparator(c),a.addItem(mxResources.get("confluenceCloud")+"...",null,function(){b.showRemotelyStoredLibrary(mxResources.get("libraries"))},c))})));this.put("edit",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,"undo redo - cut copy paste delete - duplicate - find - editData editTooltip - editStyle editGeometry - edit - editLink openLink - selectVertices selectEdges selectAll selectNone - lockUnlock".split(" "))})));e=b.actions.addAction("comments",
|
||||
mxUtils.bind(this,function(){if(null==this.commentsWindow)this.commentsWindow=new CommentsWindow(b,document.body.offsetWidth-380,120,300,350),this.commentsWindow.window.addListener("show",function(){b.fireEvent(new mxEventObject("comments"))}),this.commentsWindow.window.addListener("hide",function(){b.fireEvent(new mxEventObject("comments"))}),this.commentsWindow.window.setVisible(!0),b.fireEvent(new mxEventObject("comments"));else{var a=!this.commentsWindow.window.isVisible();this.commentsWindow.window.setVisible(a);
|
||||
this.commentsWindow.refreshCommentsTime();a&&this.commentsWindow.hasError&&this.commentsWindow.refreshComments()}}));e.setToggleAction(!0);e.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.commentsWindow&&this.commentsWindow.window.isVisible()}));b.editor.addListener("fileLoaded",mxUtils.bind(this,function(){null!=this.commentsWindow&&(this.commentsWindow.destroy(),this.commentsWindow=null)}));var e=this.get("viewPanels"),G=e.funct;e.funct=function(a,c){G.apply(this,arguments);
|
||||
b.commentsSupported()&&b.menus.addMenuItems(a,["comments"],c)};this.put("view",new Menu(mxUtils.bind(this,function(a,c){this.addMenuItems(a,(null!=this.editorUi.format?["formatPanel"]:[]).concat(["outline","layers"]).concat(b.commentsSupported()?["comments","-"]:["-"]));this.addMenuItems(a,["-","search"],c);if(isLocalStorage||mxClient.IS_CHROMEAPP){var d=this.addMenuItem(a,"scratchpad",c);(!b.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)&&this.addLinkToItem(d,"https://desk.draw.io/support/solutions/articles/16000042367")}this.addMenuItems(a,
|
||||
["shapes","-","pageView","pageScale"]);this.addSubmenu("units",a,c);this.addMenuItems(a,"- scrollbars tooltips ruler - grid guides".split(" "),c);mxClient.IS_SVG&&(null==document.documentMode||9<document.documentMode)&&this.addMenuItem(a,"shadowVisible",c);this.addMenuItems(a,"- connectionArrows connectionPoints - resetView zoomIn zoomOut".split(" "),c)})));this.put("extras",new Menu(mxUtils.bind(this,function(a,c){"1"!=urlParams.embed&&(this.addSubmenu("theme",a,c),a.addSeparator(c));if("undefined"!==
|
||||
typeof MathJax){var d=this.addMenuItem(a,"mathematicalTypesetting",c);(!b.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)&&this.addLinkToItem(d,"https://desk.draw.io/support/solutions/articles/16000032875")}this.addMenuItems(a,["copyConnect","collapseExpand","-"],c);"1"!=urlParams.embed&&(isLocalStorage||mxClient.IS_CHROMEAPP)&&this.addMenuItems(a,["showStartScreen"],c);"1"!=urlParams.embed&&this.addMenuItems(a,["autosave"],c);a.addSeparator(c);!b.isOfflineApp()&&isLocalStorage&&this.addMenuItem(a,
|
||||
"plugins",c);this.addMenuItems(a,["tags","-","editDiagram","-","drawConfig"],c);a.addSeparator(c);"1"==urlParams.newTempDlg&&(b.actions.addAction("templates",function(){var a=new TemplatesDialog;b.showDialog(a.container,a.width,a.height,!0,!1,null,!1,!0);a.init(b,function(a){console.log(a)},null,null,null,"user",function(a,b){setTimeout(function(){b?a([{url:"123",title:"Test 1Test 1Test 1Test 1Test 1Test 1Test 11Test 1Test 11Test 1Test 1dgdsgdfg fdg dfgdfg dfg dfg"},{url:"123",title:"Test 2",imgUrl:"https://www.google.com.eg/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"},
|
||||
{url:"123",title:"Test 3",changedBy:"Ashraf Teleb",lastModifiedOn:"Yesterday"},{url:"123",title:"Test 4"},{url:"123",title:"Test 5"},{url:"123",title:"Test 6"}]):a([{url:"123",title:"Test 4",imgUrl:"https://images.pexels.com/photos/459225/pexels-photo-459225.jpeg"},{url:"123",title:"Test 5"},{url:"123",title:"Test 6"},{url:"123",title:"Test 1Test 1Test 1Test 1Test 1Test 1Test 11Test 1Test 11Test 1Test 1dgdsgdfg fdg dfgdfg dfg dfg"},{url:"123",title:"Test 2",imgUrl:"https://www.google.com.eg/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"},
|
||||
{url:"123",title:"Test 3",changedBy:"Ashraf Teleb",lastModifiedOn:"Yesterday"}]);console.log(b)},1E3)},function(a,b,c){setTimeout(function(){b(c?[{url:"123",title:a+"Test 1Test 1Test 1Test 1Test 1Test 1Test 1"},{url:"123",title:a+"Test 2"},{url:"123",title:a+"Test 3"},{url:"123",title:a+"Test 4"},{url:"123",title:a+"Test 5"},{url:"123",title:a+"Test 6"}]:[{url:"123",title:a+"Test 5"},{url:"123",title:a+"Test 6"},{url:"123",title:a+"Test 1Test 1Test 1Test 1Test 1Test 1Test 1"},{url:"123",title:a+"Test 2"},
|
||||
{url:"123",title:a+"Test 3"},{url:"123",title:a+"Test 4"}])},2E3)},null)}),this.addMenuItem(a,"templates",c))})));this.put("file",new Menu(mxUtils.bind(this,function(a,c){if("1"==urlParams.embed)this.addSubmenu("importFrom",a,c),this.addSubmenu("exportAs",a,c),this.addSubmenu("embed",a,c),"1"==urlParams.libraries&&(this.addMenuItems(a,["-"],c),this.addSubmenu("newLibrary",a,c),this.addSubmenu("openLibraryFrom",a,c)),b.isRevisionHistorySupported()&&this.addMenuItems(a,["-","revisionHistory"],c),this.addMenuItems(a,
|
||||
["-","pageSetup","print","-","rename","1"==urlParams.noSaveBtn?"saveAndExit":"save"],c),"1"==urlParams.saveAndExit&&"1"!=urlParams.noSaveBtn&&this.addMenuItems(a,["saveAndExit"],c),this.addMenuItems(a,["exit"],c);else{var d=this.editorUi.getCurrentFile();if(null!=d&&d.constructor==DriveFile){d.isRestricted()&&this.addMenuItems(a,["exportOptionsDisabled"],c);this.addMenuItems(a,["save","-","share"],c);var e=this.addMenuItem(a,"synchronize",c);(!b.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)&&
|
||||
this.addLinkToItem(e,"https://desk.draw.io/support/solutions/articles/16000087947");a.addSeparator(c)}else this.addMenuItems(a,["new"],c);this.addSubmenu("openFrom",a,c);isLocalStorage&&this.addSubmenu("openRecent",a,c);null!=d&&d.constructor==DriveFile?this.addMenuItems(a,["new","-","rename","makeCopy","moveToFolder"],c):(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||null==d||d.constructor==LocalFile||(a.addSeparator(c),e=this.addMenuItem(a,"synchronize",c),(!b.isOffline()||mxClient.IS_CHROMEAPP||
|
||||
EditorUi.isElectronApp)&&this.addLinkToItem(e,"https://desk.draw.io/support/solutions/articles/16000087947")),this.addMenuItems(a,["-","save","saveAs"],c),this.addMenuItems(a,["-","rename"],c),b.isOfflineApp()?navigator.onLine&&"1"!=urlParams.stealth&&this.addMenuItems(a,["upload"],c):(this.addMenuItems(a,["makeCopy"],c),null!=d&&d.constructor==OneDriveFile&&this.addMenuItems(a,["moveToFolder"],c)));a.addSeparator(c);this.addSubmenu("importFrom",a,c);this.addSubmenu("exportAs",a,c);a.addSeparator(c);
|
||||
this.addSubmenu("embed",a,c);this.addSubmenu("publish",a,c);a.addSeparator(c);this.addSubmenu("newLibrary",a,c);this.addSubmenu("openLibraryFrom",a,c);b.isRevisionHistorySupported()&&this.addMenuItems(a,["-","revisionHistory"],c);this.addMenuItems(a,["-","pageSetup"],c);mxClient.IS_IOS&&navigator.standalone||this.addMenuItems(a,["print"],c);this.addMenuItems(a,["-","close"])}})));a.prototype.execute=function(){var a=this.ui.editor.graph;this.extFonts=this.previousExtFonts;for(var b=a.extFonts,c=0;null!=
|
||||
b&&c<b.length;c++){var d=document.getElementById("extFont_"+b[c].name);null!=d&&d.parentNode.removeChild(d)}a.extFonts=[];for(c=0;c<this.previousExtFonts.length;c++)this.ui.editor.graph.addExtFont(this.previousExtFonts[c].name,this.previousExtFonts[c].url);this.previousExtFonts=b};this.put("fontFamily",new Menu(mxUtils.bind(this,function(b,c){for(var d=mxUtils.bind(this,function(a,d){var e=this.editorUi.editor.graph;this.styleChange(b,a,[mxConstants.STYLE_FONTFAMILY],[a],null,c,function(){document.execCommand("fontname",
|
||||
!1,a);e.addExtFont(a,d)},function(){e.updateLabelElements(e.getSelectionCells(),function(a){a.removeAttribute("face");a.style.fontFamily=null;"PRE"==a.nodeName&&e.replaceElement(a,"div")});e.addExtFont(a,d)}).firstChild.nextSibling.style.fontFamily=a}),e=0;e<this.defaultFonts.length;e++)d(this.defaultFonts[e]);b.addSeparator(c);var f=this.editorUi.editor.graph.extFonts;if(null!=f&&0<f.length){for(var g={},k=!1,e=0;e<this.customFonts.length;e++)g[this.customFonts[e].name]=!0;for(e=0;e<f.length;e++)g[f[e].name]||
|
||||
(this.customFonts.push(f[e]),k=!0);k&&this.editorUi.fireEvent(new mxEventObject("customFontsChanged"))}if(0<this.customFonts.length){for(e=0;e<this.customFonts.length;e++)f=this.customFonts[e].name,g=this.customFonts[e].url,d(f,g),this.editorUi.editor.graph.addExtFont(f,g,!0);b.addSeparator(c);b.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){var b=new a(this.editorUi,[]);this.editorUi.editor.graph.model.execute(b);this.customFonts=[];this.editorUi.fireEvent(new mxEventObject("customFontsChanged"))}),
|
||||
c);b.addSeparator(c)}b.addItem(mxResources.get("custom")+"...",null,mxUtils.bind(this,function(){var a=this.editorUi.editor.graph,b=mxConstants.DEFAULT_FONTFAMILY,c="s",d=null,e=a.getView().getState(a.getSelectionCell());null!=e&&(b=e.style[mxConstants.STYLE_FONTFAMILY]||b,c=e.style.FType||c,"w"==c&&(d=this.editorUi.editor.graph.extFonts,e=null,null!=d&&(e=d.find(function(a){return a.name==b})),d=null!=e?e.url:mxResources.get("urlNofFound",null,"URL not found"),0==d.indexOf(PROXY_URL)&&(d=decodeURIComponent(d.substr((PROXY_URL+
|
||||
"?url=").length)))));c=new FontDialog(this.editorUi,b,d,c,mxUtils.bind(this,function(b,c,d){if(null!=b&&0<b.length){a.getModel().beginUpdate();try{a.stopEditing(!1);a.setCellStyles(mxConstants.STYLE_FONTFAMILY,b);"s"!=d&&(a.setCellStyles("FType",d),0==c.indexOf("http://")&&(c=PROXY_URL+"?url="+encodeURIComponent(c)),this.editorUi.editor.graph.addExtFont(b,c));d=!0;for(var e=0;e<this.customFonts.length;e++)if(this.customFonts[e].name==b){d=!1;break}d&&(this.customFonts.push({name:b,url:c}),this.editorUi.fireEvent(new mxEventObject("customFontsChanged")))}finally{a.getModel().endUpdate()}}}));
|
||||
this.editorUi.showDialog(c.container,380,250,!0,!0);c.init()}),c,null,!0)})))}})();function DiagramPage(a,c){this.node=a;null!=c?this.node.setAttribute("id",c):null==this.getId()&&this.node.setAttribute("id",Editor.guid())}DiagramPage.prototype.node=null;DiagramPage.prototype.root=null;DiagramPage.prototype.viewState=null;DiagramPage.prototype.getId=function(){return this.node.getAttribute("id")};DiagramPage.prototype.getName=function(){return this.node.getAttribute("name")};
|
||||
"380px";b.showDialog(a.container,620,460,!0,!0);a.init()});var e=this.get("layout"),t=e.funct;e.funct=function(a,c){t.apply(this,arguments);"1"==urlParams.orgLayout&&a.addItem("Org. Chart",null,function(){mxOrgChart(b)},c,null,g());a.addSeparator(c);b.menus.addMenuItem(a,"runLayout",c,null,null,mxResources.get("apply")+"...")};this.put("help",new Menu(mxUtils.bind(this,function(a,c){if(!mxClient.IS_CHROMEAPP&&b.isOffline())this.addMenuItems(a,["about"],c);else{var d=a.addItem("Search:",null,null,
|
||||
c,null,null,!1);d.style.backgroundColor="dark"==uiTheme?"#505759":"whiteSmoke";d.style.cursor="default";var e=document.createElement("input");e.setAttribute("type","text");e.setAttribute("size","25");e.style.marginLeft="8px";mxEvent.addListener(e,"keydown",mxUtils.bind(this,function(a){var b=mxUtils.trim(e.value);13==a.keyCode&&0<b.length?(this.editorUi.openLink("https://desk.draw.io/support/search/solutions?term="+encodeURIComponent(b)),e.value="",EditorUi.logEvent({category:"SEARCH-HELP",action:"search",
|
||||
label:b}),null!=this.editorUi.menubar&&window.setTimeout(mxUtils.bind(this,function(){this.editorUi.menubar.hideMenu()}),0)):27==a.keyCode&&(e.value="")}));d.firstChild.nextSibling.appendChild(e);mxEvent.addGestureListeners(e,function(a){document.activeElement!=e&&e.focus();mxEvent.consume(a)},function(a){mxEvent.consume(a)},function(a){mxEvent.consume(a)});window.setTimeout(function(){e.focus()},0);this.addMenuItems(a,["-","keyboardShortcuts","quickStart","userManual","-"],c);EditorUi.isElectronApp||
|
||||
navigator.standalone||"1"==urlParams.embed||this.addMenuItems(a,["downloadDesktop"],c);mxClient.IS_CHROMEAPP||this.addMenuItems(a,["feedback","support"],c);this.addMenuItems(a,["-","about"],c)}"1"==urlParams.test&&(a.addSeparator(c),this.addSubmenu("testDevelop",a,c))})));"1"==urlParams.test&&(mxResources.parse("testDevelop=Develop"),mxResources.parse("showBoundingBox=Show bounding box"),mxResources.parse("createSidebarEntry=Create Sidebar Entry"),mxResources.parse("testCheckFile=Check File"),mxResources.parse("testDiff=Diff"),
|
||||
mxResources.parse("testInspect=Inspect"),mxResources.parse("testShowConsole=Show Console"),mxResources.parse("testXmlImageExport=XML Image Export"),mxResources.parse("testDownloadRtModel=Export RT model"),mxResources.parse("testImportRtModel=Import RT model"),b.actions.addAction("createSidebarEntry",mxUtils.bind(this,function(){f.isSelectionEmpty()||b.showTextDialog("Create Sidebar Entry","sb.createVertexTemplateFromData('"+Graph.compress(mxUtils.getXml(f.encodeCells(f.getSelectionCells())))+"', width, height, 'Title');")})),
|
||||
b.actions.addAction("showBoundingBox",mxUtils.bind(this,function(){var a=f.getGraphBounds(),b=f.view.translate,c=f.view.scale;f.insertVertex(f.getDefaultParent(),null,"",a.x/c-b.x,a.y/c-b.y,a.width/c,a.height/c,"fillColor=none;strokeColor=red;")})),b.actions.addAction("testCheckFile",mxUtils.bind(this,function(){var a=null!=b.pages&&null!=b.getCurrentFile()?b.getCurrentFile().getAnonymizedXmlForPages(b.pages):"",a=new TextareaDialog(b,"Paste Data:",a,function(a){if(0<a.length)try{var c=function(a){function b(a){if(null==
|
||||
n[a]){if(n[a]=!0,null!=e[a]){for(;0<e[a].length;){var d=e[a].pop();b(d)}delete e[a]}}else mxLog.debug(c+": Visited: "+a)}var c=a.parentNode.id,d=a.childNodes;a={};for(var e={},f=null,g={},k=0;k<d.length;k++){var l=d[k];if(null!=l.id&&0<l.id.length)if(null==a[l.id]){a[l.id]=l.id;var m=l.getAttribute("parent");null==m?null!=f?mxLog.debug(c+": Multiple roots: "+l.id):f=l.id:(null==e[m]&&(e[m]=[]),e[m].push(l.id))}else g[l.id]=l.id}0<Object.keys(g).length?(d=c+": "+Object.keys(g).length+" Duplicates: "+
|
||||
Object.keys(g).join(", "),mxLog.debug(d+" (see console)")):mxLog.debug(c+": Checked");var n={};null==f?mxLog.debug(c+": No root"):(b(f),Object.keys(n).length!=Object.keys(a).length&&(mxLog.debug(c+": Invalid tree: (see console)"),console.log(c+": Invalid tree",e)))};"<"!=a.charAt(0)&&(a=Graph.decompress(a),mxLog.debug("See console for uncompressed XML"),console.log("xml",a));var d=mxUtils.parseXml(a),e=b.getPagesForNode(d.documentElement,"mxGraphModel");if(null!=e&&0<e.length)try{var f=b.getHashValueForPages(e);
|
||||
mxLog.debug("Checksum: ",f)}catch(H){mxLog.debug("Error: ",H.message)}else mxLog.debug("No pages found for checksum");var g=d.getElementsByTagName("root");for(a=0;a<g.length;a++)c(g[a]);mxLog.show()}catch(H){b.handleError(H),null!=window.console&&console.error(H)}});a.textarea.style.width="600px";a.textarea.style.height="380px";b.showDialog(a.container,620,460,!0,!0);a.init()})),b.actions.addAction("testDiff",mxUtils.bind(this,function(){if(null!=b.pages){var a=new TextareaDialog(b,"Paste Data:",
|
||||
"",function(a){if(0<a.length)try{console.log(JSON.stringify(b.diffPages(b.pages,b.getPagesForNode(mxUtils.parseXml(a).documentElement)),null,2))}catch(A){b.handleError(A),null!=window.console&&console.error(A)}});a.textarea.style.width="600px";a.textarea.style.height="380px";b.showDialog(a.container,620,460,!0,!0);a.init()}else b.alert("No pages")})),b.actions.addAction("testInspect",mxUtils.bind(this,function(){console.log(b,f.getModel())})),b.actions.addAction("testXmlImageExport",mxUtils.bind(this,
|
||||
function(){var a=new mxImageExport,b=f.getGraphBounds(),c=f.view.scale,d=mxUtils.createXmlDocument(),e=d.createElement("output");d.appendChild(e);d=new mxXmlCanvas2D(e);d.translate(Math.floor((1-b.x)/c),Math.floor((1-b.y)/c));d.scale(1/c);var g=0,k=d.save;d.save=function(){g++;k.apply(this,arguments)};var l=d.restore;d.restore=function(){g--;l.apply(this,arguments)};var m=a.drawShape;a.drawShape=function(a){mxLog.debug("entering shape",a,g);m.apply(this,arguments);mxLog.debug("leaving shape",a,g)};
|
||||
a.drawState(f.getView().getState(f.model.root),d);mxLog.show();mxLog.debug(mxUtils.getXml(e));mxLog.debug("stateCounter",g)})),b.actions.addAction("testDownloadRtModel...",mxUtils.bind(this,function(){null==b.drive?b.handleError({message:mxResources.get("serviceUnavailableOrBlocked")}):b.drive.execute(mxUtils.bind(this,function(){var a=prompt("File ID","");if(null!=a&&0<a.length&&b.spinner.spin(document.body,mxResources.get("export"))){var c=new mxXmlRequest("https://www.googleapis.com/drive/v2/files/"+
|
||||
a+"/realtime?supportsTeamDrives=true",null,"GET");c.setRequestHeaders=function(a){mxXmlRequest.prototype.setRequestHeaders.apply(this,arguments);a.setRequestHeader("authorization","Bearer "+b.drive.token)};c.send(function(c){b.spinner.stop();200<=c.getStatus()&&299>=c.getStatus()?b.saveLocalFile(c.getText(),"json-"+a+".txt","text/plain"):b.handleError({message:mxResources.get("fileNotFound")},mxResources.get("errorLoadingFile"))})}}))})),b.actions.addAction("testShowConsole",function(){mxLog.isVisible()?
|
||||
mxLog.window.fit():mxLog.show();mxLog.window.div.style.zIndex=mxPopupMenu.prototype.zIndex-1}),this.put("testDevelop",new Menu(mxUtils.bind(this,function(a,c){this.addMenuItems(a,"createSidebarEntry showBoundingBox - testCheckFile testDiff - testInspect - testXmlImageExport - testDownloadRtModel".split(" "),c);a.addItem(mxResources.get("testImportRtModel")+"...",null,function(){var a=document.createElement("input");a.setAttribute("type","file");mxEvent.addListener(a,"change",mxUtils.bind(this,function(){if(null!=
|
||||
a.files){var c=new FileReader;c.onload=mxUtils.bind(this,function(c){try{b.openLocalFile(mxUtils.getXml(b.drive.convertJsonToXml(JSON.parse(c.target.result).data)),a.files[0].name,!0)}catch(I){b.handleError(I,mxResources.get("errorLoadingFile"))}});c.readAsText(a.files[0])}}));a.click()},c);this.addMenuItems(a,["-","testShowConsole"],c)}))));b.actions.addAction("shapes...",function(){mxClient.IS_CHROMEAPP||!b.isOffline()?b.showDialog((new MoreShapesDialog(b,!0)).container,640,isLocalStorage?mxClient.IS_IOS?
|
||||
480:460:440,!0,!0):b.showDialog((new MoreShapesDialog(b,!1)).container,360,isLocalStorage?mxClient.IS_IOS?300:280:260,!0,!0)});b.actions.put("createShape",new Action(mxResources.get("shape")+"...",function(a){f.isEnabled()&&(a=new mxCell("",new mxGeometry(0,0,120,120),b.defaultCustomShapeStyle),a.vertex=!0,a=new EditShapeDialog(b,a,mxResources.get("editShape")+":",630,400),b.showDialog(a.container,640,480,!0,!1),a.init())})).isEnabled=g;b.actions.put("embedHtml",new Action(mxResources.get("html")+
|
||||
"...",function(){b.spinner.spin(document.body,mxResources.get("loading"))&&b.getPublicUrl(b.getCurrentFile(),function(a){b.spinner.stop();b.showHtmlDialog(mxResources.get("create"),"https://desk.draw.io/support/solutions/articles/16000042542",a,function(a,c,d,e,f,g,k,l,m,n){b.createHtml(a,c,d,e,f,g,k,l,m,n,mxUtils.bind(this,function(a,c){var d=new EmbedDialog(b,a+"\n"+c,null,null,function(){var d=window.open(),e=d.document;if(null!=e){"CSS1Compat"===document.compatMode&&e.writeln("<!DOCTYPE html>");
|
||||
e.writeln("<html>");e.writeln("<head><title>"+encodeURIComponent(mxResources.get("preview"))+'</title><meta charset="utf-8"></head>');e.writeln("<body>");e.writeln(a);var f=mxClient.IS_IE||mxClient.IS_EDGE||null!=document.documentMode;f&&e.writeln(c);e.writeln("</body>");e.writeln("</html>");e.close();if(!f){var g=d.document.createElement("div");g.marginLeft="26px";g.marginTop="26px";mxUtils.write(g,mxResources.get("updatingDocument"));f=d.document.createElement("img");f.setAttribute("src",window.location.protocol+
|
||||
"//"+window.location.hostname+"/"+IMAGE_PATH+"/spin.gif");f.style.marginLeft="6px";g.appendChild(f);d.document.body.insertBefore(g,d.document.body.firstChild);window.setTimeout(function(){var a=document.createElement("script");a.type="text/javascript";a.src=/<script.*?src="(.*?)"/.exec(c)[1];e.body.appendChild(a);g.parentNode.removeChild(g)},20)}}else b.handleError({message:mxResources.get("errorUpdatingPreview")})});b.showDialog(d.container,440,240,!0,!0);d.init()}))})})}));b.actions.put("liveImage",
|
||||
new Action("Live image...",function(){var a=b.getCurrentFile();null!=a&&b.spinner.spin(document.body,mxResources.get("loading"))&&b.getPublicUrl(b.getCurrentFile(),function(c){b.spinner.stop();null!=c?(c=new EmbedDialog(b,'<img src="'+(a.constructor!=DriveFile?c:"https://drive.google.com/uc?id="+a.getId())+'"/>'),b.showDialog(c.container,440,240,!0,!0),c.init()):b.handleError({message:mxResources.get("invalidPublicUrl")})})}));b.actions.put("embedImage",new Action(mxResources.get("image")+"...",function(){b.showEmbedImageDialog(function(a,
|
||||
c,d,e,f,g){b.spinner.spin(document.body,mxResources.get("loading"))&&b.createEmbedImage(a,c,d,e,f,g,function(a){b.spinner.stop();a=new EmbedDialog(b,a);b.showDialog(a.container,440,240,!0,!0);a.init()},function(a){b.spinner.stop();b.handleError(a)})},mxResources.get("image"),mxResources.get("retina"),b.isExportToCanvas())}));b.actions.put("embedSvg",new Action(mxResources.get("formatSvg")+"...",function(){b.showEmbedImageDialog(function(a,c,d,e,f,g){b.spinner.spin(document.body,mxResources.get("loading"))&&
|
||||
b.createEmbedSvg(a,c,d,e,f,g,function(a){b.spinner.stop();a=new EmbedDialog(b,a);b.showDialog(a.container,440,240,!0,!0);a.init()},function(a){b.spinner.stop();b.handleError(a)})},mxResources.get("formatSvg"),mxResources.get("image"),!0,"https://desk.draw.io/support/solutions/articles/16000042548")}));b.actions.put("embedIframe",new Action(mxResources.get("iframe")+"...",function(){var a=f.getGraphBounds();b.showPublishLinkDialog(mxResources.get("iframe"),null,"100%",Math.ceil((a.y+a.height-f.view.translate.y)/
|
||||
f.view.scale)+2,function(a,c,d,e,f,g,k,l){b.spinner.spin(document.body,mxResources.get("loading"))&&b.getPublicUrl(b.getCurrentFile(),function(m){b.spinner.stop();m=new EmbedDialog(b,'<iframe frameborder="0" style="width:'+k+";height:"+l+';" src="'+b.createLink(a,c,d,e,f,g,m)+'"></iframe>');b.showDialog(m.container,440,240,!0,!0);m.init()})},!0)}));b.actions.put("publishLink",new Action(mxResources.get("link")+"...",function(){b.showPublishLinkDialog(null,null,null,null,function(a,c,d,e,f,g){b.spinner.spin(document.body,
|
||||
mxResources.get("loading"))&&b.getPublicUrl(b.getCurrentFile(),function(k){b.spinner.stop();k=new EmbedDialog(b,b.createLink(a,c,d,e,f,g,k));b.showDialog(k.container,440,240,!0,!0);k.init()})})}));b.actions.addAction("microsoftOffice...",function(){b.openLink("https://office.draw.io")});b.actions.addAction("googleDocs...",function(){b.openLink("http://docsaddon.draw.io")});b.actions.addAction("googleSlides...",function(){b.openLink("https://slidesaddon.draw.io")});b.actions.addAction("googleSheets...",
|
||||
function(){b.openLink("https://sheetsaddon.draw.io")});b.actions.addAction("googleSites...",function(){b.spinner.spin(document.body,mxResources.get("loading"))&&b.getPublicUrl(b.getCurrentFile(),function(a){b.spinner.stop();a=new GoogleSitesDialog(b,a);b.showDialog(a.container,420,256,!0,!0);a.init()})});if(isLocalStorage||mxClient.IS_CHROMEAPP)e=b.actions.addAction("scratchpad",function(){b.toggleScratchpad()}),e.setToggleAction(!0),e.setSelectedCallback(function(){return null!=b.scratchpad}),b.actions.addAction("plugins...",
|
||||
function(){b.showDialog((new PluginsDialog(b)).container,360,170,!0,!1)});e=b.actions.addAction("search",function(){var a=b.sidebar.isEntryVisible("search");b.sidebar.showPalette("search",!a);isLocalStorage&&(mxSettings.settings.search=!a,mxSettings.save())});e.setToggleAction(!0);e.setSelectedCallback(function(){return b.sidebar.isEntryVisible("search")});"1"==urlParams.embed&&(b.actions.get("save").funct=function(a){f.isEditing()&&f.stopEditing();var c="0"!=urlParams.pages||null!=b.pages&&1<b.pages.length?
|
||||
b.getFileData(!0):mxUtils.getXml(b.editor.getGraphXml());if("json"==urlParams.proto){var d=b.createLoadMessage("save");d.xml=c;a&&(d.exit=!0);c=JSON.stringify(d)}(window.opener||window.parent).postMessage(c,"*");"0"!=urlParams.modified&&"1"!=urlParams.keepmodified&&(b.editor.modified=!1,b.editor.setStatus(""));null!=b.getCurrentFile()&&b.saveFile()},b.actions.addAction("saveAndExit",function(){b.actions.get("save").funct(!0)}),b.actions.addAction("exit",function(){var a=function(){b.editor.modified=
|
||||
!1;var a="json"==urlParams.proto?JSON.stringify({event:"exit",modified:b.editor.modified}):"";(window.opener||window.parent).postMessage(a,"*")};b.editor.modified?b.confirm(mxResources.get("allChangesLost"),null,a,mxResources.get("cancel"),mxResources.get("discardChanges")):a()}));this.put("exportAs",new Menu(mxUtils.bind(this,function(a,c){b.isExportToCanvas()?(this.addMenuItems(a,["exportPng"],c),b.jpgSupported&&this.addMenuItems(a,["exportJpg"],c)):b.isOffline()||mxClient.IS_IOS&&navigator.standalone||
|
||||
this.addMenuItems(a,["exportPng","exportJpg"],c);this.addMenuItems(a,["exportSvg","-"],c);b.isOffline()||b.printPdfExport?this.addMenuItems(a,["exportPdf"],c):b.isOffline()||mxClient.IS_IOS&&navigator.standalone||this.addMenuItems(a,["exportPdf"],c);mxClient.IS_IE||"undefined"===typeof VsdxExport&&b.isOffline()||this.addMenuItems(a,["exportVsdx"],c);this.addMenuItems(a,["-","exportHtml","exportXml","exportUrl"],c);b.isOffline()||(a.addSeparator(c),this.addMenuItem(a,"export",c).firstChild.nextSibling.innerHTML=
|
||||
mxResources.get("advanced")+"...")})));this.put("importFrom",new Menu(mxUtils.bind(this,function(a,c){function d(a){a.pickFile(function(c){b.spinner.spin(document.body,mxResources.get("loading"))&&a.getFile(c,function(a){var c="data:image/"==a.getData().substring(0,11)?g(a.getTitle()):"text/xml";/\.svg$/i.test(a.getTitle())&&!b.editor.isDataSvg(a.getData())&&(a.setData(b.createSvgDataUri(a.getData())),c="image/svg+xml");e(a.getData(),c,a.getTitle())},function(a){b.handleError(a,null!=a?mxResources.get("errorLoadingFile"):
|
||||
null)},a==b.drive)},!0)}var e=mxUtils.bind(this,function(a,c,d){var e=f.view,g=f.getGraphBounds(),k=f.snap(Math.ceil(Math.max(0,g.x/e.scale-e.translate.x)+4*f.gridSize)),l=f.snap(Math.ceil(Math.max(0,(g.y+g.height)/e.scale-e.translate.y)+4*f.gridSize));"data:image/"==a.substring(0,11)?b.loadImage(a,mxUtils.bind(this,function(e){var g=!0,m=mxUtils.bind(this,function(){b.resizeImage(e,a,mxUtils.bind(this,function(e,m,n){e=g?Math.min(1,Math.min(b.maxImageSize/m,b.maxImageSize/n)):1;b.importFile(a,c,
|
||||
k,l,Math.round(m*e),Math.round(n*e),d,function(a){b.spinner.stop();f.setSelectionCells(a);f.scrollCellToVisible(f.getSelectionCell())})}),g)});a.length>b.resampleThreshold?b.confirmImageResize(function(a){g=a;m()}):m()}),mxUtils.bind(this,function(){b.handleError({message:mxResources.get("cannotOpenFile")})})):b.importFile(a,c,k,l,0,0,d,function(a){b.spinner.stop();f.setSelectionCells(a);f.scrollCellToVisible(f.getSelectionCell())})}),g=mxUtils.bind(this,function(a){var b="text/xml";/\.png$/i.test(a)?
|
||||
b="image/png":/\.jpe?g$/i.test(a)?b="image/jpg":/\.gif$/i.test(a)?b="image/gif":/\.pdf$/i.test(a)&&(b="application/pdf");return b});"undefined"!=typeof google&&"undefined"!=typeof google.picker&&(null!=b.drive?a.addItem(mxResources.get("googleDrive")+"...",null,function(){d(b.drive)},c):k&&"function"===typeof window.DriveClient&&a.addItem(mxResources.get("googleDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1));null!=b.oneDrive?a.addItem(mxResources.get("oneDrive")+"...",
|
||||
null,function(){d(b.oneDrive)},c):n&&"function"===typeof window.OneDriveClient&&a.addItem(mxResources.get("oneDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=b.dropbox?a.addItem(mxResources.get("dropbox")+"...",null,function(){d(b.dropbox)},c):l&&"function"===typeof window.DropboxClient&&a.addItem(mxResources.get("dropbox")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);null!=b.gitHub&&a.addItem(mxResources.get("github")+"...",
|
||||
null,function(){d(b.gitHub)},c);null!=b.gitLab&&a.addItem(mxResources.get("gitlab")+"...",null,function(){d(b.gitLab)},c);null!=b.trello?a.addItem(mxResources.get("trello")+"...",null,function(){d(b.trello)},c):q&&"function"===typeof window.TrelloClient&&a.addItem(mxResources.get("trello")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);isLocalStorage&&"0"!=urlParams.browser&&a.addItem(mxResources.get("browser")+"...",null,function(){b.importLocalFile(!1)},c);
|
||||
a.addItem(mxResources.get("device")+"...",null,function(){b.importLocalFile(!0)},c);b.isOffline()||(a.addSeparator(c),a.addItem(mxResources.get("url")+"...",null,function(){var a=new FilenameDialog(b,"",mxResources.get("import"),function(a){if(null!=a&&0<a.length&&b.spinner.spin(document.body,mxResources.get("loading"))){var c=/(\.png)($|\?)/i.test(a)?"image/png":"text/xml";b.loadUrl(PROXY_URL+"?url="+encodeURIComponent(a),function(b){e(b,c,a)},function(){b.spinner.stop();b.handleError(null,mxResources.get("errorLoadingFile"))},
|
||||
"image/png"==c)}},mxResources.get("url"));b.showDialog(a.container,300,80,!0,!0);a.init()},c))}))).isEnabled=g;this.put("theme",new Menu(mxUtils.bind(this,function(a,c){var d=mxSettings.getUi(),e=a.addItem(mxResources.get("automatic"),null,function(){mxSettings.setUi("");mxSettings.save();b.alert(mxResources.get("restartForChangeRequired"))},c);"kennedy"!=d&&"atlas"!=d&&"dark"!=d&&"min"!=d&&a.addCheckmark(e,Editor.checkmarkImage);a.addSeparator(c);e=a.addItem(mxResources.get("kennedy"),null,function(){mxSettings.setUi("kennedy");
|
||||
mxSettings.save();b.alert(mxResources.get("restartForChangeRequired"))},c);"kennedy"==d&&a.addCheckmark(e,Editor.checkmarkImage);e=a.addItem(mxResources.get("minimal"),null,function(){mxSettings.setUi("min");mxSettings.save();b.alert(mxResources.get("restartForChangeRequired"))},c);"min"==d&&a.addCheckmark(e,Editor.checkmarkImage);e=a.addItem(mxResources.get("atlas"),null,function(){mxSettings.setUi("atlas");mxSettings.save();b.alert(mxResources.get("restartForChangeRequired"))},c);"atlas"==d&&a.addCheckmark(e,
|
||||
Editor.checkmarkImage);e=a.addItem(mxResources.get("dark"),null,function(){mxSettings.setUi("dark");mxSettings.save();b.alert(mxResources.get("restartForChangeRequired"))},c);"dark"==d&&a.addCheckmark(e,Editor.checkmarkImage)})));e=this.editorUi.actions.addAction("rename...",mxUtils.bind(this,function(){var a=this.editorUi.getCurrentFile();if(null!=a){var c=null!=a.getTitle()?a.getTitle():this.editorUi.defaultFilename,c=new FilenameDialog(this.editorUi,c,mxResources.get("rename"),mxUtils.bind(this,
|
||||
function(b){null!=b&&0<b.length&&null!=a&&b!=a.getTitle()&&this.editorUi.spinner.spin(document.body,mxResources.get("renaming"))&&a.rename(b,mxUtils.bind(this,function(a){this.editorUi.spinner.stop()}),mxUtils.bind(this,function(a){this.editorUi.handleError(a,null!=a?mxResources.get("errorRenamingFile"):null)}))}),a.constructor==DriveFile||a.constructor==StorageFile?mxResources.get("diagramName"):null,function(a){if(null!=a&&0<a.length)return!0;b.showError(mxResources.get("error"),mxResources.get("invalidName"),
|
||||
mxResources.get("ok"));return!1},null,null,null,null,b.editor.fileExtensions);this.editorUi.showDialog(c.container,340,90,!0,!0);c.init()}}));e.isEnabled=function(){return this.enabled&&g.apply(this,arguments)};e.visible="1"!=urlParams.embed;b.actions.addAction("makeCopy...",mxUtils.bind(this,function(){var a=b.getCurrentFile();if(null!=a){var c=b.getCopyFilename(a);a.constructor==DriveFile?(c=new CreateDialog(b,c,mxUtils.bind(this,function(c,d){"download"==d&&(d=App.MODE_GOOGLE);null!=c&&0<c.length&&
|
||||
(d==App.MODE_GOOGLE?b.spinner.spin(document.body,mxResources.get("saving"))&&a.saveAs(c,mxUtils.bind(this,function(c){a.desc=c;a.save(!1,mxUtils.bind(this,function(){b.spinner.stop();a.setModified(!1);a.addAllSavedStatus()}),mxUtils.bind(this,function(a){b.handleError(a)}))}),mxUtils.bind(this,function(a){b.handleError(a)})):b.createFile(c,b.getFileData(!0),null,d))}),mxUtils.bind(this,function(){b.hideDialog()}),mxResources.get("makeCopy"),mxResources.get("create"),null,null,null,null,!0,null,null,
|
||||
null,null,b.editor.fileExtensions),b.showDialog(c.container,420,380,!0,!0),c.init()):b.editor.editAsNew(this.editorUi.getFileData(!0),c)}}));b.actions.addAction("moveToFolder...",mxUtils.bind(this,function(){var a=b.getCurrentFile();if(a.getMode()==App.MODE_GOOGLE||a.getMode()==App.MODE_ONEDRIVE){var c=!1;if(a.getMode()==App.MODE_GOOGLE&&null!=a.desc.parents)for(var d=0;d<a.desc.parents.length;d++)if(a.desc.parents[d].isRoot){c=!0;break}b.pickFolder(a.getMode(),mxUtils.bind(this,function(c){b.spinner.spin(document.body,
|
||||
mxResources.get("moving"))&&a.move(c,mxUtils.bind(this,function(a){b.spinner.stop()}),mxUtils.bind(this,function(a){b.handleError(a)}))}),null,!0,c)}}));this.put("publish",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,["publishLink"],b)})));b.actions.put("useOffline",new Action(mxResources.get("useOffline")+"...",function(){b.openLink("https://app.draw.io/")}));b.actions.put("downloadDesktop",new Action(mxResources.get("downloadDesktop")+"...",function(){b.openLink("https://get.draw.io/")}));
|
||||
this.editorUi.actions.addAction("share...",mxUtils.bind(this,function(){try{var a=b.getCurrentFile();null!=a&&b.drive.showPermissions(a.getId())}catch(C){b.handleError(C)}}));this.put("embed",new Menu(mxUtils.bind(this,function(a,c){var d=b.getCurrentFile();null==d||d.getMode()!=App.MODE_GOOGLE&&d.getMode()!=App.MODE_GITHUB||!/(\.png)$/i.test(d.getTitle())||this.addMenuItems(a,["liveImage","-"],c);this.addMenuItems(a,["embedImage","embedSvg","-","embedHtml"],c);navigator.standalone||b.isOffline()||
|
||||
this.addMenuItems(a,["embedIframe"],c);"1"==urlParams.embed||b.isOffline()||this.addMenuItems(a,"- googleDocs googleSlides googleSheets - microsoftOffice".split(" "),c)})));var y=function(a,c,d,e){("plantUml"!=e||EditorUi.enablePlantUml&&!b.isOffline())&&a.addItem(d,null,mxUtils.bind(this,function(){if("fromText"==e||"formatSql"==e||"plantUml"==e){var a=new ParseDialog(b,d,e);b.showDialog(a.container,620,420,!0,!1);b.dialog.container.style.overflow="auto"}else a=new CreateGraphDialog(b,d,e),b.showDialog(a.container,
|
||||
620,420,!0,!1);a.init()}),c,null,g())},z=function(a,b,c,d){var e=f.isMouseInsertPoint()?f.getInsertPoint():f.getFreeInsertPoint();a=new mxCell(a,new mxGeometry(e.x,e.y,b,c),d);a.vertex=!0;f.getModel().beginUpdate();try{a=f.addCell(a),f.fireEvent(new mxEventObject("cellsInserted","cells",[a]))}finally{f.getModel().endUpdate()}f.scrollCellToVisible(a);f.setSelectionCell(a);f.container.focus();f.editAfterInsert&&f.startEditing(a);return a};b.actions.put("exportSvg",new Action(mxResources.get("formatSvg")+
|
||||
"...",function(){b.showExportDialog(mxResources.get("formatSvg"),!0,mxResources.get("export"),"https://support.draw.io/display/DO/Exporting+Files",mxUtils.bind(this,function(a,c,d,e,f,g,k,l,m,n){a=parseInt(a);!isNaN(a)&&0<a&&b.exportSvg(a/100,c,d,e,f,g,k,!l,m,n)}),!0,null,"svg")}));b.actions.put("insertText",new Action(mxResources.get("text"),function(){f.isEnabled()&&!f.isCellLocked(f.getDefaultParent())&&f.startEditingAtCell(z("Text",40,20,"text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=none;strokeColor=none;rounded=0;"))}),
|
||||
null,null,Editor.ctrlKey+"+Shift+X").isEnabled=g;b.actions.put("insertRectangle",new Action(mxResources.get("rectangle"),function(){f.isEnabled()&&!f.isCellLocked(f.getDefaultParent())&&z("",120,60,"whiteSpace=wrap;html=1;")}),null,null,Editor.ctrlKey+"+K").isEnabled=g;b.actions.put("insertEllipse",new Action(mxResources.get("ellipse"),function(){f.isEnabled()&&!f.isCellLocked(f.getDefaultParent())&&z("",80,80,"ellipse;whiteSpace=wrap;html=1;")}),null,null,Editor.ctrlKey+"+Shift+K").isEnabled=g;b.actions.put("insertRhombus",
|
||||
new Action(mxResources.get("rhombus"),function(){f.isEnabled()&&!f.isCellLocked(f.getDefaultParent())&&z("",80,80,"rhombus;whiteSpace=wrap;html=1;")})).isEnabled=g;var B=mxUtils.bind(this,function(a,b,c){for(var d=0;d<c.length;d++)"-"==c[d]?a.addSeparator(b):y(a,b,mxResources.get(c[d])+"...",c[d])});this.put("insert",new Menu(mxUtils.bind(this,function(a,c){this.addMenuItems(a,"insertRectangle insertEllipse insertRhombus - insertText insertLink - createShape insertFreehand - insertImage".split(" "),
|
||||
c);b.insertTemplateEnabled&&!b.isOffline()&&this.addMenuItems(a,["insertTemplate"],c);a.addSeparator(c);this.addSubmenu("insertLayout",a,c,mxResources.get("layout"));this.addSubmenu("insertAdvanced",a,c,mxResources.get("advanced"))})));this.put("insertLayout",new Menu(mxUtils.bind(this,function(a,b){B(a,b,"horizontalFlow verticalFlow - horizontalTree verticalTree radialTree - organic circle".split(" "))})));this.put("insertAdvanced",new Menu(mxUtils.bind(this,function(a,c){B(a,c,["fromText","plantUml",
|
||||
"-","formatSql"]);a.addItem(mxResources.get("csv")+"...",null,function(){b.showImportCsvDialog()},c,null,g())})));this.put("openRecent",new Menu(function(a,c){var d=b.getRecent();if(null!=d){for(var e=0;e<d.length;e++)(function(d){var e=d.mode;e==App.MODE_GOOGLE?e="googleDrive":e==App.MODE_ONEDRIVE&&(e="oneDrive");a.addItem(d.title+" ("+mxResources.get(e)+")",null,function(){b.loadFile(d.id)},c)})(d[e]);a.addSeparator(c)}a.addItem(mxResources.get("reset"),null,function(){b.resetRecent()},c)}));this.put("openFrom",
|
||||
new Menu(function(a,c){null!=b.drive?a.addItem(mxResources.get("googleDrive")+"...",null,function(){b.pickFile(App.MODE_GOOGLE)},c):k&&"function"===typeof window.DriveClient&&a.addItem(mxResources.get("googleDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=b.oneDrive?a.addItem(mxResources.get("oneDrive")+"...",null,function(){b.pickFile(App.MODE_ONEDRIVE)},c):n&&"function"===typeof window.OneDriveClient&&a.addItem(mxResources.get("oneDrive")+" ("+mxResources.get("loading")+
|
||||
"...)",null,function(){},c,null,!1);null!=b.dropbox?a.addItem(mxResources.get("dropbox")+"...",null,function(){b.pickFile(App.MODE_DROPBOX)},c):l&&"function"===typeof window.DropboxClient&&a.addItem(mxResources.get("dropbox")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);null!=b.gitHub&&a.addItem(mxResources.get("github")+"...",null,function(){b.pickFile(App.MODE_GITHUB)},c);null!=b.gitLab&&a.addItem(mxResources.get("gitlab")+"...",null,function(){b.pickFile(App.MODE_GITLAB)},
|
||||
c);null!=b.trello?a.addItem(mxResources.get("trello")+"...",null,function(){b.pickFile(App.MODE_TRELLO)},c):q&&"function"===typeof window.TrelloClient&&a.addItem(mxResources.get("trello")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);isLocalStorage&&"0"!=urlParams.browser&&a.addItem(mxResources.get("browser")+"...",null,function(){b.pickFile(App.MODE_BROWSER)},c);a.addItem(mxResources.get("device")+"...",null,function(){b.pickFile(App.MODE_DEVICE)},c);b.isOffline()||
|
||||
(a.addSeparator(c),a.addItem(mxResources.get("url")+"...",null,function(){var a=new FilenameDialog(b,"",mxResources.get("open"),function(a){null!=a&&0<a.length&&(null==b.getCurrentFile()?window.location.hash="#U"+encodeURIComponent(a):window.openWindow((mxClient.IS_CHROMEAPP?"https://www.draw.io/":"https://"+location.host+"/")+window.location.search+"#U"+encodeURIComponent(a)))},mxResources.get("url"));b.showDialog(a.container,300,80,!0,!0);a.init()},c))}));Editor.enableCustomLibraries&&(this.put("newLibrary",
|
||||
new Menu(function(a,c){"undefined"!=typeof google&&"undefined"!=typeof google.picker&&(null!=b.drive?a.addItem(mxResources.get("googleDrive")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_GOOGLE)},c):k&&"function"===typeof window.DriveClient&&a.addItem(mxResources.get("googleDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1));null!=b.oneDrive?a.addItem(mxResources.get("oneDrive")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_ONEDRIVE)},
|
||||
c):n&&"function"===typeof window.OneDriveClient&&a.addItem(mxResources.get("oneDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=b.dropbox?a.addItem(mxResources.get("dropbox")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_DROPBOX)},c):l&&"function"===typeof window.DropboxClient&&a.addItem(mxResources.get("dropbox")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);null!=b.gitHub&&a.addItem(mxResources.get("github")+
|
||||
"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_GITHUB)},c);null!=b.gitLab&&a.addItem(mxResources.get("gitlab")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_GITLAB)},c);null!=b.trello?a.addItem(mxResources.get("trello")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_TRELLO)},c):q&&"function"===typeof window.TrelloClient&&a.addItem(mxResources.get("trello")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);
|
||||
isLocalStorage&&"0"!=urlParams.browser&&a.addItem(mxResources.get("browser")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_BROWSER)},c);a.addItem(mxResources.get("device")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_DEVICE)},c)})),this.put("openLibraryFrom",new Menu(function(a,c){"undefined"!=typeof google&&"undefined"!=typeof google.picker&&(null!=b.drive?a.addItem(mxResources.get("googleDrive")+"...",null,function(){b.pickLibrary(App.MODE_GOOGLE)},
|
||||
c):k&&"function"===typeof window.DriveClient&&a.addItem(mxResources.get("googleDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1));null!=b.oneDrive?a.addItem(mxResources.get("oneDrive")+"...",null,function(){b.pickLibrary(App.MODE_ONEDRIVE)},c):n&&"function"===typeof window.OneDriveClient&&a.addItem(mxResources.get("oneDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=b.dropbox?a.addItem(mxResources.get("dropbox")+"...",null,function(){b.pickLibrary(App.MODE_DROPBOX)},
|
||||
c):l&&"function"===typeof window.DropboxClient&&a.addItem(mxResources.get("dropbox")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);null!=b.gitHub&&a.addItem(mxResources.get("github")+"...",null,function(){b.pickLibrary(App.MODE_GITHUB)},c);null!=b.gitLab&&a.addItem(mxResources.get("gitlab")+"...",null,function(){b.pickLibrary(App.MODE_GITLAB)},c);null!=b.trello?a.addItem(mxResources.get("trello")+"...",null,function(){b.pickLibrary(App.MODE_TRELLO)},c):q&&"function"===
|
||||
typeof window.TrelloClient&&a.addItem(mxResources.get("trello")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);isLocalStorage&&"0"!=urlParams.browser&&a.addItem(mxResources.get("browser")+"...",null,function(){b.pickLibrary(App.MODE_BROWSER)},c);a.addItem(mxResources.get("device")+"...",null,function(){b.pickLibrary(App.MODE_DEVICE)},c);b.isOffline()||(a.addSeparator(c),a.addItem(mxResources.get("url")+"...",null,function(){var a=new FilenameDialog(b,"",mxResources.get("open"),
|
||||
function(a){if(null!=a&&0<a.length&&b.spinner.spin(document.body,mxResources.get("loading"))){var c=a;b.editor.isCorsEnabledForUrl(a)||(c=PROXY_URL+"?url="+encodeURIComponent(a));mxUtils.get(c,function(c){if(200<=c.getStatus()&&299>=c.getStatus()){b.spinner.stop();try{b.loadLibrary(new UrlLibrary(this,c.getText(),a))}catch(J){b.handleError(J,mxResources.get("errorLoadingFile"))}}else b.spinner.stop(),b.handleError(null,mxResources.get("errorLoadingFile"))},function(){b.spinner.stop();b.handleError(null,
|
||||
mxResources.get("errorLoadingFile"))})}},mxResources.get("url"));b.showDialog(a.container,300,80,!0,!0);a.init()},c));"1"==urlParams.confLib&&(a.addSeparator(c),a.addItem(mxResources.get("confluenceCloud")+"...",null,function(){b.showRemotelyStoredLibrary(mxResources.get("libraries"))},c))})));this.put("edit",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,"undo redo - cut copy paste delete - duplicate - find - editData editTooltip - editStyle editGeometry - edit - editLink openLink - selectVertices selectEdges selectAll selectNone - lockUnlock".split(" "))})));
|
||||
e=b.actions.addAction("comments",mxUtils.bind(this,function(){if(null==this.commentsWindow)this.commentsWindow=new CommentsWindow(b,document.body.offsetWidth-380,120,300,350),this.commentsWindow.window.addListener("show",function(){b.fireEvent(new mxEventObject("comments"))}),this.commentsWindow.window.addListener("hide",function(){b.fireEvent(new mxEventObject("comments"))}),this.commentsWindow.window.setVisible(!0),b.fireEvent(new mxEventObject("comments"));else{var a=!this.commentsWindow.window.isVisible();
|
||||
this.commentsWindow.window.setVisible(a);this.commentsWindow.refreshCommentsTime();a&&this.commentsWindow.hasError&&this.commentsWindow.refreshComments()}}));e.setToggleAction(!0);e.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.commentsWindow&&this.commentsWindow.window.isVisible()}));b.editor.addListener("fileLoaded",mxUtils.bind(this,function(){null!=this.commentsWindow&&(this.commentsWindow.destroy(),this.commentsWindow=null)}));var e=this.get("viewPanels"),G=e.funct;e.funct=
|
||||
function(a,c){G.apply(this,arguments);b.commentsSupported()&&b.menus.addMenuItems(a,["comments"],c)};this.put("view",new Menu(mxUtils.bind(this,function(a,c){this.addMenuItems(a,(null!=this.editorUi.format?["formatPanel"]:[]).concat(["outline","layers"]).concat(b.commentsSupported()?["comments","-"]:["-"]));this.addMenuItems(a,["-","search"],c);if(isLocalStorage||mxClient.IS_CHROMEAPP){var d=this.addMenuItem(a,"scratchpad",c);(!b.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)&&this.addLinkToItem(d,
|
||||
"https://desk.draw.io/support/solutions/articles/16000042367")}this.addMenuItems(a,["shapes","-","pageView","pageScale"]);this.addSubmenu("units",a,c);this.addMenuItems(a,"- scrollbars tooltips ruler - grid guides".split(" "),c);mxClient.IS_SVG&&(null==document.documentMode||9<document.documentMode)&&this.addMenuItem(a,"shadowVisible",c);this.addMenuItems(a,"- connectionArrows connectionPoints - resetView zoomIn zoomOut".split(" "),c)})));this.put("extras",new Menu(mxUtils.bind(this,function(a,c){"1"!=
|
||||
urlParams.embed&&(this.addSubmenu("theme",a,c),a.addSeparator(c));if("undefined"!==typeof MathJax){var d=this.addMenuItem(a,"mathematicalTypesetting",c);(!b.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)&&this.addLinkToItem(d,"https://desk.draw.io/support/solutions/articles/16000032875")}this.addMenuItems(a,["copyConnect","collapseExpand","-"],c);"1"!=urlParams.embed&&(isLocalStorage||mxClient.IS_CHROMEAPP)&&this.addMenuItems(a,["showStartScreen"],c);"1"!=urlParams.embed&&this.addMenuItems(a,
|
||||
["autosave"],c);a.addSeparator(c);!b.isOfflineApp()&&isLocalStorage&&this.addMenuItem(a,"plugins",c);this.addMenuItems(a,["tags","-","editDiagram","-","drawConfig"],c);a.addSeparator(c);"1"==urlParams.newTempDlg&&(b.actions.addAction("templates",function(){var a=new TemplatesDialog;b.showDialog(a.container,a.width,a.height,!0,!1,null,!1,!0);a.init(b,function(a){console.log(a)},null,null,null,"user",function(a,b){setTimeout(function(){b?a([{url:"123",title:"Test 1Test 1Test 1Test 1Test 1Test 1Test 11Test 1Test 11Test 1Test 1dgdsgdfg fdg dfgdfg dfg dfg"},
|
||||
{url:"123",title:"Test 2",imgUrl:"https://www.google.com.eg/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"},{url:"123",title:"Test 3",changedBy:"Ashraf Teleb",lastModifiedOn:"Yesterday"},{url:"123",title:"Test 4"},{url:"123",title:"Test 5"},{url:"123",title:"Test 6"}]):a([{url:"123",title:"Test 4",imgUrl:"https://images.pexels.com/photos/459225/pexels-photo-459225.jpeg"},{url:"123",title:"Test 5"},{url:"123",title:"Test 6"},{url:"123",title:"Test 1Test 1Test 1Test 1Test 1Test 1Test 11Test 1Test 11Test 1Test 1dgdsgdfg fdg dfgdfg dfg dfg"},
|
||||
{url:"123",title:"Test 2",imgUrl:"https://www.google.com.eg/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"},{url:"123",title:"Test 3",changedBy:"Ashraf Teleb",lastModifiedOn:"Yesterday"}]);console.log(b)},1E3)},function(a,b,c){setTimeout(function(){b(c?[{url:"123",title:a+"Test 1Test 1Test 1Test 1Test 1Test 1Test 1"},{url:"123",title:a+"Test 2"},{url:"123",title:a+"Test 3"},{url:"123",title:a+"Test 4"},{url:"123",title:a+"Test 5"},{url:"123",title:a+"Test 6"}]:[{url:"123",title:a+"Test 5"},
|
||||
{url:"123",title:a+"Test 6"},{url:"123",title:a+"Test 1Test 1Test 1Test 1Test 1Test 1Test 1"},{url:"123",title:a+"Test 2"},{url:"123",title:a+"Test 3"},{url:"123",title:a+"Test 4"}])},2E3)},null)}),this.addMenuItem(a,"templates",c))})));this.put("file",new Menu(mxUtils.bind(this,function(a,c){if("1"==urlParams.embed)this.addSubmenu("importFrom",a,c),this.addSubmenu("exportAs",a,c),this.addSubmenu("embed",a,c),"1"==urlParams.libraries&&(this.addMenuItems(a,["-"],c),this.addSubmenu("newLibrary",a,c),
|
||||
this.addSubmenu("openLibraryFrom",a,c)),b.isRevisionHistorySupported()&&this.addMenuItems(a,["-","revisionHistory"],c),this.addMenuItems(a,["-","pageSetup","print","-","rename","1"==urlParams.noSaveBtn?"saveAndExit":"save"],c),"1"==urlParams.saveAndExit&&"1"!=urlParams.noSaveBtn&&this.addMenuItems(a,["saveAndExit"],c),this.addMenuItems(a,["exit"],c);else{var d=this.editorUi.getCurrentFile();if(null!=d&&d.constructor==DriveFile){d.isRestricted()&&this.addMenuItems(a,["exportOptionsDisabled"],c);this.addMenuItems(a,
|
||||
["save","-","share"],c);var e=this.addMenuItem(a,"synchronize",c);(!b.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)&&this.addLinkToItem(e,"https://desk.draw.io/support/solutions/articles/16000087947");a.addSeparator(c)}else this.addMenuItems(a,["new"],c);this.addSubmenu("openFrom",a,c);isLocalStorage&&this.addSubmenu("openRecent",a,c);null!=d&&d.constructor==DriveFile?this.addMenuItems(a,["new","-","rename","makeCopy","moveToFolder"],c):(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||
|
||||
null==d||d.constructor==LocalFile||(a.addSeparator(c),e=this.addMenuItem(a,"synchronize",c),(!b.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)&&this.addLinkToItem(e,"https://desk.draw.io/support/solutions/articles/16000087947")),this.addMenuItems(a,["-","save","saveAs"],c),this.addMenuItems(a,["-","rename"],c),b.isOfflineApp()?navigator.onLine&&"1"!=urlParams.stealth&&this.addMenuItems(a,["upload"],c):(this.addMenuItems(a,["makeCopy"],c),null!=d&&d.constructor==OneDriveFile&&this.addMenuItems(a,
|
||||
["moveToFolder"],c)));a.addSeparator(c);this.addSubmenu("importFrom",a,c);this.addSubmenu("exportAs",a,c);a.addSeparator(c);this.addSubmenu("embed",a,c);this.addSubmenu("publish",a,c);a.addSeparator(c);this.addSubmenu("newLibrary",a,c);this.addSubmenu("openLibraryFrom",a,c);b.isRevisionHistorySupported()&&this.addMenuItems(a,["-","revisionHistory"],c);this.addMenuItems(a,["-","pageSetup"],c);mxClient.IS_IOS&&navigator.standalone||this.addMenuItems(a,["print"],c);this.addMenuItems(a,["-","close"])}})));
|
||||
a.prototype.execute=function(){var a=this.ui.editor.graph;this.extFonts=this.previousExtFonts;for(var b=a.extFonts,c=0;null!=b&&c<b.length;c++){var d=document.getElementById("extFont_"+b[c].name);null!=d&&d.parentNode.removeChild(d)}a.extFonts=[];for(c=0;c<this.previousExtFonts.length;c++)this.ui.editor.graph.addExtFont(this.previousExtFonts[c].name,this.previousExtFonts[c].url);this.previousExtFonts=b};this.put("fontFamily",new Menu(mxUtils.bind(this,function(b,c){for(var d=mxUtils.bind(this,function(a,
|
||||
d){var e=this.editorUi.editor.graph;this.styleChange(b,a,[mxConstants.STYLE_FONTFAMILY],[a],null,c,function(){document.execCommand("fontname",!1,a);e.addExtFont(a,d)},function(){e.updateLabelElements(e.getSelectionCells(),function(a){a.removeAttribute("face");a.style.fontFamily=null;"PRE"==a.nodeName&&e.replaceElement(a,"div")});e.addExtFont(a,d)}).firstChild.nextSibling.style.fontFamily=a}),e=0;e<this.defaultFonts.length;e++)d(this.defaultFonts[e]);b.addSeparator(c);var f=this.editorUi.editor.graph.extFonts;
|
||||
if(null!=f&&0<f.length){for(var g={},k=!1,e=0;e<this.customFonts.length;e++)g[this.customFonts[e].name]=!0;for(e=0;e<f.length;e++)g[f[e].name]||(this.customFonts.push(f[e]),k=!0);k&&this.editorUi.fireEvent(new mxEventObject("customFontsChanged"))}if(0<this.customFonts.length){for(e=0;e<this.customFonts.length;e++)f=this.customFonts[e].name,g=this.customFonts[e].url,d(f,g),this.editorUi.editor.graph.addExtFont(f,g,!0);b.addSeparator(c);b.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){var b=
|
||||
new a(this.editorUi,[]);this.editorUi.editor.graph.model.execute(b);this.customFonts=[];this.editorUi.fireEvent(new mxEventObject("customFontsChanged"))}),c);b.addSeparator(c)}b.addItem(mxResources.get("custom")+"...",null,mxUtils.bind(this,function(){var a=this.editorUi.editor.graph,b=mxConstants.DEFAULT_FONTFAMILY,c="s",d=null,e=a.getView().getState(a.getSelectionCell());null!=e&&(b=e.style[mxConstants.STYLE_FONTFAMILY]||b,c=e.style.FType||c,"w"==c&&(d=this.editorUi.editor.graph.extFonts,e=null,
|
||||
null!=d&&(e=d.find(function(a){return a.name==b})),d=null!=e?e.url:mxResources.get("urlNofFound",null,"URL not found"),0==d.indexOf(PROXY_URL)&&(d=decodeURIComponent(d.substr((PROXY_URL+"?url=").length)))));c=new FontDialog(this.editorUi,b,d,c,mxUtils.bind(this,function(b,c,d){if(null!=b&&0<b.length){a.getModel().beginUpdate();try{a.stopEditing(!1);a.setCellStyles(mxConstants.STYLE_FONTFAMILY,b);"s"!=d&&(a.setCellStyles("FType",d),0==c.indexOf("http://")&&(c=PROXY_URL+"?url="+encodeURIComponent(c)),
|
||||
this.editorUi.editor.graph.addExtFont(b,c));d=!0;for(var e=0;e<this.customFonts.length;e++)if(this.customFonts[e].name==b){d=!1;break}d&&(this.customFonts.push({name:b,url:c}),this.editorUi.fireEvent(new mxEventObject("customFontsChanged")))}finally{a.getModel().endUpdate()}}}));this.editorUi.showDialog(c.container,380,250,!0,!0);c.init()}),c,null,!0)})))}})();function DiagramPage(a,c){this.node=a;null!=c?this.node.setAttribute("id",c):null==this.getId()&&this.node.setAttribute("id",Editor.guid())}DiagramPage.prototype.node=null;DiagramPage.prototype.root=null;DiagramPage.prototype.viewState=null;DiagramPage.prototype.getId=function(){return this.node.getAttribute("id")};DiagramPage.prototype.getName=function(){return this.node.getAttribute("name")};
|
||||
DiagramPage.prototype.setName=function(a){null==a?this.node.removeAttribute("name"):this.node.setAttribute("name",a)};function RenamePage(a,c,d){this.ui=a;this.page=c;this.previous=this.name=d}RenamePage.prototype.execute=function(){var a=this.page.getName();this.page.setName(this.previous);this.name=this.previous;this.previous=a;this.ui.editor.graph.updatePlaceholders();this.ui.editor.fireEvent(new mxEventObject("pageRenamed"))};
|
||||
function MovePage(a,c,d){this.ui=a;this.oldIndex=c;this.newIndex=d}MovePage.prototype.execute=function(){this.ui.pages.splice(this.newIndex,0,this.ui.pages.splice(this.oldIndex,1)[0]);var a=this.oldIndex;this.oldIndex=this.newIndex;this.newIndex=a;this.ui.editor.graph.updatePlaceholders();this.ui.editor.fireEvent(new mxEventObject("pageMoved"))};
|
||||
function SelectPage(a,c,d){this.ui=a;this.previousPage=this.page=c;this.neverShown=!0;null!=c&&(this.neverShown=null==c.viewState,this.ui.updatePageRoot(c),null!=d&&(c.viewState=d,this.neverShown=!1))}
|
||||
|
|
|
@ -1552,25 +1552,33 @@ App.prototype.init = function()
|
|||
{
|
||||
mxUtils.get('https://api.github.com/repos/jgraph/drawio-desktop/releases/latest', mxUtils.bind(this, function(req)
|
||||
{
|
||||
var rel = JSON.parse(req.getText());
|
||||
var href = 'https://get.draw.io/';
|
||||
|
||||
if (rel != null)
|
||||
try
|
||||
{
|
||||
if (rel.tag_name != null && rel.name != null && rel.html_url != null)
|
||||
var rel = JSON.parse(req.getText());
|
||||
|
||||
if (rel != null)
|
||||
{
|
||||
if (mxClient.IS_MAC)
|
||||
if (rel.tag_name != null && rel.name != null && rel.html_url != null)
|
||||
{
|
||||
href = 'https://github.com/jgraph/drawio-desktop/releases/download/' +
|
||||
rel.tag_name + '/draw.io-' + rel.name + '.dmg';
|
||||
}
|
||||
else if (mxClient.IS_WIN)
|
||||
{
|
||||
href = 'https://github.com/jgraph/drawio-desktop/releases/download/' +
|
||||
rel.tag_name + '/draw.io-' + rel.name + '-windows-installer.exe';
|
||||
if (mxClient.IS_MAC)
|
||||
{
|
||||
href = 'https://github.com/jgraph/drawio-desktop/releases/download/' +
|
||||
rel.tag_name + '/draw.io-' + rel.name + '.dmg';
|
||||
}
|
||||
else if (mxClient.IS_WIN)
|
||||
{
|
||||
href = 'https://github.com/jgraph/drawio-desktop/releases/download/' +
|
||||
rel.tag_name + '/draw.io-' + rel.name + '-windows-installer.exe';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
// ignores parsing errors
|
||||
}
|
||||
|
||||
var closeHandler = mxUtils.bind(this, function()
|
||||
{
|
||||
|
|
|
@ -76,6 +76,7 @@ mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-Rack.js');
|
|||
mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-Sitemap.js');
|
||||
mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-Sysml.js');
|
||||
mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-Veeam.js');
|
||||
mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-Veeam2.js');
|
||||
mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-VVD.js');
|
||||
mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-WebIcons.js');
|
||||
|
||||
|
@ -149,3 +150,12 @@ if (urlParams['tableLayout'] == '1')
|
|||
{
|
||||
mxscript(drawDevUrl + 'js/diagramly/mxTableLayout.js');
|
||||
}
|
||||
|
||||
//Org Chart Layout
|
||||
if (urlParams['orgLayout'] == '1')
|
||||
{
|
||||
mxscript(drawDevUrl + 'js/orgchart/bridge.min.js');
|
||||
mxscript(drawDevUrl + 'js/orgchart/bridge.collections.min.js');
|
||||
mxscript(drawDevUrl + 'js/orgchart/OrgChart.Layout.min.js');
|
||||
mxscript(drawDevUrl + 'js/orgchart/mxOrgChart.js');
|
||||
}
|
||||
|
|
|
@ -10260,6 +10260,8 @@ function AspectDialog(editorUi, pageId, layerIds, okFn, cancelFn)
|
|||
//Drawing the graph with dialog not visible doesn't get dimensions right. It has to be visible!
|
||||
AspectDialog.prototype.init = function()
|
||||
{
|
||||
this.ui.getFileData(true); //Force pages to update their nodes
|
||||
|
||||
for (var i = 0; i < this.ui.pages.length; i++)
|
||||
{
|
||||
var page = this.ui.updatePageRoot(this.ui.pages[i]);
|
||||
|
@ -10281,7 +10283,7 @@ AspectDialog.prototype.createViewer = function(container, pageNode, layerId)
|
|||
graph.maxFitScale = null;
|
||||
graph.centerZoom = true;
|
||||
|
||||
var node = pageNode.firstElementChild;
|
||||
var node = Editor.parseDiagramNode(pageNode); //Handles compressed and non-compressed page node
|
||||
|
||||
if (node != null)
|
||||
{
|
||||
|
@ -10361,7 +10363,6 @@ AspectDialog.prototype.createPageItem = function(pageId, pageName, pageNode, pag
|
|||
|
||||
AspectDialog.prototype.createLayerItem = function(layer, pageId, graph, pageNode)
|
||||
{
|
||||
var graphModel = graph.model;
|
||||
var layerName = graph.convertValueToString(layer) || (mxResources.get('background') || 'Background');
|
||||
var $listItem = document.createElement('div');
|
||||
$listItem.setAttribute('data-layer-id', layer.id);
|
||||
|
|
|
@ -4962,6 +4962,7 @@
|
|||
mxStencilRegistry.libraries['aws4'] = [SHAPES_PATH + '/mxAWS4.js', STENCIL_PATH + '/aws4.xml'];
|
||||
mxStencilRegistry.libraries['aws4b'] = [SHAPES_PATH + '/mxAWS4.js', STENCIL_PATH + '/aws4.xml'];
|
||||
mxStencilRegistry.libraries['veeam'] = [STENCIL_PATH + '/veeam/2d.xml', STENCIL_PATH + '/veeam/3d.xml', STENCIL_PATH + '/veeam/veeam.xml'];
|
||||
mxStencilRegistry.libraries['veeam2'] = [STENCIL_PATH + '/veeam/2d.xml', STENCIL_PATH + '/veeam/3d.xml', STENCIL_PATH + '/veeam/veeam2.xml'];
|
||||
mxStencilRegistry.libraries['pid2inst'] = [SHAPES_PATH + '/pid2/mxPidInstruments.js'];
|
||||
mxStencilRegistry.libraries['pid2misc'] = [SHAPES_PATH + '/pid2/mxPidMisc.js', STENCIL_PATH + '/pid/misc.xml'];
|
||||
mxStencilRegistry.libraries['pid2valves'] = [SHAPES_PATH + '/pid2/mxPidValves.js'];
|
||||
|
|
|
@ -1019,6 +1019,14 @@
|
|||
layoutMenu.funct = function(menu, parent)
|
||||
{
|
||||
layoutMenuFunct.apply(this, arguments);
|
||||
|
||||
if (urlParams['orgLayout'] == '1')
|
||||
{
|
||||
menu.addItem('Org. Chart', null, function()
|
||||
{
|
||||
mxOrgChart(editorUi);
|
||||
}, parent, null, isGraphEnabled());
|
||||
}
|
||||
|
||||
menu.addSeparator(parent);
|
||||
editorUi.menus.addMenuItem(menu, 'runLayout', parent, null, null, mxResources.get('apply') + '...');
|
||||
|
|
933
src/main/webapp/js/diagramly/sidebar/Sidebar-Veeam2.js
Normal file
933
src/main/webapp/js/diagramly/sidebar/Sidebar-Veeam2.js
Normal file
|
@ -0,0 +1,933 @@
|
|||
(function()
|
||||
{
|
||||
Sidebar.prototype.addVeeam2Palette = function()
|
||||
{
|
||||
this.addVeeam2AuxiliaryPalette();
|
||||
this.addVeeam2DataCenterPalette();
|
||||
this.addVeeam2FeaturesPalette();
|
||||
this.addVeeam2GeneralPalette();
|
||||
this.addVeeam2ProductsComponentsPalette();
|
||||
this.addVeeam2SoftwarePalette();
|
||||
this.addVeeam2StatesPalette();
|
||||
this.addVeeam2StoragePalette();
|
||||
this.addVeeam23DPalette();
|
||||
};
|
||||
|
||||
Sidebar.prototype.addVeeam2AuxiliaryPalette = function()
|
||||
{
|
||||
// Space savers
|
||||
var sb = this;
|
||||
var gn = 'mxgraph.veeam2';
|
||||
var dt = 'veeam vmware virtual machine auxiliary';
|
||||
|
||||
var w = 100;
|
||||
var h = 100;
|
||||
|
||||
var fns =
|
||||
[
|
||||
this.createVertexTemplateEntry('pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#13B24B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_logo;',
|
||||
w * 1.36, h * 0.24, '', 'Veeam logo', null, null, this.getTagsForStencil(gn, 'logo', dt).join(' ')),
|
||||
this.createVertexTemplateEntry('align=left;verticalAlign=middle;fontFamily=Tahoma;strokeColor=#ECECEC;strokeWidth=2;html=1;whiteSpace=wrap;spacing=6;fontStyle=0',
|
||||
w * 1.5, h * 1.1, 'Please use Tahome font family, not less than 9 pt\n\nABCDEFGHIJKLM\nabcdefghijklm\n0123456789', 'Font', null, null, this.getTagsForStencil(gn, 'font', dt).join(' ')),
|
||||
this.createVertexTemplateEntry('align=left;verticalAlign=middle;fontFamily=Tahoma;fillColor=#005f4b;strokeColor=none;fontColor=#ffffff;strokeWidth=2;html=1;whiteSpace=wrap;spacing=6;fontStyle=0',
|
||||
w * 1.5, h * 1.1, 'Veeam Sapphire\n\nR: 0\nG: 95\nB: 75\n\n #005f4b', 'Veeam Sapphire', null, null, this.getTagsForStencil(gn, 'sapphite', dt).join(' ')),
|
||||
this.createVertexTemplateEntry('align=left;verticalAlign=middle;fontFamily=Tahoma;fillColor=#df8c42;strokeColor=none;fontColor=#ffffff;strokeWidth=2;html=1;whiteSpace=wrap;spacing=6;fontStyle=0',
|
||||
w * 1.5, h * 1.1, 'Orange\n\nR: 223\nG: 140\nB: 66\n\n #df8c42', 'Veeam Sapphire', null, null, this.getTagsForStencil(gn, 'orange', dt).join(' ')),
|
||||
this.createVertexTemplateEntry('align=left;verticalAlign=middle;fontFamily=Tahoma;fillColor=#d9d9d9;strokeColor=none;fontColor=#ffffff;strokeWidth=2;html=1;whiteSpace=wrap;spacing=6;fontStyle=0',
|
||||
w * 1.5, h * 1.1, 'Grey 2\n\nR: 217\nG: 217\nB: 217\n\n #d9d9d9', 'Grey 2', null, null, this.getTagsForStencil(gn, 'grey', dt).join(' ')),
|
||||
this.createVertexTemplateEntry('triangle;whiteSpace=wrap;html=1;gradientColor=#D3D3D3;strokeColor=none;gradientDirection=east;',
|
||||
w * 0.4, h * 1.6, '', 'Inclusion', null, null, this.getTagsForStencil(gn, 'inclusion', dt).join(' ')),
|
||||
this.createVertexTemplateEntry('rounded=0;whiteSpace=wrap;html=1;fillColor=none;strokeColor=#d3d3d3;strokeWidth=2;',
|
||||
w * 1.5, h * 1.1, '', 'Frame (grey 2)', null, null, this.getTagsForStencil(gn, 'grey frame', dt).join(' ')),
|
||||
this.createVertexTemplateEntry('rounded=0;whiteSpace=wrap;html=1;fillColor=none;strokeColor=#00B336;strokeWidth=2;',
|
||||
w * 1.5, h * 1.1, '', 'Frame (topaz)', null, null, this.getTagsForStencil(gn, 'topaz frame', dt).join(' ')),
|
||||
this.createEdgeTemplateEntry('edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#00B336;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=block;endFill=1;startArrow=block;startFill=1;', w, 0,
|
||||
'', 'Connector (topaz)', null, dt + 'connector topaz'),
|
||||
this.createEdgeTemplateEntry('edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#404040;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=block;endFill=1;startArrow=block;startFill=1;', w, 0,
|
||||
'', 'Connector (grey 3)', null, dt + 'connector grey'),
|
||||
this.createEdgeTemplateEntry('edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#D9D9D9;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=oval;endFill=1;startArrow=oval;startFill=1;', w, 0,
|
||||
'', 'Connector (grey 2)', null, dt + 'connector grey'),
|
||||
this.createEdgeTemplateEntry('edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#00B336;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=oval;endFill=1;startArrow=oval;startFill=1;', w, 0,
|
||||
'', 'Connector #2 (topaz)', null, dt + 'connector topaz'),
|
||||
this.createEdgeTemplateEntry('edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#404040;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=block;endFill=1;startArrow=none;', w, 0,
|
||||
'', 'Arrow (grey 3)', null, dt + 'arrow grey'),
|
||||
this.createEdgeTemplateEntry('edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#00B336;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=block;endFill=1;startArrow=none;', w, 0,
|
||||
'', 'Arrow (topaz)', null, dt + 'arrow topaz'),
|
||||
this.createEdgeTemplateEntry('edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#00B336;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=none;endFill=0;startArrow=none;dashed=1;', w, 0,
|
||||
'', 'Dotted line (topaz)', null, dt + 'dotted line topaz'),
|
||||
this.createEdgeTemplateEntry('edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#404040;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=none;endFill=0;startArrow=none;dashed=1;', w, 0,
|
||||
'', 'Dotted line (grey 3)', null, dt + 'dotted line grey'),
|
||||
this.createVertexTemplateEntry('ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;',
|
||||
w * 0.2, h * 0.2, '1', 'Number one', null, null, this.getTagsForStencil(gn, 'number one', dt).join(' ')),
|
||||
this.createVertexTemplateEntry('ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;',
|
||||
w * 0.2, h * 0.2, '2', 'Number two', null, null, this.getTagsForStencil(gn, 'number two', dt).join(' ')),
|
||||
this.createVertexTemplateEntry('ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;',
|
||||
w * 0.2, h * 0.2, '3', 'Number three', null, null, this.getTagsForStencil(gn, 'number three', dt).join(' ')),
|
||||
this.createVertexTemplateEntry('ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;',
|
||||
w * 0.2, h * 0.2, '4', 'Number four', null, null, this.getTagsForStencil(gn, 'number four', dt).join(' ')),
|
||||
this.createVertexTemplateEntry('ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;',
|
||||
w * 0.2, h * 0.2, '5', 'Number five', null, null, this.getTagsForStencil(gn, 'number five', dt).join(' ')),
|
||||
this.createVertexTemplateEntry('ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;',
|
||||
w * 0.2, h * 0.2, '6', 'Number six', null, null, this.getTagsForStencil(gn, 'number six', dt).join(' ')),
|
||||
this.createVertexTemplateEntry('ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;',
|
||||
w * 0.2, h * 0.2, '7', 'Number seven', null, null, this.getTagsForStencil(gn, 'number seven', dt).join(' ')),
|
||||
this.createVertexTemplateEntry('ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;',
|
||||
w * 0.2, h * 0.2, '8', 'Number eight', null, null, this.getTagsForStencil(gn, 'number eight', dt).join(' ')),
|
||||
this.createVertexTemplateEntry('ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;',
|
||||
w * 0.2, h * 0.2, '9', 'Number nine', null, null, this.getTagsForStencil(gn, 'number nine', dt).join(' '))
|
||||
];
|
||||
|
||||
this.addPalette('veeam2Auxiliary', 'Veeam / Auxiliary', false, mxUtils.bind(this, function(content)
|
||||
{
|
||||
for (var i = 0; i < fns.length; i++)
|
||||
{
|
||||
content.appendChild(fns[i](content));
|
||||
}
|
||||
}));
|
||||
};
|
||||
|
||||
Sidebar.prototype.addVeeam2DataCenterPalette = function()
|
||||
{
|
||||
var s = 'pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.';
|
||||
var s2 = 'pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.';
|
||||
|
||||
// Space savers
|
||||
var sb = this;
|
||||
var gn = 'mxgraph.veeam2';
|
||||
var dt = 'veeam vm vmware virtual machine data center';
|
||||
|
||||
var w = 100;
|
||||
var h = 100;
|
||||
|
||||
var fns =
|
||||
[
|
||||
this.createVertexTemplateEntry(s + 'datacenter;',
|
||||
w * 0.83, h * 0.53, '', 'Datacenter', null, null, this.getTagsForStencil(gn, 'datacenter', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'cloud;',
|
||||
w * 0.4, h * 0.25, '', 'Cloud', null, null, this.getTagsForStencil(gn, 'cloud', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'azure;',
|
||||
w * 0.34, h * 0.34, '', 'Azure', null, null, this.getTagsForStencil(gn, 'azure', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'aws;',
|
||||
w * 0.34, h * 0.34, '', 'AWS', null, null, this.getTagsForStencil(gn, 'aws', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'server;',
|
||||
w * 0.23, h * 0.39, '', 'Server', null, null, this.getTagsForStencil(gn, 'server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'server_cluster;',
|
||||
w * 0.56, h * 0.28, '', 'Server Cluster', null, null, this.getTagsForStencil(gn, 'server cluster', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + '1u_server;',
|
||||
w * 0.4, h * 0.11, '', '1U Server', null, null, this.getTagsForStencil(gn, '1u one unit server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'server_stack;',
|
||||
w * 0.4, h * 0.4, '', 'Server Stack', null, null, this.getTagsForStencil(gn, 'server stack', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'monitor;',
|
||||
w * 0.51, h * 0.4, '', 'Monitor', null, null, this.getTagsForStencil(gn, 'monitor', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'laptop;',
|
||||
w * 0.48, h * 0.28, '', 'Laptop', null, null, this.getTagsForStencil(gn, 'laptop', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'workstation;',
|
||||
w * 0.38, h * 0.28, '', 'Workstation', null, null, this.getTagsForStencil(gn, 'workstation', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'virtual_host;',
|
||||
w * 0.82, h * 0.79, '', 'Virtual Host', null, null, this.getTagsForStencil(gn, 'virtual host', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'esxi_host;',
|
||||
w * 0.82, h * 0.79, '', 'ESXi Host', null, null, this.getTagsForStencil(gn, 'esxi host', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'hyper_v_host;',
|
||||
w * 0.82, h * 0.79, '', 'Hyper-V Host', null, null, this.getTagsForStencil(gn, 'hyper hyperv host', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'ahv_host;',
|
||||
w * 0.82, h * 0.79, '', 'AHV Host', null, null, this.getTagsForStencil(gn, 'ahv host', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'esxi_hyper_v_ahv_host;',
|
||||
w * 0.82, h * 0.79, '', 'ESXi/Hyper-V/AHV Host', null, null, this.getTagsForStencil(gn, 'esxi hyper hyperv ahv host', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'esxi_hyper_v_host;',
|
||||
w * 0.82, h * 0.79, '', 'ESXi/Hyper-V Host', null, null, this.getTagsForStencil(gn, 'esxi hyper hyperv host', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'cpu;',
|
||||
w * 0.28, h * 0.28, '', 'CPU', null, null, this.getTagsForStencil(gn, 'cpu central processing unit', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'cpu_socket;',
|
||||
w * 0.28, h * 0.28, '', 'CPU Socket', null, null, this.getTagsForStencil(gn, 'cpu socket central processing unit', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'ram;',
|
||||
w * 0.4, h * 0.19, '', 'RAM', null, null, this.getTagsForStencil(gn, 'ram random access memory', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'hdd;',
|
||||
w * 0.28, h * 0.35, '', 'HDD', null, null, this.getTagsForStencil(gn, 'hdd hard disk drive', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'network_card;',
|
||||
w * 0.38, h * 0.27, '', 'Network Card', null, null, this.getTagsForStencil(gn, 'network card', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'hardware_controller;',
|
||||
w * 0.38, h * 0.28, '', 'Hardware Controller', null, null, this.getTagsForStencil(gn, 'hardware controller', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'physical_switch;',
|
||||
w * 0.53, h * 0.15, '', 'Physical Switch', null, null, this.getTagsForStencil(gn, 'physical switch', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vmware_vswitch;',
|
||||
w * 0.4, h * 0.11, '', 'VMware vSwitch', null, null, this.getTagsForStencil(gn, 'vswitch', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'usb_drive;',
|
||||
w * 0.4, h * 0.17, '', 'USB Drive', null, null, this.getTagsForStencil(gn, 'usb drive', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'sd_card;',
|
||||
w * 0.23, h * 0.28, '', 'SD Card', null, null, this.getTagsForStencil(gn, 'sd card', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'virtual_machine;',
|
||||
w * 0.28, h * 0.28, '', 'Virtual Machine', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vm_snapshot;',
|
||||
w * 0.38, h * 0.38, '', 'VM Snapshot', null, null, this.getTagsForStencil(gn, 'vnapshot', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vm_with_a_snapshot;',
|
||||
w * 0.42, h * 0.42, '', 'VM with a Snapshot', null, null, this.getTagsForStencil(gn, 'with vnapshot', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vm_checked;',
|
||||
w * 0.36, h * 0.36, '', 'VM Checked', null, null, this.getTagsForStencil(gn, 'checked', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vm_failed;',
|
||||
w * 0.36, h * 0.36, '', 'VM Failed', null, null, this.getTagsForStencil(gn, 'failed', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vm_turn_on_off;',
|
||||
w * 0.36, h * 0.36, '', 'VM turn on/off', null, null, this.getTagsForStencil(gn, 'turn on off', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vm_paused_saved_state;',
|
||||
w * 0.36, h * 0.36, '', 'VM paused/saved state', null, null, this.getTagsForStencil(gn, 'paused saved state', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vm_locked;',
|
||||
w * 0.36, h * 0.36, '', 'VM locked', null, null, this.getTagsForStencil(gn, 'locked', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vm_running;',
|
||||
w * 0.36, h * 0.36, '', 'VM running', null, null, this.getTagsForStencil(gn, 'running', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'linux_vm;',
|
||||
w * 0.36, h * 0.36, '', 'Linux VM', null, null, this.getTagsForStencil(gn, 'linux', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'windows_vm;',
|
||||
w * 0.36, h * 0.36, '', 'Windows VM', null, null, this.getTagsForStencil(gn, 'windows', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vapp;',
|
||||
w * 0.28, h * 0.28, '', 'vApp', null, null, this.getTagsForStencil(gn, 'vapp', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vapp_running;',
|
||||
w * 0.36, h * 0.36, '', 'vApp Running', null, null, this.getTagsForStencil(gn, 'vapp running', dt).join(' '))
|
||||
];
|
||||
|
||||
this.addPalette('veeam2Data Center', 'Veeam / Data Center', false, mxUtils.bind(this, function(content)
|
||||
{
|
||||
for (var i = 0; i < fns.length; i++)
|
||||
{
|
||||
content.appendChild(fns[i](content));
|
||||
}
|
||||
}));
|
||||
};
|
||||
|
||||
Sidebar.prototype.addVeeam2FeaturesPalette = function()
|
||||
{
|
||||
var s = 'pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.';
|
||||
var s2 = 'pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.';
|
||||
|
||||
// Space savers
|
||||
var sb = this;
|
||||
var gn = 'mxgraph.veeam2';
|
||||
var dt = 'veeam vm vmware virtual machine features';
|
||||
|
||||
var w = 100;
|
||||
var h = 100;
|
||||
|
||||
var fns =
|
||||
[
|
||||
this.createVertexTemplateEntry('pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#13B24B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_logo;',
|
||||
w * 1.36, h * 0.24, '', 'Veeam logo', null, null, this.getTagsForStencil(gn, 'logo', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'backup_from_storage_snapshots;',
|
||||
w * 0.34, h * 0.34, '', 'Backup from Storage Snapshots', null, null, this.getTagsForStencil(gn, 'backup from storage snapshots', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'cdp;',
|
||||
w * 0.34, h * 0.34, '', 'CDP', null, null, this.getTagsForStencil(gn, 'cdp', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'datalabs;',
|
||||
w * 0.34, h * 0.34, '', 'Datalabs', null, null, this.getTagsForStencil(gn, 'datalabs', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'failover;',
|
||||
w * 0.34, h * 0.34, '', 'Failover', null, null, this.getTagsForStencil(gn, 'failover', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'instant_vm_recovery;',
|
||||
w * 0.34, h * 0.34, '', 'Instant VM recovery', null, null, this.getTagsForStencil(gn, 'instant recovery', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'nas_backup;',
|
||||
w * 0.34, h * 0.34, '', 'NAS Backup', null, null, this.getTagsForStencil(gn, 'nas backup', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'object_storage_support;',
|
||||
w * 0.34, h * 0.34, '', 'Object Storage Support', null, null, this.getTagsForStencil(gn, 'object storage support', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'on_demand_sandbox;',
|
||||
w * 0.34, h * 0.34, '', 'On-demand Sandbox', null, null, this.getTagsForStencil(gn, 'on demand sandbox', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'restful_api;',
|
||||
w * 0.34, h * 0.34, '', 'RESTful API', null, null, this.getTagsForStencil(gn, 'restful api application programming interface', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'scale_out_backup_repository2;',
|
||||
w * 0.34, h * 0.34, '', 'Scale-out Backup Repository', null, null, this.getTagsForStencil(gn, 'scale out backup repository', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'scheduled_backups;',
|
||||
w * 0.34, h * 0.34, '', 'Scheduled Backups', null, null, this.getTagsForStencil(gn, 'scheduled backups', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'surebackup;',
|
||||
w * 0.34, h * 0.34, '', 'SureBackup', null, null, this.getTagsForStencil(gn, 'surebackup', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'surereplica;',
|
||||
w * 0.34, h * 0.34, '', 'SureReplica', null, null, this.getTagsForStencil(gn, 'surereplica', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'vbr_console;',
|
||||
w * 0.34, h * 0.34, '', 'VBR console', null, null, this.getTagsForStencil(gn, 'vbr console', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_cloud_connect;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Cloud Connect', null, null, this.getTagsForStencil(gn, 'cloud connect', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_cloud_mobility;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Cloud Mobility', null, null, this.getTagsForStencil(gn, 'cloud mobility', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeamzip;',
|
||||
w * 0.34, h * 0.34, '', 'VeeamZIP', null, null, this.getTagsForStencil(gn, 'veeamzip zip', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_explorers;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Explorers', null, null, this.getTagsForStencil(gn, 'veeam explorers', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'universal_storage_api;',
|
||||
w * 0.34, h * 0.34, '', 'Universal Storage API', null, null, this.getTagsForStencil(gn, 'universal storage api application programming interface', dt).join(' '))
|
||||
];
|
||||
|
||||
this.addPalette('veeam2Features', 'Veeam / Features', false, mxUtils.bind(this, function(content)
|
||||
{
|
||||
for (var i = 0; i < fns.length; i++)
|
||||
{
|
||||
content.appendChild(fns[i](content));
|
||||
}
|
||||
}));
|
||||
};
|
||||
|
||||
Sidebar.prototype.addVeeam2GeneralPalette = function()
|
||||
{
|
||||
var s = 'pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.';
|
||||
var s2 = 'pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.';
|
||||
|
||||
// Space savers
|
||||
var sb = this;
|
||||
var gn = 'mxgraph.veeam2';
|
||||
var dt = 'veeam vm vmware virtual machine general';
|
||||
|
||||
var w = 100;
|
||||
var h = 100;
|
||||
|
||||
var fns =
|
||||
[
|
||||
this.createVertexTemplateEntry(s + 'enterprise_business;',
|
||||
w * 0.38, h * 0.33, '', 'Enterprise (business)', null, null, this.getTagsForStencil(gn, 'enterprise business', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'smb_business;',
|
||||
w * 0.38, h * 0.27, '', 'SMB (business)', null, null, this.getTagsForStencil(gn, 'smb business', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'automation;',
|
||||
w * 0.28, h * 0.28, '', 'Automation', null, null, this.getTagsForStencil(gn, 'automation', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'service_application;',
|
||||
w * 0.28, h * 0.28, '', 'Service Application', null, null, this.getTagsForStencil(gn, 'service application', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'cloud;',
|
||||
w * 0.4, h * 0.25, '', 'Cloud', null, null, this.getTagsForStencil(gn, 'cloud', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'database;',
|
||||
w * 0.23, h * 0.28, '', 'Database', null, null, this.getTagsForStencil(gn, 'database', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'report;',
|
||||
w * 0.28, h * 0.39, '', 'Report', null, null, this.getTagsForStencil(gn, 'report', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'task_list;',
|
||||
w * 0.28, h * 0.39, '', 'Task List', null, null, this.getTagsForStencil(gn, 'task list', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'dr_plan;',
|
||||
w * 0.28, h * 0.42, '', 'DR Plan', null, null, this.getTagsForStencil(gn, 'dr plan', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'folder;',
|
||||
w * 0.28, h * 0.24, '', 'Folder', null, null, this.getTagsForStencil(gn, 'folder', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'file;',
|
||||
w * 0.28, h * 0.39, '', 'File', null, null, this.getTagsForStencil(gn, 'file', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'audio_file;',
|
||||
w * 0.28, h * 0.39, '', 'Audio File', null, null, this.getTagsForStencil(gn, 'audio file', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'data_file;',
|
||||
w * 0.28, h * 0.39, '', 'Data File', null, null, this.getTagsForStencil(gn, 'data file', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'iso_file;',
|
||||
w * 0.28, h * 0.39, '', 'ISO File', null, null, this.getTagsForStencil(gn, 'iso file', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'metadata_file;',
|
||||
w * 0.28, h * 0.39, '', 'Metadata File', null, null, this.getTagsForStencil(gn, 'metadata file', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'license_file;',
|
||||
w * 0.28, h * 0.39, '', 'License File', null, null, this.getTagsForStencil(gn, 'license file', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'video_file;',
|
||||
w * 0.28, h * 0.39, '', 'Video File', null, null, this.getTagsForStencil(gn, 'video file', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'alarm;',
|
||||
w * 0.28, h * 0.28, '', 'Alarm', null, null, this.getTagsForStencil(gn, 'alarm', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'backup_browser;',
|
||||
w * 0.28, h * 0.28, '', 'Backup Browser', null, null, this.getTagsForStencil(gn, 'backup browser', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'calendar;',
|
||||
w * 0.28, h * 0.28, '', 'Calendar', null, null, this.getTagsForStencil(gn, 'calendar', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'command_line;',
|
||||
w * 0.28, h * 0.28, '', 'Command Line', null, null, this.getTagsForStencil(gn, 'command line', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'cd;',
|
||||
w * 0.28, h * 0.28, '', 'CD', null, null, this.getTagsForStencil(gn, 'cd compact disc', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'controller;',
|
||||
w * 0.28, h * 0.28, '', 'Controller', null, null, this.getTagsForStencil(gn, 'controller', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'deduplication;',
|
||||
w * 0.28, h * 0.28, '', 'Deduplication', null, null, this.getTagsForStencil(gn, 'deduplication', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'download;',
|
||||
w * 0.28, h * 0.28, '', 'Download', null, null, this.getTagsForStencil(gn, 'download', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'dns;',
|
||||
w * 0.28, h * 0.28, '', 'DNS', null, null, this.getTagsForStencil(gn, 'dns domain name store', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'globe;',
|
||||
w * 0.28, h * 0.28, '', 'Globe', null, null, this.getTagsForStencil(gn, 'globe', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'key;',
|
||||
w * 0.28, h * 0.28, '', 'Key', null, null, this.getTagsForStencil(gn, 'key', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'encryption_key;',
|
||||
w * 0.36, h * 0.36, '', 'Encryption Key', null, null, this.getTagsForStencil(gn, 'encryption key', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'letter;',
|
||||
w * 0.28, h * 0.2, '', 'Letter', null, null, this.getTagsForStencil(gn, 'letter', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'exchange_objects;',
|
||||
w * 0.28, h * 0.28, '', 'Exchange objects', null, null, this.getTagsForStencil(gn, 'exchange objects', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'magnifying_glass;',
|
||||
w * 0.28, h * 0.28, '', 'Magnifying Glass', null, null, this.getTagsForStencil(gn, 'magnifying glass', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'restore;',
|
||||
w * 0.28, h * 0.28, '', 'Restore', null, null, this.getTagsForStencil(gn, 'restore', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'role;',
|
||||
w * 0.28, h * 0.39, '', 'Role', null, null, this.getTagsForStencil(gn, 'role', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'interface_console;',
|
||||
w * 0.28, h * 0.28, '', 'Interface / Console', null, null, this.getTagsForStencil(gn, 'interface console', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'monitoring_console;',
|
||||
w * 0.28, h * 0.28, '', 'Monitoring Console', null, null, this.getTagsForStencil(gn, 'monitoring console', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'web_console;',
|
||||
w * 0.28, h * 0.28, '', 'Web Console', null, null, this.getTagsForStencil(gn, 'web console', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'file_browser;',
|
||||
w * 0.28, h * 0.28, '', 'File Browser', null, null, this.getTagsForStencil(gn, 'file browser', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'table;',
|
||||
w * 0.28, h * 0.28, '', 'Table', null, null, this.getTagsForStencil(gn, 'table', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'time_clocks;',
|
||||
w * 0.28, h * 0.28, '', 'Time / Clocks', null, null, this.getTagsForStencil(gn, 'time clocks', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'tag;',
|
||||
w * 0.28, h * 0.28, '', 'Tag', null, null, this.getTagsForStencil(gn, 'tag', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'transport;',
|
||||
w * 0.38, h * 0.23, '', 'Transport', null, null, this.getTagsForStencil(gn, 'transport', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vpn;',
|
||||
w * 0.28, h * 0.28, '', 'VPN', null, null, this.getTagsForStencil(gn, 'vpn virtual private network', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'user;',
|
||||
w * 0.28, h * 0.28, '', 'User', null, null, this.getTagsForStencil(gn, 'user', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'user_group;',
|
||||
w * 0.28, h * 0.28, '', 'User Group', null, null, this.getTagsForStencil(gn, 'user group', dt).join(' '))
|
||||
];
|
||||
|
||||
this.addPalette('veeam2General', 'Veeam / General', false, mxUtils.bind(this, function(content)
|
||||
{
|
||||
for (var i = 0; i < fns.length; i++)
|
||||
{
|
||||
content.appendChild(fns[i](content));
|
||||
}
|
||||
}));
|
||||
};
|
||||
|
||||
Sidebar.prototype.addVeeam2ProductsComponentsPalette = function()
|
||||
{
|
||||
var s = 'pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.';
|
||||
var s2 = 'pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.';
|
||||
|
||||
// Space savers
|
||||
var sb = this;
|
||||
var gn = 'mxgraph.veeam2';
|
||||
var dt = 'veeam vm vmware virtual machine products and components';
|
||||
|
||||
var w = 100;
|
||||
var h = 100;
|
||||
|
||||
var fns =
|
||||
[
|
||||
this.createVertexTemplateEntry('pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#13B24B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_logo;',
|
||||
w * 1.36, h * 0.24, '', 'Veeam logo', null, null, this.getTagsForStencil(gn, 'logo', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_availability_suite;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Availability Suite', null, null, this.getTagsForStencil(gn, 'availability suite', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vas_server;',
|
||||
w * 0.4, h * 0.52, '', 'VAS server', null, null, this.getTagsForStencil(gn, 'vas server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_backup_replication;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Backup & Replication', null, null, this.getTagsForStencil(gn, 'backup and replication', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vbr_server;',
|
||||
w * 0.4, h * 0.52, '', 'VBR server', null, null, this.getTagsForStencil(gn, 'vbr server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'proxy_server;',
|
||||
w * 0.4, h * 0.52, '', 'Proxy Server', null, null, this.getTagsForStencil(gn, 'proxy server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'repository_server;',
|
||||
w * 0.4, h * 0.52, '', 'Repository Server', null, null, this.getTagsForStencil(gn, 'repository server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'mount_server;',
|
||||
w * 0.4, h * 0.52, '', 'Mount Server', null, null, this.getTagsForStencil(gn, 'mount server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'tape_server;',
|
||||
w * 0.4, h * 0.52, '', 'Tape Server', null, null, this.getTagsForStencil(gn, 'tape server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_backup_enterprise_manager;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Backup Enterprise Manager', null, null, this.getTagsForStencil(gn, 'backup enterprise manager', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vbem_server;',
|
||||
w * 0.4, h * 0.52, '', 'VBEM Server', null, null, this.getTagsForStencil(gn, 'vbem server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'search_server;',
|
||||
w * 0.4, h * 0.52, '', 'Search Server', null, null, this.getTagsForStencil(gn, 'search server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_cloud_connect;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Cloud Connect', null, null, this.getTagsForStencil(gn, 'cloud connect', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_one;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam ONE', null, null, this.getTagsForStencil(gn, 'one', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'one_server;',
|
||||
w * 0.4, h * 0.52, '', 'ONE Server', null, null, this.getTagsForStencil(gn, 'one server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_one_reporter;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam ONE Reporter', null, null, this.getTagsForStencil(gn, 'one reporter', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_agents;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Agents', null, null, this.getTagsForStencil(gn, 'agents', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'server_with_veeam_agent;',
|
||||
w * 0.4, h * 0.52, '', 'Server with Veeam Agent', null, null, this.getTagsForStencil(gn, 'server with agent', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_agent_for_windows;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Agent for Windows', null, null, this.getTagsForStencil(gn, 'agent for windows', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_agent_for_linux;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Agent for Linux', null, null, this.getTagsForStencil(gn, 'agent for linux', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_agent_for_oracle_solaris;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Agent for Oracle Solaris', null, null, this.getTagsForStencil(gn, 'agent for oracle solaris', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_agent_for_ibm_aix;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Agent for IBM AIX', null, null, this.getTagsForStencil(gn, 'agent for ibm aix', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_explorer_for_exchange;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Explorer for Exchange', null, null, this.getTagsForStencil(gn, 'explorer for exchange', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_explorer_for_active_directory;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Explorer for Active Directory', null, null, this.getTagsForStencil(gn, 'explorer for active directory', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_explorer_for_oracle;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Explorer for Oracle', null, null, this.getTagsForStencil(gn, 'explorer for oracle', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_explorer_for_onedrive;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Explorer for OneDrive', null, null, this.getTagsForStencil(gn, 'explorer for onedrive', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_explorer_for_storage_snapshots;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Explorer for Storage Snapshots', null, null, this.getTagsForStencil(gn, 'explorer for storage snapshots', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_explorer_for_sql;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Explorer for SQL', null, null, this.getTagsForStencil(gn, 'explorer for sql', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_explorer_for_sharepoint;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Explorer for SharePoint', null, null, this.getTagsForStencil(gn, 'explorer for sharepoint', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_plugin_for_oracle_rman;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Plugin for Oracle RMAN', null, null, this.getTagsForStencil(gn, 'plugin for oracle rman', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_plugin_for_sap_hana;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Plugin for SAP HANA', null, null, this.getTagsForStencil(gn, 'plugin for sap hana', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_plugin_for_sap_on_oracle;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Plugin for SAP on Oracle', null, null, this.getTagsForStencil(gn, 'plugin for sap on oracle', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_backup_for_office_365;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Backup for Office 365', null, null, this.getTagsForStencil(gn, 'plugin for office 365', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vbo_server;',
|
||||
w * 0.4, h * 0.52, '', 'VBO Server', null, null, this.getTagsForStencil(gn, 'vbo server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_mp;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam MP', null, null, this.getTagsForStencil(gn, 'mp', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_pn;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam PN', null, null, this.getTagsForStencil(gn, 'pn', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vpn_server;',
|
||||
w * 0.4, h * 0.52, '', 'VPN Server', null, null, this.getTagsForStencil(gn, 'vpn server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_availability_orchestrator;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Availability Orchestrator', null, null, this.getTagsForStencil(gn, 'availability orchestrator', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vao_server;',
|
||||
w * 0.4, h * 0.52, '', 'VAO Server', null, null, this.getTagsForStencil(gn, 'vao server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_service_provider_console;',
|
||||
w * 0.34, h * 0.34, '', 'Veeam Service Provider Console', null, null, this.getTagsForStencil(gn, 'service provider console', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vspc_server;',
|
||||
w * 0.4, h * 0.52, '', 'VSPC Server', null, null, this.getTagsForStencil(gn, 'vspc server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'agent;',
|
||||
w * 0.21, h * 0.21, '', 'Agent', null, null, this.getTagsForStencil(gn, 'agent', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'transport_service;',
|
||||
w * 0.21, h * 0.21, '', 'Transport Service', null, null, this.getTagsForStencil(gn, 'transport service', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'data_mover;',
|
||||
w * 0.21, h * 0.21, '', 'Data Mover', null, null, this.getTagsForStencil(gn, 'data mover', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'veeam_proxy;',
|
||||
w * 0.21, h * 0.21, '', 'Veeam Proxy', null, null, this.getTagsForStencil(gn, 'veeam proxy', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'wan_accelerator;',
|
||||
w * 0.21, h * 0.21, '', 'WAN Accelerator', null, null, this.getTagsForStencil(gn, 'wan accelerator wide area network', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'flr_helper_appliance;',
|
||||
w * 0.21, h * 0.21, '', 'FLR Helper Appliance', null, null, this.getTagsForStencil(gn, 'flr helper appliance', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'network_proxy;',
|
||||
w * 0.28, h * 0.28, '', 'Network Proxy', null, null, this.getTagsForStencil(gn, 'network proxy', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'veeam_repository;',
|
||||
w * 0.37, h * 0.38, '', 'Veeam Repository', null, null, this.getTagsForStencil(gn, 'repository', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'windows_repository;',
|
||||
w * 0.37, h * 0.38, '', 'Windows Repository', null, null, this.getTagsForStencil(gn, 'windows repository', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'linux_repository;',
|
||||
w * 0.37, h * 0.38, '', 'Linux Repository', null, null, this.getTagsForStencil(gn, 'linux repository', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'cloud_repository;',
|
||||
w * 0.37, h * 0.38, '', 'Cloud Repository', null, null, this.getTagsForStencil(gn, 'cloud repository', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'scale_out_backup_repository;',
|
||||
w * 0.37, h * 0.38, '', 'Scale-Out Backup Repository', null, null, this.getTagsForStencil(gn, 'scale out backup repository', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vbo_repository;',
|
||||
w * 0.37, h * 0.38, '', 'VBO Repository', null, null, this.getTagsForStencil(gn, 'vbo repository', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vbr_repository;',
|
||||
w * 0.37, h * 0.38, '', 'VBR Repository', null, null, this.getTagsForStencil(gn, 'vbr repository', dt).join(' '))
|
||||
];
|
||||
|
||||
this.addPalette('veeam2Products and Components', 'Veeam / Products and Components', false, mxUtils.bind(this, function(content)
|
||||
{
|
||||
for (var i = 0; i < fns.length; i++)
|
||||
{
|
||||
content.appendChild(fns[i](content));
|
||||
}
|
||||
}));
|
||||
};
|
||||
|
||||
Sidebar.prototype.addVeeam2SoftwarePalette = function()
|
||||
{
|
||||
var s = 'pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.';
|
||||
var s2 = 'pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.';
|
||||
|
||||
// Space savers
|
||||
var sb = this;
|
||||
var gn = 'mxgraph.veeam2';
|
||||
var dt = 'veeam vm vmware virtual machine software';
|
||||
|
||||
var w = 100;
|
||||
var h = 100;
|
||||
|
||||
var fns =
|
||||
[
|
||||
this.createVertexTemplateEntry(s2 + 'antivirus;',
|
||||
w * 0.34, h * 0.34, '', 'Antivirus', null, null, this.getTagsForStencil(gn, 'antivirus', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'firewall;',
|
||||
w * 0.34, h * 0.34, '', 'Firewall', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'application;',
|
||||
w * 0.34, h * 0.34, '', 'Application', null, null, this.getTagsForStencil(gn, 'application', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'linux;',
|
||||
w * 0.34, h * 0.34, '', 'Linux', null, null, this.getTagsForStencil(gn, 'linux', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'linux_server;',
|
||||
w * 0.4, h * 0.52, '', 'Linux Server', null, null, this.getTagsForStencil(gn, 'linux server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'microsoft_active_directory;',
|
||||
w * 0.34, h * 0.34, '', 'Microsoft Active Directory', null, null, this.getTagsForStencil(gn, 'microsoft ms active directory', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'domain_controller;',
|
||||
w * 0.4, h * 0.52, '', 'Domain Controller', null, null, this.getTagsForStencil(gn, 'domain controller', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'microsoft_exchange;',
|
||||
w * 0.34, h * 0.34, '', 'Microsoft Exchange', null, null, this.getTagsForStencil(gn, 'microsoft ms exchange', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'exchange_server;',
|
||||
w * 0.4, h * 0.52, '', 'Exchange Server', null, null, this.getTagsForStencil(gn, 'exchange server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'microsoft_scom;',
|
||||
w * 0.34, h * 0.34, '', 'Microsoft SCOM', null, null, this.getTagsForStencil(gn, 'microsoft ms scom', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'microsoft_scvmm;',
|
||||
w * 0.34, h * 0.34, '', 'Microsoft SCVMM', null, null, this.getTagsForStencil(gn, 'microsoft ms scvmm', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'microsoft_sharepoint;',
|
||||
w * 0.34, h * 0.34, '', 'Microsoft SharePoint', null, null, this.getTagsForStencil(gn, 'microsoft ms sharepoint', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'sharepoint_server;',
|
||||
w * 0.4, h * 0.52, '', 'Sharepoint Server', null, null, this.getTagsForStencil(gn, 'sharepoint server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'microsoft_sql;',
|
||||
w * 0.34, h * 0.34, '', 'Microsoft SQL', null, null, this.getTagsForStencil(gn, 'microsoft ms sql', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'sql_server;',
|
||||
w * 0.4, h * 0.52, '', 'SQL Server', null, null, this.getTagsForStencil(gn, 'sql server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'microsoft_teams;',
|
||||
w * 0.34, h * 0.34, '', 'Microsoft Teams', null, null, this.getTagsForStencil(gn, 'microsoft ms teams', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'microsoft_windows;',
|
||||
w * 0.34, h * 0.34, '', 'Microsoft Windows', null, null, this.getTagsForStencil(gn, 'microsoft ms windows', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'windows_server;',
|
||||
w * 0.4, h * 0.52, '', 'Windows Server', null, null, this.getTagsForStencil(gn, 'windows server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'microsoft_onedrive;',
|
||||
w * 0.34, h * 0.34, '', 'Microsoft OneDrive', null, null, this.getTagsForStencil(gn, 'microsoft ms onedrive', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'microsoft_outlook;',
|
||||
w * 0.34, h * 0.34, '', 'Microsoft Outlook', null, null, this.getTagsForStencil(gn, 'microsoft ms outlook', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'microsoft_office;',
|
||||
w * 0.34, h * 0.34, '', 'Microsoft Office', null, null, this.getTagsForStencil(gn, 'microsoft ms office', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'power_shell;',
|
||||
w * 0.34, h * 0.34, '', 'PowerShell', null, null, this.getTagsForStencil(gn, 'powershell', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'oracle_rman;',
|
||||
w * 0.34, h * 0.34, '', 'Oracle RMAN', null, null, this.getTagsForStencil(gn, 'oracle rman', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'sap_brtools;',
|
||||
w * 0.34, h * 0.34, '', 'SAP BRTools', null, null, this.getTagsForStencil(gn, 'sap brtools', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'sap_hana;',
|
||||
w * 0.34, h * 0.34, '', 'SAP HANA', null, null, this.getTagsForStencil(gn, 'sap hana', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'nutanix;',
|
||||
w * 0.34, h * 0.34, '', 'Nutanix', null, null, this.getTagsForStencil(gn, 'nutanix', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'server_nutanix;',
|
||||
w * 0.4, h * 0.52, '', 'Server Nutanix', null, null, this.getTagsForStencil(gn, 'server nutanix', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'vmware_vcloud_director;',
|
||||
w * 0.34, h * 0.34, '', 'VMware vCloud Director', null, null, this.getTagsForStencil(gn, 'vmware vcloud director', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vcloud_director_server;',
|
||||
w * 0.4, h * 0.52, '', 'vCloud Director Server', null, null, this.getTagsForStencil(gn, 'vcloud director server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'vmware_vsphere;',
|
||||
w * 0.34, h * 0.34, '', 'VMware vSphere', null, null, this.getTagsForStencil(gn, 'vmware vsphere', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vcenter_server;',
|
||||
w * 0.4, h * 0.52, '', 'vCenter Server', null, null, this.getTagsForStencil(gn, 'vcenter server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'database2;',
|
||||
w * 0.34, h * 0.34, '', 'Database', null, null, this.getTagsForStencil(gn, 'database db', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'database_server;',
|
||||
w * 0.4, h * 0.52, '', 'Database Server', null, null, this.getTagsForStencil(gn, 'database server db', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'microsoft_sql_db;',
|
||||
w * 0.34, h * 0.34, '', 'Microsoft SQL DB', null, null, this.getTagsForStencil(gn, 'microsoft sql db database', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'oracle_db;',
|
||||
w * 0.34, h * 0.34, '', 'Oracle DB', null, null, this.getTagsForStencil(gn, 'oracle db database', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'sap_hana_db;',
|
||||
w * 0.34, h * 0.34, '', 'SAP HANA DB', null, null, this.getTagsForStencil(gn, 'sap hana db database', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'open_vpn;',
|
||||
w * 0.34, h * 0.34, '', 'OpenVPN', null, null, this.getTagsForStencil(gn, 'openvpn open vpn virtual private network', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'wireguard;',
|
||||
w * 0.34, h * 0.34, '', 'WireGuard', null, null, this.getTagsForStencil(gn, 'wireguard', dt).join(' '))
|
||||
];
|
||||
|
||||
this.addPalette('veeam2Software', 'Veeam / Software', false, mxUtils.bind(this, function(content)
|
||||
{
|
||||
for (var i = 0; i < fns.length; i++)
|
||||
{
|
||||
content.appendChild(fns[i](content));
|
||||
}
|
||||
}));
|
||||
};
|
||||
|
||||
Sidebar.prototype.addVeeam2StatesPalette = function()
|
||||
{
|
||||
var s = 'pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.';
|
||||
var s2 = 'pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.';
|
||||
|
||||
// Space savers
|
||||
var sb = this;
|
||||
var gn = 'mxgraph.veeam2';
|
||||
var dt = 'veeam vm vmware virtual machine states';
|
||||
|
||||
var w = 100;
|
||||
var h = 100;
|
||||
|
||||
var fns =
|
||||
[
|
||||
this.createVertexTemplateEntry(s2 + 'turn_on_off;',
|
||||
w * 0.21, h * 0.21, '', 'Turn on / off', null, null, this.getTagsForStencil(gn, 'turn on off', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'running_playing;',
|
||||
w * 0.21, h * 0.21, '', 'Running / Playing', null, null, this.getTagsForStencil(gn, 'running playing', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'critical;',
|
||||
w * 0.21, h * 0.21, '', 'Critical', null, null, this.getTagsForStencil(gn, 'critical', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'failed;',
|
||||
w * 0.21, h * 0.21, '', 'Failed', null, null, this.getTagsForStencil(gn, 'failed', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'unavailable;',
|
||||
w * 0.21, h * 0.21, '', 'Unavailable', null, null, this.getTagsForStencil(gn, 'unavailable', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'paused;',
|
||||
w * 0.21, h * 0.21, '', 'Paused / saved', null, null, this.getTagsForStencil(gn, 'paused', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'zipped;',
|
||||
w * 0.21, h * 0.21, '', 'Zipped', null, null, this.getTagsForStencil(gn, 'zipped', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'recording;',
|
||||
w * 0.21, h * 0.21, '', 'Recording', null, null, this.getTagsForStencil(gn, 'recording', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'locked;',
|
||||
w * 0.21, h * 0.21, '', 'Locked', null, null, this.getTagsForStencil(gn, 'locked', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'unlocked;',
|
||||
w * 0.21, h * 0.21, '', 'Unlocked', null, null, this.getTagsForStencil(gn, 'unlocked', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'encrypted;',
|
||||
w * 0.21, h * 0.21, '', 'encrypted', null, null, this.getTagsForStencil(gn, 'enrypted', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'delayed;',
|
||||
w * 0.21, h * 0.21, '', 'Delayed', null, null, this.getTagsForStencil(gn, 'delayed', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'restored;',
|
||||
w * 0.21, h * 0.21, '', 'Restored', null, null, this.getTagsForStencil(gn, 'restored', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'exported;',
|
||||
w * 0.21, h * 0.21, '', 'Exported', null, null, this.getTagsForStencil(gn, 'exported', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'ejected;',
|
||||
w * 0.21, h * 0.21, '', 'Ejected', null, null, this.getTagsForStencil(gn, 'ejected', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'instant;',
|
||||
w * 0.21, h * 0.21, '', 'Instant', null, null, this.getTagsForStencil(gn, 'instant', dt).join(' '))
|
||||
];
|
||||
|
||||
this.addPalette('veeam2States', 'Veeam2 / States', false, mxUtils.bind(this, function(content)
|
||||
{
|
||||
for (var i = 0; i < fns.length; i++)
|
||||
{
|
||||
content.appendChild(fns[i](content));
|
||||
}
|
||||
}));
|
||||
};
|
||||
|
||||
Sidebar.prototype.addVeeam2StoragePalette = function()
|
||||
{
|
||||
var s = 'pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.';
|
||||
var s2 = 'pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.';
|
||||
|
||||
// Space savers
|
||||
var sb = this;
|
||||
var gn = 'mxgraph.veeam2';
|
||||
var dt = 'veeam vm vmware virtual machine storage';
|
||||
|
||||
var w = 100;
|
||||
var h = 100;
|
||||
|
||||
var fns =
|
||||
[
|
||||
this.createVertexTemplateEntry(s + 'object_storage;',
|
||||
w * 0.28, h * 0.28, '', 'Object Storage', null, null, this.getTagsForStencil(gn, 'object storage', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'azure_blob;',
|
||||
w * 0.34, h * 0.34, '', 'Azure Blob', null, null, this.getTagsForStencil(gn, 'azure blob', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'aws_s3;',
|
||||
w * 0.34, h * 0.34, '', 'AWS S3', null, null, this.getTagsForStencil(gn, 'aws s3', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'ibm_object_storage;',
|
||||
w * 0.34, h * 0.34, '', 'IBM Object Storage', null, null, this.getTagsForStencil(gn, 'ibm object storage', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 's3_compatible;',
|
||||
w * 0.28, h * 0.28, '', 'S3-compatible', null, null, this.getTagsForStencil(gn, 's3 compatible', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'vmware_vsan;',
|
||||
w * 0.34, h * 0.34, '', 'VMware vSAN', null, null, this.getTagsForStencil(gn, 'vmware vsan', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'nas;',
|
||||
w * 0.28, h * 0.28, '', 'NAS', null, null, this.getTagsForStencil(gn, 'nas', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'shared_folder;',
|
||||
w * 0.28, h * 0.24, '', 'Shared Folder', null, null, this.getTagsForStencil(gn, 'shared folder', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'folder;',
|
||||
w * 0.28, h * 0.24, '', 'Folder', null, null, this.getTagsForStencil(gn, 'folder', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'datastore_empty;',
|
||||
w * 0.28, h * 0.35, '', 'Datastore empty', null, null, this.getTagsForStencil(gn, 'datastore empty', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'datastore_33_full;',
|
||||
w * 0.28, h * 0.35, '', 'Datastore 33% full', null, null, this.getTagsForStencil(gn, 'datastore 33 percentage third full 33%', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'datastore_66_full;',
|
||||
w * 0.28, h * 0.35, '', 'Datastore 66% full', null, null, this.getTagsForStencil(gn, 'datastore 66 percentage two thirds full 66%', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'datastore;',
|
||||
w * 0.28, h * 0.35, '', 'Datastore', null, null, this.getTagsForStencil(gn, 'datastore', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'sd_card;',
|
||||
w * 0.23, h * 0.28, '', 'SD Card', null, null, this.getTagsForStencil(gn, 'sd card', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'storage;',
|
||||
w * 0.4, h * 0.11, '', 'Storage', null, null, this.getTagsForStencil(gn, 'storage', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'storage_snapshot;',
|
||||
w * 0.4, h * 0.11, '', 'Storage Snapshot', null, null, this.getTagsForStencil(gn, 'storage snapshot', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'storage_with_snapshot;',
|
||||
w * 0.43, h * 0.15, '', 'Storage with Snapshot', null, null, this.getTagsForStencil(gn, 'storage with snapshot', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'storage_stack;',
|
||||
w * 0.4, h * 0.4, '', 'Storage Stack', null, null, this.getTagsForStencil(gn, 'storage stack', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'deduplicating_storage;',
|
||||
w * 0.4, h * 0.11, '', 'Deduplicating Storage', null, null, this.getTagsForStencil(gn, 'deduplicating storage', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'data_volume;',
|
||||
w * 0.4, h * 0.11, '', 'Data Volume', null, null, this.getTagsForStencil(gn, 'data volume', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'data_volume_snapshot;',
|
||||
w * 0.4, h * 0.11, '', 'Data Volume Snapshot', null, null, this.getTagsForStencil(gn, 'data volume snapshot', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'data_volume_with_snapshot;',
|
||||
w * 0.43, h * 0.15, '', 'Data Volume with Snapshot', null, null, this.getTagsForStencil(gn, 'data volume with snapshot', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'file;',
|
||||
w * 0.28, h * 0.39, '', 'File', null, null, this.getTagsForStencil(gn, 'file', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'backup_file;',
|
||||
w * 0.28, h * 0.39, '', 'Backup file', null, null, this.getTagsForStencil(gn, 'backup file', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'veeam_full_backup;',
|
||||
w * 0.28, h * 0.39, '', 'Veeam Full Backup', null, null, this.getTagsForStencil(gn, 'full backup', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'veeam_incremental_backup;',
|
||||
w * 0.28, h * 0.39, '', 'Veeam Incremental Backup', null, null, this.getTagsForStencil(gn, 'incremental backup', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'veeam_reversed_incremental_backup;',
|
||||
w * 0.28, h * 0.39, '', 'Veeam Reversed Incremental Backup', null, null, this.getTagsForStencil(gn, 'reversed incremental backup', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'veeam_backup_chain_metadata;',
|
||||
w * 0.28, h * 0.39, '', 'Veeam Backup Chain Metadata', null, null, this.getTagsForStencil(gn, 'backup chain metadata', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vbr_configuration_backup;',
|
||||
w * 0.28, h * 0.39, '', 'VBR Configuration Backup', null, null, this.getTagsForStencil(gn, 'vbr configuration backup', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vbr_transaction_log_backup;',
|
||||
w * 0.28, h * 0.39, '', 'VBR Transaction Log Backup', null, null, this.getTagsForStencil(gn, 'vbr transaction log backup', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'tape;',
|
||||
w * 0.38, h * 0.22, '', 'Tape', null, null, this.getTagsForStencil(gn, 'tape', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'tape_checkout;',
|
||||
w * 0.46, h * 0.30, '', 'Tape Checkout', null, null, this.getTagsForStencil(gn, 'tape checkout', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'tape_encrypted;',
|
||||
w * 0.46, h * 0.30, '', 'Tape Encrypted', null, null, this.getTagsForStencil(gn, 'tape encrypted', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'tape_locked;',
|
||||
w * 0.46, h * 0.30, '', 'Tape Locked', null, null, this.getTagsForStencil(gn, 'tape locked', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'tape_recording;',
|
||||
w * 0.46, h * 0.30, '', 'Tape Recording', null, null, this.getTagsForStencil(gn, 'tape recording', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'tape_media_pool;',
|
||||
w * 0.28, h * 0.24, '', 'Tape Media Pool', null, null, this.getTagsForStencil(gn, 'tape media pool', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'tape_library;',
|
||||
w * 0.28, h * 0.35, '', 'Tape Library', null, null, this.getTagsForStencil(gn, 'tape library', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'tape_writing_device;',
|
||||
w * 0.38, h * 0.14, '', 'Tape Writing Device', null, null, this.getTagsForStencil(gn, 'tape writing device', dt).join(' '))
|
||||
];
|
||||
|
||||
this.addPalette('veeam2Storage', 'Veeam / Storage', false, mxUtils.bind(this, function(content)
|
||||
{
|
||||
for (var i = 0; i < fns.length; i++)
|
||||
{
|
||||
content.appendChild(fns[i](content));
|
||||
}
|
||||
}));
|
||||
};
|
||||
|
||||
Sidebar.prototype.addVeeam23DPalette = function()
|
||||
{
|
||||
var sn = 'shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.';
|
||||
var s = 'shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.';
|
||||
var s2 = 'shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.';
|
||||
|
||||
// Space savers
|
||||
var sb = this;
|
||||
var gn = 'mxgraph.veeam.3d';
|
||||
var dt = 'veeam 3d vmware virtual machine ';
|
||||
|
||||
var w = 2.0;
|
||||
var h = 2.0;
|
||||
|
||||
var fns =
|
||||
[
|
||||
this.createVertexTemplateEntry(sn + '1ftvm;',
|
||||
w * 34, h * 31, '', '1FTVM', null, null, this.getTagsForStencil(gn, '1ftvm', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + '1ftvm_error;',
|
||||
w * 34, h * 31, '', '1FTVM Error', null, null, this.getTagsForStencil(gn, '1ftvm error', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + '1ftvm_running;',
|
||||
w * 34, h * 31, '', '1FTVM Running', null, null, this.getTagsForStencil(gn, '1ftvm running', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + '1ftvm_unavailable;',
|
||||
w * 34, h * 31, '', '1FTVM Unavailable', null, null, this.getTagsForStencil(gn, '1ftvm unavailable', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + '1ftvm_warning;',
|
||||
w * 34, h * 31, '', '1FTVM Warning', null, null, this.getTagsForStencil(gn, '1ftvm warning', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + '2ftvm;',
|
||||
w * 34, h * 31, '', '2FTVM', null, null, this.getTagsForStencil(gn, '2ftvm', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + '2ftvm_error;',
|
||||
w * 34, h * 31, '', '2FTVM Error', null, null, this.getTagsForStencil(gn, '2ftvm error', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + '2ftvm_running;',
|
||||
w * 34, h * 31, '', '2FTVM Running', null, null, this.getTagsForStencil(gn, '2ftvm running', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + '2ftvm_unavailable;',
|
||||
w * 34, h * 31, '', '2FTVM Unavailable', null, null, this.getTagsForStencil(gn, '2ftvm unavailable', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + '2ftvm_warning;',
|
||||
w * 34, h * 31, '', '2FTVM Warning', null, null, this.getTagsForStencil(gn, '2ftvm warning', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'backup_repository;',
|
||||
w * 31, h * 31, '', 'Backup Repository', null, null, this.getTagsForStencil(gn, 'backup repository', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'backup_repository_2;',
|
||||
w * 31, h * 31, '', 'Backup Repository', null, null, this.getTagsForStencil(gn, 'backup repository', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'cd;',
|
||||
w * 34, h * 13, '', 'CD', null, null, this.getTagsForStencil(gn, 'cd', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'database;',
|
||||
w * 29, h * 31, '', 'Database', null, null, this.getTagsForStencil(gn, 'database', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'datastore;',
|
||||
w * 22, h * 30, '', 'Datastore', null, null, this.getTagsForStencil(gn, 'datastore', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'datastore_snapshot;',
|
||||
w * 27, h * 17, '', 'Datastore Snapshot', null, null, this.getTagsForStencil(gn, 'datastore snapshot', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'datastore_volume;',
|
||||
w * 27, h * 17, '', 'Datastore Volume', null, null, this.getTagsForStencil(gn, 'datastore volume', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'esx_esxi;',
|
||||
w * 19, h * 26, '', 'ESX ESXi', null, null, this.getTagsForStencil(gn, 'esx esxi', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'failover_protective_snapshot;',
|
||||
w * 23, h * 23, '', 'Failover Protective Snapshot', null, null, this.getTagsForStencil(gn, 'failover protective snapshot', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'failover_protective_snapshot_locked;',
|
||||
w * 28, h * 23, '', 'Failover Protective Snapshot Locked', null, null, this.getTagsForStencil(gn, 'failover protective snapshot locked', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'failover_protective_snapshot_running;',
|
||||
w * 29, h * 23, '', 'Failover Protective Snapshot Running', null, null, this.getTagsForStencil(gn, 'failover protective snapshot running', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'free_datastore;',
|
||||
w * 22, h * 30, '', 'Free Datastore', null, null, this.getTagsForStencil(gn, 'free datastore', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'full_datastore;',
|
||||
w * 22, h * 30, '', 'Full Datastore', null, null, this.getTagsForStencil(gn, 'full datastore', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'hard_drive;fillColor=#637D8A;gradientColor=#324752;strokeColor=none;',
|
||||
w * 31, h * 14, '', 'Hard Drive', null, null, this.getTagsForStencil(gn, 'hard drive', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'hyper_v_host;',
|
||||
w * 55, h * 49, '', 'Hyper-V Host', null, null, this.getTagsForStencil(gn, 'hyper-v host', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'lost_space;',
|
||||
w * 22, h * 30, '', 'Lost Space', null, null, this.getTagsForStencil(gn, 'lost space', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'lun;',
|
||||
w * 36, h * 20, '', 'LUN', null, null, this.getTagsForStencil(gn, 'lun', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'medium_datastore;',
|
||||
w * 22, h * 30, '', 'Medium Datastore', null, null, this.getTagsForStencil(gn, 'medium datastore', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'network_card;',
|
||||
w * 19, h * 20, '', 'Network Card', null, null, this.getTagsForStencil(gn, 'network card', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'physical_storage;',
|
||||
w * 54, h * 30, '', 'Physical Storage', null, null, this.getTagsForStencil(gn, 'physical_storage', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'proxy;',
|
||||
w * 23, h * 23, '', 'Proxy', null, null, this.getTagsForStencil(gn, 'proxy', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'proxy_appliance;',
|
||||
w * 23, h * 23, '', 'Proxy Appliance', null, null, this.getTagsForStencil(gn, 'proxy appliance', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'remote_site;',
|
||||
w * 23, h * 30, '', 'Remote Site', null, null, this.getTagsForStencil(gn, 'remote site', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'remote_storage;',
|
||||
w * 26, h * 31, '', 'Remote Storage', null, null, this.getTagsForStencil(gn, 'remote storage', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'resource_pool;',
|
||||
w * 28, h * 16, '', 'Resource Pool', null, null, this.getTagsForStencil(gn, 'resource pool', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'service_vnic;',
|
||||
w * 36, h * 32, '', 'Service vNIC', null, null, this.getTagsForStencil(gn, 'service vnic', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'switch;',
|
||||
w * 55, h * 29, '', 'Switch', null, null, this.getTagsForStencil(gn, 'switch', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'tape;',
|
||||
w * 29, h * 29, '', 'Tape', null, null, this.getTagsForStencil(gn, 'tape', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'tape_checked;',
|
||||
w * 35, h * 29, '', 'Tape Checked', null, null, this.getTagsForStencil(gn, 'tape checked', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'tape_ejecting;',
|
||||
w * 35, h * 29, '', 'Tape Ejecting', null, null, this.getTagsForStencil(gn, 'tape ejecting', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'tape_library;',
|
||||
w * 31, h * 37, '', 'Tape Library', null, null, this.getTagsForStencil(gn, 'tape library', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'tape_licensed;',
|
||||
w * 35, h * 29, '', 'Tape Licensed', null, null, this.getTagsForStencil(gn, 'tape licensed', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'tape_recording;',
|
||||
w * 35, h * 29, '', 'Tape Recording', null, null, this.getTagsForStencil(gn, 'tape recording', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'tape_server;',
|
||||
w * 23, h * 23, '', 'Tape Server', null, null, this.getTagsForStencil(gn, 'tape server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vapp;',
|
||||
w * 46, h * 31, '', 'vApp', null, null, this.getTagsForStencil(gn, 'vapp', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vapp_started;',
|
||||
w * 46, h * 31, '', 'vApp Started', null, null, this.getTagsForStencil(gn, 'vapp started', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'veeam_availability_suite;',
|
||||
w * 23, h * 23, '', 'Veeam Availability Suite', null, null, this.getTagsForStencil(gn, 'veeam availability suite', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'veeam_backup_and_replication_server;',
|
||||
w * 23, h * 23, '', 'Veeam Backup and Replication Server', null, null, this.getTagsForStencil(gn, 'veeam backup and replication server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'veeam_backup_enterprise_manager_server;',
|
||||
w * 23, h * 23, '', 'Veeam Backup Enterprise Manager Server', null, null, this.getTagsForStencil(gn, 'veeam backup enterprise manager server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'veeam_backup_search_server;',
|
||||
w * 23, h * 23, '', 'Veeam Backup Search Server', null, null, this.getTagsForStencil(gn, 'veeam backup search server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'veeam_one_business_view;',
|
||||
w * 23, h * 23, '', 'Veeam ONE Business View', null, null, this.getTagsForStencil(gn, 'veeam one business view', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'veeam_one_monitor;',
|
||||
w * 23, h * 23, '', 'Veeam ONE Monitor', null, null, this.getTagsForStencil(gn, 'veeam one monitor', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'veeam_one_reporter;',
|
||||
w * 23, h * 23, '', 'Veeam ONE Reporter', null, null, this.getTagsForStencil(gn, 'veeam one reporter', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'veeam_one_server;',
|
||||
w * 23, h * 23, '', 'Veeam ONE Server', null, null, this.getTagsForStencil(gn, 'veeam one server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'virtual_machine;',
|
||||
w * 23, h * 23, '', 'Virtual Machine', null, null, this.getTagsForStencil(gn, 'virtual machine', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vmware_host;',
|
||||
w * 55, h * 49, '', 'VMware Host', null, null, this.getTagsForStencil(gn, 'vmware host', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vm_failed;',
|
||||
w * 28, h * 23, '', 'VM Failed', null, null, this.getTagsForStencil(gn, 'vm failed', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vm_linux;',
|
||||
w * 23, h * 30, '', 'VM Linux', null, null, this.getTagsForStencil(gn, 'vm linux', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vm_no_network;',
|
||||
w * 29, h * 23, '', 'VM No Network', null, null, this.getTagsForStencil(gn, 'vm no network', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vm_problem;',
|
||||
w * 28, h * 23, '', 'VM Problem', null, null, this.getTagsForStencil(gn, 'vm problem', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vm_running;',
|
||||
w * 28, h * 23, '', 'VM Running', null, null, this.getTagsForStencil(gn, 'vm running', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vm_saved_state;',
|
||||
w * 29, h * 24, '', 'VM Saved State', null, null, this.getTagsForStencil(gn, 'vm saved state', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vm_windows;',
|
||||
w * 23, h * 30, '', 'VM Windows', null, null, this.getTagsForStencil(gn, 'vm windows', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vnic;',
|
||||
w * 31, h * 31, '', 'vNIC', null, null, this.getTagsForStencil(gn, 'vnic', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'wan_accelerator;',
|
||||
w * 23, h * 23, '', 'WAN Accelerator', null, null, this.getTagsForStencil(gn, 'wan accelerator', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'workstation;',
|
||||
w * 38, h * 31, '', 'Workstation', null, null, this.getTagsForStencil(gn, 'workstation', dt).join(' '))
|
||||
];
|
||||
|
||||
this.addPalette('veeam23D', 'Veeam2 / 3D', false, mxUtils.bind(this, function(content)
|
||||
{
|
||||
for (var i = 0; i < fns.length; i++)
|
||||
{
|
||||
content.appendChild(fns[i](content));
|
||||
}
|
||||
}));
|
||||
};
|
||||
})();
|
|
@ -82,6 +82,7 @@
|
|||
Sidebar.prototype.office = ['Clouds', 'Communications', 'Concepts', 'Databases', 'Devices', 'Security', 'Servers', 'Services', 'Sites', 'Users'];
|
||||
|
||||
Sidebar.prototype.veeam = ['Data Center', 'Misc', 'Software', 'Storage', 'UsersStatus', 'VASComponents', 'Backup Replication', 'Products', 'VMs and Tape', '2D', '3D'];
|
||||
Sidebar.prototype.veeam2 = ['Auxiliary', 'Data Center', 'Features', 'General', 'Products and Components', 'Software', 'States', 'Storage', '3D'];
|
||||
|
||||
Sidebar.prototype.archimate3 = ['Application', 'Business', 'Composite', 'Implementation and Migration', 'Motivation', 'Physical', 'Relationships', 'Strategy', 'Technology'];
|
||||
|
||||
|
@ -135,6 +136,7 @@
|
|||
{id: 'cisco_safe', prefix: 'cisco_safe', libs: Sidebar.prototype.cisco_safe},
|
||||
{id: 'office', prefix: 'office', libs: Sidebar.prototype.office},
|
||||
{id: 'veeam', prefix: 'veeam', libs: Sidebar.prototype.veeam},
|
||||
{id: 'veeam2', prefix: 'veeam2', libs: Sidebar.prototype.veeam2},
|
||||
{id: 'cabinets', libs: ['cabinets']},
|
||||
{id: 'floorplan', libs: ['floorplan']},
|
||||
{id: 'bootstrap', libs: ['bootstrap']},
|
||||
|
@ -421,7 +423,7 @@
|
|||
{title: 'Network', id: 'network', image: IMAGE_PATH + '/sidebar-network.png'},
|
||||
{title: 'Office', id: 'office', image: IMAGE_PATH + '/sidebar-office.png'},
|
||||
{title: mxResources.get('rack'), id: 'rack', image: IMAGE_PATH + '/sidebar-rack.png'},
|
||||
{title: 'Veeam', id: 'veeam', image: IMAGE_PATH + '/sidebar-veeam.png'},
|
||||
{title: 'Veeam', id: 'veeam2', image: IMAGE_PATH + '/sidebar-veeam.png'},
|
||||
{title: 'VMware', id: 'vvd', image: IMAGE_PATH + '/sidebar-vvd.png'}]},
|
||||
{title: mxResources.get('business'),
|
||||
entries: [{title: 'ArchiMate 3.0', id: 'archimate3', image: IMAGE_PATH + '/sidebar-archimate3.png'},
|
||||
|
@ -721,6 +723,7 @@
|
|||
var gmdl = this.gmdl;
|
||||
var office = this.office;
|
||||
var veeam = this.veeam;
|
||||
var veeam2 = this.veeam2;
|
||||
var archimate3 = this.archimate3;
|
||||
var electrical = this.electrical;
|
||||
|
||||
|
@ -979,6 +982,7 @@
|
|||
}
|
||||
|
||||
this.addVeeamPalette();
|
||||
this.addVeeam2Palette();
|
||||
this.addVVDPalette();
|
||||
this.addArchimate3Palette();
|
||||
this.addArchiMatePalette();
|
||||
|
|
1
src/main/webapp/js/orgchart/OrgChart.Layout.min.js
vendored
Normal file
1
src/main/webapp/js/orgchart/OrgChart.Layout.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
src/main/webapp/js/orgchart/bridge.collections.min.js
vendored
Normal file
1
src/main/webapp/js/orgchart/bridge.collections.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
8
src/main/webapp/js/orgchart/bridge.min.js
vendored
Normal file
8
src/main/webapp/js/orgchart/bridge.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
568
src/main/webapp/js/orgchart/mxOrgChart.js
Normal file
568
src/main/webapp/js/orgchart/mxOrgChart.js
Normal file
|
@ -0,0 +1,568 @@
|
|||
function mxOrgChart(editorUi)
|
||||
{
|
||||
Bridge.define('ChartApp',
|
||||
{
|
||||
statics: {
|
||||
config: {
|
||||
init: function() {
|
||||
|
||||
}
|
||||
},
|
||||
main: function (editorUi) {
|
||||
Bridge.Console.log = console.log;
|
||||
Bridge.Console.error = console.error;
|
||||
Bridge.Console.debug = console.debug;
|
||||
|
||||
ChartApp.editorUi = editorUi;
|
||||
ChartApp.buildChart(true);
|
||||
},
|
||||
|
||||
diagram: {},
|
||||
dataSource: {},
|
||||
//suppressRootBox: false,
|
||||
//totalBoxCount: 20,
|
||||
//percentAssistants: 10,
|
||||
|
||||
/*boxClick: function(boxId) {
|
||||
var box = ChartApp.diagram.getBoxes().getBoxesById().getItem(boxId);
|
||||
box.IsCollapsed = !box.IsCollapsed;
|
||||
ChartApp.positionBoxes();
|
||||
},*/
|
||||
|
||||
buildChart: function (initData) {
|
||||
if (initData) {
|
||||
ChartApp.initDiagram();
|
||||
}
|
||||
ChartApp.positionBoxes();
|
||||
},
|
||||
|
||||
collapseAllBoxes: function(boxContainer, isCollapsed) {
|
||||
var en = boxContainer.getBoxesById().getValues().getEnumerator();
|
||||
while (en.moveNext()) {
|
||||
var box = en.getCurrent();
|
||||
if (!box.IsSpecial) {
|
||||
box.IsCollapsed = isCollapsed;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
generateData: function () {
|
||||
|
||||
|
||||
/*var count = ChartApp.totalBoxCount;
|
||||
var percentAssistants = ChartApp.percentAssistants;
|
||||
|
||||
var dataSource = new OrgChart.Test.TestDataSource();
|
||||
(new OrgChart.Test.TestDataGen()).GenerateDataItems(dataSource, count, percentAssistants);
|
||||
|
||||
if (ChartApp.suppressRootBox) {
|
||||
dataSource.Items.remove('0');
|
||||
var en = dataSource.Items.getValues().getEnumerator();
|
||||
while (en.moveNext()) {
|
||||
var dataItem = en.getCurrent();
|
||||
if (dataItem.ParentId === "0") {
|
||||
dataItem.ParentId = null;
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
var dataSource = new OrgChart.Test.TestDataSource();
|
||||
|
||||
var graph = ChartApp.editorUi.editor.graph;
|
||||
var cells = graph.model.cells;
|
||||
var defParent = graph.getDefaultParent();
|
||||
//var dataSource = {"Items": {"comparer": {}, "entries": {}}};
|
||||
|
||||
for (var id in cells)
|
||||
{
|
||||
var cell = cells[id];
|
||||
|
||||
if (cell.geometry != null && cell.vertex && cell.parent == defParent) //TODO First level only?
|
||||
{
|
||||
// Find cell parent. If it has more than one parent, take first parent (should be an error?)
|
||||
var parentId = null;
|
||||
|
||||
var incomingEdge = graph.getIncomingEdges(cell)[0];
|
||||
|
||||
if (incomingEdge != null && incomingEdge.source != null)
|
||||
{
|
||||
parentId = incomingEdge.source.id;
|
||||
}
|
||||
|
||||
var item = new OrgChart.Test.TestDataItem();
|
||||
item.Id = id;
|
||||
item.ParentId = parentId;
|
||||
dataSource.Items.add(item.getId(), item);
|
||||
// dataSource.Items.entries[id] = [{
|
||||
// "key": id,
|
||||
// "value": {
|
||||
// "Id": id
|
||||
// },
|
||||
// "ParentId": parentId
|
||||
// }];
|
||||
}
|
||||
}
|
||||
|
||||
return dataSource;
|
||||
},
|
||||
|
||||
initDiagram: function () {
|
||||
// $("#myDiagramDiv").html('');
|
||||
// $("#myDiagramDiv").append('<div id="myConnectors" class="chartConnectorsPlane"/>')
|
||||
|
||||
var dataSource = ChartApp.generateData();
|
||||
|
||||
ChartApp.dataSource = dataSource;
|
||||
|
||||
var boxContainer = new OrgChart.Layout.BoxContainer.$ctor1(dataSource);
|
||||
//OrgChart.Test.TestDataGen.GenerateBoxSizes(boxContainer);
|
||||
|
||||
/* if ($("#CollapseAllOnRebuild")[0].checked) {
|
||||
ChartApp.collapseAllBoxes(boxContainer, true);
|
||||
}*/
|
||||
|
||||
ChartApp.diagram = new OrgChart.Layout.Diagram();
|
||||
|
||||
var diagram = ChartApp.diagram;
|
||||
diagram.setBoxes(boxContainer);
|
||||
|
||||
var linearLayoutStrategy = new OrgChart.Layout.LinearLayoutStrategy();
|
||||
linearLayoutStrategy.ParentAlignment = OrgChart.Layout.BranchParentAlignment.Center;
|
||||
diagram.LayoutSettings.LayoutStrategies.add("linear", linearLayoutStrategy);
|
||||
|
||||
var multiLineHangerLayoutStrategy = new OrgChart.Layout.MultiLineHangerLayoutStrategy();
|
||||
multiLineHangerLayoutStrategy.ParentAlignment = OrgChart.Layout.BranchParentAlignment.Center;
|
||||
multiLineHangerLayoutStrategy.MaxSiblingsPerRow = 2;
|
||||
diagram.LayoutSettings.LayoutStrategies.add("hanger2", multiLineHangerLayoutStrategy);
|
||||
|
||||
multiLineHangerLayoutStrategy = new OrgChart.Layout.MultiLineHangerLayoutStrategy();
|
||||
multiLineHangerLayoutStrategy.ParentAlignment = OrgChart.Layout.BranchParentAlignment.Center;
|
||||
multiLineHangerLayoutStrategy.MaxSiblingsPerRow = 4;
|
||||
diagram.LayoutSettings.LayoutStrategies.add("hanger4", multiLineHangerLayoutStrategy);
|
||||
|
||||
var singleColumnLayoutStrategy = new OrgChart.Layout.SingleColumnLayoutStrategy();
|
||||
singleColumnLayoutStrategy.ParentAlignment = OrgChart.Layout.BranchParentAlignment.Right;
|
||||
diagram.LayoutSettings.LayoutStrategies.add("singleColumnRight", singleColumnLayoutStrategy);
|
||||
|
||||
singleColumnLayoutStrategy = new OrgChart.Layout.SingleColumnLayoutStrategy();
|
||||
singleColumnLayoutStrategy.ParentAlignment = OrgChart.Layout.BranchParentAlignment.Left;
|
||||
diagram.LayoutSettings.LayoutStrategies.add("singleColumnLeft", singleColumnLayoutStrategy);
|
||||
|
||||
var fishboneLayoutStrategy = new OrgChart.Layout.MultiLineFishboneLayoutStrategy();
|
||||
fishboneLayoutStrategy.ParentAlignment = OrgChart.Layout.BranchParentAlignment.Center;
|
||||
fishboneLayoutStrategy.MaxGroups = 1;
|
||||
diagram.LayoutSettings.LayoutStrategies.add("fishbone1", fishboneLayoutStrategy);
|
||||
|
||||
fishboneLayoutStrategy = new OrgChart.Layout.MultiLineFishboneLayoutStrategy();
|
||||
fishboneLayoutStrategy.ParentAlignment = OrgChart.Layout.BranchParentAlignment.Center;
|
||||
fishboneLayoutStrategy.MaxGroups = 2;
|
||||
diagram.LayoutSettings.LayoutStrategies.add("fishbone2", fishboneLayoutStrategy);
|
||||
|
||||
var hstackLayoutStrategy = new OrgChart.Layout.StackingLayoutStrategy();
|
||||
hstackLayoutStrategy.ParentAlignment = OrgChart.Layout.BranchParentAlignment.InvalidValue;
|
||||
hstackLayoutStrategy.Orientation = OrgChart.Layout.StackOrientation.SingleRowHorizontal;
|
||||
hstackLayoutStrategy.ParentChildSpacing = 10;
|
||||
diagram.LayoutSettings.LayoutStrategies.add("hstack", hstackLayoutStrategy);
|
||||
|
||||
var vstackLayoutStrategy = new OrgChart.Layout.StackingLayoutStrategy();
|
||||
vstackLayoutStrategy.ParentAlignment = OrgChart.Layout.BranchParentAlignment.InvalidValue;
|
||||
vstackLayoutStrategy.Orientation = OrgChart.Layout.StackOrientation.SingleColumnVertical;
|
||||
vstackLayoutStrategy.ParentChildSpacing = 10;
|
||||
diagram.LayoutSettings.LayoutStrategies.add("vstack", vstackLayoutStrategy);
|
||||
|
||||
vstackLayoutStrategy = new OrgChart.Layout.StackingLayoutStrategy();
|
||||
vstackLayoutStrategy.ParentAlignment = OrgChart.Layout.BranchParentAlignment.InvalidValue;
|
||||
vstackLayoutStrategy.Orientation = OrgChart.Layout.StackOrientation.SingleColumnVertical;
|
||||
vstackLayoutStrategy.SiblingSpacing = 20;
|
||||
diagram.LayoutSettings.LayoutStrategies.add("vstackMiddle", vstackLayoutStrategy);
|
||||
|
||||
vstackLayoutStrategy = new OrgChart.Layout.StackingLayoutStrategy();
|
||||
vstackLayoutStrategy.ParentAlignment = OrgChart.Layout.BranchParentAlignment.InvalidValue;
|
||||
vstackLayoutStrategy.Orientation = OrgChart.Layout.StackOrientation.SingleColumnVertical;
|
||||
vstackLayoutStrategy.SiblingSpacing = 50;
|
||||
diagram.LayoutSettings.LayoutStrategies.add("vstackTop", vstackLayoutStrategy);
|
||||
|
||||
var assistantsLayoutStrategy = new OrgChart.Layout.FishboneAssistantsLayoutStrategy();
|
||||
assistantsLayoutStrategy.ParentAlignment = OrgChart.Layout.BranchParentAlignment.Center;
|
||||
diagram.LayoutSettings.LayoutStrategies.add("assistants", assistantsLayoutStrategy);
|
||||
|
||||
diagram.LayoutSettings.DefaultLayoutStrategyId = "vstack";
|
||||
diagram.LayoutSettings.DefaultAssistantLayoutStrategyId = "assistants";
|
||||
//diagram.LayoutSettings.setBranchSpacing(5);
|
||||
},
|
||||
|
||||
getBoxLevel: function(boxContainer, box) {
|
||||
var level = 0;
|
||||
var obj = {};
|
||||
while (box.ParentId > 0) {
|
||||
if (!boxContainer.getBoxesById().tryGetValue(box.ParentId, obj)) {
|
||||
break;
|
||||
}
|
||||
box = obj.v;
|
||||
level++;
|
||||
}
|
||||
|
||||
return level;
|
||||
},
|
||||
|
||||
onLayoutStateChanged: function (sender, args) {
|
||||
if (args.State.getCurrentOperation() === OrgChart.Layout.LayoutState.Operation.PreprocessVisualTree) {
|
||||
// When layout algorithm is ready to preprocess the tree,
|
||||
// we need to have box sizes ready -> hence have to render visible boxes in HTML.
|
||||
// Rendering can happen at earlier time, but it's just more convenient to do it here,
|
||||
// to utilize some readily available information about visual tree.
|
||||
ChartApp.renderBoxes();
|
||||
}
|
||||
},
|
||||
|
||||
renderBoxes: function () {
|
||||
//var boxContainer = ChartApp.diagram.getBoxes();
|
||||
//var dataSource = ChartApp.dataSource;
|
||||
|
||||
//var expanderHtml = '<div id="exp{0}" class="expander" onclick="ChartApp.boxClick({0})">?</div>';
|
||||
//var boxHtml = '<div id="box{0}" class="{2}" style="width: 150px; height: auto;" onclick="ChartApp.boxClick({0})"><p><b>{3}</b></p>Box #{0}, Data #{1}, Asst: {4}</div>';
|
||||
|
||||
var visitorFunc = function (node) {
|
||||
var box = node.Element;
|
||||
|
||||
if (box.getIsDataBound()) {
|
||||
// we're being run when nodes have already been marked as visible or hidden,
|
||||
// based on IsCollapsed attribute of each Box
|
||||
// so use this knowledge to prevent unnecessary rendering of invisible branches
|
||||
/*var existing = $('#box' + box.Id);
|
||||
if (existing.length > 0) {
|
||||
var exp = $('#exp' + box.Id);
|
||||
if (node.State.IsHidden) {
|
||||
existing.hide();
|
||||
if (exp.length > 0) exp.hide();
|
||||
} else {
|
||||
existing.show();
|
||||
if (exp.length > 0) exp.show();
|
||||
}
|
||||
return true;
|
||||
} else */
|
||||
if (node.State.IsHidden) {
|
||||
return true;
|
||||
}
|
||||
|
||||
//var level = ChartApp.getBoxLevel(boxContainer, box);
|
||||
//var dataItem = dataSource.GetDataItem(box.DataId);
|
||||
|
||||
// level 0 is always for the BoxContainer.SystemRoot
|
||||
// normal boxes are under it, so they start at level 1
|
||||
/* if (level === 1) {
|
||||
$("#myDiagramDiv")
|
||||
.append(boxHtml.format(box.Id, box.DataId, "chartBoxTop", "Top", box.IsAssistant));
|
||||
} else if (level === 2) {
|
||||
$("#myDiagramDiv")
|
||||
.append(boxHtml.format(box.Id, box.DataId, "chartBoxMiddle", "Middle", box.IsAssistant));
|
||||
} else if (level === 3) {
|
||||
$("#myDiagramDiv")
|
||||
.append(boxHtml.format(box.Id, box.DataId, "chartBoxLower", "Lower", box.IsAssistant));
|
||||
} else {
|
||||
$("#myDiagramDiv")
|
||||
.append(boxHtml.format(box.Id, box.DataId, "chartBoxLowest", "Lowest ({0})".format(level), box.IsAssistant));
|
||||
}
|
||||
|
||||
if (node.getChildCount() > 0 || node.AssistantsRoot != null) {
|
||||
$("#myDiagramDiv")
|
||||
.append(expanderHtml.format(box.Id));
|
||||
} */
|
||||
|
||||
// now store element size, as rendered by browser
|
||||
box.Size = ChartApp.getBoxElementSize(box.DataId);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
ChartApp.diagram.getVisualTree().IterateParentFirst(visitorFunc);
|
||||
},
|
||||
|
||||
//TODO implement this
|
||||
getBranchOptimizerFunc: function () {
|
||||
// var value = $("input[name='SelectBranchOptimizer']:checked").val();
|
||||
var func = ChartApp['branchOptimizer' + 'AllHanger4'];
|
||||
return func;
|
||||
},
|
||||
|
||||
branchOptimizerAllLinear: function(node) {
|
||||
return node.getIsAssistantRoot() ? null : "linear";
|
||||
},
|
||||
|
||||
branchOptimizerAllHanger2: function(node) {
|
||||
return node.getIsAssistantRoot() ? null : "hanger2";
|
||||
},
|
||||
|
||||
branchOptimizerAllHanger4: function(node) {
|
||||
return node.getIsAssistantRoot() ? null : "hanger4";
|
||||
},
|
||||
|
||||
branchOptimizerAllFishbone1: function(node) {
|
||||
return node.getIsAssistantRoot() ? null : "fishbone1";
|
||||
},
|
||||
|
||||
branchOptimizerAllFishbone2: function (node) {
|
||||
return node.getIsAssistantRoot() ? null : "fishbone2";
|
||||
},
|
||||
|
||||
branchOptimizerAllSingleColumnLeft: function (node) {
|
||||
return node.getIsAssistantRoot() ? null : "singleColumnRight";
|
||||
},
|
||||
|
||||
branchOptimizerAllSingleColumnRight: function (node) {
|
||||
return node.getIsAssistantRoot() ? null : "singleColumnLeft";
|
||||
},
|
||||
|
||||
branchOptimizerStackers: function(node) {
|
||||
if (node.getIsAssistantRoot()) {
|
||||
return null;
|
||||
}
|
||||
return node.Level === 0 // this is Node for boxContainer.SystemRoot, which is not visible itself
|
||||
? "vstackTop"
|
||||
: node.Level === 1 // this is children of SystemRoot - they appear as roots in the diagram
|
||||
? "vstackMiddle"
|
||||
: "hstack";
|
||||
|
||||
},
|
||||
|
||||
branchOptimizerSmart: function(node) {
|
||||
if (node.getIsAssistantRoot()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
var childCount = node.getChildCount();
|
||||
|
||||
if (childCount <= 1) {
|
||||
return "vstack";
|
||||
}
|
||||
|
||||
var nonLeafChildren = 0;
|
||||
for (var i = 0; i < childCount; i++) {
|
||||
if (node.Children.getItem(i).getChildCount() > 0) {
|
||||
nonLeafChildren++;
|
||||
}
|
||||
}
|
||||
|
||||
if (nonLeafChildren <= 1) {
|
||||
if (childCount <= 4) {
|
||||
return "vstack";
|
||||
}
|
||||
if (childCount <= 8) {
|
||||
return "fishbone1";
|
||||
}
|
||||
return "fishbone2";
|
||||
}
|
||||
|
||||
return "hanger4";
|
||||
},
|
||||
|
||||
boxSizeFunc: function (dataId) {
|
||||
// ChartLayoutAlgorithm requires this function to accept data ID
|
||||
// so have to convert it to Box ID first, to get rendered visual element
|
||||
var boxId = ChartApp.diagram.getBoxes().getBoxesByDataId().getItem(dataId).Id;
|
||||
return ChartApp.diagram.getBoxes().getBoxesById().getItem(boxId).Size;
|
||||
},
|
||||
|
||||
getBoxElementSize: function (boxId) {
|
||||
/* var div = $('#box' + boxId);
|
||||
if (div.length > 0) {
|
||||
return new OrgChart.Layout.Size.$ctor1(div.outerWidth(), div.outerHeight());
|
||||
} else { */
|
||||
var geo = ChartApp.editorUi.editor.graph.model.cells[boxId].geometry;
|
||||
return new OrgChart.Layout.Size.$ctor1(geo.width, geo.height);
|
||||
//}
|
||||
},
|
||||
|
||||
positionBoxes: function () {
|
||||
//$('#myConnectors').html('');
|
||||
|
||||
//var boxContainer = ChartApp.diagram.getBoxes();
|
||||
//var dataSource = ChartApp.dataSource;
|
||||
var diagram = ChartApp.diagram;
|
||||
|
||||
var state = new OrgChart.Layout.LayoutState(diagram);
|
||||
|
||||
state.addOperationChanged(ChartApp.onLayoutStateChanged);
|
||||
state.BoxSizeFunc = Bridge.fn.bind(this, ChartApp.boxSizeFunc, null, true);
|
||||
state.LayoutOptimizerFunc = Bridge.fn.bind(this, ChartApp.getBranchOptimizerFunc(), null, true);
|
||||
|
||||
OrgChart.Layout.LayoutAlgorithm.Apply(state);
|
||||
|
||||
var diagramBoundary = OrgChart.Layout.LayoutAlgorithm.ComputeBranchVisualBoundingRect(diagram.getVisualTree());
|
||||
console.log(diagramBoundary)
|
||||
//$("#myDiagramDiv").width(diagramBoundary.Size.Width);
|
||||
//$("#myDiagramDiv").height(diagramBoundary.Size.Height);
|
||||
|
||||
// var viewPort = $("#myDiagramDiv").offset();
|
||||
var offsetx = -diagramBoundary.getLeft() + diagramBoundary.getTop(); //-diagramBoundary.getLeft() + viewPort.left;
|
||||
// var offsety = -diagramBoundary.getTop() + viewPort.top;
|
||||
|
||||
var graph = ChartApp.editorUi.editor.graph;
|
||||
var cells = graph.model.cells;
|
||||
|
||||
var visitorFunc = function (node) {
|
||||
if (node.State.IsHidden) {
|
||||
return false;
|
||||
}
|
||||
|
||||
var box = node.Element;
|
||||
|
||||
if (box.getIsDataBound()) {
|
||||
var cell = cells[box.DataId];
|
||||
cell.geometry.x = node.State.TopLeft.X + offsetx;
|
||||
cell.geometry.y = node.State.TopLeft.Y;
|
||||
// // All boxes have already been rendered before the chart layout,
|
||||
// // to have all box sizes available before layout.
|
||||
// // So now we only have to position them.
|
||||
// // Connectors, however, are not rendered until layout is complete (see next block).
|
||||
// console.log(node.State.TopLeft, node.State);
|
||||
// /* var div = $('#box' + box.Id);
|
||||
// if (div.length > 0) {*/
|
||||
//
|
||||
// var x = node.State.TopLeft.X + offsetx;
|
||||
// var y = node.State.TopLeft.Y + offsety;
|
||||
//
|
||||
// /* div.offset({ left: x, top: y });
|
||||
// div.css("width", node.State.Size.Width);
|
||||
// div.css("height", node.State.Size.Height);*/
|
||||
//
|
||||
// if (node.getChildCount() > 0 || node.AssistantsRoot != null) {
|
||||
// // var exp = $('#exp' + box.Id);
|
||||
// // if (exp.length > 0) {
|
||||
// x = node.State.getRight() + offsetx - 15;
|
||||
// y = node.State.getBottom() + offsety - 15;
|
||||
// // exp.offset({ left: x, top: y });
|
||||
//
|
||||
// /* if (box.IsCollapsed) {
|
||||
// exp.text('▼');
|
||||
// } else {
|
||||
// exp.text('△');
|
||||
// }
|
||||
// }*/
|
||||
// }
|
||||
// //}
|
||||
}
|
||||
|
||||
//TODO apply to draw.io edges
|
||||
// Render connectors
|
||||
if (node.State.Connector != null) {
|
||||
var incomingEdge = graph.getIncomingEdges(cell)[0];
|
||||
var outgoingEdge = graph.getOutgoingEdges(cell);
|
||||
for (var j = 0; j < outgoingEdge.length; j++)
|
||||
{
|
||||
outgoingEdge[j].geometry.points = null;
|
||||
}
|
||||
|
||||
for (var ix = 0; ix < node.State.Connector.Segments.length; ix++) {
|
||||
var edge = node.State.Connector.Segments[ix];
|
||||
var edgeType;
|
||||
var topLeft;
|
||||
var width;
|
||||
var height;
|
||||
console.log(edge, edge.From, edge.To, node.State.Connector.Segments.length, outgoingEdge.length);
|
||||
if (edge.From.Y === edge.To.Y) {
|
||||
edgeType = "chartHLine";
|
||||
height = 1;
|
||||
if (edge.From.X < edge.To.X) {
|
||||
topLeft = edge.From;
|
||||
width = edge.To.X - edge.From.X;
|
||||
} else {
|
||||
topLeft = edge.To;
|
||||
width = edge.From.X - edge.To.X;
|
||||
}
|
||||
} else {
|
||||
edgeType = "chartVLine";
|
||||
if (edge.From.Y < edge.To.Y) {
|
||||
topLeft = edge.From;
|
||||
height = edge.To.Y - edge.From.Y;
|
||||
} else {
|
||||
topLeft = edge.To;
|
||||
height = edge.From.Y - edge.To.Y;
|
||||
}
|
||||
}
|
||||
|
||||
if (node.getIsAssistantRoot()) {
|
||||
edgeType = edgeType + "Dotted";
|
||||
}
|
||||
|
||||
// $("#myConnectors")
|
||||
// .append('<div class="' +
|
||||
// edgeType +
|
||||
// '" style="top:' +
|
||||
// (topLeft.Y + offsety) +
|
||||
// 'px; left:' +
|
||||
// (topLeft.X + offsetx) +
|
||||
// 'px; width:' +
|
||||
// width +
|
||||
// 'px; height:' +
|
||||
// height +
|
||||
// 'px;"/>');
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
diagram.getVisualTree().IterateParentFirst(visitorFunc);
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
// First, checks if it isn't implemented yet.
|
||||
// if (!String.prototype.format) {
|
||||
// String.prototype.format = String.prototype.f = function () {
|
||||
// var s = this,
|
||||
// i = arguments.length;
|
||||
//
|
||||
// while (i--) {
|
||||
// s = s.replace(new RegExp('\\{' + i + '\\}', 'gm'), arguments[i]);
|
||||
// }
|
||||
// return s;
|
||||
// };
|
||||
// }
|
||||
|
||||
Bridge.init();
|
||||
ChartApp.main(editorUi);
|
||||
|
||||
// function changedSuppressRootBox(cb) {
|
||||
// ChartApp.suppressRootBox = cb.checked;
|
||||
// ChartApp.buildChart(true);
|
||||
// }
|
||||
//
|
||||
// function clickCollapseAll(bt) {
|
||||
// ChartApp.collapseAllBoxes(ChartApp.diagram.getBoxes(), true);
|
||||
// ChartApp.buildChart(false);
|
||||
// }
|
||||
//
|
||||
// function clickExpandAll(bt) {
|
||||
// ChartApp.collapseAllBoxes(ChartApp.diagram.getBoxes(), false);
|
||||
// ChartApp.buildChart(false);
|
||||
// }
|
||||
//
|
||||
// function clickOptimizer(rd) {
|
||||
// ChartApp.buildChart(false);
|
||||
// }
|
||||
|
||||
// function clickDataCounts(rd) {
|
||||
// var value = rd.value;
|
||||
// if (value === "small") {
|
||||
// ChartApp.totalBoxCount = 20;
|
||||
// ChartApp.percentAssistants = 0;
|
||||
// } else if (value === "small-a") {
|
||||
// ChartApp.totalBoxCount = 20;
|
||||
// ChartApp.percentAssistants = 10;
|
||||
// } else if (value === "large") {
|
||||
// ChartApp.totalBoxCount = 200;
|
||||
// ChartApp.percentAssistants = 0;
|
||||
// } else if (value === "large-a") {
|
||||
// ChartApp.totalBoxCount = 200;
|
||||
// ChartApp.percentAssistants = 10;
|
||||
// } else if (value === "huge-a") {
|
||||
// ChartApp.totalBoxCount = 1000;
|
||||
// ChartApp.percentAssistants = 5;
|
||||
// }
|
||||
// ChartApp.buildChart(true);
|
||||
// }
|
||||
};
|
1
src/main/webapp/js/stencils.min.js
vendored
1
src/main/webapp/js/stencils.min.js
vendored
File diff suppressed because one or more lines are too long
48
src/main/webapp/js/viewer.min.js
vendored
48
src/main/webapp/js/viewer.min.js
vendored
|
@ -2962,30 +2962,30 @@ mxStencilRegistry.libraries.cisco19=[SHAPES_PATH+"/mxCisco19.js",STENCIL_PATH+"/
|
|||
STENCIL_PATH+"/mockup/misc.xml"];mxStencilRegistry.libraries["mockup/markup"]=[SHAPES_PATH+"/mockup/mxMockupMarkup.js"];mxStencilRegistry.libraries["mockup/misc"]=[SHAPES_PATH+"/mockup/mxMockupMisc.js",STENCIL_PATH+"/mockup/misc.xml"];mxStencilRegistry.libraries["mockup/navigation"]=[SHAPES_PATH+"/mockup/mxMockupNavigation.js",STENCIL_PATH+"/mockup/misc.xml"];mxStencilRegistry.libraries["mockup/text"]=[SHAPES_PATH+"/mockup/mxMockupText.js"];mxStencilRegistry.libraries.floorplan=[SHAPES_PATH+"/mxFloorplan.js",
|
||||
STENCIL_PATH+"/floorplan.xml"];mxStencilRegistry.libraries.bootstrap=[SHAPES_PATH+"/mxBootstrap.js",STENCIL_PATH+"/bootstrap.xml"];mxStencilRegistry.libraries.gmdl=[SHAPES_PATH+"/mxGmdl.js",STENCIL_PATH+"/gmdl.xml"];mxStencilRegistry.libraries.gcp2=[SHAPES_PATH+"/mxGCP2.js",STENCIL_PATH+"/gcp2.xml"];mxStencilRegistry.libraries.cabinets=[SHAPES_PATH+"/mxCabinets.js",STENCIL_PATH+"/cabinets.xml"];mxStencilRegistry.libraries.archimate=[SHAPES_PATH+"/mxArchiMate.js"];mxStencilRegistry.libraries.archimate3=
|
||||
[SHAPES_PATH+"/mxArchiMate3.js"];mxStencilRegistry.libraries.sysml=[SHAPES_PATH+"/mxSysML.js"];mxStencilRegistry.libraries.eip=[SHAPES_PATH+"/mxEip.js",STENCIL_PATH+"/eip.xml"];mxStencilRegistry.libraries.networks=[SHAPES_PATH+"/mxNetworks.js",STENCIL_PATH+"/networks.xml"];mxStencilRegistry.libraries.aws3d=[SHAPES_PATH+"/mxAWS3D.js",STENCIL_PATH+"/aws3d.xml"];mxStencilRegistry.libraries.aws4=[SHAPES_PATH+"/mxAWS4.js",STENCIL_PATH+"/aws4.xml"];mxStencilRegistry.libraries.aws4b=[SHAPES_PATH+"/mxAWS4.js",
|
||||
STENCIL_PATH+"/aws4.xml"];mxStencilRegistry.libraries.veeam=[STENCIL_PATH+"/veeam/2d.xml",STENCIL_PATH+"/veeam/3d.xml",STENCIL_PATH+"/veeam/veeam.xml"];mxStencilRegistry.libraries.pid2inst=[SHAPES_PATH+"/pid2/mxPidInstruments.js"];mxStencilRegistry.libraries.pid2misc=[SHAPES_PATH+"/pid2/mxPidMisc.js",STENCIL_PATH+"/pid/misc.xml"];mxStencilRegistry.libraries.pid2valves=[SHAPES_PATH+"/pid2/mxPidValves.js"];mxStencilRegistry.libraries.pidFlowSensors=[STENCIL_PATH+"/pid/flow_sensors.xml"];mxMarker.getPackageForType=
|
||||
function(a){var c=null;null!=a&&0<a.length&&("ER"==a.substring(0,2)?c="mxgraph.er":"sysML"==a.substring(0,5)&&(c="mxgraph.sysml"));return c};var t=mxMarker.createMarker;mxMarker.createMarker=function(a,c,b,e,d,k,g,f,n,x){if(null!=b&&null==mxMarker.markers[b]){var p=this.getPackageForType(b);null!=p&&mxStencilRegistry.getStencil(p)}return t.apply(this,arguments)};PrintDialog.prototype.create=function(a,c){function b(){A.value=Math.max(1,Math.min(f,Math.max(parseInt(A.value),parseInt(p.value))));p.value=
|
||||
Math.max(1,Math.min(f,Math.min(parseInt(A.value),parseInt(p.value))))}function e(c){function b(c,b,k){var g=c.useCssTransforms,f=c.currentTranslate,n=c.currentScale,x=c.view.translate,t=c.view.scale;c.useCssTransforms&&(c.useCssTransforms=!1,c.currentTranslate=new mxPoint(0,0),c.currentScale=1,c.view.translate=new mxPoint(0,0),c.view.scale=1);var v=c.getGraphBounds(),p=0,l=0,A=ha.get(),y=1/c.pageScale,q=B.checked;if(q)var y=parseInt(N.value),E=parseInt(X.value),y=Math.min(A.height*E/(v.height/c.view.scale),
|
||||
A.width*y/(v.width/c.view.scale));else y=parseInt(m.value)/(100*c.pageScale),isNaN(y)&&(e=1/c.pageScale,m.value="100 %");A=mxRectangle.fromRectangle(A);A.width=Math.ceil(A.width*e);A.height=Math.ceil(A.height*e);y*=e;!q&&c.pageVisible?(v=c.getPageLayout(),p-=v.x*A.width,l-=v.y*A.height):q=!0;if(null==b){b=PrintDialog.createPrintPreview(c,y,A,0,p,l,q);b.pageSelector=!1;b.mathEnabled=!1;p=a.getCurrentFile();null!=p&&(b.title=p.getTitle());var D=b.writeHead;b.writeHead=function(b){D.apply(this,arguments);
|
||||
null!=a.editor.fontCss&&(b.writeln('<style type="text/css">'),b.writeln(a.editor.fontCss),b.writeln("</style>"));if(null!=c.extFonts)for(var e=0;e<c.extFonts.length;e++){var d=c.extFonts[e].name,k=c.extFonts[e].url;0==k.indexOf(Editor.GOOGLE_FONTS)?b.writeln('<link rel="stylesheet" href="'+k+'" charset="UTF-8" type="text/css">'):(b.writeln('<style type="text/css">'),b.writeln('@font-face {\n\tfont-family: "'+d+'";\n\tsrc: url("'+k+'");\n}'),b.writeln("</style>"))}};if("undefined"!==typeof MathJax){var G=
|
||||
b.renderPage;b.renderPage=function(c,b,e,d,k,g){var f=mxClient.NO_FO;mxClient.NO_FO=this.graph.mathEnabled&&!a.editor.useForeignObjectForMath?!0:a.editor.originalNoForeignObject;var n=G.apply(this,arguments);mxClient.NO_FO=f;this.graph.mathEnabled?this.mathEnabled=this.mathEnabled||!0:n.className="geDisableMathJax";return n}}p=null;null!=d.themes&&"darkTheme"==d.defaultThemeName&&(p=d.stylesheet,d.stylesheet=d.getDefaultStylesheet(),d.refresh());b.open(null,null,k,!0);null!=p&&(d.stylesheet=p,d.refresh())}else{A=
|
||||
c.background;if(null==A||""==A||A==mxConstants.NONE)A="#ffffff";b.backgroundColor=A;b.autoOrigin=q;b.appendGraph(c,y,p,l,k,!0);if(null!=c.extFonts&&null!=b.wnd)for(k=0;k<c.extFonts.length;k++)p=c.extFonts[k].name,l=c.extFonts[k].url,0==l.indexOf(Editor.GOOGLE_FONTS)?b.wnd.document.writeln('<link rel="stylesheet" href="'+l+'" charset="UTF-8" type="text/css">'):(b.wnd.document.writeln('<style type="text/css">'),b.wnd.document.writeln('@font-face {\n\tfont-family: "'+p+'";\n\tsrc: url("'+l+'");\n}'),
|
||||
b.wnd.document.writeln("</style>"))}g&&(c.useCssTransforms=g,c.currentTranslate=f,c.currentScale=n,c.view.translate=x,c.view.scale=t);return b}var e=parseInt(la.value)/100;isNaN(e)&&(e=1,la.value="100 %");var e=.75*e,k=p.value,g=A.value,f=!t.checked,x=null;f&&(f=k==n&&g==n);if(!f&&null!=a.pages&&a.pages.length){var v=0,f=a.pages.length-1;t.checked||(v=parseInt(k)-1,f=parseInt(g)-1);for(var l=v;l<=f;l++){var y=a.pages[l],k=y==a.currentPage?d:null;if(null==k){var k=a.createTemporaryGraph(d.getStylesheet()),
|
||||
g=!0,v=!1,E=null,q=null;null==y.viewState&&null==y.root&&a.updatePageRoot(y);null!=y.viewState&&(g=y.viewState.pageVisible,v=y.viewState.mathEnabled,E=y.viewState.background,q=y.viewState.backgroundImage,k.extFonts=y.viewState.extFonts);k.background=E;k.backgroundImage=null!=q?new mxImage(q.src,q.width,q.height):null;k.pageVisible=g;k.mathEnabled=v;var D=k.getGlobalVariable;k.getGlobalVariable=function(c){return"page"==c?y.getName():"pagenumber"==c?l+1:"pagecount"==c?null!=a.pages?a.pages.length:
|
||||
1:D.apply(this,arguments)};document.body.appendChild(k.container);a.updatePageRoot(y);k.model.setRoot(y.root)}x=b(k,x,l!=f);k!=d&&k.container.parentNode.removeChild(k.container)}}else x=b(d);null==x?a.handleError({message:mxResources.get("errorUpdatingPreview")}):(x.mathEnabled&&(f=x.wnd.document,f.writeln('<script type="text/x-mathjax-config">'),f.writeln("MathJax.Hub.Config({"),f.writeln("showMathMenu: false,"),f.writeln('messageStyle: "none",'),f.writeln('jax: ["input/TeX", "input/MathML", "input/AsciiMath", "output/HTML-CSS"],'),
|
||||
f.writeln('extensions: ["tex2jax.js", "mml2jax.js", "asciimath2jax.js"],'),f.writeln('"HTML-CSS": {'),f.writeln("imageFont: null"),f.writeln("},"),f.writeln("TeX: {"),f.writeln('extensions: ["AMSmath.js", "AMSsymbols.js", "noErrors.js", "noUndefined.js"]'),f.writeln("},"),f.writeln("tex2jax: {"),f.writeln('\tignoreClass: "geDisableMathJax"'),f.writeln("},"),f.writeln("asciimath2jax: {"),f.writeln('\tignoreClass: "geDisableMathJax"'),f.writeln("}"),f.writeln("});"),c&&(f.writeln("MathJax.Hub.Queue(function () {"),
|
||||
f.writeln("window.print();"),f.writeln("});")),f.writeln("\x3c/script>"),f.writeln('<script type="text/javascript" src="'+DRAW_MATH_URL+'/MathJax.js">\x3c/script>')),x.closeDocument(),!x.mathEnabled&&c&&PrintDialog.printPreview(x))}var d=a.editor.graph,k=document.createElement("div"),g=document.createElement("h3");g.style.width="100%";g.style.textAlign="center";g.style.marginTop="0px";mxUtils.write(g,c||mxResources.get("print"));k.appendChild(g);var f=1,n=1,x=document.createElement("div");x.style.cssText=
|
||||
"border-bottom:1px solid lightGray;padding-bottom:12px;margin-bottom:12px;";var t=document.createElement("input");t.style.cssText="margin-right:8px;margin-bottom:8px;";t.setAttribute("value","all");t.setAttribute("type","radio");t.setAttribute("name","pages-printdialog");x.appendChild(t);g=document.createElement("span");mxUtils.write(g,mxResources.get("printAllPages"));x.appendChild(g);mxUtils.br(x);var v=t.cloneNode(!0);t.setAttribute("checked","checked");v.setAttribute("value","range");x.appendChild(v);
|
||||
g=document.createElement("span");mxUtils.write(g,mxResources.get("pages")+":");x.appendChild(g);var p=document.createElement("input");p.style.cssText="margin:0 8px 0 8px;";p.setAttribute("value","1");p.setAttribute("type","number");p.setAttribute("min","1");p.style.width="50px";x.appendChild(p);g=document.createElement("span");mxUtils.write(g,mxResources.get("to"));x.appendChild(g);var A=p.cloneNode(!0);x.appendChild(A);mxEvent.addListener(p,"focus",function(){v.checked=!0});mxEvent.addListener(A,
|
||||
"focus",function(){v.checked=!0});mxEvent.addListener(p,"change",b);mxEvent.addListener(A,"change",b);if(null!=a.pages&&(f=a.pages.length,null!=a.currentPage))for(g=0;g<a.pages.length;g++)if(a.currentPage==a.pages[g]){n=g+1;p.value=n;A.value=n;break}p.setAttribute("max",f);A.setAttribute("max",f);1<f&&k.appendChild(x);var l=document.createElement("div");l.style.marginBottom="10px";var y=document.createElement("input");y.style.marginRight="8px";y.setAttribute("value","adjust");y.setAttribute("type",
|
||||
"radio");y.setAttribute("name","printZoom");l.appendChild(y);g=document.createElement("span");mxUtils.write(g,mxResources.get("adjustTo"));l.appendChild(g);var m=document.createElement("input");m.style.cssText="margin:0 8px 0 8px;";m.setAttribute("value","100 %");m.style.width="50px";l.appendChild(m);mxEvent.addListener(m,"focus",function(){y.checked=!0});k.appendChild(l);var x=x.cloneNode(!1),B=y.cloneNode(!0);B.setAttribute("value","fit");y.setAttribute("checked","checked");g=document.createElement("div");
|
||||
g.style.cssText="display:inline-block;height:100%;vertical-align:top;padding-top:2px;";g.appendChild(B);x.appendChild(g);l=document.createElement("table");l.style.display="inline-block";var E=document.createElement("tbody"),q=document.createElement("tr"),D=q.cloneNode(!0),u=document.createElement("td"),z=u.cloneNode(!0),C=u.cloneNode(!0),M=u.cloneNode(!0),J=u.cloneNode(!0),ja=u.cloneNode(!0);u.style.textAlign="right";M.style.textAlign="right";mxUtils.write(u,mxResources.get("fitTo"));var N=document.createElement("input");
|
||||
N.style.cssText="margin:0 8px 0 8px;";N.setAttribute("value","1");N.setAttribute("min","1");N.setAttribute("type","number");N.style.width="40px";z.appendChild(N);g=document.createElement("span");mxUtils.write(g,mxResources.get("fitToSheetsAcross"));C.appendChild(g);mxUtils.write(M,mxResources.get("fitToBy"));var X=N.cloneNode(!0);J.appendChild(X);mxEvent.addListener(N,"focus",function(){B.checked=!0});mxEvent.addListener(X,"focus",function(){B.checked=!0});g=document.createElement("span");mxUtils.write(g,
|
||||
mxResources.get("fitToSheetsDown"));ja.appendChild(g);q.appendChild(u);q.appendChild(z);q.appendChild(C);D.appendChild(M);D.appendChild(J);D.appendChild(ja);E.appendChild(q);E.appendChild(D);l.appendChild(E);x.appendChild(l);k.appendChild(x);x=document.createElement("div");g=document.createElement("div");g.style.fontWeight="bold";g.style.marginBottom="12px";mxUtils.write(g,mxResources.get("paperSize"));x.appendChild(g);g=document.createElement("div");g.style.marginBottom="12px";var ha=PageSetupDialog.addPageFormatPanel(g,
|
||||
"printdialog",a.editor.graph.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT);x.appendChild(g);g=document.createElement("span");mxUtils.write(g,mxResources.get("pageScale"));x.appendChild(g);var la=document.createElement("input");la.style.cssText="margin:0 8px 0 8px;";la.setAttribute("value","100 %");la.style.width="60px";x.appendChild(la);k.appendChild(x);g=document.createElement("div");g.style.cssText="text-align:right;margin:48px 0 0 0;";x=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});
|
||||
x.className="geBtn";a.editor.cancelFirst&&g.appendChild(x);a.isOffline()||(l=mxUtils.button(mxResources.get("help"),function(){d.openLink("https://desk.draw.io/support/solutions/articles/16000048947")}),l.className="geBtn",g.appendChild(l));PrintDialog.previewEnabled&&(l=mxUtils.button(mxResources.get("preview"),function(){a.hideDialog();e(!1)}),l.className="geBtn",g.appendChild(l));l=mxUtils.button(mxResources.get(PrintDialog.previewEnabled?"print":"ok"),function(){a.hideDialog();e(!0)});l.className=
|
||||
"geBtn gePrimaryBtn";g.appendChild(l);a.editor.cancelFirst||g.appendChild(x);k.appendChild(g);this.container=k};var D=ChangePageSetup.prototype.execute;ChangePageSetup.prototype.execute=function(){null==this.page&&(this.page=this.ui.currentPage);this.page!=this.ui.currentPage?null!=this.page.viewState&&(this.ignoreColor||(this.page.viewState.background=this.color),this.ignoreImage||(this.page.viewState.backgroundImage=this.image),null!=this.format&&(this.page.viewState.pageFormat=this.format),null!=
|
||||
this.mathEnabled&&(this.page.viewState.mathEnabled=this.mathEnabled),null!=this.shadowVisible&&(this.page.viewState.shadowVisible=this.shadowVisible)):(D.apply(this,arguments),null!=this.mathEnabled&&this.mathEnabled!=this.ui.isMathEnabled()&&(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),this.shadowVisible=!this.shadowVisible))};
|
||||
Editor.prototype.useCanvasForExport=!1;try{var y=document.createElement("canvas"),E=new Image;E.onload=function(){try{y.getContext("2d").drawImage(E,0,0);var a=y.toDataURL("image/png");Editor.prototype.useCanvasForExport=null!=a&&6<a.length}catch(B){}};E.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1px" height="1px" version="1.1"><foreignObject pointer-events="all" width="1" height="1"><div xmlns="http://www.w3.org/1999/xhtml"></div></foreignObject></svg>')))}catch(p){}})();
|
||||
STENCIL_PATH+"/aws4.xml"];mxStencilRegistry.libraries.veeam=[STENCIL_PATH+"/veeam/2d.xml",STENCIL_PATH+"/veeam/3d.xml",STENCIL_PATH+"/veeam/veeam.xml"];mxStencilRegistry.libraries.veeam2=[STENCIL_PATH+"/veeam/2d.xml",STENCIL_PATH+"/veeam/3d.xml",STENCIL_PATH+"/veeam/veeam2.xml"];mxStencilRegistry.libraries.pid2inst=[SHAPES_PATH+"/pid2/mxPidInstruments.js"];mxStencilRegistry.libraries.pid2misc=[SHAPES_PATH+"/pid2/mxPidMisc.js",STENCIL_PATH+"/pid/misc.xml"];mxStencilRegistry.libraries.pid2valves=[SHAPES_PATH+
|
||||
"/pid2/mxPidValves.js"];mxStencilRegistry.libraries.pidFlowSensors=[STENCIL_PATH+"/pid/flow_sensors.xml"];mxMarker.getPackageForType=function(a){var c=null;null!=a&&0<a.length&&("ER"==a.substring(0,2)?c="mxgraph.er":"sysML"==a.substring(0,5)&&(c="mxgraph.sysml"));return c};var t=mxMarker.createMarker;mxMarker.createMarker=function(a,c,b,e,d,k,g,f,n,x){if(null!=b&&null==mxMarker.markers[b]){var p=this.getPackageForType(b);null!=p&&mxStencilRegistry.getStencil(p)}return t.apply(this,arguments)};PrintDialog.prototype.create=
|
||||
function(a,c){function b(){A.value=Math.max(1,Math.min(f,Math.max(parseInt(A.value),parseInt(p.value))));p.value=Math.max(1,Math.min(f,Math.min(parseInt(A.value),parseInt(p.value))))}function e(c){function b(c,b,k){var g=c.useCssTransforms,f=c.currentTranslate,n=c.currentScale,x=c.view.translate,t=c.view.scale;c.useCssTransforms&&(c.useCssTransforms=!1,c.currentTranslate=new mxPoint(0,0),c.currentScale=1,c.view.translate=new mxPoint(0,0),c.view.scale=1);var v=c.getGraphBounds(),p=0,l=0,A=ha.get(),
|
||||
y=1/c.pageScale,q=B.checked;if(q)var y=parseInt(N.value),E=parseInt(X.value),y=Math.min(A.height*E/(v.height/c.view.scale),A.width*y/(v.width/c.view.scale));else y=parseInt(m.value)/(100*c.pageScale),isNaN(y)&&(e=1/c.pageScale,m.value="100 %");A=mxRectangle.fromRectangle(A);A.width=Math.ceil(A.width*e);A.height=Math.ceil(A.height*e);y*=e;!q&&c.pageVisible?(v=c.getPageLayout(),p-=v.x*A.width,l-=v.y*A.height):q=!0;if(null==b){b=PrintDialog.createPrintPreview(c,y,A,0,p,l,q);b.pageSelector=!1;b.mathEnabled=
|
||||
!1;p=a.getCurrentFile();null!=p&&(b.title=p.getTitle());var D=b.writeHead;b.writeHead=function(b){D.apply(this,arguments);null!=a.editor.fontCss&&(b.writeln('<style type="text/css">'),b.writeln(a.editor.fontCss),b.writeln("</style>"));if(null!=c.extFonts)for(var e=0;e<c.extFonts.length;e++){var d=c.extFonts[e].name,k=c.extFonts[e].url;0==k.indexOf(Editor.GOOGLE_FONTS)?b.writeln('<link rel="stylesheet" href="'+k+'" charset="UTF-8" type="text/css">'):(b.writeln('<style type="text/css">'),b.writeln('@font-face {\n\tfont-family: "'+
|
||||
d+'";\n\tsrc: url("'+k+'");\n}'),b.writeln("</style>"))}};if("undefined"!==typeof MathJax){var G=b.renderPage;b.renderPage=function(c,b,e,d,k,g){var f=mxClient.NO_FO;mxClient.NO_FO=this.graph.mathEnabled&&!a.editor.useForeignObjectForMath?!0:a.editor.originalNoForeignObject;var n=G.apply(this,arguments);mxClient.NO_FO=f;this.graph.mathEnabled?this.mathEnabled=this.mathEnabled||!0:n.className="geDisableMathJax";return n}}p=null;null!=d.themes&&"darkTheme"==d.defaultThemeName&&(p=d.stylesheet,d.stylesheet=
|
||||
d.getDefaultStylesheet(),d.refresh());b.open(null,null,k,!0);null!=p&&(d.stylesheet=p,d.refresh())}else{A=c.background;if(null==A||""==A||A==mxConstants.NONE)A="#ffffff";b.backgroundColor=A;b.autoOrigin=q;b.appendGraph(c,y,p,l,k,!0);if(null!=c.extFonts&&null!=b.wnd)for(k=0;k<c.extFonts.length;k++)p=c.extFonts[k].name,l=c.extFonts[k].url,0==l.indexOf(Editor.GOOGLE_FONTS)?b.wnd.document.writeln('<link rel="stylesheet" href="'+l+'" charset="UTF-8" type="text/css">'):(b.wnd.document.writeln('<style type="text/css">'),
|
||||
b.wnd.document.writeln('@font-face {\n\tfont-family: "'+p+'";\n\tsrc: url("'+l+'");\n}'),b.wnd.document.writeln("</style>"))}g&&(c.useCssTransforms=g,c.currentTranslate=f,c.currentScale=n,c.view.translate=x,c.view.scale=t);return b}var e=parseInt(la.value)/100;isNaN(e)&&(e=1,la.value="100 %");var e=.75*e,k=p.value,g=A.value,f=!t.checked,x=null;f&&(f=k==n&&g==n);if(!f&&null!=a.pages&&a.pages.length){var v=0,f=a.pages.length-1;t.checked||(v=parseInt(k)-1,f=parseInt(g)-1);for(var l=v;l<=f;l++){var y=
|
||||
a.pages[l],k=y==a.currentPage?d:null;if(null==k){var k=a.createTemporaryGraph(d.getStylesheet()),g=!0,v=!1,E=null,q=null;null==y.viewState&&null==y.root&&a.updatePageRoot(y);null!=y.viewState&&(g=y.viewState.pageVisible,v=y.viewState.mathEnabled,E=y.viewState.background,q=y.viewState.backgroundImage,k.extFonts=y.viewState.extFonts);k.background=E;k.backgroundImage=null!=q?new mxImage(q.src,q.width,q.height):null;k.pageVisible=g;k.mathEnabled=v;var D=k.getGlobalVariable;k.getGlobalVariable=function(c){return"page"==
|
||||
c?y.getName():"pagenumber"==c?l+1:"pagecount"==c?null!=a.pages?a.pages.length:1:D.apply(this,arguments)};document.body.appendChild(k.container);a.updatePageRoot(y);k.model.setRoot(y.root)}x=b(k,x,l!=f);k!=d&&k.container.parentNode.removeChild(k.container)}}else x=b(d);null==x?a.handleError({message:mxResources.get("errorUpdatingPreview")}):(x.mathEnabled&&(f=x.wnd.document,f.writeln('<script type="text/x-mathjax-config">'),f.writeln("MathJax.Hub.Config({"),f.writeln("showMathMenu: false,"),f.writeln('messageStyle: "none",'),
|
||||
f.writeln('jax: ["input/TeX", "input/MathML", "input/AsciiMath", "output/HTML-CSS"],'),f.writeln('extensions: ["tex2jax.js", "mml2jax.js", "asciimath2jax.js"],'),f.writeln('"HTML-CSS": {'),f.writeln("imageFont: null"),f.writeln("},"),f.writeln("TeX: {"),f.writeln('extensions: ["AMSmath.js", "AMSsymbols.js", "noErrors.js", "noUndefined.js"]'),f.writeln("},"),f.writeln("tex2jax: {"),f.writeln('\tignoreClass: "geDisableMathJax"'),f.writeln("},"),f.writeln("asciimath2jax: {"),f.writeln('\tignoreClass: "geDisableMathJax"'),
|
||||
f.writeln("}"),f.writeln("});"),c&&(f.writeln("MathJax.Hub.Queue(function () {"),f.writeln("window.print();"),f.writeln("});")),f.writeln("\x3c/script>"),f.writeln('<script type="text/javascript" src="'+DRAW_MATH_URL+'/MathJax.js">\x3c/script>')),x.closeDocument(),!x.mathEnabled&&c&&PrintDialog.printPreview(x))}var d=a.editor.graph,k=document.createElement("div"),g=document.createElement("h3");g.style.width="100%";g.style.textAlign="center";g.style.marginTop="0px";mxUtils.write(g,c||mxResources.get("print"));
|
||||
k.appendChild(g);var f=1,n=1,x=document.createElement("div");x.style.cssText="border-bottom:1px solid lightGray;padding-bottom:12px;margin-bottom:12px;";var t=document.createElement("input");t.style.cssText="margin-right:8px;margin-bottom:8px;";t.setAttribute("value","all");t.setAttribute("type","radio");t.setAttribute("name","pages-printdialog");x.appendChild(t);g=document.createElement("span");mxUtils.write(g,mxResources.get("printAllPages"));x.appendChild(g);mxUtils.br(x);var v=t.cloneNode(!0);
|
||||
t.setAttribute("checked","checked");v.setAttribute("value","range");x.appendChild(v);g=document.createElement("span");mxUtils.write(g,mxResources.get("pages")+":");x.appendChild(g);var p=document.createElement("input");p.style.cssText="margin:0 8px 0 8px;";p.setAttribute("value","1");p.setAttribute("type","number");p.setAttribute("min","1");p.style.width="50px";x.appendChild(p);g=document.createElement("span");mxUtils.write(g,mxResources.get("to"));x.appendChild(g);var A=p.cloneNode(!0);x.appendChild(A);
|
||||
mxEvent.addListener(p,"focus",function(){v.checked=!0});mxEvent.addListener(A,"focus",function(){v.checked=!0});mxEvent.addListener(p,"change",b);mxEvent.addListener(A,"change",b);if(null!=a.pages&&(f=a.pages.length,null!=a.currentPage))for(g=0;g<a.pages.length;g++)if(a.currentPage==a.pages[g]){n=g+1;p.value=n;A.value=n;break}p.setAttribute("max",f);A.setAttribute("max",f);1<f&&k.appendChild(x);var l=document.createElement("div");l.style.marginBottom="10px";var y=document.createElement("input");y.style.marginRight=
|
||||
"8px";y.setAttribute("value","adjust");y.setAttribute("type","radio");y.setAttribute("name","printZoom");l.appendChild(y);g=document.createElement("span");mxUtils.write(g,mxResources.get("adjustTo"));l.appendChild(g);var m=document.createElement("input");m.style.cssText="margin:0 8px 0 8px;";m.setAttribute("value","100 %");m.style.width="50px";l.appendChild(m);mxEvent.addListener(m,"focus",function(){y.checked=!0});k.appendChild(l);var x=x.cloneNode(!1),B=y.cloneNode(!0);B.setAttribute("value","fit");
|
||||
y.setAttribute("checked","checked");g=document.createElement("div");g.style.cssText="display:inline-block;height:100%;vertical-align:top;padding-top:2px;";g.appendChild(B);x.appendChild(g);l=document.createElement("table");l.style.display="inline-block";var E=document.createElement("tbody"),q=document.createElement("tr"),D=q.cloneNode(!0),u=document.createElement("td"),z=u.cloneNode(!0),C=u.cloneNode(!0),M=u.cloneNode(!0),J=u.cloneNode(!0),ja=u.cloneNode(!0);u.style.textAlign="right";M.style.textAlign=
|
||||
"right";mxUtils.write(u,mxResources.get("fitTo"));var N=document.createElement("input");N.style.cssText="margin:0 8px 0 8px;";N.setAttribute("value","1");N.setAttribute("min","1");N.setAttribute("type","number");N.style.width="40px";z.appendChild(N);g=document.createElement("span");mxUtils.write(g,mxResources.get("fitToSheetsAcross"));C.appendChild(g);mxUtils.write(M,mxResources.get("fitToBy"));var X=N.cloneNode(!0);J.appendChild(X);mxEvent.addListener(N,"focus",function(){B.checked=!0});mxEvent.addListener(X,
|
||||
"focus",function(){B.checked=!0});g=document.createElement("span");mxUtils.write(g,mxResources.get("fitToSheetsDown"));ja.appendChild(g);q.appendChild(u);q.appendChild(z);q.appendChild(C);D.appendChild(M);D.appendChild(J);D.appendChild(ja);E.appendChild(q);E.appendChild(D);l.appendChild(E);x.appendChild(l);k.appendChild(x);x=document.createElement("div");g=document.createElement("div");g.style.fontWeight="bold";g.style.marginBottom="12px";mxUtils.write(g,mxResources.get("paperSize"));x.appendChild(g);
|
||||
g=document.createElement("div");g.style.marginBottom="12px";var ha=PageSetupDialog.addPageFormatPanel(g,"printdialog",a.editor.graph.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT);x.appendChild(g);g=document.createElement("span");mxUtils.write(g,mxResources.get("pageScale"));x.appendChild(g);var la=document.createElement("input");la.style.cssText="margin:0 8px 0 8px;";la.setAttribute("value","100 %");la.style.width="60px";x.appendChild(la);k.appendChild(x);g=document.createElement("div");g.style.cssText=
|
||||
"text-align:right;margin:48px 0 0 0;";x=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});x.className="geBtn";a.editor.cancelFirst&&g.appendChild(x);a.isOffline()||(l=mxUtils.button(mxResources.get("help"),function(){d.openLink("https://desk.draw.io/support/solutions/articles/16000048947")}),l.className="geBtn",g.appendChild(l));PrintDialog.previewEnabled&&(l=mxUtils.button(mxResources.get("preview"),function(){a.hideDialog();e(!1)}),l.className="geBtn",g.appendChild(l));l=mxUtils.button(mxResources.get(PrintDialog.previewEnabled?
|
||||
"print":"ok"),function(){a.hideDialog();e(!0)});l.className="geBtn gePrimaryBtn";g.appendChild(l);a.editor.cancelFirst||g.appendChild(x);k.appendChild(g);this.container=k};var D=ChangePageSetup.prototype.execute;ChangePageSetup.prototype.execute=function(){null==this.page&&(this.page=this.ui.currentPage);this.page!=this.ui.currentPage?null!=this.page.viewState&&(this.ignoreColor||(this.page.viewState.background=this.color),this.ignoreImage||(this.page.viewState.backgroundImage=this.image),null!=this.format&&
|
||||
(this.page.viewState.pageFormat=this.format),null!=this.mathEnabled&&(this.page.viewState.mathEnabled=this.mathEnabled),null!=this.shadowVisible&&(this.page.viewState.shadowVisible=this.shadowVisible)):(D.apply(this,arguments),null!=this.mathEnabled&&this.mathEnabled!=this.ui.isMathEnabled()&&(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),
|
||||
this.shadowVisible=!this.shadowVisible))};Editor.prototype.useCanvasForExport=!1;try{var y=document.createElement("canvas"),E=new Image;E.onload=function(){try{y.getContext("2d").drawImage(E,0,0);var a=y.toDataURL("image/png");Editor.prototype.useCanvasForExport=null!=a&&6<a.length}catch(B){}};E.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1px" height="1px" version="1.1"><foreignObject pointer-events="all" width="1" height="1"><div xmlns="http://www.w3.org/1999/xhtml"></div></foreignObject></svg>')))}catch(p){}})();
|
||||
(function(){var a=new mxObjectCodec(new ChangePageSetup,["ui","previousColor","previousImage","previousFormat"]);a.beforeDecode=function(a,f,d){d.ui=a.ui;return f};a.afterDecode=function(a,f,d){d.previousColor=d.color;d.previousImage=d.image;d.previousFormat=d.format;null!=d.foldingEnabled&&(d.foldingEnabled=!d.foldingEnabled);null!=d.mathEnabled&&(d.mathEnabled=!d.mathEnabled);null!=d.shadowVisible&&(d.shadowVisible=!d.shadowVisible);return d};mxCodecRegistry.register(a)})();(function(){EditorUi.VERSION="@DRAWIO-VERSION@";EditorUi.compactUi="atlas"!=uiTheme;mxGraphView.prototype.defaultDarkGridColor="#6e6e6e";"dark"==uiTheme&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&/.*\.draw\.io$/.test(window.location.hostname)&&"support.draw.io"!=window.location.hostname;EditorUi.drawHost="https://www.draw.io";EditorUi.lastErrorMessage=null;EditorUi.ignoredAnonymizedChars="\n\t`~!@#$%^&*()_+{}|:\"<>?-=[];'./,\n\t";
|
||||
EditorUi.templateFile=TEMPLATE_PATH+"/index.xml";EditorUi.cacheUrl="1"==urlParams.dev?"/cache":window.REALTIME_URL;null==EditorUi.cacheUrl&&"undefined"!==typeof DrawioFile&&(DrawioFile.SYNC="none");Editor.cacheTimeout=1E4;EditorUi.enablePlantUml=EditorUi.enableLogging;EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&null!=window.process.versions.electron;EditorUi.scratchpadHelpLink="https://desk.draw.io/support/solutions/articles/16000042367";EditorUi.logError=
|
||||
function(a,b,d,f,n){if("1"==urlParams.dev)EditorUi.debug("logError",a,b,d,f,n);else if(EditorUi.enableLogging)try{if(a!=EditorUi.lastErrorMessage&&(null==a||null==b||-1==a.indexOf("Script error")&&-1==a.indexOf("extension"))&&null!=a&&0>a.indexOf("DocumentClosedError")){EditorUi.lastErrorMessage=a;var c=0<=a.indexOf("NetworkError")||0<=a.indexOf("SecurityError")||0<=a.indexOf("NS_ERROR_FAILURE")||0<=a.indexOf("out of memory")?"CONFIG":"SEVERE",e=null!=window.DRAWIO_LOG_URL?window.DRAWIO_LOG_URL:"";
|
||||
|
|
|
@ -12,7 +12,7 @@ addImageUrl=添加图片地址
|
|||
addLayer=添加图层
|
||||
addProperty=添加属性
|
||||
address=地址
|
||||
addToExistingDrawing=添加至当前的图表
|
||||
addToExistingDrawing=添加至当前绘图
|
||||
addWaypoint=添加航点
|
||||
adjustTo=调至
|
||||
advanced=高级
|
||||
|
@ -26,12 +26,12 @@ allTags=所有标签
|
|||
anchor=锚
|
||||
android=Android
|
||||
angle=角度
|
||||
arc=弧形
|
||||
arc=圆弧
|
||||
areYouSure=是否确定?
|
||||
ensureDataSaved=关闭前请确保您的数据已保存。
|
||||
allChangesSaved=所有更改均已保存
|
||||
allChangesSavedInDrive=所有更改均保存至 Google Drive 中
|
||||
allowPopups=允许弹出式窗口用以阻止此对话框
|
||||
allowPopups=允许弹出式窗口以阻止此对话框
|
||||
allowRelativeUrl=允许相对地址
|
||||
alreadyConnected=节点已连接
|
||||
apply=应用
|
||||
|
@ -39,7 +39,7 @@ archiMate21=ArchiMate 2.1
|
|||
arrange=调整图形
|
||||
arrow=箭头
|
||||
arrows=箭头
|
||||
asNew=作为新图表
|
||||
asNew=作为新绘图
|
||||
atlas=Atlas
|
||||
author=作者
|
||||
authorizationRequired=需要授权
|
||||
|
@ -59,7 +59,7 @@ backgroundColor=背景色
|
|||
backgroundImage=背景图片
|
||||
basic=基本
|
||||
blankDrawing=空白绘图
|
||||
blankDiagram=空白图表
|
||||
blankDiagram=空白框图
|
||||
block=区块
|
||||
blockquote=区块引言
|
||||
blog=博客
|
||||
|
@ -138,11 +138,11 @@ copy=复制
|
|||
copyConnect=连接时复制
|
||||
copyCreated=已经创建文件的副本。
|
||||
copyOf={1} 的副本
|
||||
copyOfDrawing=图表副本
|
||||
copyOfDrawing=绘图副本
|
||||
copySize=复制大小
|
||||
copyStyle=复制样式
|
||||
create=创建
|
||||
createNewDiagram=创建新图表
|
||||
createNewDiagram=创建新绘图
|
||||
createRevision=创建修订版本
|
||||
createShape=创建图形
|
||||
crop=导出单页
|
||||
|
@ -163,13 +163,13 @@ deleteLibraryConfirm=您即将永久删除此图库。您确定要这样操作
|
|||
deleteRow=删除行
|
||||
description=描述
|
||||
device=设备
|
||||
diagram=图表
|
||||
diagramContent=图表内容
|
||||
diagramLocked=图表已经锁定以避免进一步的数据丢失。
|
||||
diagramLockedBySince=图表已经在 {2} 之前被 {1} 锁定
|
||||
diagramName=图表名称
|
||||
diagramIsPublic=图表为公开状态
|
||||
diagramIsNotPublic=图表为未公开状态
|
||||
diagram=绘图
|
||||
diagramContent=绘图内容
|
||||
diagramLocked=绘图已经锁定以避免进一步的数据丢失。
|
||||
diagramLockedBySince=绘图已经在 {2} 之前被 {1} 锁定
|
||||
diagramName=绘图名称
|
||||
diagramIsPublic=绘图为公开状态
|
||||
diagramIsNotPublic=绘图为未公开状态
|
||||
diamond=方块
|
||||
diamondThin=方块(细)
|
||||
didYouKnow=您知道吗......
|
||||
|
@ -209,7 +209,7 @@ dy=Dy
|
|||
east=向右
|
||||
edit=编辑
|
||||
editData=编辑数据
|
||||
editDiagram=编辑图表
|
||||
editDiagram=编辑绘图
|
||||
editGeometry=编辑几何图形
|
||||
editImage=编辑图片
|
||||
editImageUrl=编辑图片 URL 地址
|
||||
|
@ -244,9 +244,9 @@ errorSavingDraft=保存草稿出错
|
|||
errorSavingFile=保存文件出错
|
||||
errorSavingFileUnknown=Google 服务器授权出错。请刷新页面,然后重试。
|
||||
errorSavingFileForbidden=保存文件时出错。没有足够的访问权限。
|
||||
errorSavingFileNameConflict=无法保存此图表。当前页面已经包含名为 '{1}' 的文件。
|
||||
errorSavingFileNameConflict=无法保存此绘图。当前页面已经包含名为 '{1}' 的文件。
|
||||
errorSavingFileNotFound=保存文件时出错,文件未找到。
|
||||
errorSavingFileReadOnlyMode=只读模式开启时无法保存图表。
|
||||
errorSavingFileReadOnlyMode=只读模式开启时无法保存绘图。
|
||||
errorSavingFileSessionTimeout=您的会话已经结束。请 <a target='_blank'href='{1}'>{2}</a>,然后返回此标签以尝试再次保存。
|
||||
errorSendingFeedback=发送反馈出错。
|
||||
errorUpdatingPreview=更新预览出错。
|
||||
|
@ -335,7 +335,7 @@ fromText=从文本
|
|||
fromUrl=从 URL 地址
|
||||
fromThisPage=从当前页
|
||||
fullscreen=全屏
|
||||
gap=Gap
|
||||
gap=间隙
|
||||
gcp=GCP
|
||||
general=通用
|
||||
github=GitHub
|
||||
|
@ -383,7 +383,7 @@ imageTooBig=图片太大
|
|||
imgur=Imgur
|
||||
import=导入
|
||||
importFrom=从...导入
|
||||
includeCopyOfMyDiagram=包含图表副本
|
||||
includeCopyOfMyDiagram=包含绘图副本
|
||||
increaseIndent=增加缩进
|
||||
decreaseIndent=减少缩进
|
||||
insert=插入
|
||||
|
@ -401,7 +401,7 @@ insertRowAfter=下方插入行
|
|||
insertText=插入文本
|
||||
inserting=正在插入
|
||||
installDrawio=安装 draw.io
|
||||
invalidFilename=图表名称不能包含以下特殊字符: \ / | : ; { } < > & + ? = "
|
||||
invalidFilename=绘图名称不能包含以下特殊字符: \ / | : ; { } < > & + ? = "
|
||||
invalidLicenseSeeThisPage=您的许可无效,请参阅此<a target="_blank" href="https://support.draw.io/display/DFCS/Licensing+your+draw.io+plugin">页面</a>。
|
||||
invalidInput=无效输入
|
||||
invalidName=无效名称
|
||||
|
@ -421,8 +421,8 @@ lessThanAMinute=一分钟以内
|
|||
licensingError=授权出错
|
||||
licenseHasExpired={1} 的许可证已于 {2} 过期。请点击此处。
|
||||
licenseWillExpire={1} 的许可证将于 {2} 过期。请点击此处。
|
||||
lineJumps=Line jumps
|
||||
linkAccountRequired=如果图表未公开,则需要提供谷歌账户才能查看该链接。
|
||||
lineJumps=跨线
|
||||
linkAccountRequired=如果绘图未公开,则需要提供谷歌账户才能查看该链接。
|
||||
linkText=链接文本
|
||||
list=列表
|
||||
minute=分钟
|
||||
|
@ -462,7 +462,7 @@ microsoftExcel=Microsoft Excel
|
|||
microsoftPowerPoint=Microsoft PowerPoint
|
||||
microsoftWord=Microsoft Word
|
||||
middle=垂直居中
|
||||
minimal=最小化
|
||||
minimal=Minimal
|
||||
misc=杂项
|
||||
mockups=实体模型
|
||||
modificationDate=修改日期
|
||||
|
@ -500,7 +500,7 @@ noSearchResults=查询无结果
|
|||
noPageContentOrNotSaved=此页面上找不到锚点,或尚未保存
|
||||
normal=正常
|
||||
north=向上
|
||||
notADiagramFile=非图表文件
|
||||
notADiagramFile=非绘图文件
|
||||
notALibraryFile=非图库文件
|
||||
notAvailable=不可用
|
||||
notAUtf8File=非 UTF-8 格式文件
|
||||
|
@ -515,7 +515,7 @@ online=线上
|
|||
opacity=不透明度
|
||||
open=打开
|
||||
openArrow=开放的箭头
|
||||
openExistingDiagram=打开现有图表
|
||||
openExistingDiagram=打开现有绘图
|
||||
openFile=打开文件
|
||||
openFrom=从...打开
|
||||
openLibrary=打开图库
|
||||
|
@ -528,7 +528,7 @@ openRecent=打开最近使用的文件
|
|||
openSupported=此软件支持的格式为从本软件(.xml), .vsdx 及 .gliffy存储的文件
|
||||
options=选项
|
||||
organic=力导向布局图
|
||||
orgChart=Org Chart
|
||||
orgChart=组织结构图
|
||||
orthogonal=正交
|
||||
otherViewer=其他查阅者
|
||||
otherViewers=其他查阅者
|
||||
|
@ -555,7 +555,7 @@ permissionAnyone=任何人均可编辑
|
|||
permissionAuthor=只有本人可编辑
|
||||
pickFolder=选择文件夹
|
||||
pickLibraryDialogTitle=选择图库
|
||||
publicDiagramUrl=图表的公共 URL 地址
|
||||
publicDiagramUrl=绘图的公共 URL 地址
|
||||
placeholders=占位符
|
||||
plantUml=PlantUML
|
||||
plugins=插件
|
||||
|
@ -602,7 +602,7 @@ renameIt=重命名 {1}
|
|||
renaming=正在重命名
|
||||
replace=替换
|
||||
replaceIt={1} 已经存在了。确定要替换它吗?
|
||||
replaceExistingDrawing=替换当前图形
|
||||
replaceExistingDrawing=替换当前绘图
|
||||
required=必填
|
||||
reset=重置
|
||||
resetView=重置视图
|
||||
|
@ -631,8 +631,8 @@ saveAndExit=保存并退出
|
|||
saveAs=另存为
|
||||
saveAsXmlFile=另存为XML文件?
|
||||
saved=已保存
|
||||
saveDiagramFirst=请先保存图表
|
||||
saveDiagramsTo=保存图表到
|
||||
saveDiagramFirst=请先保存绘图
|
||||
saveDiagramsTo=保存绘图到
|
||||
saveLibrary403=没有足够的权限编辑此图库
|
||||
saveLibrary500=保存图库时出错
|
||||
saveLibraryReadOnly=只读模式开启时无法保存图库
|
||||
|
@ -662,10 +662,10 @@ shape=形状
|
|||
shapes=形状
|
||||
share=共享
|
||||
shareLink=共享编辑的链接
|
||||
sharp=尖角
|
||||
sharp=锐利
|
||||
show=显示
|
||||
showStartScreen=显示开始画面
|
||||
sidebarTooltip=单击以展开。将图形拖拽至图表中。Shift+单击以改变所选内容。Alt+单击以插入及连接。
|
||||
sidebarTooltip=单击以展开。将图形拖拽至绘图中。Shift+单击以改变所选内容。Alt+单击以插入及连接。
|
||||
signs=标识
|
||||
signOut=注销
|
||||
simple=简单
|
||||
|
@ -730,7 +730,7 @@ ungroup=取消组合
|
|||
unsavedChanges=未保存的更改
|
||||
unsavedChangesClickHereToSave=修改未保存。点击此处保存。
|
||||
untitled=未命名
|
||||
untitledDiagram=未命名图表
|
||||
untitledDiagram=未命名绘图
|
||||
untitledLayer=未命名图层
|
||||
untitledLibrary=未命名图库
|
||||
unknownError=未知错误
|
||||
|
@ -753,7 +753,7 @@ voiceAssistant=语音助手(测试版)
|
|||
warning=警告
|
||||
waypoints=航点
|
||||
west=向左
|
||||
width=宽度
|
||||
width=宽
|
||||
wiki=Wiki
|
||||
wordWrap=自动换行
|
||||
writingDirection=书写方向
|
||||
|
@ -762,7 +762,7 @@ yourEmailAddress=您的电子邮件地址
|
|||
zoom=缩放
|
||||
zoomIn=放大
|
||||
zoomOut=缩小
|
||||
basic=基本图形
|
||||
basic=基本
|
||||
businessprocess=业务流程图
|
||||
charts=图表
|
||||
engineering=工程图
|
||||
|
@ -782,8 +782,8 @@ property=属性
|
|||
value= 值
|
||||
showMore=显示更多
|
||||
showLess=显示更少
|
||||
myDiagrams=我的图表
|
||||
allDiagrams=全部图表
|
||||
myDiagrams=我的绘图
|
||||
allDiagrams=全部绘图
|
||||
recentlyUsed=最近使用
|
||||
listView=列表视图
|
||||
gridView=网格视图
|
||||
|
@ -794,7 +794,7 @@ officeNotLoggedOD=You are not logged in to OneDrive. Please open draw.io task pa
|
|||
officeSelectSingleDiag=Please select a single draw.io diagram only without other contents.
|
||||
officeSelectDiag=Please select a draw.io diagram.
|
||||
officeCannotFindDiagram=Cannot find a draw.io diagram in the selection
|
||||
noDiagrams=没有找到图表
|
||||
noDiagrams=没有找到绘图
|
||||
authFailed=Authentication failed
|
||||
officeFailedAuthMsg=Unable to successfully authenticate user or authorize application.
|
||||
convertingDiagramFailed=Converting diagram failed
|
||||
|
@ -810,24 +810,24 @@ errorAuthOD=Error authenticating to OneDrive
|
|||
officeMainHeader=Adds draw.io diagrams to your document.
|
||||
officeStepsHeader=This add-in performs the following steps:
|
||||
officeStep1=Connects to Microsoft OneDrive, Google Drive or your device.
|
||||
officeStep2=Select a draw.io diagram.
|
||||
officeStep2=选择 draw.io 绘图
|
||||
officeStep3=Insert the diagram into the document.
|
||||
officeAuthPopupInfo=Please complete the authentication in the pop-up window.
|
||||
officeSelDiag=Select draw.io Diagram:
|
||||
officeSelDiag=选择 draw.io 绘图
|
||||
files=Files
|
||||
shared=Shared
|
||||
sharepoint=Sharepoint
|
||||
officeManualUpdateInst=Instructions: Copy draw.io diagram from the document. Then, in the box below, right-click and select "Paste" from the context menu.
|
||||
officeClickToEdit=Click icon to start editing:
|
||||
pasteDiagram=Paste draw.io diagram here
|
||||
officeClickToEdit=点击图标开始编辑
|
||||
pasteDiagram=在这里粘贴 draw.io 绘图
|
||||
connectOD=Connect to OneDrive
|
||||
selectChildren=Select Children
|
||||
selectSiblings=Select Siblings
|
||||
selectParent=Select Parent
|
||||
selectDescendants=Select Descendants
|
||||
lastSaved=Last saved {1} ago
|
||||
resolve=Resolve
|
||||
reopen=Re-open
|
||||
selectChildren=选择子元素
|
||||
selectSiblings=选择同级元素
|
||||
selectParent=选择父元素
|
||||
selectDescendants=选择后续元素
|
||||
lastSaved= 上次保存 {1} 之前
|
||||
resolve=解决
|
||||
reopen=重新打开
|
||||
showResolved=Show Resolved
|
||||
reply=Reply
|
||||
objectNotFound=Object not found
|
||||
|
|
|
@ -6,7 +6,7 @@ if (workbox)
|
|||
workbox.precaching.precacheAndRoute([
|
||||
{
|
||||
"url": "js/app.min.js",
|
||||
"revision": "5103bd911be2b60033d1c05b5a023ad0"
|
||||
"revision": "a47c27e2820bc498831b2c5bedccc800"
|
||||
},
|
||||
{
|
||||
"url": "index.html",
|
||||
|
@ -22,7 +22,7 @@ if (workbox)
|
|||
},
|
||||
{
|
||||
"url": "js/stencils.min.js",
|
||||
"revision": "68dc6ad0515af0278434da80458059bf"
|
||||
"revision": "29c858398e8354cd77d0c81b3e8a43ca"
|
||||
},
|
||||
{
|
||||
"url": "js/extensions.min.js",
|
||||
|
|
21868
src/main/webapp/stencils/veeam/veeam2.xml
Normal file
21868
src/main/webapp/stencils/veeam/veeam2.xml
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue