7.4.7 release
This commit is contained in:
parent
8be82dcd8f
commit
85ee5e3e89
36 changed files with 4406 additions and 3817 deletions
14
ChangeLog
14
ChangeLog
|
@ -1,3 +1,17 @@
|
|||
26-SEP-2017: 7.4.7
|
||||
|
||||
- Adds components for Trello Power-Up
|
||||
|
||||
25-SEP-2017: 7.4.6
|
||||
|
||||
- Improves Gliffy import
|
||||
- Removes drag and drop handlers in lightbox
|
||||
- Fixes selection state in Chrome after closing dialogs
|
||||
|
||||
25-SEP-2017: 7.4.5
|
||||
|
||||
- Improves Gliffy import
|
||||
|
||||
22-SEP-2017: 7.4.4
|
||||
|
||||
- Restores latest Dropbox SDK
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
7.4.4
|
||||
7.4.7
|
|
@ -268,7 +268,7 @@ public class GliffyDiagramConverter
|
|||
}
|
||||
|
||||
//TODO this is temporary until self-loops routing is changed
|
||||
if (startTerminal == endTerminal && mxPoints.size() >= 2 /*&& startTerminal.getStyle().indexOf(";rotation=") == -1*/) //special case for self-loops to force correct routing
|
||||
if (startTerminal != null && startTerminal == endTerminal && mxPoints.size() >= 2 /*&& startTerminal.getStyle().indexOf(";rotation=") == -1*/) //special case for self-loops to force correct routing
|
||||
{
|
||||
mxPoint first = mxPoints.get(0);
|
||||
mxPoint last = mxPoints.get(mxPoints.size() - 1);
|
||||
|
|
|
@ -253,7 +253,7 @@ public class GliffyObject implements PostDeserializable
|
|||
|
||||
public boolean isSelection()
|
||||
{
|
||||
return uid.contains("default.selection");
|
||||
return uid != null && uid.contains("default.selection");
|
||||
}
|
||||
|
||||
public boolean isMindmap()
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
CACHE MANIFEST
|
||||
|
||||
# THIS FILE WAS GENERATED. DO NOT MODIFY!
|
||||
# 09/22/2017 06:08 PM
|
||||
# 09/26/2017 04:27 PM
|
||||
|
||||
app.html
|
||||
index.html?offline=1
|
||||
|
|
6
war/images/trello-logo-white-orange.svg
Normal file
6
war/images/trello-logo-white-orange.svg
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="25" height="25" viewBox="0 0 256 256" preserveAspectRatio="xMidYMid">
|
||||
<rect fill="#FFF" width="256" height="256" rx="25" />
|
||||
<rect fill="rgb(241, 136, 8)" x="144.64" y="33.28" width="78.08" height="112" rx="12" />
|
||||
<rect fill="rgb(241, 136, 8)" x="33.28" y="33.28" width="78.08" height="176" rx="12" />
|
||||
</svg>
|
After Width: | Height: | Size: 417 B |
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="25" height="25" viewBox="0 0 256 256" preserveAspectRatio="xMidYMid">
|
||||
<rect fill="#FFF" width="256" height="256" rx="25" />
|
||||
<rect fill="rgb(241, 136, 8)" x="144.64" y="33.28" width="78.08" height="112" rx="12" />
|
||||
<rect fill="rgb(241, 136, 8)" x="33.28" y="33.28" width="78.08" height="176" rx="12" />
|
||||
<rect fill="#0079BF" x="144.64" y="33.28" width="78.08" height="112" rx="12" />
|
||||
<rect fill="#0079BF" x="33.28" y="33.28" width="78.08" height="176" rx="12" />
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 417 B After Width: | Height: | Size: 399 B |
1958
war/js/app.min.js
vendored
1958
war/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
1309
war/js/atlas-viewer.min.js
vendored
1309
war/js/atlas-viewer.min.js
vendored
File diff suppressed because it is too large
Load diff
2257
war/js/atlas.min.js
vendored
2257
war/js/atlas.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -76,7 +76,10 @@ App = function(editor, container, lightbox)
|
|||
}
|
||||
|
||||
// Handles opening files via drag and drop
|
||||
this.addFileDropHandler([document]);
|
||||
if (!this.editor.chromeless)
|
||||
{
|
||||
this.addFileDropHandler([document]);
|
||||
}
|
||||
|
||||
// Process the queue for waiting plugins
|
||||
if (App.DrawPlugins != null)
|
||||
|
@ -399,7 +402,7 @@ App.getStoredMode = function()
|
|||
*
|
||||
* Optional callback is called with the app instance.
|
||||
*/
|
||||
App.main = function(callback)
|
||||
App.main = function(callback, createUi)
|
||||
{
|
||||
var lastErrorMessage = null;
|
||||
|
||||
|
@ -642,7 +645,7 @@ App.main = function(callback)
|
|||
}
|
||||
|
||||
// Main
|
||||
var ui = new App(new Editor(urlParams['chrome'] == '0'));
|
||||
var ui = (createUi != null) ? createUi() : new App(new Editor(urlParams['chrome'] == '0'));
|
||||
|
||||
if (window.mxscript != null)
|
||||
{
|
||||
|
@ -4443,7 +4446,7 @@ App.prototype.updateHeader = function()
|
|||
}
|
||||
else if (mode == App.MODE_TRELLO)
|
||||
{
|
||||
this.appIcon.style.backgroundImage = 'url(' + IMAGE_PATH + '/trello-logo-white.svg)';
|
||||
this.appIcon.style.backgroundImage = 'url(' + IMAGE_PATH + '/trello-logo-white-orange.svg)';
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
|
|
@ -1026,7 +1026,7 @@ var EmbedDialog = function(editorUi, result, timeout, ignoreSize, previewFn)
|
|||
text.value = result;
|
||||
text.focus();
|
||||
|
||||
if (mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
if (mxClient.IS_GC || mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
{
|
||||
text.select();
|
||||
}
|
||||
|
@ -1195,7 +1195,7 @@ var EmbedDialog = function(editorUi, result, timeout, ignoreSize, previewFn)
|
|||
{
|
||||
text.focus();
|
||||
|
||||
if (mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
if (mxClient.IS_GC || mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
{
|
||||
text.select();
|
||||
}
|
||||
|
@ -1261,7 +1261,7 @@ var GoogleSitesDialog = function(editorUi, publicUrl)
|
|||
{
|
||||
gadgetInput.focus();
|
||||
|
||||
if (mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
if (mxClient.IS_GC || mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
{
|
||||
gadgetInput.select();
|
||||
}
|
||||
|
@ -1482,7 +1482,7 @@ var GoogleSitesDialog = function(editorUi, publicUrl)
|
|||
{
|
||||
gadgetInput.focus();
|
||||
|
||||
if (mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
if (mxClient.IS_GC || mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
{
|
||||
gadgetInput.select();
|
||||
}
|
||||
|
@ -2602,7 +2602,7 @@ var NewDialog = function(editorUi, compact, showName, callback)
|
|||
{
|
||||
nameInput.focus();
|
||||
|
||||
if (mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
if (mxClient.IS_GC || mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
{
|
||||
nameInput.select();
|
||||
}
|
||||
|
@ -3021,7 +3021,7 @@ var CreateDialog = function(editorUi, title, createFn, cancelFn, dlgTitle, btnLa
|
|||
{
|
||||
nameInput.focus();
|
||||
|
||||
if (mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
if (mxClient.IS_GC || mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
{
|
||||
nameInput.select();
|
||||
}
|
||||
|
@ -4051,7 +4051,7 @@ var LinkDialog = function(editorUi, initialValue, btnLabel, fn, showPages)
|
|||
{
|
||||
linkInput.focus();
|
||||
|
||||
if (mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
if (mxClient.IS_GC || mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
{
|
||||
linkInput.select();
|
||||
}
|
||||
|
@ -5670,7 +5670,7 @@ var FindWindow = function(ui, x, y, w, h)
|
|||
{
|
||||
searchInput.focus();
|
||||
|
||||
if (mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
if (mxClient.IS_GC || mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
{
|
||||
searchInput.select();
|
||||
}
|
||||
|
@ -5849,7 +5849,7 @@ var TagsWindow = function(editorUi, x, y, w, h)
|
|||
{
|
||||
searchInput.focus();
|
||||
|
||||
if (mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
if (mxClient.IS_GC || mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
{
|
||||
searchInput.select();
|
||||
}
|
||||
|
@ -5908,7 +5908,11 @@ var AuthDialog = function(editorUi, peer, showRememberOption, fn)
|
|||
service = mxResources.get('github');
|
||||
img.src = IMAGE_PATH + '/github-logo-white.svg';
|
||||
}
|
||||
//TODO Trello?
|
||||
else if (peer == editorUi.trello)
|
||||
{
|
||||
service = mxResources.get('trello');
|
||||
img.src = IMAGE_PATH + '/trello-logo-white.svg';
|
||||
}
|
||||
|
||||
var p = document.createElement('p');
|
||||
mxUtils.write(p, mxResources.get('authorizeThisAppIn', [service]));
|
||||
|
@ -6896,7 +6900,7 @@ var LibraryDialog = function(editorUi, name, library, initialImages, file, mode)
|
|||
{
|
||||
nameInput.focus();
|
||||
|
||||
if (mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
if (mxClient.IS_GC || mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
{
|
||||
nameInput.select();
|
||||
}
|
||||
|
|
|
@ -3785,7 +3785,7 @@
|
|||
{
|
||||
widthInput.focus();
|
||||
|
||||
if (mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
if (mxClient.IS_GC || mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
{
|
||||
widthInput.select();
|
||||
}
|
||||
|
@ -3966,7 +3966,7 @@
|
|||
this.showDialog(dlg.container, 320, height, true, true);
|
||||
zoomInput.focus();
|
||||
|
||||
if (mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
if (mxClient.IS_GC || mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
{
|
||||
zoomInput.select();
|
||||
}
|
||||
|
@ -7015,7 +7015,7 @@
|
|||
|
||||
// Installs drag and drop handler for files
|
||||
// Enables dropping files
|
||||
if (Graph.fileSupport)
|
||||
if (Graph.fileSupport && !this.editor.chromeless)
|
||||
{
|
||||
// Setup the dnd listeners
|
||||
var dropElt = null;
|
||||
|
@ -7619,6 +7619,7 @@
|
|||
*/
|
||||
EditorUi.prototype.highlightElement = function(elt)
|
||||
{
|
||||
console.trace('here');
|
||||
var x = 0;
|
||||
var y = 0;
|
||||
var w = 0;
|
||||
|
@ -8517,12 +8518,30 @@
|
|||
if (this.trello == null)
|
||||
{
|
||||
this.addListener('clientLoaded', function() {
|
||||
this.loadFile(data.file, true);
|
||||
this.loadFile(data.type + data.file, true);
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
this.loadFile(data.file, true);
|
||||
this.loadFile(data.type + data.file, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (data.action == 'newFile' && this.createFile)
|
||||
{
|
||||
if (data.type == 'T')
|
||||
{
|
||||
if (this.trello == null)
|
||||
{
|
||||
this.addListener('clientLoaded', function() {
|
||||
this.createFile(data.name + '.drawio.png', null,
|
||||
null, App.MODE_TRELLO, null, true, data.folderId);
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
this.createFile(data.name + '.drawio.png', null,
|
||||
null, App.MODE_TRELLO, null, true, data.folderId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1808,28 +1808,28 @@
|
|||
'PEComputerIndicatorBlock' : cs,
|
||||
'PEProgrammableIndicatorBlock' : cs,
|
||||
//Valves
|
||||
'PEGateValveBlock' : cs,
|
||||
'PEGlobeValveBlock' : s + 'pid2valves.valve;valveType=globe', //TODO
|
||||
'PEControlValveBlock' : s + 'pid2valves.valve;valveType=gate;actuator=diaph', //TODO
|
||||
'PENeedleValveBlock' : s + 'pid2valves.valve;valveType=needle',
|
||||
'PEGateValveBlock' : cs, //TODO not all variants covered
|
||||
'PEGlobeValveBlock' : cs,
|
||||
'PEControlValveBlock' : s + 'pid2valves.valve;valveType=gate;actuator=diaph;verticalLabelPosition=bottom;verticalAlign=top', //TODO not all variants covered
|
||||
'PENeedleValveBlock' : s + 'pid2valves.valve;valveType=needle;verticalLabelPosition=bottom;verticalAlign=top',
|
||||
// 'PEButterflyValveBlock' NA
|
||||
'PEButterflyValve2Block' : s + 'pid2valves.valve;valveType=butterfly',
|
||||
// 'PEBallValveBlock' NA
|
||||
'PEDiaphragmBlock' : s + 'pid2valves.valve;valveType=ball',
|
||||
// 'PEPlugValveBlock' NA
|
||||
'PECheckValveBlock' : s + 'pid2valves.valve;valveType=check',
|
||||
'PECheckValve2Block' : s + 'pid2valves.valve;valveType=check',
|
||||
'PEAngleValveBlock' : s + 'pid2valves.valve;valveType=angle;actuator=none',
|
||||
'PEAngleGlobeValveBlock' : s + 'pid2valves.valve;valveType=angleGlobe;actuator=man;flipH=1', //TODO
|
||||
'PEPoweredValveBlock' : s + 'pid2valves.valve;valveType=gate;actuator=digital', //TODO
|
||||
'PEFloatOperatedValveBlock' : s + 'pid2valves.valve;valveType=gate;actuator=singActing',
|
||||
// 'PENeedleValve2Block' NA
|
||||
'PEThreeWayValveBlock' : s + 'pid2valves.valve;valveType=threeWay;actuator=none',
|
||||
'PEButterflyValve2Block' : s + 'pid2valves.valve;flipH=1;valveType=butterfly;verticalLabelPosition=bottom;verticalAlign=top',
|
||||
'PEBallValveBlock' : s + 'pid2valves.valve;valveType=ball;verticalLabelPosition=bottom;verticalAlign=top',
|
||||
'PEDiaphragmBlock' : s + 'pid2valves.valve;valveType=ball;verticalLabelPosition=bottom;verticalAlign=top',
|
||||
'PEPlugValveBlock' : s + 'pid2valves.valve;valveType=ball;verticalLabelPosition=bottom;verticalAlign=top',
|
||||
'PECheckValveBlock' : s + 'pid2valves.valve;valveType=check;verticalLabelPosition=bottom;verticalAlign=top',
|
||||
'PECheckValve2Block' : s + 'pid2valves.valve;valveType=check;verticalLabelPosition=bottom;verticalAlign=top',
|
||||
'PEAngleValveBlock' : cs,
|
||||
'PEAngleGlobeValveBlock' : cs,
|
||||
'PEPoweredValveBlock' : cs,
|
||||
'PEFloatOperatedValveBlock' : s + 'pid2valves.valve;valveType=gate;actuator=singActing;verticalLabelPosition=bottom;verticalAlign=top',
|
||||
'PENeedleValve2Block' : s + 'pid2valves.valve;valveType=needle;verticalLabelPosition=bottom;verticalAlign=top',
|
||||
'PEThreeWayValveBlock' : s + 'pid2valves.valve;valveType=threeWay;actuator=none;verticalLabelPosition=bottom;verticalAlign=top',
|
||||
// 'PEFourWayValveBlock' NA
|
||||
// 'PEGaugeBlock' NA
|
||||
'PEBleederValveBlock' : s + 'pid2valves.blockBleedValve;actuator=none',
|
||||
'PEBleederValveBlock' : s + 'pid2valves.blockBleedValve;actuator=none;verticalLabelPosition=bottom;verticalAlign=top',
|
||||
// 'PEOrificeBlock' NA
|
||||
'PERotameterBlock' : s + 'pid.flow_sensors.rotameter;flipH=1',
|
||||
'PERotameterBlock' : s + 'pid.flow_sensors.rotameter;flipH=1;verticalLabelPosition=bottom;verticalAlign=top',
|
||||
//Venn Gradient
|
||||
'VennGradientColor1' : 'shape=ellipse;fillOpacity=35',
|
||||
'VennGradientColor2' : 'shape=ellipse;fillOpacity=35',
|
||||
|
@ -7160,13 +7160,13 @@
|
|||
case 'PEProgrammableIndicatorBlock' :
|
||||
var st = getOpacity(p, a);
|
||||
|
||||
v.style += st +
|
||||
getStrokeColor(p, a) +
|
||||
getFillColor(p, a) +
|
||||
getStrokeWidth(p) +
|
||||
getStrokeStyle(p) +
|
||||
getShadow(p) +
|
||||
getRotation(p, a, v);
|
||||
v.style += st +
|
||||
getStrokeColor(p, a) +
|
||||
getFillColor(p, a) +
|
||||
getStrokeWidth(p) +
|
||||
getStrokeStyle(p) +
|
||||
getShadow(p) +
|
||||
getRotation(p, a, v);
|
||||
|
||||
switch(obj.Class)
|
||||
{
|
||||
|
@ -7248,38 +7248,138 @@
|
|||
break;
|
||||
|
||||
case 'PEGateValveBlock' :
|
||||
v.style += 'verticalLabelPosition=bottom;verticalAlign=top;'
|
||||
getOpacity(p, a) +
|
||||
getStrokeColor(p, a) +
|
||||
getFillColor(p, a) +
|
||||
getStrokeWidth(p) +
|
||||
getStrokeStyle(p) +
|
||||
getShadow(p) +
|
||||
getRotation(p, a, v) +
|
||||
getFontSize(p) +
|
||||
getFontColor(p) +
|
||||
getFontStyle(p) +
|
||||
getTextAlignment(p);
|
||||
case 'PEGlobeValveBlock' :
|
||||
case 'PEAngleValveBlock' :
|
||||
case 'PEAngleGlobeValveBlock' :
|
||||
case 'PEPoweredValveBlock' :
|
||||
|
||||
if (p.handOperated == 1)
|
||||
var actuator = false;
|
||||
|
||||
if (obj.Class == 'PEPoweredValveBlock')
|
||||
{
|
||||
v.style += 'shape=mxgraph.pid2valves.valve;valveType=gate;actuator=man;';
|
||||
if (p.poweredHandOperated != 1)
|
||||
{
|
||||
actuator = true;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
v.style += 'shape=mxgraph.pid2valves.valve;valveType=gate';
|
||||
if (p.handOperated != 1)
|
||||
{
|
||||
actuator = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (actuator)
|
||||
{
|
||||
var p = getAction(obj).Properties;
|
||||
var b = p.BoundingBox;
|
||||
|
||||
var oldH = b.h;
|
||||
|
||||
if (obj.Class == 'PEAngleValveBlock' || obj.Class == 'PEAngleGlobeValveBlock')
|
||||
{
|
||||
b.h = b.h * 0.7;
|
||||
}
|
||||
else
|
||||
{
|
||||
b.h = b.h * 0.6;
|
||||
}
|
||||
|
||||
v = new mxCell('', new mxGeometry(Math.round(b.x * scale + dx), Math.round((b.y + oldH - b.h) * scale + dy),
|
||||
Math.round(b.w * scale), Math.round(b.h * scale)), '');
|
||||
v.vertex = true;
|
||||
updateCell(v, obj);
|
||||
}
|
||||
|
||||
if (obj.Class == 'PEPoweredValveBlock')
|
||||
{
|
||||
v.style += 'shape=mxgraph.pid2valves.valve;verticalLabelPosition=bottom;verticalAlign=top;' +
|
||||
getOpacity(p, a) +
|
||||
getStrokeColor(p, a) +
|
||||
getFillColor(p, a) +
|
||||
getStrokeWidth(p) +
|
||||
getStrokeStyle(p) +
|
||||
getShadow(p) +
|
||||
getRotation(p, a, v);
|
||||
|
||||
if (p.poweredHandOperated == 1)
|
||||
{
|
||||
v.style += 'valveType=gate;actuator=powered;';
|
||||
|
||||
var item1 = new mxCell('', new mxGeometry(w * 0.325, 0, w * 0.35, h * 0.35), 'part=1;strokeColor=none;fillColor=none;spacingTop=2;');
|
||||
item1.vertex = true;
|
||||
v.insert(item1);
|
||||
item1.style += st +
|
||||
getOpacity(p, a) +
|
||||
getStrokeColor(p, a) +
|
||||
getFillColor(p, a) +
|
||||
getStrokeWidth(p) +
|
||||
getStrokeStyle(p) +
|
||||
getShadow(p) +
|
||||
'fontSize=6;' +
|
||||
getFontColor(p.PoweredText) +
|
||||
getFontStyle(p.PoweredText) +
|
||||
getTextAlignment(p.PoweredText) +
|
||||
getTextLeftSpacing(p.PoweredText) +
|
||||
getTextRightSpacing(p.PoweredText) +
|
||||
getTextBottomSpacing(p.PoweredText) +
|
||||
getTextGlobalSpacing(p.PoweredText) +
|
||||
getTextVerticalAlignment(p.PoweredText);
|
||||
|
||||
item1.value = convertText(p.PoweredText);
|
||||
}
|
||||
else
|
||||
{
|
||||
v.style += 'valveType=gate;';
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
v.style += 'verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.pid2valves.valve;' +
|
||||
getOpacity(p, a) +
|
||||
getStrokeColor(p, a) +
|
||||
getFillColor(p, a) +
|
||||
getStrokeWidth(p) +
|
||||
getStrokeStyle(p) +
|
||||
getShadow(p) +
|
||||
getRotation(p, a, v) +
|
||||
getFontSize(p) +
|
||||
getFontColor(p) +
|
||||
getFontStyle(p) +
|
||||
getTextAlignment(p);
|
||||
|
||||
v.value = convertText(p.Text);
|
||||
|
||||
switch (obj.Class)
|
||||
{
|
||||
case 'PEGateValveBlock' :
|
||||
v.style += 'valveType=gate;';
|
||||
break;
|
||||
|
||||
case 'PEGlobeValveBlock' :
|
||||
v.style += 'valveType=globe;';
|
||||
break;
|
||||
|
||||
case 'PEAngleValveBlock' :
|
||||
v.style += 'valveType=angle;';
|
||||
break;
|
||||
|
||||
case 'PEAngleGlobeValveBlock' :
|
||||
v.style += 'valveType=angleGlobe;flipH=1;';
|
||||
break;
|
||||
}
|
||||
|
||||
if (p.handOperated == 1)
|
||||
{
|
||||
v.style += 'actuator=man;';
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case 'PEGlobeValveBlock' :
|
||||
break;
|
||||
case 'PEControlValveBlock' :
|
||||
break;
|
||||
case 'PEAngleGlobeValveBlock' :
|
||||
break;
|
||||
case 'PEPoweredValveBlock' :
|
||||
break;
|
||||
case 'iOS7DeviceiPhone5Portrait' :
|
||||
break;
|
||||
case 'iOS7DeviceiPhone5Landscape' :
|
||||
|
|
|
@ -392,9 +392,20 @@
|
|||
action.setToggleAction(true);
|
||||
action.setSelectedCallback(function() { return graph.shadowVisible; });
|
||||
|
||||
var showingAbout = false;
|
||||
|
||||
editorUi.actions.put('about', new Action(mxResources.get('aboutDrawio') + '...', function()
|
||||
{
|
||||
editorUi.showDialog(new AboutDialog(editorUi).container, 220, 300, true, true);
|
||||
if (!showingAbout)
|
||||
{
|
||||
editorUi.showDialog(new AboutDialog(editorUi).container, 220, 300, true, true, function()
|
||||
{
|
||||
showingAbout = false;
|
||||
});
|
||||
|
||||
showingAbout = true;
|
||||
}
|
||||
|
||||
}, null, null, 'F1'));
|
||||
|
||||
editorUi.actions.addAction('userManual...', function()
|
||||
|
|
|
@ -28,6 +28,39 @@ TrelloClient.prototype.maxFileSize = 10000000 /*10MB*/;
|
|||
*/
|
||||
TrelloClient.prototype.extension = '.xml'; //TODO export to png
|
||||
|
||||
/**
|
||||
* Authorizes the client, used with methods that can be called without a user click and popup blockers will interfere
|
||||
* Show the AuthDialog to work around the popup blockers if the file is opened directly
|
||||
*/
|
||||
TrelloClient.prototype.authenticate = function(success, error)
|
||||
{
|
||||
var callback = mxUtils.bind(this, function(remember)
|
||||
{
|
||||
Trello.authorize(
|
||||
{
|
||||
type: 'popup',
|
||||
name: 'draw.io',
|
||||
scope:
|
||||
{
|
||||
read: 'true',
|
||||
write: 'true'
|
||||
},
|
||||
expiration: remember? 'never' : '1hour',
|
||||
success: success,
|
||||
error: error
|
||||
});
|
||||
});
|
||||
|
||||
if (this.isAuthorized())
|
||||
{
|
||||
callback(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.ui.showAuthDialog(this, true, callback);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
@ -36,99 +69,91 @@ TrelloClient.prototype.getLibrary = function(id, success, error)
|
|||
this.getFile(id, success, error, false, true);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
TrelloClient.prototype.getFile = function(id, success, error, denyConvert, asLibrary)
|
||||
{
|
||||
//In getFile only, we
|
||||
asLibrary = (asLibrary != null) ? asLibrary : false;
|
||||
|
||||
Trello.authorize(
|
||||
var callback = mxUtils.bind(this, function()
|
||||
{
|
||||
type: 'popup',
|
||||
name: 'draw.io',
|
||||
scope:
|
||||
{
|
||||
read: 'true',
|
||||
write: 'true'
|
||||
},
|
||||
expiration: 'never',
|
||||
success: mxUtils.bind(this, function()
|
||||
{
|
||||
var ids = id.split(this.SEPARATOR);
|
||||
var ids = id.split(this.SEPARATOR);
|
||||
|
||||
Trello.cards.get(ids[0] + '/attachments/' + ids[1], mxUtils.bind(this, function(meta)
|
||||
{
|
||||
var binary = /\.png$/i.test(meta.name);
|
||||
|
||||
Trello.cards.get(ids[0] + '/attachments/' + ids[1], mxUtils.bind(this, function(meta)
|
||||
{
|
||||
var binary = /\.png$/i.test(meta.name);
|
||||
// TODO Trello doesn't allow CORS requests to load attachments. Confirm that
|
||||
// and make sure that only a proxy technique can work!
|
||||
// Handles .vsdx, Gliffy and PNG+XML files by creating a temporary file
|
||||
if (/\.vsdx$/i.test(meta.name) || /\.gliffy$/i.test(meta.name) ||
|
||||
(!this.ui.useCanvasForExport && binary))
|
||||
{
|
||||
this.ui.convertFile(PROXY_URL + '?url=' + encodeURIComponent(meta.url), meta.name, meta.mimeType,
|
||||
this.extension, success, error);
|
||||
}
|
||||
else
|
||||
{
|
||||
var acceptResponse = true;
|
||||
|
||||
// TODO Trello doesn't allow CORS requests to load attachments. Confirm that
|
||||
// and make sure that only a proxy technique can work!
|
||||
// Handles .vsdx, Gliffy and PNG+XML files by creating a temporary file
|
||||
if (/\.vsdx$/i.test(meta.name) || /\.gliffy$/i.test(meta.name) ||
|
||||
(!this.ui.useCanvasForExport && binary))
|
||||
var timeoutThread = window.setTimeout(mxUtils.bind(this, function()
|
||||
{
|
||||
this.ui.convertFile(PROXY_URL + '?url=' + encodeURIComponent(meta.url), meta.name, meta.mimeType,
|
||||
this.extension, success, error);
|
||||
}
|
||||
else
|
||||
acceptResponse = false;
|
||||
error({code: App.ERROR_TIMEOUT})
|
||||
}), this.ui.timeout);
|
||||
|
||||
this.ui.loadUrl(PROXY_URL + '?url=' + encodeURIComponent(meta.url), mxUtils.bind(this, function(data)
|
||||
{
|
||||
var acceptResponse = true;
|
||||
|
||||
var timeoutThread = window.setTimeout(mxUtils.bind(this, function()
|
||||
{
|
||||
acceptResponse = false;
|
||||
error({code: App.ERROR_TIMEOUT})
|
||||
}), this.ui.timeout);
|
||||
|
||||
this.ui.loadUrl(PROXY_URL + '?url=' + encodeURIComponent(meta.url), mxUtils.bind(this, function(data)
|
||||
{
|
||||
window.clearTimeout(timeoutThread);
|
||||
|
||||
if (acceptResponse)
|
||||
{
|
||||
//keep our id which includes the cardId
|
||||
meta.compoundId = id;
|
||||
|
||||
var index = (binary) ? data.lastIndexOf(',') : -1;
|
||||
|
||||
if (index > 0)
|
||||
{
|
||||
var xml = this.ui.extractGraphModelFromPng(data.substring(index + 1));
|
||||
|
||||
if (xml != null && xml.length > 0)
|
||||
{
|
||||
data = xml;
|
||||
}
|
||||
else
|
||||
{
|
||||
// TODO: Import PNG
|
||||
}
|
||||
}
|
||||
window.clearTimeout(timeoutThread);
|
||||
|
||||
if (acceptResponse)
|
||||
{
|
||||
//keep our id which includes the cardId
|
||||
meta.compoundId = id;
|
||||
|
||||
if (asLibrary)
|
||||
var index = (binary) ? data.lastIndexOf(',') : -1;
|
||||
|
||||
if (index > 0)
|
||||
{
|
||||
var xml = this.ui.extractGraphModelFromPng(data.substring(index + 1));
|
||||
|
||||
if (xml != null && xml.length > 0)
|
||||
{
|
||||
success(new TrelloLibrary(this.ui, data, meta));
|
||||
data = xml;
|
||||
}
|
||||
else
|
||||
{
|
||||
success(new TrelloFile(this.ui, data, meta));
|
||||
// TODO: Import PNG
|
||||
}
|
||||
}
|
||||
}), mxUtils.bind(this, function(req)
|
||||
{
|
||||
window.clearTimeout(timeoutThread);
|
||||
|
||||
if (acceptResponse)
|
||||
{
|
||||
error();
|
||||
}
|
||||
}), binary || (meta.mimeType != null &&
|
||||
meta.mimeType.substring(0, 6) == 'image/'));
|
||||
}
|
||||
}));
|
||||
}),
|
||||
error: error
|
||||
}
|
||||
|
||||
if (asLibrary)
|
||||
{
|
||||
success(new TrelloLibrary(this.ui, data, meta));
|
||||
}
|
||||
else
|
||||
{
|
||||
success(new TrelloFile(this.ui, data, meta));
|
||||
}
|
||||
}
|
||||
}), mxUtils.bind(this, function(req)
|
||||
{
|
||||
window.clearTimeout(timeoutThread);
|
||||
|
||||
if (acceptResponse)
|
||||
{
|
||||
error();
|
||||
}
|
||||
}), binary || (meta.mimeType != null &&
|
||||
meta.mimeType.substring(0, 6) == 'image/'));
|
||||
}
|
||||
}));
|
||||
});
|
||||
|
||||
this.authenticate(callback, error);
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -146,17 +171,37 @@ TrelloClient.prototype.insertFile = function(filename, data, success, error, asL
|
|||
{
|
||||
asLibrary = (asLibrary != null) ? asLibrary : false;
|
||||
|
||||
this.writeFile(filename, data, cardId, mxUtils.bind(this, function(meta)
|
||||
var callback = mxUtils.bind(this, function()
|
||||
{
|
||||
if (asLibrary)
|
||||
var fn = mxUtils.bind(this, function(fileData)
|
||||
{
|
||||
success(new TrelloLibrary(this.ui, data, meta));
|
||||
this.writeFile(filename, fileData, cardId, mxUtils.bind(this, function(meta)
|
||||
{
|
||||
if (asLibrary)
|
||||
{
|
||||
success(new TrelloLibrary(this.ui, data, meta));
|
||||
}
|
||||
else
|
||||
{
|
||||
success(new TrelloFile(this.ui, data, meta));
|
||||
}
|
||||
}), error);
|
||||
});
|
||||
|
||||
if (this.ui.useCanvasForExport && /(\.png)$/i.test(filename))
|
||||
{
|
||||
this.ui.getEmbeddedPng(mxUtils.bind(this, function(pngData)
|
||||
{
|
||||
fn(this.ui.base64ToBlob(pngData, 'image/png'));
|
||||
}), error, data);
|
||||
}
|
||||
else
|
||||
{
|
||||
success(new TrelloFile(this.ui, data, meta));
|
||||
fn(data);
|
||||
}
|
||||
}), error);
|
||||
});
|
||||
|
||||
this.authenticate(callback, error);
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -240,7 +285,7 @@ TrelloClient.prototype.writeFile = function(filename, data, cardId, success, err
|
|||
var formData = new FormData();
|
||||
formData.append('key', Trello.key());
|
||||
formData.append('token', Trello.token());
|
||||
formData.append('file', data);
|
||||
formData.append('file', data, filename);
|
||||
formData.append('name', filename);
|
||||
|
||||
var request = new XMLHttpRequest();
|
||||
|
|
|
@ -112,6 +112,18 @@
|
|||
this.createVertexTemplateEntry(sv + 'gate;actuator=man', 100, 100, '', 'Gate Valve (Manual)', null, null, this.getTagsForStencil(gn, 'valve', dt + 'gate manual').join(' ')),
|
||||
this.createVertexTemplateEntry(sv + 'gate;actuator=diaph', 100, 100, '', 'Gate Valve (Diaphragm)', null, null, this.getTagsForStencil(gn, 'valve', dt + 'gate diaphragm').join(' ')),
|
||||
this.createVertexTemplateEntry(sv + 'gate;actuator=balDiaph', 100, 100, '', 'Gate Valve (Balanced Diaphragm)', null, null, this.getTagsForStencil(gn, 'valve', dt + 'gate balanced diaphragm').join(' ')),
|
||||
|
||||
this.addEntry(dt + 'valve gate powered', function()
|
||||
{
|
||||
var bg1 = new mxCell('', new mxGeometry(0, 0, 100, 100), sv + 'gate;actuator=powered');
|
||||
bg1.vertex = true;
|
||||
var item1 = new mxCell('', new mxGeometry(32.5, 0, 35, 35), 'part=1;strokeColor=none;fillColor=none;fontStyle=1;fontSize=14;');
|
||||
item1.vertex = true;
|
||||
bg1.insert(item1);
|
||||
|
||||
return sb.createVertexTemplateFromCells([bg1], 100, 100, 'Gate Valve (Powered)');
|
||||
}),
|
||||
|
||||
this.createVertexTemplateEntry(sv + 'gate;actuator=digital', 100, 100, '', 'Gate Valve (Digital)', null, null, this.getTagsForStencil(gn, 'valve', dt + 'gate digital').join(' ')),
|
||||
this.createVertexTemplateEntry(sv + 'gate;actuator=elHyd', 100, 100, '', 'Gate Valve (Electro-Hydraulic)', null, null, this.getTagsForStencil(gn, 'valve', dt + 'gate electro hydraulic').join(' ')),
|
||||
this.createVertexTemplateEntry(sv + 'gate;actuator=key', 100, 100, '', 'Gate Valve (Key)', null, null, this.getTagsForStencil(gn, 'valve', dt + 'gate key').join(' ')),
|
||||
|
|
2
war/js/embed-static.min.js
vendored
2
war/js/embed-static.min.js
vendored
|
@ -184,7 +184,7 @@ f)+"\n"+t+"}":"{"+y.join(",")+"}";f=t;return l}}"function"!==typeof Date.prototy
|
|||
e=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,f,g,h={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},k;"function"!==typeof JSON.stringify&&(JSON.stringify=function(a,b,d){var e;g=f="";if("number"===typeof d)for(e=0;e<d;e+=1)g+=" ";else"string"===typeof d&&(g=d);if((k=b)&&"function"!==typeof b&&("object"!==typeof b||"number"!==typeof b.length))throw Error("JSON.stringify");return c("",{"":a})});
|
||||
"function"!==typeof JSON.parse&&(JSON.parse=function(a,b){function c(a,d){var e,f,g=a[d];if(g&&"object"===typeof g)for(e in g)Object.prototype.hasOwnProperty.call(g,e)&&(f=c(g,e),void 0!==f?g[e]=f:delete g[e]);return b.call(a,d,g)}var e;a=""+a;d.lastIndex=0;d.test(a)&&(a=a.replace(d,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
|
||||
"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return e=eval("("+a+")"),"function"===typeof b?c({"":e},""):e;throw new SyntaxError("JSON.parse");})})();"undefined"===typeof window.mxBasePath&&(window.mxBasePath="https://www.draw.io/mxgraph/");window.mxLoadStylesheets=window.mxLoadStylesheets||!1;window.mxLoadResources=window.mxLoadResources||!1;window.mxLanguage=window.mxLanguage||"en";window.urlParams=window.urlParams||{};window.MAX_REQUEST_SIZE=window.MAX_REQUEST_SIZE||10485760;window.MAX_AREA=window.MAX_AREA||225E6;window.EXPORT_URL=window.EXPORT_URL||"/export";window.SAVE_URL=window.SAVE_URL||"/save";window.OPEN_URL=window.OPEN_URL||"/open";window.RESOURCES_PATH=window.RESOURCES_PATH||"resources";window.RESOURCE_BASE=window.RESOURCE_BASE||window.RESOURCES_PATH+"/grapheditor";window.STENCIL_PATH=window.STENCIL_PATH||"stencils";window.IMAGE_PATH=window.IMAGE_PATH||"images";
|
||||
window.STYLE_PATH=window.STYLE_PATH||"styles";window.CSS_PATH=window.CSS_PATH||"styles";window.OPEN_FORM=window.OPEN_FORM||"open.html";window.mxBasePath=window.mxBasePath||"../../../src";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de"];var mxClient={VERSION:"7.4.4",IS_IE:0<=navigator.userAgent.indexOf("MSIE"),IS_IE6:0<=navigator.userAgent.indexOf("MSIE 6"),IS_IE11:!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:!!navigator.userAgent.match(/Edge\//),IS_QUIRKS:0<=navigator.userAgent.indexOf("MSIE")&&(null==document.documentMode||5==document.documentMode),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&
|
||||
window.STYLE_PATH=window.STYLE_PATH||"styles";window.CSS_PATH=window.CSS_PATH||"styles";window.OPEN_FORM=window.OPEN_FORM||"open.html";window.mxBasePath=window.mxBasePath||"../../../src";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de"];var mxClient={VERSION:"7.4.7",IS_IE:0<=navigator.userAgent.indexOf("MSIE"),IS_IE6:0<=navigator.userAgent.indexOf("MSIE 6"),IS_IE11:!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:!!navigator.userAgent.match(/Edge\//),IS_QUIRKS:0<=navigator.userAgent.indexOf("MSIE")&&(null==document.documentMode||5==document.documentMode),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&
|
||||
0>navigator.userAgent.indexOf("Edge/"),IS_OP:0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/"),IS_OT:0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:0<=navigator.userAgent.indexOf("AppleWebKit/")&&
|
||||
0>navigator.userAgent.indexOf("Chrome/")&&0>navigator.userAgent.indexOf("Edge/"),IS_IOS:navigator.userAgent.match(/(iPad|iPhone|iPod)/g)?!0:!1,IS_GC:0<=navigator.userAgent.indexOf("Chrome/")&&0>navigator.userAgent.indexOf("Edge/"),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:0<=navigator.userAgent.indexOf("Firefox/"),IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&
|
||||
0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:0<=navigator.userAgent.indexOf("Firefox/")||0<=navigator.userAgent.indexOf("Iceweasel/")||0<=navigator.userAgent.indexOf("Seamonkey/")||0<=navigator.userAgent.indexOf("Iceape/")||0<=navigator.userAgent.indexOf("Galeon/")||
|
||||
|
|
395
war/js/extensions.min.js
vendored
395
war/js/extensions.min.js
vendored
|
@ -1,77 +1,77 @@
|
|||
(function(){function k(f){var l=null!=f.Text?f.Text:null!=f.Value?f.Value:f.Lane_0;null==l&&null!=f.State?null!=f.State.t&&(l=f.State):null==l&&null!=f.Note?null!=f.Note.t&&(l=f.Note):null==l&&null!=f.Title?null!=f.Title.t&&(l=f.Title):null!=f.t&&(l=f);null==l&&null!=f.TextAreas&&null!=f.TextAreas.Text&&null!=f.TextAreas.Text.Value&&null!=f.TextAreas.Text.Value.t&&(l=f.TextAreas.Text.Value);if(null!=l){if(null!=l.t)return l.t=l.t.replace(/</g,"<"),l.t=l.t.replace(/>/g,">"),l.t;if(null!=l.Value&&
|
||||
null!=l.Value.t)return l.Value.t=l.Value.t.replace(/</g,"<"),l.Value.t=l.Value.t.replace(/>/g,">"),l.Value.t}return""}function Ua(f){return null!=f.Action?f.Action:f}function la(f){if(null!=f.Text){if(null!=f.Text.m)return f.Text.m}else if(null!=f.TextAreas){if(null!=f.TextAreas.Text&&null!=f.TextAreas.Text.Value&&null!=f.TextAreas.Text.Value.m)return f.TextAreas.Text.Value.m}else if(null!=f.m)return f.m;return null}function n(f){return I(f)+J(f)+K(f)+ea(f)+ma(f)+na(f)+Ka(f)+oa(f)+pa(f)+Qa(f)}
|
||||
function I(f){f=la(f);if(null!=f)for(var l=0;l<f.length;){var m=f[l];if("s"==m.n&&null!=m.v)return"fontSize="+Math.round(.6*m.v)+";";l++}return"fontSize=10;"}function J(f){f=la(f);if(null!=f)for(var l=0;l<f.length;){var m=f[l];if("c"==m.n&&null!=m.v)return f=m.v,"#"!=f.charAt(0)&&(f="#"+f),f=f.substring(0,7),mxConstants.STYLE_FONTCOLOR+"="+f+";";l++}return""}function K(f){f=la(f);if(null!=f){var l=0,m=!1;if(null!=f)for(var c=0;!m&&c<f.length;){var a=f[c];"b"==a.n&&null!=a.v&&a.v&&(m=!0,l+=1);c++}m=
|
||||
!1;if(null!=f)for(c=0;!m&&c<f.length;)a=f[c],"i"==a.n&&null!=a.v&&a.v&&(m=!0,l+=2),c++;m=!1;if(null!=f)for(c=0;!m&&c<f.length;)a=f[c],"u"==a.n&&null!=a.v&&a.v&&(m=!0,l+=4),c++;if(0<l)return"fontStyle="+l+";"}return""}function ea(f){f=la(f);if(null!=f)for(var l=0;l<f.length;){var m=f[l];if("a"==m.n&&null!=m.v)return"align="+m.v+";";l++}return"align=center;"}function ma(f){var l=la(f);if(null!=l)for(var m=0;m<l.length;){var c=l[m];if("il"==c.n){if(null!=c.v)return"spacingLeft="+.6*c.v+";"}else if("s"==
|
||||
c.n&&"align=center;"!=ea(f)&&null!=c.v)return"spacingLeft="+.6*c.v+";";m++}return""}function na(f){f=la(f);if(null!=f)for(var l=0;l<f.length;){var m=f[l];if("ir"==m.n&&null!=m.v)return"spacingRight="+m.v+";";l++}return""}function Ka(f){f=la(f);if(null!=f)for(var l=0;l<f.length;){var m=f[l];if("mt"==m.n&&null!=m.v)return"spacingTop="+m.v+";";l++}return""}function oa(f){f=la(f);if(null!=f)for(var l=0;l<f.length;){var m=f[l];if("mb"==m.n&&null!=m.v)return"spacingBottom="+m.v+";";l++}return""}function pa(f){return"number"===
|
||||
typeof f.InsetMargin?"spacing="+parseInt(f.InsetMargin)+";":""}function Qa(f){return null!=f.Text_VAlign&&"string"===typeof f.Text_VAlign?"verticalAlign="+f.Text_VAlign+";":fa(mxConstants.STYLE_VERTICAL_ALIGN,f.TextVAlign,"middle")}function h(f,l){return Qb.includes(l.Class)?"Venn"==l.Class.substring(0,4)?fa(mxConstants.STYLE_STROKECOLOR,f.FillColor.substring(0,7),"#FFFFFF"):"":0==f.LineWidth?mxConstants.STYLE_STROKECOLOR+"=none;":fa(mxConstants.STYLE_STROKECOLOR,f.LineColor.substring(0,7),"#000000")}
|
||||
function r(f,l){var m="";dc.includes(l.Class)||(m+=fa(mxConstants.STYLE_OPACITY,f.Opacity,"100"));if("string"===typeof f.LineColor&&7<f.LineColor.length)var c="0x"+f.LineColor.substring(f.LineColor.length-2,f.LineColor.length),m=m+("strokeOpacity="+Math.round(parseInt(c)/2.55)+";");"string"===typeof f.FillColor&&7<f.FillColor.length&&(c="0x"+f.FillColor.substring(f.FillColor.length-2,f.FillColor.length),m+="fillOpacity="+Math.round(parseInt(c)/2.55)+";");return m}function Rb(f,l){if(null!=f.Rounding&&
|
||||
!ec.includes(l.Class)){if(0<f.Rounding)return"rounded=1;absoluteArcSize=1;arcSize="+.6*f.Rounding+";"}else if(null==f.Rounding&&fc.includes(l.Class))return"rounded=1;absoluteArcSize=1;arcSize=8;";return""}function ja(f,l,m){return null!=f.Rotation&&(f=mxUtils.toDegree(parseFloat(f.Rotation)),"AdvancedSwimLaneBlockRotated"==l.Class?(f+=90,m.geometry.rotate90()):gc.includes(l.Class)?(f-=90,m.geometry.rotate90(),m.geometry.rotate90(),m.geometry.rotate90()):hc.includes(l.Class)&&(f+=180,m.geometry.rotate90(),
|
||||
m.geometry.rotate90()),0!=f)?"rotation="+f+";":""}function u(f){return null!=f.Shadow?mxConstants.STYLE_SHADOW+"=1;":""}function t(f,l){if(null!=f.FillColor&&!ic.includes(l.Class))if("object"===typeof f.FillColor){if(null!=f.FillColor.cs&&1<f.FillColor.cs.length)return fa(mxConstants.STYLE_FILLCOLOR,f.FillColor.cs[0].c.substring(0,7))+fa(mxConstants.STYLE_GRADIENTCOLOR,f.FillColor.cs[1].c.substring(0,7))}else return"string"===typeof f.FillColor?fa(mxConstants.STYLE_FILLCOLOR,f.FillColor.substring(0,
|
||||
7),"#FFFFFF"):fa(mxConstants.STYLE_FILLCOLOR,"none");return""}function y(f){return"dashed"==f.StrokeStyle?"dashed=1;":"dotted"==f.StrokeStyle?"dashed=1;dashPattern=1 4;":"dashdot"==f.StrokeStyle?"dashed=1;dashPattern=10 5 1 5;":"dotdotdot"==f.StrokeStyle?"dashed=1;dashPattern=1 1;":""}function q(f){return fa(mxConstants.STYLE_STROKEWIDTH,.6*parseFloat(f.LineWidth),"1")}function ib(f,l){var m=Ua(l);if(null!=m){var c=Va[m.Class]+";";null!=c&&(f.style+=c);c=null!=m.Properties?m.Properties:m;if(null!=
|
||||
c){f.value=k(c);var a=f.style,n=I(c)+J(c)+K(c)+ea(c,f)+ma(c)+na(c)+Ka(c)+oa(c)+pa(c)+Qa(c)+h(c,m)+r(c,m)+Rb(c,m)+ja(c,m,f)+(c.FlipX?"flipH=1;":"")+(c.FlipY?"flipV=1;":"")+u(c)+t(c,m)+y(c)+q(c);m="ImageSearchBlock2"==m.Class?"image="+c.URL+";":"";f.style=a+(n+m);if(f.edge){f.style+="rounded=1;arcSize=6;";if("diagonal"!=c.Shape)if(null!=c.ElbowPoints)for(f.geometry.points=[],m=0;m<c.ElbowPoints.length;m++)f.geometry.points.push(new mxPoint(Math.round(.6*c.ElbowPoints[m].x+0),Math.round(.6*c.ElbowPoints[m].y+
|
||||
null!=l.Value.t)return l.Value.t=l.Value.t.replace(/</g,"<"),l.Value.t=l.Value.t.replace(/>/g,">"),l.Value.t}return""}function Sa(f){return null!=f.Action?f.Action:f}function qa(f){if(null!=f.Text){if(null!=f.Text.m)return f.Text.m}else if(null!=f.TextAreas){if(null!=f.TextAreas.Text&&null!=f.TextAreas.Text.Value&&null!=f.TextAreas.Text.Value.m)return f.TextAreas.Text.Value.m}else if(null!=f.m)return f.m;return null}function n(f){return K(f)+I(f)+J(f)+ba(f)+ka(f)+la(f)+La(f)+ma(f)+na(f)+Na(f)}
|
||||
function K(f){f=qa(f);if(null!=f)for(var l=0;l<f.length;){var m=f[l];if("s"==m.n&&null!=m.v)return"fontSize="+Math.round(.6*m.v)+";";l++}return"fontSize=10;"}function I(f){f=qa(f);if(null!=f)for(var l=0;l<f.length;){var m=f[l];if("c"==m.n&&null!=m.v)return f=m.v,"#"!=f.charAt(0)&&(f="#"+f),f=f.substring(0,7),mxConstants.STYLE_FONTCOLOR+"="+f+";";l++}return""}function J(f){f=qa(f);if(null!=f){var l=0,m=!1;if(null!=f)for(var c=0;!m&&c<f.length;){var a=f[c];"b"==a.n&&null!=a.v&&a.v&&(m=!0,l+=1);c++}m=
|
||||
!1;if(null!=f)for(c=0;!m&&c<f.length;)a=f[c],"i"==a.n&&null!=a.v&&a.v&&(m=!0,l+=2),c++;m=!1;if(null!=f)for(c=0;!m&&c<f.length;)a=f[c],"u"==a.n&&null!=a.v&&a.v&&(m=!0,l+=4),c++;if(0<l)return"fontStyle="+l+";"}return""}function ba(f){f=qa(f);if(null!=f)for(var l=0;l<f.length;){var m=f[l];if("a"==m.n&&null!=m.v)return"align="+m.v+";";l++}return"align=center;"}function ka(f){var l=qa(f);if(null!=l)for(var m=0;m<l.length;){var c=l[m];if("il"==c.n){if(null!=c.v)return"spacingLeft="+.6*c.v+";"}else if("s"==
|
||||
c.n&&"align=center;"!=ba(f)&&null!=c.v)return"spacingLeft="+.6*c.v+";";m++}return""}function la(f){f=qa(f);if(null!=f)for(var l=0;l<f.length;){var m=f[l];if("ir"==m.n&&null!=m.v)return"spacingRight="+m.v+";";l++}return""}function La(f){f=qa(f);if(null!=f)for(var l=0;l<f.length;){var m=f[l];if("mt"==m.n&&null!=m.v)return"spacingTop="+m.v+";";l++}return""}function ma(f){f=qa(f);if(null!=f)for(var l=0;l<f.length;){var m=f[l];if("mb"==m.n&&null!=m.v)return"spacingBottom="+m.v+";";l++}return""}function na(f){return"number"===
|
||||
typeof f.InsetMargin?"spacing="+parseInt(f.InsetMargin)+";":""}function Na(f){return null!=f.Text_VAlign&&"string"===typeof f.Text_VAlign?"verticalAlign="+f.Text_VAlign+";":oa(mxConstants.STYLE_VERTICAL_ALIGN,f.TextVAlign,"middle")}function h(f,l){return Qb.includes(l.Class)?"Venn"==l.Class.substring(0,4)?oa(mxConstants.STYLE_STROKECOLOR,f.FillColor.substring(0,7),"#FFFFFF"):"":0==f.LineWidth?mxConstants.STYLE_STROKECOLOR+"=none;":oa(mxConstants.STYLE_STROKECOLOR,f.LineColor.substring(0,7),"#000000")}
|
||||
function r(f,l){var m="";Rb.includes(l.Class)||(m+=oa(mxConstants.STYLE_OPACITY,f.Opacity,"100"));if("string"===typeof f.LineColor&&7<f.LineColor.length)var c="0x"+f.LineColor.substring(f.LineColor.length-2,f.LineColor.length),m=m+("strokeOpacity="+Math.round(parseInt(c)/2.55)+";");"string"===typeof f.FillColor&&7<f.FillColor.length&&(c="0x"+f.FillColor.substring(f.FillColor.length-2,f.FillColor.length),m+="fillOpacity="+Math.round(parseInt(c)/2.55)+";");return m}function Sb(f,l){if(null!=f.Rounding&&
|
||||
!gc.includes(l.Class)){if(0<f.Rounding)return"rounded=1;absoluteArcSize=1;arcSize="+.6*f.Rounding+";"}else if(null==f.Rounding&&hc.includes(l.Class))return"rounded=1;absoluteArcSize=1;arcSize=8;";return""}function ia(f,l,m){return null!=f.Rotation&&(f=mxUtils.toDegree(parseFloat(f.Rotation)),"AdvancedSwimLaneBlockRotated"==l.Class?(f+=90,m.geometry.rotate90()):ic.includes(l.Class)?(f-=90,m.geometry.rotate90(),m.geometry.rotate90(),m.geometry.rotate90()):jc.includes(l.Class)&&(f+=180,m.geometry.rotate90(),
|
||||
m.geometry.rotate90()),0!=f)?"rotation="+f+";":""}function u(f){return null!=f.Shadow?mxConstants.STYLE_SHADOW+"=1;":""}function t(f,l){if(null!=f.FillColor&&!kc.includes(l.Class))if("object"===typeof f.FillColor){if(null!=f.FillColor.cs&&1<f.FillColor.cs.length)return oa(mxConstants.STYLE_FILLCOLOR,f.FillColor.cs[0].c.substring(0,7))+oa(mxConstants.STYLE_GRADIENTCOLOR,f.FillColor.cs[1].c.substring(0,7))}else return"string"===typeof f.FillColor?oa(mxConstants.STYLE_FILLCOLOR,f.FillColor.substring(0,
|
||||
7),"#FFFFFF"):oa(mxConstants.STYLE_FILLCOLOR,"none");return""}function y(f){return"dashed"==f.StrokeStyle?"dashed=1;":"dotted"==f.StrokeStyle?"dashed=1;dashPattern=1 4;":"dashdot"==f.StrokeStyle?"dashed=1;dashPattern=10 5 1 5;":"dotdotdot"==f.StrokeStyle?"dashed=1;dashPattern=1 1;":""}function q(f){return oa(mxConstants.STYLE_STROKEWIDTH,.6*parseFloat(f.LineWidth),"1")}function Tb(f,l){var m=Sa(l);if(null!=m){var c=Wa[m.Class]+";";null!=c&&(f.style+=c);c=null!=m.Properties?m.Properties:m;if(null!=
|
||||
c){f.value=k(c);var a=f.style,n=K(c)+I(c)+J(c)+ba(c,f)+ka(c)+la(c)+La(c)+ma(c)+na(c)+Na(c)+h(c,m)+r(c,m)+Sb(c,m)+ia(c,m,f)+(c.FlipX?"flipH=1;":"")+(c.FlipY?"flipV=1;":"")+u(c)+t(c,m)+y(c)+q(c);m="ImageSearchBlock2"==m.Class?"image="+c.URL+";":"";f.style=a+(n+m);if(f.edge){f.style+="rounded=1;arcSize=6;";if("diagonal"!=c.Shape)if(null!=c.ElbowPoints)for(f.geometry.points=[],m=0;m<c.ElbowPoints.length;m++)f.geometry.points.push(new mxPoint(Math.round(.6*c.ElbowPoints[m].x+0),Math.round(.6*c.ElbowPoints[m].y+
|
||||
0)));else"elbow"==c.Shape?f.style=null!=c.Endpoint1.Block&&null!=c.Endpoint1.Block?f.style+"edgeStyle=orthogonalEdgeStyle;":f.style+"edgeStyle=elbowEdgeStyle;":null!=c.Endpoint1.Block&&null!=c.Endpoint1.Block&&(f.style+="edgeStyle=orthogonalEdgeStyle;","curve"==c.Shape&&(f.style+="curved=1;"));null!=c.Endpoint1.Style&&(f.style+="startArrow="+jb[c.Endpoint1.Style]+";");null!=c.Endpoint2.Style&&(f.style+="endArrow="+jb[c.Endpoint2.Style].replace(/startSize/g,"endSize")+";");kb(f,c.Endpoint1,!0);kb(f,
|
||||
c.Endpoint2,!1)}}}}function lb(f){var l=Ua(f).Properties.BoundingBox;null!=f.Class&&"AWS"===f.Class.substring(0,3)&&(l.h-=20);v=new mxCell("",new mxGeometry(Math.round(.6*l.x+0),Math.round(.6*l.y+0),Math.round(.6*l.w),Math.round(.6*l.h)),"html=1;whiteSpace=wrap;");v.vertex=!0;ib(v,f);return v}function Ra(f,l,m){m=2*(parseFloat(f.Location)-.5);f=new mxCell(k(f),new mxGeometry(m,0,0,0),"text;html=1;resizable=0;labelBackgroundColor=#ffffff;");f.geometry.relative=!0;f.vertex=!0;l.insert(f);return l}function fa(f,
|
||||
l,m,c){null!=l&&null!=c&&(l=c(l));return null!=l&&l!=m?f+"="+l+";":""}function kb(f,l,m){null!=l&&null!=l.LinkX&&null!=l.LinkY&&(f.style+=(m?"exitX":"entryX")+"="+l.LinkX+";"+(m?"exitY":"entryY")+"="+l.LinkY+";"+(m?"exitPerimeter":"entryPerimeter")+"=0;")}function Ja(f,l,m,c,a,k,d,b){f=new mxCell("",new mxGeometry(f,l,0,0),"strokeColor=none;fillColor=none;");f.vertex=!0;d.insert(f);k=[f];m=sb.cloneCell(m);b.insertEdge(m,!1);f.insertEdge(m,!0);k.push(m);c.push(a.addCell(m,null,null,null,null))}function Q(f,
|
||||
l,k,c,a,h,d,b,n){f=new mxCell("",new mxGeometry(f,l,0,0),"strokeColor=none;fillColor=none;");f.vertex=!0;n.insert(f);k=new mxCell("",new mxGeometry(k,c,0,0),"strokeColor=none;fillColor=none;");k.vertex=!0;n.insert(k);b=[k];a=sb.cloneCell(a);f.insertEdge(a,!0);k.insertEdge(a,!1);b.push(a);h.push(d.addCell(a,null,null,null,null))}function jc(f,l,m){var c=Ua(f),a=c.Properties,fa=a.BoundingBox,d=Math.round(.6*fa.w),b=Math.round(.6*fa.h),qa=Math.round(.6*fa.x+0),ra=Math.round(.6*fa.y+0);v=new mxCell("",
|
||||
new mxGeometry(qa,ra,d,b),"html=1;whiteSpace=wrap;");v.vertex=!0;switch(f.Class){case "BraceNoteBlock":var Yb=!1;null!=a.BraceDirection&&"Right"==a.BraceDirection&&(Yb=!0);var Wa=null,ga=null;Yb?(Wa=new mxCell("",new mxGeometry(d-.125*b,0,.125*b,b),"shape=curlyBracket;rounded=1;"),ga=new mxCell("",new mxGeometry(0,0,d-.125*b,b),"strokeColor=none;fillColor=none;")):(Wa=new mxCell("",new mxGeometry(0,0,.125*b,b),"shape=curlyBracket;rounded=1;flipH=1;"),ga=new mxCell("",new mxGeometry(.125*b,0,d-.125*
|
||||
b,b),"strokeColor=none;fillColor=none;"));v.style="strokeColor=none;fillColor=none;";v.style+=ja(a,c,v);Wa.vertex=!0;v.insert(Wa);Wa.style+=h(a,c)+r(a,c)+u(a)+y(a)+q(a);ga.vertex=!0;ga.value=k(a);v.insert(ga);ga.style+=I(a)+J(a)+K(a)+ea(a,ga)+ma(a)+na(a)+Ka(a)+oa(a)+pa(a)+Qa(a);break;case "AdvancedSwimLaneBlockRotated":case "AdvancedSwimLaneBlock":var la=0;null!=a.Lanes&&(la=a.Lanes.length);v.style="strokeColor=none;fillColor=none;";for(var Zb=0,Ma=[],g=0;g<la;g++){var $b=parseFloat(a.Lanes[g].p);
|
||||
Ma.push(new mxCell("",new mxGeometry(d*Zb,0,d*$b,b),"shape=swimlane;startSize=25;"));Ma[g].vertex=!0;v.insert(Ma[g]);Ma[g].value=k(a["Lane_"+g]);Ma[g].style+=I(a["Lane_"+g])+J(a["Lane_"+g])+K(a["Lane_"+g])+ea(a["Lane_"+g],Ma[g])+ma(a["Lane_"+g])+na(a["Lane_"+g])+Ka(a["Lane_"+g])+oa(a["Lane_"+g])+pa(a["Lane_"+g])+Qa(a["Lane_"+g])+h(a,c)+r(a,c)+Rb(a,c)+ja(a,c,Ma[g])+(a.FlipX?"flipH=1;":"")+(a.FlipY?"flipV=1;":"")+u(a)+t(a,c)+y(a)+q(a);Zb+=$b}break;case "AndroidDevice":if(null!=a.AndroidDeviceName){v.style=
|
||||
"fillColor=#000000;strokeColor=#000000;";var Na=null,mb=null,nb=null;if("Tablet"==a.AndroidDeviceName||"Mini Tablet"==a.AndroidDeviceName)v.style+="shape=mxgraph.android.tab2;",Na=new mxCell("",new mxGeometry(.112*d,.077*b,.77*d,.85*b),""),a.KeyboardShown&&(mb=new mxCell("",new mxGeometry(.112*d,.727*b,.77*d,.2*b),"shape=mxgraph.android.keyboard;")),a.FullScreen||(nb=new mxCell("",new mxGeometry(.112*d,.077*b,.77*d,.03*b),"shape=mxgraph.android.statusBar;strokeColor=#33b5e5;fillColor=#000000;fontColor=#33b5e5;fontSize="+
|
||||
.015*b+";"));else if("Large Phone"==a.AndroidDeviceName||"Phone"==a.AndroidDeviceName)v.style+="shape=mxgraph.android.phone2;",Na=new mxCell("",new mxGeometry(.04*d,.092*b,.92*d,.816*b),""),a.KeyboardShown&&(mb=new mxCell("",new mxGeometry(.04*d,.708*b,.92*d,.2*b),"shape=mxgraph.android.keyboard;")),a.FullScreen||(nb=new mxCell("",new mxGeometry(.04*d,.092*b,.92*d,.03*b),"shape=mxgraph.android.statusBar;strokeColor=#33b5e5;fillColor=#000000;fontColor=#33b5e5;fontSize="+.015*b+";"));Na.vertex=!0;v.insert(Na);
|
||||
"Dark"==a.Scheme?Na.style+="fillColor=#111111;":"Light"==a.Scheme&&(Na.style+="fillColor=#ffffff;");null!=mb&&(mb.vertex=!0,v.insert(mb));null!=nb&&(nb.vertex=!0,v.insert(nb))}break;case "AndroidAlertDialog":var sa=new mxCell("",new mxGeometry(0,0,d,30),"strokeColor=none;fillColor=none;spacingLeft=9;");sa.vertex=!0;v.insert(sa);var M=new mxCell("",new mxGeometry(0,25,d,10),"shape=line;strokeColor=#33B5E5;");M.vertex=!0;v.insert(M);var ob=new mxCell("",new mxGeometry(0,30,d,b-30),"strokeColor=none;fillColor=none;verticalAlign=top;");
|
||||
ob.vertex=!0;v.insert(ob);var S=new mxCell("",new mxGeometry(0,b-25,.5*d,25),"fillColor=none;");S.vertex=!0;v.insert(S);var T=new mxCell("",new mxGeometry(.5*d,b-25,.5*d,25),"fillColor=none;");T.vertex=!0;v.insert(T);sa.value=k(a.DialogTitle);sa.style+=n(a.DialogTitle);ob.value=k(a.DialogText);ob.style+=n(a.DialogText);S.value=k(a.Button_0);S.style+=n(a.Button_0);T.value=k(a.Button_1);T.style+=n(a.Button_1);"Dark"==a.Scheme?(v.style+="strokeColor=#353535;fillColor=#282828;shadow=1;",S.style+="strokeColor=#353535;",
|
||||
T.style+="strokeColor=#353535;"):(v.style+="strokeColor=none;fillColor=#ffffff;shadow=1;",S.style+="strokeColor=#E2E2E2;",T.style+="strokeColor=#E2E2E2;");break;case "AndroidDateDialog":case "AndroidTimeDialog":sa=new mxCell("",new mxGeometry(0,0,d,30),"strokeColor=none;fillColor=none;spacingLeft=9;");sa.vertex=!0;v.insert(sa);sa.value=k(a.DialogTitle);sa.style+=n(a.DialogTitle);M=new mxCell("",new mxGeometry(0,25,d,10),"shape=line;strokeColor=#33B5E5;");M.vertex=!0;v.insert(M);S=new mxCell("",new mxGeometry(0,
|
||||
b-25,.5*d,25),"fillColor=none;");S.vertex=!0;v.insert(S);S.value=k(a.Button_0);S.style+=n(a.Button_0);T=new mxCell("",new mxGeometry(.5*d,b-25,.5*d,25),"fillColor=none;");T.vertex=!0;v.insert(T);T.value=k(a.Button_1);T.style+=n(a.Button_1);var Xa=new mxCell("",new mxGeometry(.5*d-4,41,8,4),"shape=triangle;direction=north;");Xa.vertex=!0;v.insert(Xa);var Ya=new mxCell("",new mxGeometry(.25*d-4,41,8,4),"shape=triangle;direction=north;");Ya.vertex=!0;v.insert(Ya);var Za=new mxCell("",new mxGeometry(.75*
|
||||
d-4,41,8,4),"shape=triangle;direction=north;");Za.vertex=!0;v.insert(Za);var pb=new mxCell("",new mxGeometry(.375*d,50,.2*d,15),"strokeColor=none;fillColor=none;");pb.vertex=!0;v.insert(pb);pb.value=k(a.Label_1);pb.style+=n(a.Label_1);var qb=new mxCell("",new mxGeometry(.125*d,50,.2*d,15),"strokeColor=none;fillColor=none;");qb.vertex=!0;v.insert(qb);qb.value=k(a.Label_0);qb.style+=n(a.Label_0);var $a=null;"AndroidDateDialog"==f.Class&&($a=new mxCell("",new mxGeometry(.625*d,50,.2*d,15),"strokeColor=none;fillColor=none;"),
|
||||
$a.vertex=!0,v.insert($a),$a.value=k(a.Label_2),$a.style+=n(a.Label_2));var ta=new mxCell("",new mxGeometry(.43*d,60,.14*d,10),"shape=line;strokeColor=#33B5E5;");ta.vertex=!0;v.insert(ta);var ua=new mxCell("",new mxGeometry(.18*d,60,.14*d,10),"shape=line;strokeColor=#33B5E5;");ua.vertex=!0;v.insert(ua);var Ra=new mxCell("",new mxGeometry(.68*d,60,.14*d,10),"shape=line;strokeColor=#33B5E5;");Ra.vertex=!0;v.insert(Ra);var rb=new mxCell("",new mxGeometry(.375*d,65,.2*d,15),"strokeColor=none;fillColor=none;");
|
||||
rb.vertex=!0;v.insert(rb);rb.value=k(a.Label_4);rb.style+=n(a.Label_4);var ab=null;"AndroidTimeDialog"==f.Class&&(ab=new mxCell("",new mxGeometry(.3*d,65,.1*d,15),"strokeColor=none;fillColor=none;"),ab.vertex=!0,v.insert(ab),ab.value=k(a.Label_Colon),ab.style+=n(a.Label_Colon));var tb=new mxCell("",new mxGeometry(.125*d,65,.2*d,15),"strokeColor=none;fillColor=none;");tb.vertex=!0;v.insert(tb);tb.value=k(a.Label_3);tb.style+=n(a.Label_3);var ub=new mxCell("",new mxGeometry(.625*d,65,.2*d,15),"strokeColor=none;fillColor=none;");
|
||||
ub.vertex=!0;v.insert(ub);ub.value=k(a.Label_5);ub.style+=n(a.Label_5);var Va=new mxCell("",new mxGeometry(.43*d,75,.14*d,10),"shape=line;strokeColor=#33B5E5;");Va.vertex=!0;v.insert(Va);var ib=new mxCell("",new mxGeometry(.18*d,75,.14*d,10),"shape=line;strokeColor=#33B5E5;");ib.vertex=!0;v.insert(ib);var jb=new mxCell("",new mxGeometry(.68*d,75,.14*d,10),"shape=line;strokeColor=#33B5E5;");jb.vertex=!0;v.insert(jb);var vb=new mxCell("",new mxGeometry(.375*d,80,.2*d,15),"strokeColor=none;fillColor=none;");
|
||||
vb.vertex=!0;v.insert(vb);vb.value=k(a.Label_7);vb.style+=n(a.Label_7);var wb=new mxCell("",new mxGeometry(.125*d,80,.2*d,15),"strokeColor=none;fillColor=none;");wb.vertex=!0;v.insert(wb);wb.value=k(a.Label_6);wb.style+=n(a.Label_6);var xb=new mxCell("",new mxGeometry(.625*d,80,.2*d,15),"strokeColor=none;fillColor=none;");xb.vertex=!0;v.insert(xb);xb.value=k(a.Label_8);xb.style+=n(a.Label_8);var bb=new mxCell("",new mxGeometry(.5*d-4,99,8,4),"shape=triangle;direction=south;");bb.vertex=!0;v.insert(bb);
|
||||
var cb=new mxCell("",new mxGeometry(.25*d-4,99,8,4),"shape=triangle;direction=south;");cb.vertex=!0;v.insert(cb);var db=new mxCell("",new mxGeometry(.75*d-4,99,8,4),"shape=triangle;direction=south;");db.vertex=!0;v.insert(db);"Dark"==a.Scheme?(v.style+="strokeColor=#353535;fillColor=#282828;shadow=1;",S.style+="strokeColor=#353535;",T.style+="strokeColor=#353535;",Xa.style+="strokeColor=none;fillColor=#7E7E7E;",Ya.style+="strokeColor=none;fillColor=#7E7E7E;",Za.style+="strokeColor=none;fillColor=#7E7E7E;",
|
||||
bb.style+="strokeColor=none;fillColor=#7E7E7E;",cb.style+="strokeColor=none;fillColor=#7E7E7E;",db.style+="strokeColor=none;fillColor=#7E7E7E;"):(v.style+="strokeColor=none;fillColor=#ffffff;shadow=1;",S.style+="strokeColor=#E2E2E2;",T.style+="strokeColor=#E2E2E2;",Xa.style+="strokeColor=none;fillColor=#939393;",Ya.style+="strokeColor=none;fillColor=#939393;",Za.style+="strokeColor=none;fillColor=#939393;",bb.style+="strokeColor=none;fillColor=#939393;",cb.style+="strokeColor=none;fillColor=#939393;",
|
||||
db.style+="strokeColor=none;fillColor=#939393;");break;case "AndroidListItems":var aa=b,eb=0;if(a.ShowHeader){var eb=8,yb=new mxCell("",new mxGeometry(0,0,d,eb),"strokeColor=none;fillColor=none;");yb.vertex=!0;v.insert(yb);yb.value=k(a.Header);yb.style+=n(a.Header);var aa=aa-eb,kb=new mxCell("",new mxGeometry(0,eb-2,d,4),"shape=line;strokeColor=#999999;");kb.vertex=!0;v.insert(kb)}var va=parseInt(a.Items);0<va&&(aa/=va);for(var U=[],M=[],g=0;g<va;g++)U[g]=new mxCell("",new mxGeometry(0,eb+g*aa,d,
|
||||
aa),"strokeColor=none;fillColor=none;"),U[g].vertex=!0,v.insert(U[g]),U[g].value=k(a["Item_"+g]),U[g].style+=n(a["Item_"+g]),0<g&&(M[g]=new mxCell("",new mxGeometry(0,eb+g*aa-2,d,4),"shape=line;"),M[g].vertex=!0,v.insert(M[g]),M[g].style="Dark"==a.Scheme?M[g].style+"strokeColor=#ffffff;":M[g].style+"strokeColor=#D9D9D9;");v.style="Dark"==a.Scheme?v.style+"strokeColor=none;fillColor=#111111;":v.style+"strokeColor=none;fillColor=#ffffff;";break;case "AndroidTabs":var wa=parseInt(a.Tabs),ha=d;0<wa&&
|
||||
(ha/=wa);for(var H=[],M=[],g=0;g<wa;g++)H[g]=new mxCell("",new mxGeometry(g*ha,0,ha,b),"strokeColor=none;fillColor=none;"),H[g].vertex=!0,v.insert(H[g]),H[g].value=k(a["Tab_"+g]),H[g].style+=n(a["Tab_"+g]),0<g&&(M[g]=new mxCell("",new mxGeometry(g*ha-2,.2*b,4,.6*b),"shape=line;direction=north;"),M[g].vertex=!0,v.insert(M[g]),M[g].style="Dark"==a.Scheme?M[g].style+"strokeColor=#484848;":M[g].style+"strokeColor=#CCCCCC;");var lb=new mxCell("",new mxGeometry(a.Selected*ha+2,b-3,ha-4,3),"strokeColor=none;fillColor=#33B5E5;");
|
||||
lb.vertex=!0;v.insert(lb);v.style="Dark"==a.Scheme?v.style+"strokeColor=none;fillColor=#333333;":v.style+"strokeColor=none;fillColor=#DDDDDD;";break;case "AndroidProgressBar":v=new mxCell("",new mxGeometry(Math.round(qa),Math.round(ra+.25*b),Math.round(d),Math.round(.5*b)),"html=1;whiteSpace=wrap;");v.vertex=!0;var zb=new mxCell("",new mxGeometry(0,0,d*a.BarPosition,Math.round(.5*b)),"strokeColor=none;fillColor=#33B5E5;");zb.vertex=!0;v.insert(zb);v.style="Dark"==a.Scheme?v.style+"strokeColor=none;fillColor=#474747;":
|
||||
c.Endpoint2,!1)}}}}function lb(f){var l=Sa(f).Properties.BoundingBox;null!=f.Class&&"AWS"===f.Class.substring(0,3)&&(l.h-=20);v=new mxCell("",new mxGeometry(Math.round(.6*l.x+0),Math.round(.6*l.y+0),Math.round(.6*l.w),Math.round(.6*l.h)),"html=1;whiteSpace=wrap;");v.vertex=!0;Tb(v,f);return v}function Ta(f,l,m){m=2*(parseFloat(f.Location)-.5);f=new mxCell(k(f),new mxGeometry(m,0,0,0),"text;html=1;resizable=0;labelBackgroundColor=#ffffff;");f.geometry.relative=!0;f.vertex=!0;l.insert(f);return l}function oa(f,
|
||||
l,m,c){null!=l&&null!=c&&(l=c(l));return null!=l&&l!=m?f+"="+l+";":""}function kb(f,l,m){null!=l&&null!=l.LinkX&&null!=l.LinkY&&(f.style+=(m?"exitX":"entryX")+"="+l.LinkX+";"+(m?"exitY":"entryY")+"="+l.LinkY+";"+(m?"exitPerimeter":"entryPerimeter")+"=0;")}function Ka(f,l,m,c,a,k,d,b){f=new mxCell("",new mxGeometry(f,l,0,0),"strokeColor=none;fillColor=none;");f.vertex=!0;d.insert(f);k=[f];m=sb.cloneCell(m);b.insertEdge(m,!1);f.insertEdge(m,!0);k.push(m);c.push(a.addCell(m,null,null,null,null))}function Q(f,
|
||||
l,k,c,a,h,d,b,n){f=new mxCell("",new mxGeometry(f,l,0,0),"strokeColor=none;fillColor=none;");f.vertex=!0;n.insert(f);k=new mxCell("",new mxGeometry(k,c,0,0),"strokeColor=none;fillColor=none;");k.vertex=!0;n.insert(k);b=[k];a=sb.cloneCell(a);f.insertEdge(a,!0);k.insertEdge(a,!1);b.push(a);h.push(d.addCell(a,null,null,null,null))}function lc(f,l,m){var c=Sa(f),a=c.Properties,fa=a.BoundingBox,d=Math.round(.6*fa.w),b=Math.round(.6*fa.h),ra=Math.round(.6*fa.x+0),sa=Math.round(.6*fa.y+0);v=new mxCell("",
|
||||
new mxGeometry(ra,sa,d,b),"html=1;whiteSpace=wrap;");v.vertex=!0;switch(f.Class){case "BraceNoteBlock":var ac=!1;null!=a.BraceDirection&&"Right"==a.BraceDirection&&(ac=!0);var Xa=null,ga=null;ac?(Xa=new mxCell("",new mxGeometry(d-.125*b,0,.125*b,b),"shape=curlyBracket;rounded=1;"),ga=new mxCell("",new mxGeometry(0,0,d-.125*b,b),"strokeColor=none;fillColor=none;")):(Xa=new mxCell("",new mxGeometry(0,0,.125*b,b),"shape=curlyBracket;rounded=1;flipH=1;"),ga=new mxCell("",new mxGeometry(.125*b,0,d-.125*
|
||||
b,b),"strokeColor=none;fillColor=none;"));v.style="strokeColor=none;fillColor=none;";v.style+=ia(a,c,v);Xa.vertex=!0;v.insert(Xa);Xa.style+=h(a,c)+r(a,c)+u(a)+y(a)+q(a);ga.vertex=!0;ga.value=k(a);v.insert(ga);ga.style+=K(a)+I(a)+J(a)+ba(a,ga)+ka(a)+la(a)+La(a)+ma(a)+na(a)+Na(a);break;case "AdvancedSwimLaneBlockRotated":case "AdvancedSwimLaneBlock":var oa=0;null!=a.Lanes&&(oa=a.Lanes.length);v.style="strokeColor=none;fillColor=none;";for(var qa=0,Oa=[],g=0;g<oa;g++){var bc=parseFloat(a.Lanes[g].p);
|
||||
Oa.push(new mxCell("",new mxGeometry(d*qa,0,d*bc,b),"shape=swimlane;startSize=25;"));Oa[g].vertex=!0;v.insert(Oa[g]);Oa[g].value=k(a["Lane_"+g]);Oa[g].style+=K(a["Lane_"+g])+I(a["Lane_"+g])+J(a["Lane_"+g])+ba(a["Lane_"+g],Oa[g])+ka(a["Lane_"+g])+la(a["Lane_"+g])+La(a["Lane_"+g])+ma(a["Lane_"+g])+na(a["Lane_"+g])+Na(a["Lane_"+g])+h(a,c)+r(a,c)+Sb(a,c)+ia(a,c,Oa[g])+(a.FlipX?"flipH=1;":"")+(a.FlipY?"flipV=1;":"")+u(a)+t(a,c)+y(a)+q(a);qa+=bc}break;case "AndroidDevice":if(null!=a.AndroidDeviceName){v.style=
|
||||
"fillColor=#000000;strokeColor=#000000;";var Pa=null,mb=null,nb=null;if("Tablet"==a.AndroidDeviceName||"Mini Tablet"==a.AndroidDeviceName)v.style+="shape=mxgraph.android.tab2;",Pa=new mxCell("",new mxGeometry(.112*d,.077*b,.77*d,.85*b),""),a.KeyboardShown&&(mb=new mxCell("",new mxGeometry(.112*d,.727*b,.77*d,.2*b),"shape=mxgraph.android.keyboard;")),a.FullScreen||(nb=new mxCell("",new mxGeometry(.112*d,.077*b,.77*d,.03*b),"shape=mxgraph.android.statusBar;strokeColor=#33b5e5;fillColor=#000000;fontColor=#33b5e5;fontSize="+
|
||||
.015*b+";"));else if("Large Phone"==a.AndroidDeviceName||"Phone"==a.AndroidDeviceName)v.style+="shape=mxgraph.android.phone2;",Pa=new mxCell("",new mxGeometry(.04*d,.092*b,.92*d,.816*b),""),a.KeyboardShown&&(mb=new mxCell("",new mxGeometry(.04*d,.708*b,.92*d,.2*b),"shape=mxgraph.android.keyboard;")),a.FullScreen||(nb=new mxCell("",new mxGeometry(.04*d,.092*b,.92*d,.03*b),"shape=mxgraph.android.statusBar;strokeColor=#33b5e5;fillColor=#000000;fontColor=#33b5e5;fontSize="+.015*b+";"));Pa.vertex=!0;v.insert(Pa);
|
||||
"Dark"==a.Scheme?Pa.style+="fillColor=#111111;":"Light"==a.Scheme&&(Pa.style+="fillColor=#ffffff;");null!=mb&&(mb.vertex=!0,v.insert(mb));null!=nb&&(nb.vertex=!0,v.insert(nb))}break;case "AndroidAlertDialog":var ta=new mxCell("",new mxGeometry(0,0,d,30),"strokeColor=none;fillColor=none;spacingLeft=9;");ta.vertex=!0;v.insert(ta);var N=new mxCell("",new mxGeometry(0,25,d,10),"shape=line;strokeColor=#33B5E5;");N.vertex=!0;v.insert(N);var ob=new mxCell("",new mxGeometry(0,30,d,b-30),"strokeColor=none;fillColor=none;verticalAlign=top;");
|
||||
ob.vertex=!0;v.insert(ob);var S=new mxCell("",new mxGeometry(0,b-25,.5*d,25),"fillColor=none;");S.vertex=!0;v.insert(S);var T=new mxCell("",new mxGeometry(.5*d,b-25,.5*d,25),"fillColor=none;");T.vertex=!0;v.insert(T);ta.value=k(a.DialogTitle);ta.style+=n(a.DialogTitle);ob.value=k(a.DialogText);ob.style+=n(a.DialogText);S.value=k(a.Button_0);S.style+=n(a.Button_0);T.value=k(a.Button_1);T.style+=n(a.Button_1);"Dark"==a.Scheme?(v.style+="strokeColor=#353535;fillColor=#282828;shadow=1;",S.style+="strokeColor=#353535;",
|
||||
T.style+="strokeColor=#353535;"):(v.style+="strokeColor=none;fillColor=#ffffff;shadow=1;",S.style+="strokeColor=#E2E2E2;",T.style+="strokeColor=#E2E2E2;");break;case "AndroidDateDialog":case "AndroidTimeDialog":ta=new mxCell("",new mxGeometry(0,0,d,30),"strokeColor=none;fillColor=none;spacingLeft=9;");ta.vertex=!0;v.insert(ta);ta.value=k(a.DialogTitle);ta.style+=n(a.DialogTitle);N=new mxCell("",new mxGeometry(0,25,d,10),"shape=line;strokeColor=#33B5E5;");N.vertex=!0;v.insert(N);S=new mxCell("",new mxGeometry(0,
|
||||
b-25,.5*d,25),"fillColor=none;");S.vertex=!0;v.insert(S);S.value=k(a.Button_0);S.style+=n(a.Button_0);T=new mxCell("",new mxGeometry(.5*d,b-25,.5*d,25),"fillColor=none;");T.vertex=!0;v.insert(T);T.value=k(a.Button_1);T.style+=n(a.Button_1);var Ya=new mxCell("",new mxGeometry(.5*d-4,41,8,4),"shape=triangle;direction=north;");Ya.vertex=!0;v.insert(Ya);var Za=new mxCell("",new mxGeometry(.25*d-4,41,8,4),"shape=triangle;direction=north;");Za.vertex=!0;v.insert(Za);var $a=new mxCell("",new mxGeometry(.75*
|
||||
d-4,41,8,4),"shape=triangle;direction=north;");$a.vertex=!0;v.insert($a);var pb=new mxCell("",new mxGeometry(.375*d,50,.2*d,15),"strokeColor=none;fillColor=none;");pb.vertex=!0;v.insert(pb);pb.value=k(a.Label_1);pb.style+=n(a.Label_1);var qb=new mxCell("",new mxGeometry(.125*d,50,.2*d,15),"strokeColor=none;fillColor=none;");qb.vertex=!0;v.insert(qb);qb.value=k(a.Label_0);qb.style+=n(a.Label_0);var ab=null;"AndroidDateDialog"==f.Class&&(ab=new mxCell("",new mxGeometry(.625*d,50,.2*d,15),"strokeColor=none;fillColor=none;"),
|
||||
ab.vertex=!0,v.insert(ab),ab.value=k(a.Label_2),ab.style+=n(a.Label_2));var ua=new mxCell("",new mxGeometry(.43*d,60,.14*d,10),"shape=line;strokeColor=#33B5E5;");ua.vertex=!0;v.insert(ua);var va=new mxCell("",new mxGeometry(.18*d,60,.14*d,10),"shape=line;strokeColor=#33B5E5;");va.vertex=!0;v.insert(va);var Ta=new mxCell("",new mxGeometry(.68*d,60,.14*d,10),"shape=line;strokeColor=#33B5E5;");Ta.vertex=!0;v.insert(Ta);var rb=new mxCell("",new mxGeometry(.375*d,65,.2*d,15),"strokeColor=none;fillColor=none;");
|
||||
rb.vertex=!0;v.insert(rb);rb.value=k(a.Label_4);rb.style+=n(a.Label_4);var bb=null;"AndroidTimeDialog"==f.Class&&(bb=new mxCell("",new mxGeometry(.3*d,65,.1*d,15),"strokeColor=none;fillColor=none;"),bb.vertex=!0,v.insert(bb),bb.value=k(a.Label_Colon),bb.style+=n(a.Label_Colon));var tb=new mxCell("",new mxGeometry(.125*d,65,.2*d,15),"strokeColor=none;fillColor=none;");tb.vertex=!0;v.insert(tb);tb.value=k(a.Label_3);tb.style+=n(a.Label_3);var ub=new mxCell("",new mxGeometry(.625*d,65,.2*d,15),"strokeColor=none;fillColor=none;");
|
||||
ub.vertex=!0;v.insert(ub);ub.value=k(a.Label_5);ub.style+=n(a.Label_5);var Wa=new mxCell("",new mxGeometry(.43*d,75,.14*d,10),"shape=line;strokeColor=#33B5E5;");Wa.vertex=!0;v.insert(Wa);var jb=new mxCell("",new mxGeometry(.18*d,75,.14*d,10),"shape=line;strokeColor=#33B5E5;");jb.vertex=!0;v.insert(jb);var kb=new mxCell("",new mxGeometry(.68*d,75,.14*d,10),"shape=line;strokeColor=#33B5E5;");kb.vertex=!0;v.insert(kb);var vb=new mxCell("",new mxGeometry(.375*d,80,.2*d,15),"strokeColor=none;fillColor=none;");
|
||||
vb.vertex=!0;v.insert(vb);vb.value=k(a.Label_7);vb.style+=n(a.Label_7);var wb=new mxCell("",new mxGeometry(.125*d,80,.2*d,15),"strokeColor=none;fillColor=none;");wb.vertex=!0;v.insert(wb);wb.value=k(a.Label_6);wb.style+=n(a.Label_6);var xb=new mxCell("",new mxGeometry(.625*d,80,.2*d,15),"strokeColor=none;fillColor=none;");xb.vertex=!0;v.insert(xb);xb.value=k(a.Label_8);xb.style+=n(a.Label_8);var cb=new mxCell("",new mxGeometry(.5*d-4,99,8,4),"shape=triangle;direction=south;");cb.vertex=!0;v.insert(cb);
|
||||
var db=new mxCell("",new mxGeometry(.25*d-4,99,8,4),"shape=triangle;direction=south;");db.vertex=!0;v.insert(db);var eb=new mxCell("",new mxGeometry(.75*d-4,99,8,4),"shape=triangle;direction=south;");eb.vertex=!0;v.insert(eb);"Dark"==a.Scheme?(v.style+="strokeColor=#353535;fillColor=#282828;shadow=1;",S.style+="strokeColor=#353535;",T.style+="strokeColor=#353535;",Ya.style+="strokeColor=none;fillColor=#7E7E7E;",Za.style+="strokeColor=none;fillColor=#7E7E7E;",$a.style+="strokeColor=none;fillColor=#7E7E7E;",
|
||||
cb.style+="strokeColor=none;fillColor=#7E7E7E;",db.style+="strokeColor=none;fillColor=#7E7E7E;",eb.style+="strokeColor=none;fillColor=#7E7E7E;"):(v.style+="strokeColor=none;fillColor=#ffffff;shadow=1;",S.style+="strokeColor=#E2E2E2;",T.style+="strokeColor=#E2E2E2;",Ya.style+="strokeColor=none;fillColor=#939393;",Za.style+="strokeColor=none;fillColor=#939393;",$a.style+="strokeColor=none;fillColor=#939393;",cb.style+="strokeColor=none;fillColor=#939393;",db.style+="strokeColor=none;fillColor=#939393;",
|
||||
eb.style+="strokeColor=none;fillColor=#939393;");break;case "AndroidListItems":var aa=b,fb=0;if(a.ShowHeader){var fb=8,yb=new mxCell("",new mxGeometry(0,0,d,fb),"strokeColor=none;fillColor=none;");yb.vertex=!0;v.insert(yb);yb.value=k(a.Header);yb.style+=n(a.Header);var aa=aa-fb,lb=new mxCell("",new mxGeometry(0,fb-2,d,4),"shape=line;strokeColor=#999999;");lb.vertex=!0;v.insert(lb)}var wa=parseInt(a.Items);0<wa&&(aa/=wa);for(var U=[],N=[],g=0;g<wa;g++)U[g]=new mxCell("",new mxGeometry(0,fb+g*aa,d,
|
||||
aa),"strokeColor=none;fillColor=none;"),U[g].vertex=!0,v.insert(U[g]),U[g].value=k(a["Item_"+g]),U[g].style+=n(a["Item_"+g]),0<g&&(N[g]=new mxCell("",new mxGeometry(0,fb+g*aa-2,d,4),"shape=line;"),N[g].vertex=!0,v.insert(N[g]),N[g].style="Dark"==a.Scheme?N[g].style+"strokeColor=#ffffff;":N[g].style+"strokeColor=#D9D9D9;");v.style="Dark"==a.Scheme?v.style+"strokeColor=none;fillColor=#111111;":v.style+"strokeColor=none;fillColor=#ffffff;";break;case "AndroidTabs":var xa=parseInt(a.Tabs),ha=d;0<xa&&
|
||||
(ha/=xa);for(var H=[],N=[],g=0;g<xa;g++)H[g]=new mxCell("",new mxGeometry(g*ha,0,ha,b),"strokeColor=none;fillColor=none;"),H[g].vertex=!0,v.insert(H[g]),H[g].value=k(a["Tab_"+g]),H[g].style+=n(a["Tab_"+g]),0<g&&(N[g]=new mxCell("",new mxGeometry(g*ha-2,.2*b,4,.6*b),"shape=line;direction=north;"),N[g].vertex=!0,v.insert(N[g]),N[g].style="Dark"==a.Scheme?N[g].style+"strokeColor=#484848;":N[g].style+"strokeColor=#CCCCCC;");var Jb=new mxCell("",new mxGeometry(a.Selected*ha+2,b-3,ha-4,3),"strokeColor=none;fillColor=#33B5E5;");
|
||||
Jb.vertex=!0;v.insert(Jb);v.style="Dark"==a.Scheme?v.style+"strokeColor=none;fillColor=#333333;":v.style+"strokeColor=none;fillColor=#DDDDDD;";break;case "AndroidProgressBar":v=new mxCell("",new mxGeometry(Math.round(ra),Math.round(sa+.25*b),Math.round(d),Math.round(.5*b)),"html=1;whiteSpace=wrap;");v.vertex=!0;var zb=new mxCell("",new mxGeometry(0,0,d*a.BarPosition,Math.round(.5*b)),"strokeColor=none;fillColor=#33B5E5;");zb.vertex=!0;v.insert(zb);v.style="Dark"==a.Scheme?v.style+"strokeColor=none;fillColor=#474747;":
|
||||
v.style+"strokeColor=none;fillColor=#BBBBBB;";break;case "AndroidImageBlock":v.style="Dark"==a.Scheme?v.style+"shape=mxgraph.mockup.graphics.simpleIcon;strokeColor=#7E7E7E;fillColor=#111111;":v.style+"shape=mxgraph.mockup.graphics.simpleIcon;strokeColor=#939393;fillColor=#ffffff;";break;case "AndroidTextBlock":v.style="Dark"==a.Scheme?a.ShowBorder?v.style+"fillColor=#111111;strokeColor=#ffffff;":v.style+"fillColor=#111111;strokeColor=none;":a.ShowBorder?v.style+"fillColor=#ffffff;strokeColor=#000000;":
|
||||
v.style+"fillColor=#ffffff;strokeColor=none;";v.value=k(a.Label);v.style+=n(a.Label);break;case "AndroidActionBar":v.style+="strokeColor=none;";switch(a.BarBackground){case "Blue":v.style+="fillColor=#002E3E;";break;case "Gray":v.style+="fillColor=#DDDDDD;";break;case "Dark Gray":v.style+="fillColor=#474747;";break;case "White":v.style+="fillColor=#ffffff;"}if(a.HighlightShow){var La=null,La=a.HighlightTop?new mxCell("",new mxGeometry(0,0,d,2),"strokeColor=none;"):new mxCell("",new mxGeometry(0,b-
|
||||
2,d,2),"strokeColor=none;");La.vertex=!0;v.insert(La);switch(a.HighlightColor){case "Blue":La.style+="fillColor=#33B5E5;";break;case "Dark Gray":La.style+="fillColor=#B0B0B0;";break;case "White":La.style+="fillColor=#ffffff;"}}if(a.VlignShow){var fb=new mxCell("",new mxGeometry(20,5,2,b-10),"shape=line;direction=north;");fb.vertex=!0;v.insert(fb);switch(a.VlignColor){case "Blue":fb.style+="strokeColor=#244C5A;";break;case "White":fb.style+="strokeColor=#ffffff;"}}break;case "AndroidButton":v.value=
|
||||
v.style+"fillColor=#ffffff;strokeColor=none;";v.value=k(a.Label);v.style+=n(a.Label);break;case "AndroidActionBar":v.style+="strokeColor=none;";switch(a.BarBackground){case "Blue":v.style+="fillColor=#002E3E;";break;case "Gray":v.style+="fillColor=#DDDDDD;";break;case "Dark Gray":v.style+="fillColor=#474747;";break;case "White":v.style+="fillColor=#ffffff;"}if(a.HighlightShow){var Ma=null,Ma=a.HighlightTop?new mxCell("",new mxGeometry(0,0,d,2),"strokeColor=none;"):new mxCell("",new mxGeometry(0,b-
|
||||
2,d,2),"strokeColor=none;");Ma.vertex=!0;v.insert(Ma);switch(a.HighlightColor){case "Blue":Ma.style+="fillColor=#33B5E5;";break;case "Dark Gray":Ma.style+="fillColor=#B0B0B0;";break;case "White":Ma.style+="fillColor=#ffffff;"}}if(a.VlignShow){var gb=new mxCell("",new mxGeometry(20,5,2,b-10),"shape=line;direction=north;");gb.vertex=!0;v.insert(gb);switch(a.VlignColor){case "Blue":gb.style+="strokeColor=#244C5A;";break;case "White":gb.style+="strokeColor=#ffffff;"}}break;case "AndroidButton":v.value=
|
||||
k(a.Label);v.style+=n(a.Label)+"shape=partialRectangle;left=0;right=0;";v.style="Dark"==a.Scheme?v.style+"fillColor=#474747;strokeColor=#C6C5C6;bottom=0;":v.style+"fillColor=#DFE0DF;strokeColor=#C6C5C6;top=0;";break;case "AndroidTextBox":v.value=k(a.Label);v.style+=n(a.Label);var Ab=new mxCell("",new mxGeometry(2,b-6,d-4,4),"shape=partialRectangle;top=0;fillColor=none;");Ab.vertex=!0;v.insert(Ab);v.style="Dark"==a.Scheme?v.style+"fillColor=#111111;strokeColor=none;":v.style+"fillColor=#ffffff;strokeColor=none;";
|
||||
Ab.style=a.TextFocused?Ab.style+"strokeColor=#33B5E5;":Ab.style+"strokeColor=#A9A9A9;";break;case "AndroidRadioButton":var Sa=null;a.Checked&&(Sa=new mxCell("",new mxGeometry(.15*d,.15*b,.7*d,.7*b),"shape=ellipse;fillColor=#33B5E5;strokeWidth=0.6;"),Sa.vertex=!0,v.insert(Sa));"Dark"==a.Scheme?(v.style+="shape=ellipse;strokeWidth=0.6;strokeColor=#272727;",a.Checked?(Sa.style+="strokeColor=#1F5C73;",v.style+="fillColor=#193C49;"):v.style+="fillColor=#111111;"):(v.style+="shape=ellipse;strokeWidth=0.6;fillColor=#ffffff;strokeColor=#5C5C5C;",
|
||||
a.Checked&&(Sa.style+="strokeColor=#999999;"));break;case "AndroidCheckBox":var Sb=null;a.Checked&&(Sb=new mxCell("",new mxGeometry(.25*d,.05*-b,d,.8*b),"shape=mxgraph.ios7.misc.check;strokeColor=#33B5E5;strokeWidth=2;"),Sb.vertex=!0,v.insert(Sb));v.style="Dark"==a.Scheme?v.style+"strokeWidth=0.6;strokeColor=#272727;fillColor=#111111;":v.style+"strokeWidth=0.6;strokeColor=#5C5C5C;fillColor=#ffffff;";break;case "AndroidToggle":v.style="Dark"==a.Scheme?a.Checked?v.style+"shape=mxgraph.android.switch_on;fillColor=#666666;":
|
||||
v.style+"shape=mxgraph.android.switch_off;fillColor=#666666;":a.Checked?v.style+"shape=mxgraph.android.switch_on;fillColor=#E6E6E6;":v.style+"shape=mxgraph.android.switch_off;fillColor=#E6E6E6;";break;case "AndroidSlider":v.style+="shape=mxgraph.android.progressScrubberFocused;dx="+a.BarPosition+";fillColor=#33b5e5;";break;case "iOSSegmentedControl":wa=parseInt(a.Tabs);ha=d;v.style+="strokeColor=none;fillColor=none;";0<wa&&(ha/=wa);H=[];M=[];for(g=0;g<wa;g++)H[g]=new mxCell("",new mxGeometry(g*ha,
|
||||
0,ha,b),"strokeColor="+a.FillColor+";"),H[g].vertex=!0,v.insert(H[g]),H[g].value=k(a["Tab_"+g]),H[g].style+=n(a["Tab_"+g]),H[g].style=a.Selected==g?H[g].style+t(a,c):H[g].style+"fillColor=none;";break;case "iOSSlider":v.style+="shape=mxgraph.ios7ui.slider;strokeColor="+a.FillColor+";fillColor=#ffffff;strokeWidth=2;barPos="+100*a.BarPosition+";";break;case "iOSProgressBar":v=new mxCell("",new mxGeometry(Math.round(qa),Math.round(ra+.25*b),Math.round(d),Math.round(.5*b)),"html=1;whiteSpace=wrap;strokeColor=none;fillColor=#B5B5B5;");
|
||||
v.vertex=!0;zb=new mxCell("",new mxGeometry(0,0,d*a.BarPosition,Math.round(.5*b)),"strokeColor=none;"+t(a,c));zb.vertex=!0;v.insert(zb);break;case "iOSPageControls":v.style+="shape=mxgraph.ios7ui.pageControl;"+t(a,c)+"strokeColor=#D6D6D6;";break;case "iOSStatusBar":v.style+="shape=mxgraph.ios7ui.appBar;"+t(a,c)+"strokeColor=#000000;";var z=new mxCell(k(a.Text),new mxGeometry(.35*d,0,.3*d,b),"strokeColor=none;fillColor=none;");z.vertex=!0;v.insert(z);z.style+=n(a.Text);var ba=new mxCell(k(a.Carrier),
|
||||
new mxGeometry(.09*d,0,.2*d,b),"strokeColor=none;fillColor=none;");ba.vertex=!0;v.insert(ba);ba.style+=n(a.Carrier);break;case "iOSSearchBar":v.style+="strokeColor=none;"+t(a,c)+r(a,c)+Rb(a,c)+n(a.Search);v.value=k(a.Search);var C=new mxCell("",new mxGeometry(.3*d,.3*b,.4*b,.4*b),"shape=mxgraph.ios7.icons.looking_glass;strokeColor=#000000;fillColor=none;");C.vertex=!0;v.insert(C);break;case "iOSNavBar":v.style+="shape=partialRectangle;top=0;right=0;left=0;strokeColor=#979797;"+t(a,c)+r(a,c)+n(a.Title);
|
||||
v.value=k(a.Title);z=new mxCell(k(a.LeftText),new mxGeometry(.03*d,0,.3*d,b),"strokeColor=none;fillColor=none;");z.vertex=!0;v.insert(z);z.style+=n(a.LeftText);ba=new mxCell(k(a.RightText),new mxGeometry(.65*d,0,.3*d,b),"strokeColor=none;fillColor=none;");ba.vertex=!0;v.insert(ba);ba.style+=n(a.RightText);C=new mxCell("",new mxGeometry(.02*d,.2*b,.3*b,.5*b),"shape=mxgraph.ios7.misc.left;strokeColor=#007AFF;strokeWidth=2;");C.vertex=!0;v.insert(C);break;case "iOSTabs":wa=parseInt(a.Tabs);ha=d;v.style+=
|
||||
"shape=partialRectangle;right=0;left=0;bottom=0;strokeColor=#979797;"+t(a,c)+r(a,c);0<wa&&(ha/=wa);H=[];M=[];for(g=0;g<wa;g++)H[g]=new mxCell("",new mxGeometry(g*ha,0,ha,b),"strokeColor=none;"),H[g].vertex=!0,v.insert(H[g]),H[g].value=k(a["Tab_"+g]),H[g].style+=I(a["Tab_"+g]),H[g].style+=J(a["Tab_"+g])+K(a["Tab_"+g])+ea(a["Tab_"+g])+ma(a["Tab_"+g])+na(a["Tab_"+g])+Ka(a["Tab_"+g])+oa(a["Tab_"+g])+pa(a["Tab_"+g]),H[g].style+="verticalAlign=bottom;",H[g].style=a.Selected==g?H[g].style+"fillColor=#BBBBBB;":
|
||||
H[g].style+"fillColor=none;";break;case "iOSDatePicker":var xa=new mxCell("",new mxGeometry(0,0,.5*d,.2*b),"strokeColor=none;fillColor=none;");xa.vertex=!0;v.insert(xa);xa.value=k(a.Option11);xa.style+=n(a.Option11);var ya=new mxCell("",new mxGeometry(.5*d,0,.15*d,.2*b),"strokeColor=none;fillColor=none;");ya.vertex=!0;v.insert(ya);ya.value=k(a.Option21);ya.style+=n(a.Option21);var za=new mxCell("",new mxGeometry(.65*d,0,.15*d,.2*b),"strokeColor=none;fillColor=none;");za.vertex=!0;v.insert(za);za.value=
|
||||
k(a.Option31);za.style+=n(a.Option31);var Aa=new mxCell("",new mxGeometry(0,.2*b,.5*d,.2*b),"strokeColor=none;fillColor=none;");Aa.vertex=!0;v.insert(Aa);Aa.value=k(a.Option12);Aa.style+=n(a.Option12);var Ba=new mxCell("",new mxGeometry(.5*d,.2*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");Ba.vertex=!0;v.insert(Ba);Ba.value=k(a.Option22);Ba.style+=n(a.Option22);var Ca=new mxCell("",new mxGeometry(.65*d,.2*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");Ca.vertex=!0;v.insert(Ca);Ca.value=k(a.Option32);
|
||||
Ca.style+=n(a.Option32);var V=new mxCell("",new mxGeometry(0,.4*b,.5*d,.2*b),"strokeColor=none;fillColor=none;");V.vertex=!0;v.insert(V);V.value=k(a.Option13);V.style+=n(a.Option13);var W=new mxCell("",new mxGeometry(.5*d,.4*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");W.vertex=!0;v.insert(W);W.value=k(a.Option23);W.style+=n(a.Option23);var Da=new mxCell("",new mxGeometry(.65*d,.4*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");Da.vertex=!0;v.insert(Da);Da.value=k(a.Option33);Da.style+=n(a.Option33);
|
||||
var X=new mxCell("",new mxGeometry(.8*d,.4*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");X.vertex=!0;v.insert(X);X.value=k(a.Option43);X.style+=n(a.Option43);var Y=new mxCell("",new mxGeometry(0,.6*b,.5*d,.2*b),"strokeColor=none;fillColor=none;");Y.vertex=!0;v.insert(Y);Y.value=k(a.Option14);Y.style+=n(a.Option14);var Ea=new mxCell("",new mxGeometry(.5*d,.6*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");Ea.vertex=!0;v.insert(Ea);Ea.value=k(a.Option24);Ea.style+=n(a.Option24);var Fa=new mxCell("",
|
||||
new mxGeometry(.65*d,.6*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");Fa.vertex=!0;v.insert(Fa);Fa.value=k(a.Option34);Fa.style+=n(a.Option34);var Ga=new mxCell("",new mxGeometry(.8*d,.6*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");Ga.vertex=!0;v.insert(Ga);Ga.value=k(a.Option44);Ga.style+=n(a.Option44);var Z=new mxCell("",new mxGeometry(0,.8*b,.5*d,.2*b),"strokeColor=none;fillColor=none;");Z.vertex=!0;v.insert(Z);Z.value=k(a.Option15);Z.style+=n(a.Option15);var Ha=new mxCell("",new mxGeometry(.5*
|
||||
d,.8*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");Ha.vertex=!0;v.insert(Ha);Ha.value=k(a.Option25);Ha.style+=n(a.Option25);var Ia=new mxCell("",new mxGeometry(.65*d,.8*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");Ia.vertex=!0;v.insert(Ia);Ia.value=k(a.Option35);Ia.style+=n(a.Option35);ta=new mxCell("",new mxGeometry(0,.4*b-2,d,4),"shape=line;strokeColor=#888888;");ta.vertex=!0;v.insert(ta);ua=new mxCell("",new mxGeometry(0,.6*b-2,d,4),"shape=line;strokeColor=#888888;");ua.vertex=!0;v.insert(ua);
|
||||
v.style+=t(a,c)+r(a,c)+"strokeColor=none;";break;case "iOSTimePicker":xa=new mxCell("",new mxGeometry(0,0,.25*d,.2*b),"strokeColor=none;fillColor=none;");xa.vertex=!0;v.insert(xa);xa.value=k(a.Option11);xa.style+=n(a.Option11);ya=new mxCell("",new mxGeometry(.25*d,0,.3*d,.2*b),"strokeColor=none;fillColor=none;");ya.vertex=!0;v.insert(ya);ya.value=k(a.Option21);ya.style+=n(a.Option21);Aa=new mxCell("",new mxGeometry(0,.2*b,.25*d,.2*b),"strokeColor=none;fillColor=none;");Aa.vertex=!0;v.insert(Aa);Aa.value=
|
||||
k(a.Option12);Aa.style+=n(a.Option12);Ba=new mxCell("",new mxGeometry(.25*d,.2*b,.3*d,.2*b),"strokeColor=none;fillColor=none;");Ba.vertex=!0;v.insert(Ba);Ba.value=k(a.Option22);Ba.style+=n(a.Option22);V=new mxCell("",new mxGeometry(0,.4*b,.25*d,.2*b),"strokeColor=none;fillColor=none;");V.vertex=!0;v.insert(V);V.value=k(a.Option13);V.style+=n(a.Option13);W=new mxCell("",new mxGeometry(.25*d,.4*b,.3*d,.2*b),"strokeColor=none;fillColor=none;");W.vertex=!0;v.insert(W);W.value=k(a.Option23);W.style+=n(a.Option23);
|
||||
X=new mxCell("",new mxGeometry(.7*d,.4*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");X.vertex=!0;v.insert(X);X.value=k(a.Option33);X.style+=n(a.Option33);Y=new mxCell("",new mxGeometry(0,.6*b,.25*d,.2*b),"strokeColor=none;fillColor=none;");Y.vertex=!0;v.insert(Y);Y.value=k(a.Option14);Y.style+=n(a.Option14);Ea=new mxCell("",new mxGeometry(.25*d,.6*b,.3*d,.2*b),"strokeColor=none;fillColor=none;");Ea.vertex=!0;v.insert(Ea);Ea.value=k(a.Option24);Ea.style+=n(a.Option24);Ga=new mxCell("",new mxGeometry(.7*
|
||||
d,.6*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");Ga.vertex=!0;v.insert(Ga);Ga.value=k(a.Option34);Ga.style+=n(a.Option34);Z=new mxCell("",new mxGeometry(0,.8*b,.25*d,.2*b),"strokeColor=none;fillColor=none;");Z.vertex=!0;v.insert(Z);Z.value=k(a.Option15);Z.style+=n(a.Option15);Ha=new mxCell("",new mxGeometry(.25*d,.8*b,.3*d,.2*b),"strokeColor=none;fillColor=none;");Ha.vertex=!0;v.insert(Ha);Ha.value=k(a.Option25);Ha.style+=n(a.Option25);ta=new mxCell("",new mxGeometry(0,.4*b-2,d,4),"shape=line;strokeColor=#888888;");
|
||||
ta.vertex=!0;v.insert(ta);ua=new mxCell("",new mxGeometry(0,.6*b-2,d,4),"shape=line;strokeColor=#888888;");ua.vertex=!0;v.insert(ua);v.style+=t(a,c)+r(a,c)+"strokeColor=none;";break;case "iOSCountdownPicker":za=new mxCell("",new mxGeometry(.45*d,0,.2*d,.2*b),"strokeColor=none;fillColor=none;");za.vertex=!0;v.insert(za);za.value=k(a.Option31);za.style+=n(a.Option31);Ca=new mxCell("",new mxGeometry(.45*d,.2*b,.2*d,.2*b),"strokeColor=none;fillColor=none;");Ca.vertex=!0;v.insert(Ca);Ca.value=k(a.Option32);
|
||||
Ca.style+=n(a.Option32);V=new mxCell("",new mxGeometry(0,.4*b,.25*d,.2*b),"strokeColor=none;fillColor=none;");V.vertex=!0;v.insert(V);V.value=k(a.Option13);V.style+=n(a.Option13);W=new mxCell("",new mxGeometry(.2*d,.4*b,.25*d,.2*b),"strokeColor=none;fillColor=none;");W.vertex=!0;v.insert(W);W.value=k(a.Option23);W.style+=n(a.Option23);Da=new mxCell("",new mxGeometry(.45*d,.4*b,.2*d,.2*b),"strokeColor=none;fillColor=none;");Da.vertex=!0;v.insert(Da);Da.value=k(a.Option33);Da.style+=n(a.Option33);X=
|
||||
new mxCell("",new mxGeometry(.6*d,.4*b,.2*d,.2*b),"strokeColor=none;fillColor=none;");X.vertex=!0;v.insert(X);X.value=k(a.Option43);X.style+=n(a.Option43);Y=new mxCell("",new mxGeometry(0,.6*b,.25*d,.2*b),"strokeColor=none;fillColor=none;");Y.vertex=!0;v.insert(Y);Y.value=k(a.Option14);Y.style+=n(a.Option14);Fa=new mxCell("",new mxGeometry(.45*d,.6*b,.2*d,.2*b),"strokeColor=none;fillColor=none;");Fa.vertex=!0;v.insert(Fa);Fa.value=k(a.Option34);Fa.style+=n(a.Option34);Z=new mxCell("",new mxGeometry(0,
|
||||
.8*b,.25*d,.2*b),"strokeColor=none;fillColor=none;");Z.vertex=!0;v.insert(Z);Z.value=k(a.Option15);Z.style+=n(a.Option15);Ia=new mxCell("",new mxGeometry(.45*d,.8*b,.2*d,.2*b),"strokeColor=none;fillColor=none;");Ia.vertex=!0;v.insert(Ia);Ia.value=k(a.Option35);Ia.style+=n(a.Option35);ta=new mxCell("",new mxGeometry(0,.4*b-2,d,4),"shape=line;strokeColor=#888888;");ta.vertex=!0;v.insert(ta);ua=new mxCell("",new mxGeometry(0,.6*b-2,d,4),"shape=line;strokeColor=#888888;");ua.vertex=!0;v.insert(ua);v.style+=
|
||||
t(a,c)+r(a,c)+"strokeColor=none;";break;case "iOSBasicCell":v.style+="shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;spacing=0;align=left;spacingLeft="+.6*a.SeparatorInset+";";v.style+=I(a.text)+J(a.text)+K(a.text)+Qa(a.text);v.value=k(a.text);switch(a.AccessoryIndicatorType){case "Disclosure":C=new mxCell("",new mxGeometry(.91*d,.35*b,.15*b,.3*b),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");C.vertex=!0;v.insert(C);break;case "DetailDisclosure":C=new mxCell("",
|
||||
Ab.style=a.TextFocused?Ab.style+"strokeColor=#33B5E5;":Ab.style+"strokeColor=#A9A9A9;";break;case "AndroidRadioButton":var Ua=null;a.Checked&&(Ua=new mxCell("",new mxGeometry(.15*d,.15*b,.7*d,.7*b),"shape=ellipse;fillColor=#33B5E5;strokeWidth=0.6;"),Ua.vertex=!0,v.insert(Ua));"Dark"==a.Scheme?(v.style+="shape=ellipse;strokeWidth=0.6;strokeColor=#272727;",a.Checked?(Ua.style+="strokeColor=#1F5C73;",v.style+="fillColor=#193C49;"):v.style+="fillColor=#111111;"):(v.style+="shape=ellipse;strokeWidth=0.6;fillColor=#ffffff;strokeColor=#5C5C5C;",
|
||||
a.Checked&&(Ua.style+="strokeColor=#999999;"));break;case "AndroidCheckBox":var Ub=null;a.Checked&&(Ub=new mxCell("",new mxGeometry(.25*d,.05*-b,d,.8*b),"shape=mxgraph.ios7.misc.check;strokeColor=#33B5E5;strokeWidth=2;"),Ub.vertex=!0,v.insert(Ub));v.style="Dark"==a.Scheme?v.style+"strokeWidth=0.6;strokeColor=#272727;fillColor=#111111;":v.style+"strokeWidth=0.6;strokeColor=#5C5C5C;fillColor=#ffffff;";break;case "AndroidToggle":v.style="Dark"==a.Scheme?a.Checked?v.style+"shape=mxgraph.android.switch_on;fillColor=#666666;":
|
||||
v.style+"shape=mxgraph.android.switch_off;fillColor=#666666;":a.Checked?v.style+"shape=mxgraph.android.switch_on;fillColor=#E6E6E6;":v.style+"shape=mxgraph.android.switch_off;fillColor=#E6E6E6;";break;case "AndroidSlider":v.style+="shape=mxgraph.android.progressScrubberFocused;dx="+a.BarPosition+";fillColor=#33b5e5;";break;case "iOSSegmentedControl":xa=parseInt(a.Tabs);ha=d;v.style+="strokeColor=none;fillColor=none;";0<xa&&(ha/=xa);H=[];N=[];for(g=0;g<xa;g++)H[g]=new mxCell("",new mxGeometry(g*ha,
|
||||
0,ha,b),"strokeColor="+a.FillColor+";"),H[g].vertex=!0,v.insert(H[g]),H[g].value=k(a["Tab_"+g]),H[g].style+=n(a["Tab_"+g]),H[g].style=a.Selected==g?H[g].style+t(a,c):H[g].style+"fillColor=none;";break;case "iOSSlider":v.style+="shape=mxgraph.ios7ui.slider;strokeColor="+a.FillColor+";fillColor=#ffffff;strokeWidth=2;barPos="+100*a.BarPosition+";";break;case "iOSProgressBar":v=new mxCell("",new mxGeometry(Math.round(ra),Math.round(sa+.25*b),Math.round(d),Math.round(.5*b)),"html=1;whiteSpace=wrap;strokeColor=none;fillColor=#B5B5B5;");
|
||||
v.vertex=!0;zb=new mxCell("",new mxGeometry(0,0,d*a.BarPosition,Math.round(.5*b)),"strokeColor=none;"+t(a,c));zb.vertex=!0;v.insert(zb);break;case "iOSPageControls":v.style+="shape=mxgraph.ios7ui.pageControl;"+t(a,c)+"strokeColor=#D6D6D6;";break;case "iOSStatusBar":v.style+="shape=mxgraph.ios7ui.appBar;"+t(a,c)+"strokeColor=#000000;";var z=new mxCell(k(a.Text),new mxGeometry(.35*d,0,.3*d,b),"strokeColor=none;fillColor=none;");z.vertex=!0;v.insert(z);z.style+=n(a.Text);var ca=new mxCell(k(a.Carrier),
|
||||
new mxGeometry(.09*d,0,.2*d,b),"strokeColor=none;fillColor=none;");ca.vertex=!0;v.insert(ca);ca.style+=n(a.Carrier);break;case "iOSSearchBar":v.style+="strokeColor=none;"+t(a,c)+r(a,c)+Sb(a,c)+n(a.Search);v.value=k(a.Search);var C=new mxCell("",new mxGeometry(.3*d,.3*b,.4*b,.4*b),"shape=mxgraph.ios7.icons.looking_glass;strokeColor=#000000;fillColor=none;");C.vertex=!0;v.insert(C);break;case "iOSNavBar":v.style+="shape=partialRectangle;top=0;right=0;left=0;strokeColor=#979797;"+t(a,c)+r(a,c)+n(a.Title);
|
||||
v.value=k(a.Title);z=new mxCell(k(a.LeftText),new mxGeometry(.03*d,0,.3*d,b),"strokeColor=none;fillColor=none;");z.vertex=!0;v.insert(z);z.style+=n(a.LeftText);ca=new mxCell(k(a.RightText),new mxGeometry(.65*d,0,.3*d,b),"strokeColor=none;fillColor=none;");ca.vertex=!0;v.insert(ca);ca.style+=n(a.RightText);C=new mxCell("",new mxGeometry(.02*d,.2*b,.3*b,.5*b),"shape=mxgraph.ios7.misc.left;strokeColor=#007AFF;strokeWidth=2;");C.vertex=!0;v.insert(C);break;case "iOSTabs":xa=parseInt(a.Tabs);ha=d;v.style+=
|
||||
"shape=partialRectangle;right=0;left=0;bottom=0;strokeColor=#979797;"+t(a,c)+r(a,c);0<xa&&(ha/=xa);H=[];N=[];for(g=0;g<xa;g++)H[g]=new mxCell("",new mxGeometry(g*ha,0,ha,b),"strokeColor=none;"),H[g].vertex=!0,v.insert(H[g]),H[g].value=k(a["Tab_"+g]),H[g].style+=K(a["Tab_"+g]),H[g].style+=I(a["Tab_"+g])+J(a["Tab_"+g])+ba(a["Tab_"+g])+ka(a["Tab_"+g])+la(a["Tab_"+g])+La(a["Tab_"+g])+ma(a["Tab_"+g])+na(a["Tab_"+g]),H[g].style+="verticalAlign=bottom;",H[g].style=a.Selected==g?H[g].style+"fillColor=#BBBBBB;":
|
||||
H[g].style+"fillColor=none;";break;case "iOSDatePicker":var ya=new mxCell("",new mxGeometry(0,0,.5*d,.2*b),"strokeColor=none;fillColor=none;");ya.vertex=!0;v.insert(ya);ya.value=k(a.Option11);ya.style+=n(a.Option11);var za=new mxCell("",new mxGeometry(.5*d,0,.15*d,.2*b),"strokeColor=none;fillColor=none;");za.vertex=!0;v.insert(za);za.value=k(a.Option21);za.style+=n(a.Option21);var Aa=new mxCell("",new mxGeometry(.65*d,0,.15*d,.2*b),"strokeColor=none;fillColor=none;");Aa.vertex=!0;v.insert(Aa);Aa.value=
|
||||
k(a.Option31);Aa.style+=n(a.Option31);var Ba=new mxCell("",new mxGeometry(0,.2*b,.5*d,.2*b),"strokeColor=none;fillColor=none;");Ba.vertex=!0;v.insert(Ba);Ba.value=k(a.Option12);Ba.style+=n(a.Option12);var Ca=new mxCell("",new mxGeometry(.5*d,.2*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");Ca.vertex=!0;v.insert(Ca);Ca.value=k(a.Option22);Ca.style+=n(a.Option22);var Da=new mxCell("",new mxGeometry(.65*d,.2*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");Da.vertex=!0;v.insert(Da);Da.value=k(a.Option32);
|
||||
Da.style+=n(a.Option32);var V=new mxCell("",new mxGeometry(0,.4*b,.5*d,.2*b),"strokeColor=none;fillColor=none;");V.vertex=!0;v.insert(V);V.value=k(a.Option13);V.style+=n(a.Option13);var W=new mxCell("",new mxGeometry(.5*d,.4*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");W.vertex=!0;v.insert(W);W.value=k(a.Option23);W.style+=n(a.Option23);var Ea=new mxCell("",new mxGeometry(.65*d,.4*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");Ea.vertex=!0;v.insert(Ea);Ea.value=k(a.Option33);Ea.style+=n(a.Option33);
|
||||
var X=new mxCell("",new mxGeometry(.8*d,.4*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");X.vertex=!0;v.insert(X);X.value=k(a.Option43);X.style+=n(a.Option43);var Y=new mxCell("",new mxGeometry(0,.6*b,.5*d,.2*b),"strokeColor=none;fillColor=none;");Y.vertex=!0;v.insert(Y);Y.value=k(a.Option14);Y.style+=n(a.Option14);var Fa=new mxCell("",new mxGeometry(.5*d,.6*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");Fa.vertex=!0;v.insert(Fa);Fa.value=k(a.Option24);Fa.style+=n(a.Option24);var Ga=new mxCell("",
|
||||
new mxGeometry(.65*d,.6*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");Ga.vertex=!0;v.insert(Ga);Ga.value=k(a.Option34);Ga.style+=n(a.Option34);var Ha=new mxCell("",new mxGeometry(.8*d,.6*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");Ha.vertex=!0;v.insert(Ha);Ha.value=k(a.Option44);Ha.style+=n(a.Option44);var Z=new mxCell("",new mxGeometry(0,.8*b,.5*d,.2*b),"strokeColor=none;fillColor=none;");Z.vertex=!0;v.insert(Z);Z.value=k(a.Option15);Z.style+=n(a.Option15);var Ia=new mxCell("",new mxGeometry(.5*
|
||||
d,.8*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");Ia.vertex=!0;v.insert(Ia);Ia.value=k(a.Option25);Ia.style+=n(a.Option25);var Ja=new mxCell("",new mxGeometry(.65*d,.8*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");Ja.vertex=!0;v.insert(Ja);Ja.value=k(a.Option35);Ja.style+=n(a.Option35);ua=new mxCell("",new mxGeometry(0,.4*b-2,d,4),"shape=line;strokeColor=#888888;");ua.vertex=!0;v.insert(ua);va=new mxCell("",new mxGeometry(0,.6*b-2,d,4),"shape=line;strokeColor=#888888;");va.vertex=!0;v.insert(va);
|
||||
v.style+=t(a,c)+r(a,c)+"strokeColor=none;";break;case "iOSTimePicker":ya=new mxCell("",new mxGeometry(0,0,.25*d,.2*b),"strokeColor=none;fillColor=none;");ya.vertex=!0;v.insert(ya);ya.value=k(a.Option11);ya.style+=n(a.Option11);za=new mxCell("",new mxGeometry(.25*d,0,.3*d,.2*b),"strokeColor=none;fillColor=none;");za.vertex=!0;v.insert(za);za.value=k(a.Option21);za.style+=n(a.Option21);Ba=new mxCell("",new mxGeometry(0,.2*b,.25*d,.2*b),"strokeColor=none;fillColor=none;");Ba.vertex=!0;v.insert(Ba);Ba.value=
|
||||
k(a.Option12);Ba.style+=n(a.Option12);Ca=new mxCell("",new mxGeometry(.25*d,.2*b,.3*d,.2*b),"strokeColor=none;fillColor=none;");Ca.vertex=!0;v.insert(Ca);Ca.value=k(a.Option22);Ca.style+=n(a.Option22);V=new mxCell("",new mxGeometry(0,.4*b,.25*d,.2*b),"strokeColor=none;fillColor=none;");V.vertex=!0;v.insert(V);V.value=k(a.Option13);V.style+=n(a.Option13);W=new mxCell("",new mxGeometry(.25*d,.4*b,.3*d,.2*b),"strokeColor=none;fillColor=none;");W.vertex=!0;v.insert(W);W.value=k(a.Option23);W.style+=n(a.Option23);
|
||||
X=new mxCell("",new mxGeometry(.7*d,.4*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");X.vertex=!0;v.insert(X);X.value=k(a.Option33);X.style+=n(a.Option33);Y=new mxCell("",new mxGeometry(0,.6*b,.25*d,.2*b),"strokeColor=none;fillColor=none;");Y.vertex=!0;v.insert(Y);Y.value=k(a.Option14);Y.style+=n(a.Option14);Fa=new mxCell("",new mxGeometry(.25*d,.6*b,.3*d,.2*b),"strokeColor=none;fillColor=none;");Fa.vertex=!0;v.insert(Fa);Fa.value=k(a.Option24);Fa.style+=n(a.Option24);Ha=new mxCell("",new mxGeometry(.7*
|
||||
d,.6*b,.15*d,.2*b),"strokeColor=none;fillColor=none;");Ha.vertex=!0;v.insert(Ha);Ha.value=k(a.Option34);Ha.style+=n(a.Option34);Z=new mxCell("",new mxGeometry(0,.8*b,.25*d,.2*b),"strokeColor=none;fillColor=none;");Z.vertex=!0;v.insert(Z);Z.value=k(a.Option15);Z.style+=n(a.Option15);Ia=new mxCell("",new mxGeometry(.25*d,.8*b,.3*d,.2*b),"strokeColor=none;fillColor=none;");Ia.vertex=!0;v.insert(Ia);Ia.value=k(a.Option25);Ia.style+=n(a.Option25);ua=new mxCell("",new mxGeometry(0,.4*b-2,d,4),"shape=line;strokeColor=#888888;");
|
||||
ua.vertex=!0;v.insert(ua);va=new mxCell("",new mxGeometry(0,.6*b-2,d,4),"shape=line;strokeColor=#888888;");va.vertex=!0;v.insert(va);v.style+=t(a,c)+r(a,c)+"strokeColor=none;";break;case "iOSCountdownPicker":Aa=new mxCell("",new mxGeometry(.45*d,0,.2*d,.2*b),"strokeColor=none;fillColor=none;");Aa.vertex=!0;v.insert(Aa);Aa.value=k(a.Option31);Aa.style+=n(a.Option31);Da=new mxCell("",new mxGeometry(.45*d,.2*b,.2*d,.2*b),"strokeColor=none;fillColor=none;");Da.vertex=!0;v.insert(Da);Da.value=k(a.Option32);
|
||||
Da.style+=n(a.Option32);V=new mxCell("",new mxGeometry(0,.4*b,.25*d,.2*b),"strokeColor=none;fillColor=none;");V.vertex=!0;v.insert(V);V.value=k(a.Option13);V.style+=n(a.Option13);W=new mxCell("",new mxGeometry(.2*d,.4*b,.25*d,.2*b),"strokeColor=none;fillColor=none;");W.vertex=!0;v.insert(W);W.value=k(a.Option23);W.style+=n(a.Option23);Ea=new mxCell("",new mxGeometry(.45*d,.4*b,.2*d,.2*b),"strokeColor=none;fillColor=none;");Ea.vertex=!0;v.insert(Ea);Ea.value=k(a.Option33);Ea.style+=n(a.Option33);X=
|
||||
new mxCell("",new mxGeometry(.6*d,.4*b,.2*d,.2*b),"strokeColor=none;fillColor=none;");X.vertex=!0;v.insert(X);X.value=k(a.Option43);X.style+=n(a.Option43);Y=new mxCell("",new mxGeometry(0,.6*b,.25*d,.2*b),"strokeColor=none;fillColor=none;");Y.vertex=!0;v.insert(Y);Y.value=k(a.Option14);Y.style+=n(a.Option14);Ga=new mxCell("",new mxGeometry(.45*d,.6*b,.2*d,.2*b),"strokeColor=none;fillColor=none;");Ga.vertex=!0;v.insert(Ga);Ga.value=k(a.Option34);Ga.style+=n(a.Option34);Z=new mxCell("",new mxGeometry(0,
|
||||
.8*b,.25*d,.2*b),"strokeColor=none;fillColor=none;");Z.vertex=!0;v.insert(Z);Z.value=k(a.Option15);Z.style+=n(a.Option15);Ja=new mxCell("",new mxGeometry(.45*d,.8*b,.2*d,.2*b),"strokeColor=none;fillColor=none;");Ja.vertex=!0;v.insert(Ja);Ja.value=k(a.Option35);Ja.style+=n(a.Option35);ua=new mxCell("",new mxGeometry(0,.4*b-2,d,4),"shape=line;strokeColor=#888888;");ua.vertex=!0;v.insert(ua);va=new mxCell("",new mxGeometry(0,.6*b-2,d,4),"shape=line;strokeColor=#888888;");va.vertex=!0;v.insert(va);v.style+=
|
||||
t(a,c)+r(a,c)+"strokeColor=none;";break;case "iOSBasicCell":v.style+="shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;spacing=0;align=left;spacingLeft="+.6*a.SeparatorInset+";";v.style+=K(a.text)+I(a.text)+J(a.text)+Na(a.text);v.value=k(a.text);switch(a.AccessoryIndicatorType){case "Disclosure":C=new mxCell("",new mxGeometry(.91*d,.35*b,.15*b,.3*b),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");C.vertex=!0;v.insert(C);break;case "DetailDisclosure":C=new mxCell("",
|
||||
new mxGeometry(.91*d,.35*b,.15*b,.3*b),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");C.vertex=!0;v.insert(C);var L=new mxCell("",new mxGeometry(.79*d,.25*b,.5*b,.5*b),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");L.vertex=!0;v.insert(L);break;case "DetailIndicator":L=new mxCell("",new mxGeometry(.87*d,.25*b,.5*b,.5*b),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");L.vertex=!0;v.insert(L);break;case "CheckMark":C=new mxCell("",new mxGeometry(.89*
|
||||
d,.37*b,.4*b,.26*b),"shape=mxgraph.ios7.misc.check;strokeColor=#007AFF;strokeWidth=2;"),C.vertex=!0,v.insert(C)}break;case "iOSSubtitleCell":v.style+="shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;align=left;spacing=0;verticalAlign=top;spacingLeft="+.6*a.SeparatorInset+";";v.style+=I(a.subtext)+J(a.subtext)+K(a.subtext);v.value=k(a.subtext);var N=new mxCell("",new mxGeometry(0,.4*b,d,.6*b),"fillColor=none;strokeColor=none;spacing=0;align=left;verticalAlign=bottom;spacingLeft="+
|
||||
.6*a.SeparatorInset+";");N.vertex=!0;v.insert(N);N.style+=I(a.text)+J(a.text)+K(a.text);N.value=k(a.text);switch(a.AccessoryIndicatorType){case "Disclosure":C=new mxCell("",new mxGeometry(.91*d,.35*b,.15*b,.3*b),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");C.vertex=!0;v.insert(C);break;case "DetailDisclosure":C=new mxCell("",new mxGeometry(.91*d,.35*b,.15*b,.3*b),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");C.vertex=!0;v.insert(C);L=new mxCell("",new mxGeometry(.79*d,.25*b,.5*b,
|
||||
d,.37*b,.4*b,.26*b),"shape=mxgraph.ios7.misc.check;strokeColor=#007AFF;strokeWidth=2;"),C.vertex=!0,v.insert(C)}break;case "iOSSubtitleCell":v.style+="shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;align=left;spacing=0;verticalAlign=top;spacingLeft="+.6*a.SeparatorInset+";";v.style+=K(a.subtext)+I(a.subtext)+J(a.subtext);v.value=k(a.subtext);var O=new mxCell("",new mxGeometry(0,.4*b,d,.6*b),"fillColor=none;strokeColor=none;spacing=0;align=left;verticalAlign=bottom;spacingLeft="+
|
||||
.6*a.SeparatorInset+";");O.vertex=!0;v.insert(O);O.style+=K(a.text)+I(a.text)+J(a.text);O.value=k(a.text);switch(a.AccessoryIndicatorType){case "Disclosure":C=new mxCell("",new mxGeometry(.91*d,.35*b,.15*b,.3*b),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");C.vertex=!0;v.insert(C);break;case "DetailDisclosure":C=new mxCell("",new mxGeometry(.91*d,.35*b,.15*b,.3*b),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");C.vertex=!0;v.insert(C);L=new mxCell("",new mxGeometry(.79*d,.25*b,.5*b,
|
||||
.5*b),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");L.vertex=!0;v.insert(L);break;case "DetailIndicator":L=new mxCell("",new mxGeometry(.87*d,.25*b,.5*b,.5*b),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");L.vertex=!0;v.insert(L);break;case "CheckMark":C=new mxCell("",new mxGeometry(.89*d,.37*b,.4*b,.26*b),"shape=mxgraph.ios7.misc.check;strokeColor=#007AFF;strokeWidth=2;"),C.vertex=!0,v.insert(C)}break;case "iOSRightDetailCell":v.style+="shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;align=left;spacing=0;verticalAlign=middle;spacingLeft="+
|
||||
.6*a.SeparatorInset+";";v.style+=I(a.subtext)+J(a.subtext)+K(a.subtext);v.value=k(a.subtext);N=null;switch(a.AccessoryIndicatorType){case "Disclosure":C=new mxCell("",new mxGeometry(.91*d,.35*b,.15*b,.3*b),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");C.vertex=!0;v.insert(C);N=new mxCell("",new mxGeometry(.55*d,0,.3*d,b),"fillColor=none;strokeColor=none;spacing=0;align=right;");break;case "DetailDisclosure":C=new mxCell("",new mxGeometry(.91*d,.35*b,.15*b,.3*b),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");
|
||||
C.vertex=!0;v.insert(C);L=new mxCell("",new mxGeometry(.79*d,.25*b,.5*b,.5*b),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");L.vertex=!0;v.insert(L);N=new mxCell("",new mxGeometry(.45*d,0,.3*d,b),"fillColor=none;strokeColor=none;spacing=0;align=right;");break;case "DetailIndicator":L=new mxCell("",new mxGeometry(.87*d,.25*b,.5*b,.5*b),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");L.vertex=!0;v.insert(L);N=new mxCell("",new mxGeometry(.52*d,0,.3*d,
|
||||
b),"fillColor=none;strokeColor=none;spacing=0;align=right;");break;case "CheckMark":C=new mxCell("",new mxGeometry(.89*d,.37*b,.4*b,.26*b),"shape=mxgraph.ios7.misc.check;strokeColor=#007AFF;strokeWidth=2;");C.vertex=!0;v.insert(C);N=new mxCell("",new mxGeometry(.55*d,0,.3*d,b),"fillColor=none;strokeColor=none;spacing=0;align=right;");break;default:N=new mxCell("",new mxGeometry(.65*d,0,.3*d,b),"fillColor=none;strokeColor=none;spacing=0;align=right;")}N.vertex=!0;v.insert(N);N.style+=I(a.text)+J(a.text)+
|
||||
K(a.text);N.value=k(a.text);break;case "iOSLeftDetailCell":v.style+="shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;";var ka=new mxCell("",new mxGeometry(0,0,.25*d,b),"fillColor=none;strokeColor=none;spacing=0;align=right;verticalAlign=middle;spacingRight=3;");ka.vertex=!0;v.insert(ka);ka.style+=I(a.subtext)+J(a.subtext)+K(a.subtext);ka.value=k(a.subtext);N=new mxCell("",new mxGeometry(.25*d,0,.5*d,b),"fillColor=none;strokeColor=none;spacing=0;align=left;verticalAlign=middle;spacingLeft=3;");
|
||||
N.vertex=!0;v.insert(N);N.style+=I(a.text)+J(a.text)+K(a.text);N.value=k(a.text);switch(a.AccessoryIndicatorType){case "Disclosure":C=new mxCell("",new mxGeometry(.91*d,.35*b,.15*b,.3*b),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");C.vertex=!0;v.insert(C);break;case "DetailDisclosure":C=new mxCell("",new mxGeometry(.91*d,.35*b,.15*b,.3*b),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");C.vertex=!0;v.insert(C);L=new mxCell("",new mxGeometry(.79*d,.25*b,.5*b,.5*b),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");
|
||||
.6*a.SeparatorInset+";";v.style+=K(a.subtext)+I(a.subtext)+J(a.subtext);v.value=k(a.subtext);O=null;switch(a.AccessoryIndicatorType){case "Disclosure":C=new mxCell("",new mxGeometry(.91*d,.35*b,.15*b,.3*b),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");C.vertex=!0;v.insert(C);O=new mxCell("",new mxGeometry(.55*d,0,.3*d,b),"fillColor=none;strokeColor=none;spacing=0;align=right;");break;case "DetailDisclosure":C=new mxCell("",new mxGeometry(.91*d,.35*b,.15*b,.3*b),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");
|
||||
C.vertex=!0;v.insert(C);L=new mxCell("",new mxGeometry(.79*d,.25*b,.5*b,.5*b),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");L.vertex=!0;v.insert(L);O=new mxCell("",new mxGeometry(.45*d,0,.3*d,b),"fillColor=none;strokeColor=none;spacing=0;align=right;");break;case "DetailIndicator":L=new mxCell("",new mxGeometry(.87*d,.25*b,.5*b,.5*b),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");L.vertex=!0;v.insert(L);O=new mxCell("",new mxGeometry(.52*d,0,.3*d,
|
||||
b),"fillColor=none;strokeColor=none;spacing=0;align=right;");break;case "CheckMark":C=new mxCell("",new mxGeometry(.89*d,.37*b,.4*b,.26*b),"shape=mxgraph.ios7.misc.check;strokeColor=#007AFF;strokeWidth=2;");C.vertex=!0;v.insert(C);O=new mxCell("",new mxGeometry(.55*d,0,.3*d,b),"fillColor=none;strokeColor=none;spacing=0;align=right;");break;default:O=new mxCell("",new mxGeometry(.65*d,0,.3*d,b),"fillColor=none;strokeColor=none;spacing=0;align=right;")}O.vertex=!0;v.insert(O);O.style+=K(a.text)+I(a.text)+
|
||||
J(a.text);O.value=k(a.text);break;case "iOSLeftDetailCell":v.style+="shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;";var pa=new mxCell("",new mxGeometry(0,0,.25*d,b),"fillColor=none;strokeColor=none;spacing=0;align=right;verticalAlign=middle;spacingRight=3;");pa.vertex=!0;v.insert(pa);pa.style+=K(a.subtext)+I(a.subtext)+J(a.subtext);pa.value=k(a.subtext);O=new mxCell("",new mxGeometry(.25*d,0,.5*d,b),"fillColor=none;strokeColor=none;spacing=0;align=left;verticalAlign=middle;spacingLeft=3;");
|
||||
O.vertex=!0;v.insert(O);O.style+=K(a.text)+I(a.text)+J(a.text);O.value=k(a.text);switch(a.AccessoryIndicatorType){case "Disclosure":C=new mxCell("",new mxGeometry(.91*d,.35*b,.15*b,.3*b),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");C.vertex=!0;v.insert(C);break;case "DetailDisclosure":C=new mxCell("",new mxGeometry(.91*d,.35*b,.15*b,.3*b),"shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;");C.vertex=!0;v.insert(C);L=new mxCell("",new mxGeometry(.79*d,.25*b,.5*b,.5*b),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");
|
||||
L.vertex=!0;v.insert(L);break;case "DetailIndicator":L=new mxCell("",new mxGeometry(.87*d,.25*b,.5*b,.5*b),"shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;");L.vertex=!0;v.insert(L);break;case "CheckMark":C=new mxCell("",new mxGeometry(.89*d,.37*b,.4*b,.26*b),"shape=mxgraph.ios7.misc.check;strokeColor=#007AFF;strokeWidth=2;"),C.vertex=!0,v.insert(C)}break;case "iOSTableGroupedSectionBreak":v.style+="shape=partialRectangle;left=0;right=0;fillColor=#EFEFF4;strokeColor=#C8C7CC;";
|
||||
z=new mxCell("",new mxGeometry(0,0,d,.4*b),"fillColor=none;strokeColor=none;spacing=10;align=left;");z.vertex=!0;v.insert(z);z.style+=I(a.text)+J(a.text)+K(a.text);z.value=k(a.text);ba=new mxCell("",new mxGeometry(0,.6*b,d,.4*b),"fillColor=none;strokeColor=none;spacing=10;align=left;");ba.vertex=!0;v.insert(ba);ba.style+=I(a["bottom-text"])+J(a["bottom-text"])+K(a["bottom-text"]);ba.value=k(a["bottom-text"]);break;case "iOSTablePlainHeaderFooter":v.style+="fillColor=#F7F7F7;strokeColor=none;align=left;spacingLeft=5;spacing=0;";
|
||||
v.style+=I(a.text)+J(a.text)+K(a.text);v.value=k(a.text);break;case "SMPage":if(a.Group){v.style+="strokeColor=none;fillColor=none;";var e=new mxCell("",new mxGeometry(0,0,.9*d,.9*b),"part=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a);var p=new mxCell("",new mxGeometry(.1*d,.1*b,.9*d,.9*b),"part=1;");p.vertex=!0;v.insert(p);p.style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+n(a);p.value=k(a.Text);a.Future&&(e.style+="dashed=1;",p.style+="dashed=1;")}else a.Future&&(v.style+="dashed=1;"),
|
||||
z=new mxCell("",new mxGeometry(0,0,d,.4*b),"fillColor=none;strokeColor=none;spacing=10;align=left;");z.vertex=!0;v.insert(z);z.style+=K(a.text)+I(a.text)+J(a.text);z.value=k(a.text);ca=new mxCell("",new mxGeometry(0,.6*b,d,.4*b),"fillColor=none;strokeColor=none;spacing=10;align=left;");ca.vertex=!0;v.insert(ca);ca.style+=K(a["bottom-text"])+I(a["bottom-text"])+J(a["bottom-text"]);ca.value=k(a["bottom-text"]);break;case "iOSTablePlainHeaderFooter":v.style+="fillColor=#F7F7F7;strokeColor=none;align=left;spacingLeft=5;spacing=0;";
|
||||
v.style+=K(a.text)+I(a.text)+J(a.text);v.value=k(a.text);break;case "SMPage":if(a.Group){v.style+="strokeColor=none;fillColor=none;";var e=new mxCell("",new mxGeometry(0,0,.9*d,.9*b),"part=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a);var p=new mxCell("",new mxGeometry(.1*d,.1*b,.9*d,.9*b),"part=1;");p.vertex=!0;v.insert(p);p.style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+n(a);p.value=k(a.Text);a.Future&&(e.style+="dashed=1;",p.style+="dashed=1;")}else a.Future&&(v.style+="dashed=1;"),
|
||||
v.style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+n(a),v.value=k(a.Text);break;case "SMHome":case "SMPrint":case "SMSearch":case "SMSettings":case "SMSitemap":case "SMSuccess":case "SMVideo":case "SMAudio":case "SMCalendar":case "SMChart":case "SMCloud":case "SMDocument":case "SMForm":case "SMGame":case "SMUpload":v.style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a);e=null;switch(f.Class){case "SMHome":e=new mxCell("",new mxGeometry(.5*d-.4*b,.1*b,.8*b,.8*b),"part=1;shape=mxgraph.office.concepts.home;flipH=1;fillColor=#e6e6e6;opacity=50;strokeColor=none;");
|
||||
break;case "SMPrint":e=new mxCell("",new mxGeometry(.5*d-.4*b,.19*b,.8*b,.62*b),"part=1;shape=mxgraph.office.devices.printer;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMSearch":e=new mxCell("",new mxGeometry(.5*d-.4*b,.1*b,.8*b,.8*b),"part=1;shape=mxgraph.office.concepts.search;flipH=1;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMSettings":e=new mxCell("",new mxGeometry(.5*d-.35*b,.15*b,.7*b,.7*b),"part=1;shape=mxgraph.mscae.enterprise.settings;fillColor=#e6e6e6;opacity=50;strokeColor=none;");
|
||||
break;case "SMSitemap":e=new mxCell("",new mxGeometry(.5*d-.35*b,.2*b,.7*b,.6*b),"part=1;shape=mxgraph.office.sites.site_collection;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMSuccess":e=new mxCell("",new mxGeometry(.5*d-.3*b,.25*b,.6*b,.5*b),"part=1;shape=mxgraph.mscae.general.checkmark;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMVideo":e=new mxCell("",new mxGeometry(.5*d-.4*b,.2*b,.8*b,.6*b),"part=1;shape=mxgraph.office.concepts.video_play;fillColor=#e6e6e6;opacity=50;strokeColor=none;");
|
||||
|
@ -79,16 +79,16 @@ break;case "SMAudio":e=new mxCell("",new mxGeometry(.5*d-.3*b,.2*b,.6*b,.6*b),"p
|
|||
A);break;case "SMCloud":e=new mxCell("",new mxGeometry(.5*d-.4*b,.27*b,.8*b,.46*b),"part=1;shape=mxgraph.networks.cloud;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMDocument":e=new mxCell("",new mxGeometry(.5*d-.25*b,.15*b,.5*b,.7*b),"part=1;shape=mxgraph.mscae.enterprise.document;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMForm":e=new mxCell("",new mxGeometry(.5*d-.4*b,.15*b,.8*b,.7*b),"part=1;shape=mxgraph.office.concepts.form;fillColor=#e6e6e6;opacity=50;strokeColor=none;");
|
||||
break;case "SMGame":e=new mxCell("",new mxGeometry(.5*d-.4*b,.2*b,.8*b,.6*b),"part=1;shape=mxgraph.mscae.general.game_controller;fillColor=#e6e6e6;opacity=50;strokeColor=none;");break;case "SMUpload":e=new mxCell("",new mxGeometry(.5*d-.4*b,.2*b,.8*b,.6*b),"part=1;shape=mxgraph.mscae.enterprise.backup_online;fillColor=#e6e6e6;opacity=50;strokeColor=none;")}e.vertex=!0;v.insert(e);e.style+=n(a);e.value=k(a.Text);break;case "UMLMultiplicityBlock":v.style+="strokeColor=none;fillColor=none;";e=new mxCell("",
|
||||
new mxGeometry(.1*d,0,.9*d,.9*b),"part=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a);p=new mxCell("",new mxGeometry(0,.1*b,.9*d,.9*b),"part=1;");p.vertex=!0;v.insert(p);p.style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+n(a.Text);p.value=k(a.Text);break;case "UMLConstraintBlock":var Kb=new mxCell("",new mxGeometry(0,0,.25*b,b),"shape=curlyBracket;rounded=1;");Kb.vertex=!0;v.insert(Kb);var Lb=new mxCell("",new mxGeometry(d-.25*b,0,.25*b,b),"shape=curlyBracket;rounded=1;flipH=1;");Lb.vertex=
|
||||
!0;v.insert(Lb);ga=new mxCell("",new mxGeometry(.25*b,0,d-.5*b,b),"strokeColor=none;fillColor=none;");ga.vertex=!0;ga.value=k(a);v.insert(ga);v.style="strokeColor=none;fillColor=none;";v.style+=ja(a,c,v);Kb.style+=h(a,c)+r(a,c)+u(a)+y(a)+q(a);Lb.style+=h(a,c)+r(a,c)+u(a)+y(a)+q(a);ga.style+=I(a)+J(a)+K(a)+ea(a)+ma(a)+na(a)+Ka(a)+oa(a)+pa(a)+Qa(a);break;case "UMLTextBlock":v.style+="strokeColor=none;"+r(a,c)+u(a)+y(a)+q(a)+n(a.Text);v.value=k(a.Text);break;case "BPMNActivity":switch(a.bpmnActivityType){case 1:v.style+=
|
||||
!0;v.insert(Lb);ga=new mxCell("",new mxGeometry(.25*b,0,d-.5*b,b),"strokeColor=none;fillColor=none;");ga.vertex=!0;ga.value=k(a);v.insert(ga);v.style="strokeColor=none;fillColor=none;";v.style+=ia(a,c,v);Kb.style+=h(a,c)+r(a,c)+u(a)+y(a)+q(a);Lb.style+=h(a,c)+r(a,c)+u(a)+y(a)+q(a);ga.style+=K(a)+I(a)+J(a)+ba(a)+ka(a)+la(a)+La(a)+ma(a)+na(a)+Na(a);break;case "UMLTextBlock":v.style+="strokeColor=none;"+r(a,c)+u(a)+y(a)+q(a)+n(a.Text);v.value=k(a.Text);break;case "BPMNActivity":switch(a.bpmnActivityType){case 1:v.style+=
|
||||
t(a,c)+h(a,c)+r(a,c)+u(a)+y(a)+q(a)+n(a.Text);v.value=k(a.Text);break;case 2:v.style+="shape=ext;double=1;"+t(a,c)+h(a,c)+r(a,c)+u(a)+y(a)+q(a)+n(a.Text);v.value=k(a.Text);break;case 3:v.style+="shape=ext;dashed=1;dashPattern=2 1;"+t(a,c)+h(a,c)+r(a,c)+u(a)+q(a)+n(a.Text);v.value=k(a.Text);break;case 4:v.style+="shape=ext;strokeWidth=2;"+t(a,c)+h(a,c)+r(a,c)+u(a)+y(a)+n(a.Text),v.value=k(a.Text)}if(0!=a.bpmnTaskType){switch(a.bpmnTaskType){case 1:e=new mxCell("",new mxGeometry(0,0,19,12),"shape=message;");
|
||||
e.geometry.offset=new mxPoint(4,7);break;case 2:e=new mxCell("",new mxGeometry(0,0,19,12),"shape=message;");e.geometry.offset=new mxPoint(4,7);break;case 3:e=new mxCell("",new mxGeometry(0,0,15,15),"shape=mxgraph.bpmn.user_task;");e.geometry.offset=new mxPoint(4,5);break;case 4:e=new mxCell("",new mxGeometry(0,0,15,10),"shape=mxgraph.bpmn.manual_task;");e.geometry.offset=new mxPoint(4,7);break;case 5:e=new mxCell("",new mxGeometry(0,0,18,13),"shape=mxgraph.bpmn.business_rule_task;");e.geometry.offset=
|
||||
new mxPoint(4,7);break;case 6:e=new mxCell("",new mxGeometry(0,0,15,15),"shape=mxgraph.bpmn.service_task;");e.geometry.offset=new mxPoint(4,5);break;case 7:e=new mxCell("",new mxGeometry(0,0,15,15),"shape=mxgraph.bpmn.script_task;"),e.geometry.offset=new mxPoint(4,5)}if(1==a.bpmnTaskType){var Bb=t(a,c),A=h(a,c),A=A.replace("strokeColor","fillColor"),Bb=Bb.replace("fillColor","strokeColor");""==A&&(A="fillColor=#000000;");""==Bb&&(Bb="strokeColor=#ffffff;");e.style+=Bb+A+"part=1;"}else e.style+=t(a,
|
||||
c)+h(a,c)+"part=1;";e.geometry.relative=!0;e.vertex=!0;v.insert(e)}var Cb=0;0!=a.bpmnActivityMarker1&&Cb++;0!=a.bpmnActivityMarker2&&Cb++;var ca=0;1==Cb?ca=-7.5:2==Cb&&(ca=-19);if(0!=a.bpmnActivityMarker1){switch(a.bpmnActivityMarker1){case 1:e=new mxCell("",new mxGeometry(.5,1,15,15),"shape=plus;part=1;");e.geometry.offset=new mxPoint(ca,-20);e.style+=t(a,c)+h(a,c);break;case 2:e=new mxCell("",new mxGeometry(.5,1,15,15),"shape=mxgraph.bpmn.loop;part=1;");e.geometry.offset=new mxPoint(ca,-20);e.style+=
|
||||
t(a,c)+h(a,c);break;case 3:e=new mxCell("",new mxGeometry(.5,1,15,15),"shape=parallelMarker;part=1;");e.geometry.offset=new mxPoint(ca,-20);e.style+=t(a,c)+h(a,c);break;case 4:e=new mxCell("",new mxGeometry(.5,1,15,15),"shape=parallelMarker;direction=south;part=1;");e.geometry.offset=new mxPoint(ca,-20);e.style+=t(a,c)+h(a,c);break;case 5:e=new mxCell("",new mxGeometry(.5,1,15,10),"shape=mxgraph.bpmn.ad_hoc;strokeColor=none;flipH=1;part=1;");e.geometry.offset=new mxPoint(ca,-17);A=h(a,c);A=A.replace("strokeColor",
|
||||
"fillColor");""==A&&(A="fillColor=#000000;");e.style+=A;break;case 6:e=new mxCell("",new mxGeometry(.5,1,15,11),"shape=mxgraph.bpmn.compensation;part=1;"),e.geometry.offset=new mxPoint(ca,-18),e.style+=t(a,c)+h(a,c)}e.geometry.relative=!0;e.vertex=!0;v.insert(e)}2==Cb&&(ca=5);if(0!=a.bpmnActivityMarker2){switch(a.bpmnActivityMarker2){case 1:e=new mxCell("",new mxGeometry(.5,1,15,15),"shape=plus;part=1;");e.geometry.offset=new mxPoint(ca,-20);e.style+=t(a,c)+h(a,c);break;case 2:e=new mxCell("",new mxGeometry(.5,
|
||||
1,15,15),"shape=mxgraph.bpmn.loop;part=1;");e.geometry.offset=new mxPoint(ca,-20);e.style+=t(a,c)+h(a,c);break;case 3:e=new mxCell("",new mxGeometry(.5,1,15,15),"shape=parallelMarker;part=1;");e.geometry.offset=new mxPoint(ca,-20);e.style+=t(a,c)+h(a,c);break;case 4:e=new mxCell("",new mxGeometry(.5,1,15,15),"shape=parallelMarker;direction=south;part=1;");e.geometry.offset=new mxPoint(ca,-20);e.style+=t(a,c)+h(a,c);break;case 5:e=new mxCell("",new mxGeometry(.5,1,15,10),"shape=mxgraph.bpmn.ad_hoc;strokeColor=none;flipH=1;part=1;");
|
||||
e.geometry.offset=new mxPoint(ca,-17);A=h(a,c);A=A.replace("strokeColor","fillColor");""==A&&(A="fillColor=#000000;");e.style+=A;break;case 6:e=new mxCell("",new mxGeometry(.5,1,15,11),"shape=mxgraph.bpmn.compensation;part=1;"),e.geometry.offset=new mxPoint(ca,-18),e.style+=t(a,c)+h(a,c)}e.geometry.relative=!0;e.vertex=!0;v.insert(e)}break;case "BPMNEvent":v.style+="shape=mxgraph.bpmn.shape;verticalLabelPosition=bottom;verticalAlign=top;"+t(a,c)+h(a,c)+r(a,c)+u(a)+y(a)+q(a)+I(a)+J(a)+K(a)+ea(a)+ma(a)+
|
||||
na(a)+Ka(a)+oa(a)+pa(a);v.value=k(a.Text);if(1==a.bpmnDashed)switch(a.bpmnEventGroup){case 0:v.style+="outline=eventNonint;";break;case 1:v.style+="outline=boundNonint;";break;case 2:v.style+="outline=end;"}else switch(a.bpmnEventGroup){case 0:v.style+="outline=standard;";break;case 1:v.style+="outline=throwing;";break;case 2:v.style+="outline=end;"}switch(a.bpmnEventType){case 1:v.style+="symbol=message;";break;case 2:v.style+="symbol=timer;";break;case 3:v.style+="symbol=escalation;";break;case 4:v.style+=
|
||||
c)+h(a,c)+"part=1;";e.geometry.relative=!0;e.vertex=!0;v.insert(e)}var Cb=0;0!=a.bpmnActivityMarker1&&Cb++;0!=a.bpmnActivityMarker2&&Cb++;var da=0;1==Cb?da=-7.5:2==Cb&&(da=-19);if(0!=a.bpmnActivityMarker1){switch(a.bpmnActivityMarker1){case 1:e=new mxCell("",new mxGeometry(.5,1,15,15),"shape=plus;part=1;");e.geometry.offset=new mxPoint(da,-20);e.style+=t(a,c)+h(a,c);break;case 2:e=new mxCell("",new mxGeometry(.5,1,15,15),"shape=mxgraph.bpmn.loop;part=1;");e.geometry.offset=new mxPoint(da,-20);e.style+=
|
||||
t(a,c)+h(a,c);break;case 3:e=new mxCell("",new mxGeometry(.5,1,15,15),"shape=parallelMarker;part=1;");e.geometry.offset=new mxPoint(da,-20);e.style+=t(a,c)+h(a,c);break;case 4:e=new mxCell("",new mxGeometry(.5,1,15,15),"shape=parallelMarker;direction=south;part=1;");e.geometry.offset=new mxPoint(da,-20);e.style+=t(a,c)+h(a,c);break;case 5:e=new mxCell("",new mxGeometry(.5,1,15,10),"shape=mxgraph.bpmn.ad_hoc;strokeColor=none;flipH=1;part=1;");e.geometry.offset=new mxPoint(da,-17);A=h(a,c);A=A.replace("strokeColor",
|
||||
"fillColor");""==A&&(A="fillColor=#000000;");e.style+=A;break;case 6:e=new mxCell("",new mxGeometry(.5,1,15,11),"shape=mxgraph.bpmn.compensation;part=1;"),e.geometry.offset=new mxPoint(da,-18),e.style+=t(a,c)+h(a,c)}e.geometry.relative=!0;e.vertex=!0;v.insert(e)}2==Cb&&(da=5);if(0!=a.bpmnActivityMarker2){switch(a.bpmnActivityMarker2){case 1:e=new mxCell("",new mxGeometry(.5,1,15,15),"shape=plus;part=1;");e.geometry.offset=new mxPoint(da,-20);e.style+=t(a,c)+h(a,c);break;case 2:e=new mxCell("",new mxGeometry(.5,
|
||||
1,15,15),"shape=mxgraph.bpmn.loop;part=1;");e.geometry.offset=new mxPoint(da,-20);e.style+=t(a,c)+h(a,c);break;case 3:e=new mxCell("",new mxGeometry(.5,1,15,15),"shape=parallelMarker;part=1;");e.geometry.offset=new mxPoint(da,-20);e.style+=t(a,c)+h(a,c);break;case 4:e=new mxCell("",new mxGeometry(.5,1,15,15),"shape=parallelMarker;direction=south;part=1;");e.geometry.offset=new mxPoint(da,-20);e.style+=t(a,c)+h(a,c);break;case 5:e=new mxCell("",new mxGeometry(.5,1,15,10),"shape=mxgraph.bpmn.ad_hoc;strokeColor=none;flipH=1;part=1;");
|
||||
e.geometry.offset=new mxPoint(da,-17);A=h(a,c);A=A.replace("strokeColor","fillColor");""==A&&(A="fillColor=#000000;");e.style+=A;break;case 6:e=new mxCell("",new mxGeometry(.5,1,15,11),"shape=mxgraph.bpmn.compensation;part=1;"),e.geometry.offset=new mxPoint(da,-18),e.style+=t(a,c)+h(a,c)}e.geometry.relative=!0;e.vertex=!0;v.insert(e)}break;case "BPMNEvent":v.style+="shape=mxgraph.bpmn.shape;verticalLabelPosition=bottom;verticalAlign=top;"+t(a,c)+h(a,c)+r(a,c)+u(a)+y(a)+q(a)+K(a)+I(a)+J(a)+ba(a)+ka(a)+
|
||||
la(a)+La(a)+ma(a)+na(a);v.value=k(a.Text);if(1==a.bpmnDashed)switch(a.bpmnEventGroup){case 0:v.style+="outline=eventNonint;";break;case 1:v.style+="outline=boundNonint;";break;case 2:v.style+="outline=end;"}else switch(a.bpmnEventGroup){case 0:v.style+="outline=standard;";break;case 1:v.style+="outline=throwing;";break;case 2:v.style+="outline=end;"}switch(a.bpmnEventType){case 1:v.style+="symbol=message;";break;case 2:v.style+="symbol=timer;";break;case 3:v.style+="symbol=escalation;";break;case 4:v.style+=
|
||||
"symbol=conditional;";break;case 5:v.style+="symbol=link;";break;case 6:v.style+="symbol=error;";break;case 7:v.style+="symbol=cancel;";break;case 8:v.style+="symbol=compensation;";break;case 9:v.style+="symbol=signal;";break;case 10:v.style+="symbol=multiple;";break;case 11:v.style+="symbol=parallelMultiple;";break;case 12:v.style+="symbol=terminate;"}break;case "BPMNConversation":v.style+="shape=hexagon;"+t(a,c)+h(a,c)+r(a,c)+u(a)+y(a)+n(a);v.value=k(a.Text);v.style=0==a.bpmnConversationType?v.style+
|
||||
q(a):v.style+"strokeWidth=2;";a.bpmnIsSubConversation&&(e=new mxCell("",new mxGeometry(.5,1,12,12),"shape=plus;part=1;"),e.geometry.offset=new mxPoint(-6,-17),e.style+=t(a,c)+h(a,c),e.geometry.relative=!0,e.vertex=!0,v.insert(e));break;case "BPMNGateway":v.style+="shape=mxgraph.bpmn.shape;perimeter=rhombusPerimeter;background=gateway;"+t(a,c)+h(a,c)+r(a,c)+u(a)+y(a)+n(a);switch(a.bpmnGatewayType){case 0:v.style+="outline=none;symbol=general;";break;case 1:v.style+="outline=none;symbol=exclusiveGw;";
|
||||
break;case 2:v.style+="outline=catching;symbol=multiple;";break;case 3:v.style+="outline=none;symbol=parallelGw;";break;case 4:v.style+="outline=end;symbol=general;";break;case 5:v.style+="outline=standard;symbol=multiple;";break;case 6:v.style+="outline=none;symbol=complexGw;";break;case 7:v.style+="outline=standard;symbol=parallelMultiple;"}break;case "BPMNData":v.style+="shape=note;size=14;"+t(a,c)+h(a,c)+r(a,c)+u(a)+y(a)+n(a);switch(a.bpmnDataType){case 1:e=new mxCell("",new mxGeometry(.5,1,12,
|
||||
|
@ -96,13 +96,13 @@ break;case 2:v.style+="outline=catching;symbol=multiple;";break;case 3:v.style+=
|
|||
new mxPoint(0,14);z.geometry.relative=!0;z.vertex=!0;v.insert(z);z.value=k(a.Text);z.style+=n(a);break;case 3:e=new mxCell("",new mxGeometry(0,0,12,10),"shape=singleArrow;part=1;arrowWidth=0.4;arrowSize=0.4;"),e.geometry.offset=new mxPoint(3,3),e.style+=h(a,c),e.geometry.relative=!0,e.vertex=!0,v.insert(e),A=h(a,c),A=A.replace("strokeColor","fillColor"),""==A&&(A="fillColor=#000000;"),e.style+=A,z=new mxCell("",new mxGeometry(0,0,d,20),"strokeColor=none;fillColor=none;"),z.geometry.offset=new mxPoint(0,
|
||||
14),z.geometry.relative=!0,z.vertex=!0,v.insert(z),z.value=k(a.Text),z.style+=n(a)}break;case "BPMNBlackPool":v.style+=t(a,c)+h(a,c)+r(a,c)+u(a)+y(a)+n(a);v.value=k(a.Text);e=new mxCell("",new mxGeometry(0,0,d,b),"fillColor=#000000;strokeColor=none;opacity=30;");e.vertex=!0;v.insert(e);break;case "DFDExternalEntityBlock":v.style+="strokeColor=none;fillColor=none;";e=new mxCell("",new mxGeometry(0,0,.95*d,.95*b),"part=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a);p=new mxCell("",
|
||||
new mxGeometry(.05*d,.05*b,.95*d,.95*b),"part=1;");p.vertex=!0;v.insert(p);p.style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+n(a.Text);p.value=k(a.Text);break;case "GSDFDDataStoreBlock":v.style+="shape=partialRectangle;right=0;"+h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+n(a.Text);v.value=k(a.Text);e=new mxCell("",new mxGeometry(0,0,.2*d,b),"part=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+n(a.Number);e.value=k(a.Number);break;case "VSMDedicatedProcessBlock":case "VSMProductionControlBlock":v.style+=
|
||||
"shape=mxgraph.lean_mapping.manufacturing_process;spacingTop=15;";"VSMDedicatedProcessBlock"==f.Class?v.value=k(a.Text):"VSMProductionControlBlock"==f.Class&&(v.value=k(a.Resources));v.style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+I(a)+J(a)+K(a)+ea(a)+ma(a)+na(a)+oa(a)+pa(a)+Qa(a);"VSMDedicatedProcessBlock"==f.Class&&(e=new mxCell("",new mxGeometry(0,1,11,9),"part=1;shape=mxgraph.lean_mapping.operator;"),e.geometry.relative=!0,e.geometry.offset=new mxPoint(4,-13),e.vertex=!0,v.insert(e),e.style+=h(a,c)+t(a,
|
||||
c)+r(a,c)+u(a)+q(a));z=new mxCell("",new mxGeometry(0,0,d,15),"strokeColor=none;fillColor=none;part=1;");z.vertex=!0;v.insert(z);z.value=k(a.Title);z.style+=n(a.Title);break;case "VSMSharedProcessBlock":v.style+="shape=mxgraph.lean_mapping.manufacturing_process_shared;spacingTop=-5;verticalAlign=top;";v.value=k(a.Text);v.style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+I(a)+J(a)+K(a)+ea(a)+ma(a)+na(a)+oa(a)+Ka(a)+pa(a);z=new mxCell("",new mxGeometry(.1*d,.3*b,.8*d,.6*b),"part=1;");z.vertex=!0;v.insert(z);z.value=
|
||||
k(a.Resource);z.style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+n(a.Resource);break;case "VSMWorkcellBlock":v.style+="shape=mxgraph.lean_mapping.work_cell;verticalAlign=top;spacingTop=-2;";v.style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+I(a)+J(a)+K(a)+ea(a)+ma(a)+na(a)+oa(a)+pa(a);v.value=k(a.Text);break;case "VSMSafetyBufferStockBlock":case "VSMDatacellBlock":v.style+="strokeColor=none;fillColor=none;";var aa=b,va=parseInt(a.Cells),O=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+"part=1;";0<va&&(aa/=va);U=[];M=[];for(g=1;g<=va;g++)U[g]=
|
||||
new mxCell("",new mxGeometry(0,(g-1)*aa,d,aa),O),U[g].vertex=!0,v.insert(U[g]),U[g].value=k(a["cell_"+g]),U[g].style+=n(a["cell_"+g]);break;case "VSMInventoryBlock":v.style+="shape=mxgraph.lean_mapping.inventory_box;verticalLabelPosition=bottom;verticalAlign=top;"+h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+I(a)+J(a)+K(a)+ea(a)+ma(a)+na(a)+Ka(a)+oa(a)+pa(a);v.value=k(a.Text);break;case "VSMSupermarketBlock":v.style+="strokeColor=none;"+t(a,c);aa=b;va=parseInt(a.Cells);O=h(a,c)+r(a,c)+q(a)+"part=1;fillColor=none;";
|
||||
0<va&&(aa/=va);U=[];ka=[];for(g=1;g<=va;g++)U[g]=new mxCell("",new mxGeometry(.5*d,(g-1)*aa,.5*d,aa),"shape=partialRectangle;left=0;"+O),U[g].vertex=!0,v.insert(U[g]),ka[g]=new mxCell("",new mxGeometry(0,(g-1)*aa,d,aa),"strokeColor=none;fillColor=none;part=1;"),ka[g].vertex=!0,v.insert(ka[g]),ka[g].value=k(a["cell_"+g]),ka[g].style+=n(a["cell_"+g]);break;case "VSMFIFOLaneBlock":v.style+="shape=mxgraph.lean_mapping.fifo_sequence_flow;fontStyle=0;fontSize=18";v.value="FIFO";break;case "VSMGoSeeProductionBlock":v.style+=
|
||||
"shape=ellipse;"+h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+n(a);v.value=k(a.Text);e=new mxCell("",new mxGeometry(.17*d,.2*b,13,6),"shape=mxgraph.lean_mapping.go_see_production_scheduling;flipH=1;part=1;whiteSpace=wrap;html=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+t(a,c)+r(a,c)+q(a);break;case "VSMProductionKanbanBatchBlock":v.style+="strokeColor=none;fillColor=none;";O="shape=card;size=18;flipH=1;part=1;"+h(a,c)+t(a,c)+r(a,c)+q(a);e=new mxCell("",new mxGeometry(.1*d,0,.9*d,.8*b),"shape=mxgraph.lean_mapping.go_see_production_scheduling;flipH=1;part=1;");
|
||||
e.vertex=!0;v.insert(e);e.style+=O;p=new mxCell("",new mxGeometry(.05*d,.1*b,.9*d,.8*b),"shape=mxgraph.lean_mapping.go_see_production_scheduling;flipH=1;part=1;");p.vertex=!0;v.insert(p);p.style+=O;var F=new mxCell("",new mxGeometry(0,.2*b,.9*d,.8*b),"shape=mxgraph.lean_mapping.go_see_production_scheduling;flipH=1;part=1;whiteSpace=wrap;html=1;spacing=2;");F.vertex=!0;v.insert(F);F.style+=O+n(a);F.value=k(a.Text);break;case "AWSRoundedRectangleContainerBlock2":v.style+="strokeColor=none;fillColor=none;";
|
||||
"shape=mxgraph.lean_mapping.manufacturing_process;spacingTop=15;";"VSMDedicatedProcessBlock"==f.Class?v.value=k(a.Text):"VSMProductionControlBlock"==f.Class&&(v.value=k(a.Resources));v.style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+K(a)+I(a)+J(a)+ba(a)+ka(a)+la(a)+ma(a)+na(a)+Na(a);"VSMDedicatedProcessBlock"==f.Class&&(e=new mxCell("",new mxGeometry(0,1,11,9),"part=1;shape=mxgraph.lean_mapping.operator;"),e.geometry.relative=!0,e.geometry.offset=new mxPoint(4,-13),e.vertex=!0,v.insert(e),e.style+=h(a,c)+t(a,
|
||||
c)+r(a,c)+u(a)+q(a));z=new mxCell("",new mxGeometry(0,0,d,15),"strokeColor=none;fillColor=none;part=1;");z.vertex=!0;v.insert(z);z.value=k(a.Title);z.style+=n(a.Title);break;case "VSMSharedProcessBlock":v.style+="shape=mxgraph.lean_mapping.manufacturing_process_shared;spacingTop=-5;verticalAlign=top;";v.value=k(a.Text);v.style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+K(a)+I(a)+J(a)+ba(a)+ka(a)+la(a)+ma(a)+La(a)+na(a);z=new mxCell("",new mxGeometry(.1*d,.3*b,.8*d,.6*b),"part=1;");z.vertex=!0;v.insert(z);z.value=
|
||||
k(a.Resource);z.style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+n(a.Resource);break;case "VSMWorkcellBlock":v.style+="shape=mxgraph.lean_mapping.work_cell;verticalAlign=top;spacingTop=-2;";v.style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+K(a)+I(a)+J(a)+ba(a)+ka(a)+la(a)+ma(a)+na(a);v.value=k(a.Text);break;case "VSMSafetyBufferStockBlock":case "VSMDatacellBlock":v.style+="strokeColor=none;fillColor=none;";var aa=b,wa=parseInt(a.Cells),M=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+"part=1;";0<wa&&(aa/=wa);U=[];N=[];for(g=1;g<=wa;g++)U[g]=
|
||||
new mxCell("",new mxGeometry(0,(g-1)*aa,d,aa),M),U[g].vertex=!0,v.insert(U[g]),U[g].value=k(a["cell_"+g]),U[g].style+=n(a["cell_"+g]);break;case "VSMInventoryBlock":v.style+="shape=mxgraph.lean_mapping.inventory_box;verticalLabelPosition=bottom;verticalAlign=top;"+h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+K(a)+I(a)+J(a)+ba(a)+ka(a)+la(a)+La(a)+ma(a)+na(a);v.value=k(a.Text);break;case "VSMSupermarketBlock":v.style+="strokeColor=none;"+t(a,c);aa=b;wa=parseInt(a.Cells);M=h(a,c)+r(a,c)+q(a)+"part=1;fillColor=none;";
|
||||
0<wa&&(aa/=wa);U=[];pa=[];for(g=1;g<=wa;g++)U[g]=new mxCell("",new mxGeometry(.5*d,(g-1)*aa,.5*d,aa),"shape=partialRectangle;left=0;"+M),U[g].vertex=!0,v.insert(U[g]),pa[g]=new mxCell("",new mxGeometry(0,(g-1)*aa,d,aa),"strokeColor=none;fillColor=none;part=1;"),pa[g].vertex=!0,v.insert(pa[g]),pa[g].value=k(a["cell_"+g]),pa[g].style+=n(a["cell_"+g]);break;case "VSMFIFOLaneBlock":v.style+="shape=mxgraph.lean_mapping.fifo_sequence_flow;fontStyle=0;fontSize=18";v.value="FIFO";break;case "VSMGoSeeProductionBlock":v.style+=
|
||||
"shape=ellipse;"+h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+n(a);v.value=k(a.Text);e=new mxCell("",new mxGeometry(.17*d,.2*b,13,6),"shape=mxgraph.lean_mapping.go_see_production_scheduling;flipH=1;part=1;whiteSpace=wrap;html=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+t(a,c)+r(a,c)+q(a);break;case "VSMProductionKanbanBatchBlock":v.style+="strokeColor=none;fillColor=none;";M="shape=card;size=18;flipH=1;part=1;"+h(a,c)+t(a,c)+r(a,c)+q(a);e=new mxCell("",new mxGeometry(.1*d,0,.9*d,.8*b),"shape=mxgraph.lean_mapping.go_see_production_scheduling;flipH=1;part=1;");
|
||||
e.vertex=!0;v.insert(e);e.style+=M;p=new mxCell("",new mxGeometry(.05*d,.1*b,.9*d,.8*b),"shape=mxgraph.lean_mapping.go_see_production_scheduling;flipH=1;part=1;");p.vertex=!0;v.insert(p);p.style+=M;var F=new mxCell("",new mxGeometry(0,.2*b,.9*d,.8*b),"shape=mxgraph.lean_mapping.go_see_production_scheduling;flipH=1;part=1;whiteSpace=wrap;html=1;spacing=2;");F.vertex=!0;v.insert(F);F.style+=M+n(a);F.value=k(a.Text);break;case "AWSRoundedRectangleContainerBlock2":v.style+="strokeColor=none;fillColor=none;";
|
||||
a.Spotfleet?(e=new mxCell("",new mxGeometry(0,0,d,b-20),"resizeWidth=1;resizeHeight=1;fillColor=none;align=center;verticalAlign=bottom;spacing=2;rounded=1;arcSize=10;"),e.geometry.offset=new mxPoint(0,20),e.geometry.relative=!0,e.vertex=!0,v.insert(e),e.style+=h(a,c)+n(a.Title)+y(a)+q(a),e.value=k(a.Title),p=new mxCell("",new mxGeometry(0,0,35,40),"strokeColor=none;shape=mxgraph.aws3.spot_instance;fillColor=#f58536;"),p.geometry.relative=!0,p.geometry.offset=new mxPoint(30,0),p.vertex=!0,v.insert(p)):
|
||||
a.Beanstalk?(e=new mxCell("",new mxGeometry(0,0,d,b-20),"resizeWidth=1;resizeHeight=1;fillColor=none;align=center;verticalAlign=bottom;spacing=2;rounded=1;arcSize=10;"),e.geometry.offset=new mxPoint(0,20),e.geometry.relative=!0,e.vertex=!0,v.insert(e),e.style+=h(a,c)+n(a.Title)+y(a)+q(a),e.value=k(a.Title),p=new mxCell("",new mxGeometry(0,0,30,40),"strokeColor=none;shape=mxgraph.aws3.elastic_beanstalk;fillColor=#759C3E;"),p.geometry.relative=!0,p.geometry.offset=new mxPoint(30,0),p.vertex=!0,v.insert(p)):
|
||||
a.EC2?(e=new mxCell("",new mxGeometry(0,0,d,b-20),"resizeWidth=1;resizeHeight=1;fillColor=none;align=center;verticalAlign=bottom;spacing=2;rounded=1;arcSize=10;"),e.geometry.offset=new mxPoint(0,20),e.geometry.relative=!0,e.vertex=!0,v.insert(e),e.style+=h(a,c)+n(a.Title)+y(a)+q(a),e.value=k(a.Title),p=new mxCell("",new mxGeometry(0,0,32,40),"strokeColor=none;shape=mxgraph.aws3.ec2;fillColor=#F58534;"),p.geometry.relative=!0,p.geometry.offset=new mxPoint(30,0),p.vertex=!0,v.insert(p)):a.Subnet?(e=
|
||||
|
@ -110,17 +110,17 @@ new mxCell("",new mxGeometry(0,0,d,b-20),"resizeWidth=1;resizeHeight=1;fillColor
|
|||
new mxGeometry(0,0,d,b-20),"resizeWidth=1;resizeHeight=1;fillColor=none;align=center;verticalAlign=bottom;spacing=2;rounded=1;arcSize=10;"),e.geometry.offset=new mxPoint(0,20),e.geometry.relative=!0,e.vertex=!0,v.insert(e),e.style+=h(a,c)+n(a.Title)+y(a)+q(a),e.value=k(a.Title),p=new mxCell("",new mxGeometry(0,0,60,40),"strokeColor=none;shape=mxgraph.aws3.virtual_private_cloud;fillColor=#146EB4;"),p.geometry.relative=!0,p.geometry.offset=new mxPoint(30,0),p.vertex=!0,v.insert(p)):a.AWS?(e=new mxCell("",
|
||||
new mxGeometry(0,0,d,b-20),"resizeWidth=1;resizeHeight=1;fillColor=none;align=center;verticalAlign=bottom;spacing=2;rounded=1;arcSize=10;"),e.geometry.offset=new mxPoint(0,20),e.geometry.relative=!0,e.vertex=!0,v.insert(e),e.style+=h(a,c)+n(a.Title)+y(a)+q(a),e.value=k(a.Title),p=new mxCell("",new mxGeometry(0,0,60,40),"strokeColor=none;shape=mxgraph.aws3.cloud;fillColor=#F58534;"),p.geometry.relative=!0,p.geometry.offset=new mxPoint(30,0),p.vertex=!0,v.insert(p)):a.Corporate?(e=new mxCell("",new mxGeometry(0,
|
||||
0,d,b-20),"resizeWidth=1;resizeHeight=1;fillColor=none;align=center;verticalAlign=bottom;spacing=2;rounded=1;arcSize=10;"),e.geometry.offset=new mxPoint(0,20),e.geometry.relative=!0,e.vertex=!0,v.insert(e),e.style+=h(a,c)+n(a.Title)+y(a)+q(a),e.value=k(a.Title),p=new mxCell("",new mxGeometry(0,0,25,40),"strokeColor=none;shape=mxgraph.aws3.corporate_data_center;fillColor=#7D7C7C;"),p.geometry.relative=!0,p.geometry.offset=new mxPoint(30,0),p.vertex=!0,v.insert(p)):(v.style="resizeWidth=1;resizeHeight=1;fillColor=none;align=center;verticalAlign=bottom;spacing=2;rounded=1;arcSize=10;"+
|
||||
h(a,c)+n(a.Title)+y(a)+q(a),v.value=k(a.Title));break;case "NET_RingNetwork":v.style+="strokeColor=none;fillColor=none;";var D=new mxCell("",new mxGeometry(.25*d,.25*b,.5*d,.5*b),"html=1;shape=ellipse;perimeter=ellipsePerimeter;strokeColor=#29AAE1;strokeWidth=2;");D.vertex=!0;v.insert(D);var G=[D];D.style+=t(a,c);var B=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;rounded=0;endArrow=none;dashed=0;html=1;strokeColor=#29AAE1;strokeWidth=2;");B.geometry.relative=!0;B.edge=!0;Ja(.5*d,0,B,l,m,
|
||||
G,v,D);Ja(.855*d,.145*b,B,l,m,G,v,D);Ja(d,.5*b,B,l,m,G,v,D);Ja(.855*d,.855*b,B,l,m,G,v,D);Ja(.5*d,b,B,l,m,G,v,D);Ja(.145*d,.855*b,B,l,m,G,v,D);Ja(0,.5*b,B,l,m,G,v,D);Ja(.145*d,.145*b,B,l,m,G,v,D);break;case "NET_Ethernet":v.style+="strokeColor=none;fillColor=none;";D=new mxCell("",new mxGeometry(0,.5*b-10,d,20),"shape=mxgraph.networks.bus;gradientColor=none;gradientDirection=north;fontColor=#ffffff;perimeter=backbonePerimeter;backboneSize=20;fillColor=#29AAE1;strokeColor=#29AAE1;");D.vertex=!0;v.insert(D);
|
||||
G=[D];B=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=#29AAE1;edgeStyle=none;rounded=0;endArrow=none;html=1;strokeWidth=2;");B.geometry.relative=!0;B.edge=!0;for(var G=[D],Db=d/a.NumTopNodes,g=0;g<a.NumTopNodes;g++)Ja(.5*Db+g*Db,0,B,l,m,G,v,D);Db=d/a.NumBottomNodes;for(g=0;g<a.NumBottomNodes;g++)Ja(.5*Db+g*Db,b,B,l,m,G,v,D);break;case "EE_OpAmp":v.style+="shape=mxgraph.electrical.abstract.operational_amp_1;"+h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+n(a);v.value=k(a.Title);a.ToggleCharge&&(v.style+="flipV=1;");
|
||||
h(a,c)+n(a.Title)+y(a)+q(a),v.value=k(a.Title));break;case "NET_RingNetwork":v.style+="strokeColor=none;fillColor=none;";var D=new mxCell("",new mxGeometry(.25*d,.25*b,.5*d,.5*b),"html=1;shape=ellipse;perimeter=ellipsePerimeter;strokeColor=#29AAE1;strokeWidth=2;");D.vertex=!0;v.insert(D);var G=[D];D.style+=t(a,c);var B=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;rounded=0;endArrow=none;dashed=0;html=1;strokeColor=#29AAE1;strokeWidth=2;");B.geometry.relative=!0;B.edge=!0;Ka(.5*d,0,B,l,m,
|
||||
G,v,D);Ka(.855*d,.145*b,B,l,m,G,v,D);Ka(d,.5*b,B,l,m,G,v,D);Ka(.855*d,.855*b,B,l,m,G,v,D);Ka(.5*d,b,B,l,m,G,v,D);Ka(.145*d,.855*b,B,l,m,G,v,D);Ka(0,.5*b,B,l,m,G,v,D);Ka(.145*d,.145*b,B,l,m,G,v,D);break;case "NET_Ethernet":v.style+="strokeColor=none;fillColor=none;";D=new mxCell("",new mxGeometry(0,.5*b-10,d,20),"shape=mxgraph.networks.bus;gradientColor=none;gradientDirection=north;fontColor=#ffffff;perimeter=backbonePerimeter;backboneSize=20;fillColor=#29AAE1;strokeColor=#29AAE1;");D.vertex=!0;v.insert(D);
|
||||
G=[D];B=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=#29AAE1;edgeStyle=none;rounded=0;endArrow=none;html=1;strokeWidth=2;");B.geometry.relative=!0;B.edge=!0;for(var G=[D],Db=d/a.NumTopNodes,g=0;g<a.NumTopNodes;g++)Ka(.5*Db+g*Db,0,B,l,m,G,v,D);Db=d/a.NumBottomNodes;for(g=0;g<a.NumBottomNodes;g++)Ka(.5*Db+g*Db,b,B,l,m,G,v,D);break;case "EE_OpAmp":v.style+="shape=mxgraph.electrical.abstract.operational_amp_1;"+h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+n(a);v.value=k(a.Title);a.ToggleCharge&&(v.style+="flipV=1;");
|
||||
break;case "EIMessageChannelBlock":case "EIDatatypeChannelBlock":case "EIInvalidMessageChannelBlock":case "EIDeadLetterChannelBlock":case "EIGuaranteedDeliveryBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;"+h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+y(a)+n(a);v.value=k(a.Text);"EIMessageChannelBlock"==f.Class?(e=new mxCell("",new mxGeometry(.5,.5,.9*d,20),"shape=mxgraph.eip.messageChannel;fillColor=#818181;part=1;"),e.geometry.offset=new mxPoint(.45*-d,0)):"EIDatatypeChannelBlock"==f.Class?
|
||||
(e=new mxCell("",new mxGeometry(.5,.5,.9*d,20),"shape=mxgraph.eip.dataChannel;fillColor=#818181;part=1;"),e.geometry.offset=new mxPoint(.45*-d,0)):"EIInvalidMessageChannelBlock"==f.Class?(e=new mxCell("",new mxGeometry(.5,.5,.9*d,20),"shape=mxgraph.eip.invalidMessageChannel;fillColor=#818181;part=1;"),e.geometry.offset=new mxPoint(.45*-d,0)):"EIDeadLetterChannelBlock"==f.Class?(e=new mxCell("",new mxGeometry(.5,.5,.9*d,20),"shape=mxgraph.eip.deadLetterChannel;fillColor=#818181;part=1;"),e.geometry.offset=
|
||||
new mxPoint(.45*-d,0)):"EIGuaranteedDeliveryBlock"==f.Class&&(e=new mxCell("",new mxGeometry(.5,.5,20,27),"shape=cylinder;fillColor=#818181;part=1;"),e.geometry.offset=new mxPoint(-10,-7));e.geometry.relative=!0;e.vertex=!0;v.insert(e);e.style+=h(a,c)+r(a,c)+q(a);B=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;rounded=0;endArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=6;");B.geometry.relative=!0;B.edge=!0;Q(.15*d,.25*b,.85*d,.25*b,B,l,m,G,v,D);break;case "EIChannelAdapterBlock":v.style+=
|
||||
"verticalLabelPosition=bottom;verticalAlign=top;"+h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+y(a)+n(a);v.value=k(a.Text);e=new mxCell("",new mxGeometry(0,.07*b,.21*d,.86*b),"fillColor=#FFFF33;part=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+r(a,c)+q(a)+y(a);p=new mxCell("",new mxGeometry(.26*d,.09*b,.2*d,.82*b),"shape=mxgraph.eip.channel_adapter;fillColor=#4CA3D9;part=1;");p.vertex=!0;v.insert(p);p.style+=h(a,c)+r(a,c)+q(a)+y(a);F=new mxCell("",new mxGeometry(1,.5,.35*d,20),"shape=mxgraph.eip.messageChannel;fillColor=#818181;part=1;");
|
||||
F.geometry.relative=!0;F.geometry.offset=new mxPoint(.4*-d,-10);F.vertex=!0;v.insert(F);F.style+=h(a,c)+r(a,c)+q(a)+y(a);x=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=1;exitY=0.5;entryX=0;entryY=0.5;endArrow=none;dashed=0;html=1;strokeWidth=1;endFill=1;endSize=2;");x.geometry.relative=!0;x.edge=!0;e.insertEdge(x,!0);p.insertEdge(x,!1);x.style+=h(a,c);l.push(m.addCell(x,null,null,null,null));w=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=1;exitY=0.5;entryX=0;entryY=0.5;endArrow=block;startArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=2;startFill=1;startSize=2;");
|
||||
w.geometry.relative=!0;w.edge=!0;p.insertEdge(w,!0);F.insertEdge(w,!1);l.push(m.addCell(w,null,null,null,null));break;case "EIMessageBlock":case "EICommandMessageBlock":case "EIDocumentMessageBlock":case "EIEventMessageBlock":v.style+="strokeColor=none;fillColor=none;verticalLabelPosition=bottom;verticalAlign=top;"+n(a);v.value=k(a.Text);e=new mxCell("",new mxGeometry(0,0,17,17),"shape=ellipse;fillColor=#808080;part=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+q(a);for(var Eb=a.Messages,Tb=(b-17)/
|
||||
Eb,p=[],B=[],g=0;g<Eb;g++){var Fb=Tb*(g+1)-3;p[g]=new mxCell("",new mxGeometry(d-20,Fb,20,20),"part=1;");p[g].vertex=!0;v.insert(p[g]);p[g].style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+y(a);switch(f.Class){case "EIMessageBlock":p[g].value=k(a["message_"+(g+1)]);p.style+=n(a["message_"+(g+1)]);break;case "EICommandMessageBlock":p[g].value="C";p[g].style+="fontStyle=1;fontSize=10;";break;case "EIDocumentMessageBlock":p[g].value="D";p[g].style+="fontStyle=1;fontSize=10;";break;case "EIEventMessageBlock":p[g].value=
|
||||
"E",p[g].style+="fontStyle=1;fontSize=10;"}B[g]=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;");B[g].geometry.relative=!0;B[g].edge=!0;e.insertEdge(B[g],!1);p[g].insertEdge(B[g],!0);B[g].style+=h(a,c)+q(a);var Oa=[];Oa.push(new mxPoint(qa+8.5,ra+Fb+10));B[g].geometry.points=Oa;l.push(m.addCell(B[g],null,null,null,null))}break;case "EIMessageEndpointBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;"+h(a,
|
||||
w.geometry.relative=!0;w.edge=!0;p.insertEdge(w,!0);F.insertEdge(w,!1);l.push(m.addCell(w,null,null,null,null));break;case "EIMessageBlock":case "EICommandMessageBlock":case "EIDocumentMessageBlock":case "EIEventMessageBlock":v.style+="strokeColor=none;fillColor=none;verticalLabelPosition=bottom;verticalAlign=top;"+n(a);v.value=k(a.Text);e=new mxCell("",new mxGeometry(0,0,17,17),"shape=ellipse;fillColor=#808080;part=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+q(a);for(var Eb=a.Messages,Vb=(b-17)/
|
||||
Eb,p=[],B=[],g=0;g<Eb;g++){var Fb=Vb*(g+1)-3;p[g]=new mxCell("",new mxGeometry(d-20,Fb,20,20),"part=1;");p[g].vertex=!0;v.insert(p[g]);p[g].style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+y(a);switch(f.Class){case "EIMessageBlock":p[g].value=k(a["message_"+(g+1)]);p.style+=n(a["message_"+(g+1)]);break;case "EICommandMessageBlock":p[g].value="C";p[g].style+="fontStyle=1;fontSize=10;";break;case "EIDocumentMessageBlock":p[g].value="D";p[g].style+="fontStyle=1;fontSize=10;";break;case "EIEventMessageBlock":p[g].value=
|
||||
"E",p[g].style+="fontStyle=1;fontSize=10;"}B[g]=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;");B[g].geometry.relative=!0;B[g].edge=!0;e.insertEdge(B[g],!1);p[g].insertEdge(B[g],!0);B[g].style+=h(a,c)+q(a);var Qa=[];Qa.push(new mxPoint(ra+8.5,sa+Fb+10));B[g].geometry.points=Qa;l.push(m.addCell(B[g],null,null,null,null))}break;case "EIMessageEndpointBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;"+h(a,
|
||||
c)+t(a,c)+r(a,c)+u(a)+q(a)+y(a)+n(a);v.value=k(a.Text);e=new mxCell("",new mxGeometry(.45*d,.25*b,.3*d,.5*b),"part=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+r(a,c)+q(a);B=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;rounded=0;endArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=6;");B.geometry.relative=!0;B.edge=!0;Q(0,.5*b,.4*d,.5*b,B,l,m,G,v,D);break;case "EIPublishSubscribeChannelBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;"+h(a,c)+
|
||||
t(a,c)+r(a,c)+u(a)+q(a)+y(a)+n(a);v.value=k(a.Text);var x=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;rounded=0;endArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=6;");x.geometry.relative=!0;x.edge=!0;Q(.05*d,.5*b,.85*d,.5*b,x,l,m,G,v,D);var w=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;rounded=0;endArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=6;");w.geometry.relative=!0;w.edge=!0;Q(.05*d,.5*b,.85*d,.15*
|
||||
b,w,l,m,G,v,D);var E=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;rounded=0;endArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=6;");E.geometry.relative=!0;E.edge=!0;Q(.05*d,.5*b,.85*d,.85*b,E,l,m,G,v,D);break;case "EIMessageBusBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;"+h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+y(a)+n(a);v.value=k(a.Text);x=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;rounded=0;endArrow=block;dashed=0;html=1;strokeWidth=1;endFill=1;endSize=4;startArrow=block;startFill=1;startSize=4;");
|
||||
|
@ -129,107 +129,109 @@ E.geometry.relative=!0;E.edge=!0;E.style+=h(a,c);Q(.7*d,.1*b,.7*d,.5*b,E,l,m,G,v
|
|||
e=new mxCell("",new mxGeometry(.2*d,.21*b,.16*d,.24*b),"part=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+r(a,c)+q(a);x=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;rounded=0;endArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=6;");x.geometry.relative=!0;x.edge=!0;Q(.45*d,.33*b,.8*d,.33*b,x,l,m,G,v,D);p=new mxCell("",new mxGeometry(.64*d,.55*b,.16*d,.24*b),"part=1;");p.vertex=!0;v.insert(p);p.style+=h(a,c)+r(a,c)+q(a);w=new mxCell("",new mxGeometry(0,0,0,0),
|
||||
"edgeStyle=none;rounded=0;endArrow=block;dashed=0;html=1;strokeColor=#818181;strokeWidth=1;endFill=1;endSize=6;");w.geometry.relative=!0;w.edge=!0;Q(.55*d,.67*b,.2*d,.67*b,w,l,m,G,v,D);break;case "EIReturnAddressBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;"+h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+y(a)+n(a);v.value=k(a.Text);e=new mxCell("",new mxGeometry(.1*d,.15*b,.8*d,.7*b),"part=1;shape=mxgraph.eip.retAddr;fillColor=#FFE040;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+r(a,c)+q(a);break;
|
||||
case "EICorrelationIDBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;"+h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+y(a)+n(a);v.value=k(a.Text);e=new mxCell("",new mxGeometry(.04*d,.06*b,.18*d,.28*b),"shape=ellipse;fillColor=#808080;part=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+q(a);p=new mxCell("",new mxGeometry(.2*d,.56*b,.2*d,.32*b),"part=1;");p.vertex=!0;v.insert(p);p.style+=h(a,c)+r(a,c)+q(a)+y(a);p.value="A";p.style+="fontStyle=1;fontSize=10;";x=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;part=1;");
|
||||
x.geometry.relative=!0;x.edge=!0;e.insertEdge(x,!1);p.insertEdge(x,!0);x.style+=h(a,c)+q(a);Oa=[];Oa.push(new mxPoint(qa+.13*d,ra+.72*b));x.geometry.points=Oa;l.push(m.addCell(x,null,null,null,null));F=new mxCell("",new mxGeometry(.6*d,.06*b,.18*d,.28*b),"shape=ellipse;fillColor=#808080;part=1;");F.vertex=!0;v.insert(F);F.style+=h(a,c)+q(a);P=new mxCell("",new mxGeometry(.76*d,.56*b,.2*d,.32*b),"part=1;");P.vertex=!0;v.insert(P);P.style+=h(a,c)+r(a,c)+q(a)+y(a);P.value="B";P.style+="fontStyle=1;fontSize=10;";
|
||||
w=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;part=1;");w.geometry.relative=!0;w.edge=!0;F.insertEdge(w,!1);P.insertEdge(w,!0);w.style+=h(a,c)+q(a);var Jb=[];Jb.push(new mxPoint(qa+.69*d,ra+.72*b));w.geometry.points=Jb;l.push(m.addCell(w,null,null,null,null));E=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;endSize=6;part=1;");E.geometry.relative=!0;E.edge=!0;e.insertEdge(E,
|
||||
x.geometry.relative=!0;x.edge=!0;e.insertEdge(x,!1);p.insertEdge(x,!0);x.style+=h(a,c)+q(a);Qa=[];Qa.push(new mxPoint(ra+.13*d,sa+.72*b));x.geometry.points=Qa;l.push(m.addCell(x,null,null,null,null));F=new mxCell("",new mxGeometry(.6*d,.06*b,.18*d,.28*b),"shape=ellipse;fillColor=#808080;part=1;");F.vertex=!0;v.insert(F);F.style+=h(a,c)+q(a);P=new mxCell("",new mxGeometry(.76*d,.56*b,.2*d,.32*b),"part=1;");P.vertex=!0;v.insert(P);P.style+=h(a,c)+r(a,c)+q(a)+y(a);P.value="B";P.style+="fontStyle=1;fontSize=10;";
|
||||
w=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;part=1;");w.geometry.relative=!0;w.edge=!0;F.insertEdge(w,!1);P.insertEdge(w,!0);w.style+=h(a,c)+q(a);var cc=[];cc.push(new mxPoint(ra+.69*d,sa+.72*b));w.geometry.points=cc;l.push(m.addCell(w,null,null,null,null));E=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;endSize=6;part=1;");E.geometry.relative=!0;E.edge=!0;e.insertEdge(E,
|
||||
!1);F.insertEdge(E,!0);E.style+=h(a,c)+q(a);l.push(m.addCell(E,null,null,null,null));break;case "EIMessageSequenceBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;"+h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+y(a)+n(a);v.value=k(a.Text);e=new mxCell("1",new mxGeometry(.2*d,.4*b,.1*d,.19*b),"fontStyle=1;fontSize=10;part=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+q(a);p=new mxCell("2",new mxGeometry(.45*d,.4*b,.1*d,.19*b),"fontStyle=1;fontSize=10;part=1;");p.vertex=!0;v.insert(p);p.style+=h(a,c)+
|
||||
q(a);F=new mxCell("3",new mxGeometry(.7*d,.4*b,.1*d,.19*b),"fontStyle=1;fontSize=10;part=1;");F.vertex=!0;v.insert(F);F.style+=h(a,c)+q(a);x=new mxCell("",new mxGeometry(0,0,0,0),"curved=1;endArrow=block;html=1;endSize=3;part=1;");e.insertEdge(x,!1);p.insertEdge(x,!0);x.geometry.points=[new mxPoint(qa+.375*d,ra+.15*b)];x.geometry.relative=!0;x.edge=!0;x.style+=h(a,c)+q(a);l.push(m.addCell(x,null,null,null,null));w=new mxCell("",new mxGeometry(0,0,0,0),"curved=1;endArrow=block;html=1;endSize=3;part=1;");
|
||||
p.insertEdge(w,!1);F.insertEdge(w,!0);w.geometry.points=[new mxPoint(qa+.675*d,ra+.15*b)];w.geometry.relative=!0;w.edge=!0;w.style+=h(a,c)+q(a);l.push(m.addCell(w,null,null,null,null));break;case "EIMessageExpirationBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;"+h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+y(a)+n(a);v.value=k(a.Text);e=new mxCell("",new mxGeometry(.3*d,.2*b,.4*d,.6*b),"shape=mxgraph.ios7.icons.clock;flipH=1;part=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+q(a);break;case "EIMessageBrokerBlock":v.style+=
|
||||
"strokeColor=none;fillColor=none;verticalLabelPosition=bottom;verticalAlign=top;"+I(a)+J(a)+K(a)+ea(a);v.value=k(a.Text);e=new mxCell("",new mxGeometry(.38*d,.42*b,.24*d,.16*b),"part=1;fillColor=#aefe7d;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+q(a);p=new mxCell("",new mxGeometry(.38*d,0,.24*d,.16*b),"part=1;");p.vertex=!0;v.insert(p);p.style+=t(a,c)+h(a,c)+q(a);F=new mxCell("",new mxGeometry(.76*d,.23*b,.24*d,.16*b),"part=1;");F.vertex=!0;v.insert(F);F.style=p.style;var P=new mxCell("",new mxGeometry(.76*
|
||||
q(a);F=new mxCell("3",new mxGeometry(.7*d,.4*b,.1*d,.19*b),"fontStyle=1;fontSize=10;part=1;");F.vertex=!0;v.insert(F);F.style+=h(a,c)+q(a);x=new mxCell("",new mxGeometry(0,0,0,0),"curved=1;endArrow=block;html=1;endSize=3;part=1;");e.insertEdge(x,!1);p.insertEdge(x,!0);x.geometry.points=[new mxPoint(ra+.375*d,sa+.15*b)];x.geometry.relative=!0;x.edge=!0;x.style+=h(a,c)+q(a);l.push(m.addCell(x,null,null,null,null));w=new mxCell("",new mxGeometry(0,0,0,0),"curved=1;endArrow=block;html=1;endSize=3;part=1;");
|
||||
p.insertEdge(w,!1);F.insertEdge(w,!0);w.geometry.points=[new mxPoint(ra+.675*d,sa+.15*b)];w.geometry.relative=!0;w.edge=!0;w.style+=h(a,c)+q(a);l.push(m.addCell(w,null,null,null,null));break;case "EIMessageExpirationBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;"+h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+y(a)+n(a);v.value=k(a.Text);e=new mxCell("",new mxGeometry(.3*d,.2*b,.4*d,.6*b),"shape=mxgraph.ios7.icons.clock;flipH=1;part=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+q(a);break;case "EIMessageBrokerBlock":v.style+=
|
||||
"strokeColor=none;fillColor=none;verticalLabelPosition=bottom;verticalAlign=top;"+K(a)+I(a)+J(a)+ba(a);v.value=k(a.Text);e=new mxCell("",new mxGeometry(.38*d,.42*b,.24*d,.16*b),"part=1;fillColor=#aefe7d;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+q(a);p=new mxCell("",new mxGeometry(.38*d,0,.24*d,.16*b),"part=1;");p.vertex=!0;v.insert(p);p.style+=t(a,c)+h(a,c)+q(a);F=new mxCell("",new mxGeometry(.76*d,.23*b,.24*d,.16*b),"part=1;");F.vertex=!0;v.insert(F);F.style=p.style;var P=new mxCell("",new mxGeometry(.76*
|
||||
d,.61*b,.24*d,.16*b),"part=1;");P.vertex=!0;v.insert(P);P.style=p.style;var Mb=new mxCell("",new mxGeometry(.38*d,.84*b,.24*d,.16*b),"part=1;");Mb.vertex=!0;v.insert(Mb);Mb.style=p.style;var Nb=new mxCell("",new mxGeometry(0,.61*b,.24*d,.16*b),"part=1;");Nb.vertex=!0;v.insert(Nb);Nb.style=p.style;var Ob=new mxCell("",new mxGeometry(0,.23*b,.24*d,.16*b),"part=1;");Ob.vertex=!0;v.insert(Ob);Ob.style=p.style;x=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;part=1;");e.insertEdge(x,!1);p.insertEdge(x,
|
||||
!0);x.edge=!0;x.style+=h(a,c)+q(a);l.push(m.addCell(x,null,null,null,null));w=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;part=1;");e.insertEdge(w,!1);F.insertEdge(w,!0);w.edge=!0;w.style+=h(a,c)+q(a);l.push(m.addCell(w,null,null,null,null));E=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;part=1;");e.insertEdge(E,!1);P.insertEdge(E,!0);E.edge=!0;E.style+=h(a,c)+q(a);l.push(m.addCell(E,null,null,null,null));R=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;part=1;");e.insertEdge(R,
|
||||
!1);Mb.insertEdge(R,!0);R.edge=!0;R.style+=h(a,c)+q(a);l.push(m.addCell(R,null,null,null,null));var gb=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;part=1;");e.insertEdge(gb,!1);Nb.insertEdge(gb,!0);gb.edge=!0;gb.style+=h(a,c)+q(a);l.push(m.addCell(gb,null,null,null,null));var hb=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;part=1;");e.insertEdge(hb,!1);Ob.insertEdge(hb,!0);hb.edge=!0;hb.style+=h(a,c)+q(a);l.push(m.addCell(hb,null,null,null,null));break;case "EIDurableSubscriberBlock":v.style+=
|
||||
!1);Mb.insertEdge(R,!0);R.edge=!0;R.style+=h(a,c)+q(a);l.push(m.addCell(R,null,null,null,null));var hb=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;part=1;");e.insertEdge(hb,!1);Nb.insertEdge(hb,!0);hb.edge=!0;hb.style+=h(a,c)+q(a);l.push(m.addCell(hb,null,null,null,null));var ib=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;part=1;");e.insertEdge(ib,!1);Ob.insertEdge(ib,!0);ib.edge=!0;ib.style+=h(a,c)+q(a);l.push(m.addCell(ib,null,null,null,null));break;case "EIDurableSubscriberBlock":v.style+=
|
||||
"verticalLabelPosition=bottom;verticalAlign=top;"+h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+y(a)+n(a);v.value=k(a.Text);x=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;rounded=0;endArrow=block;endFill=1;endSize=6;");x.geometry.relative=!0;x.edge=!0;Q(.05*d,.5*b,.6*d,.25*b,x,l,m,G,v,D);w=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;rounded=0;endArrow=block;endFill=1;endSize=6;");w.geometry.relative=!0;w.edge=!0;Q(.05*d,.5*b,.6*d,.75*b,w,l,m,G,v,D);e=new mxCell("",new mxGeometry(.7*
|
||||
d,.1*b,.15*d,.32*b),"shape=mxgraph.eip.durable_subscriber;part=1;fillColor=#818181;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+q(a);break;case "EIControlBusBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;"+h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+y(a)+n(a);v.value=k(a.Text);e=new mxCell("",new mxGeometry(.25*d,.25*b,.5*d,.5*b),"shape=mxgraph.eip.control_bus;part=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+q(a);break;case "EIMessageHistoryBlock":v.style+="strokeColor=none;fillColor=none;verticalLabelPosition=bottom;verticalAlign=top;"+
|
||||
n(a);v.value=k(a.Text);e=new mxCell("",new mxGeometry(0,0,17,17),"shape=ellipse;fillColor=#808080;part=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+q(a);F=new mxCell("",new mxGeometry(d-45,30,30,20),"shape=mxgraph.mockup.misc.mail2;fillColor=#FFE040;part=1;");F.vertex=!0;v.insert(F);F.style+=h(a,c)+q(a);E=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;");E.geometry.relative=!0;E.edge=!0;e.insertEdge(E,!1);F.insertEdge(E,
|
||||
!0);E.style+=h(a,c)+q(a);E.geometry.points=[new mxPoint(qa+8.5,ra+40)];l.push(m.addCell(E,null,null,null,null));P=new mxCell("",new mxGeometry(d-45,b-20,20,20),"part=1;");P.vertex=!0;v.insert(P);P.value=k(a.message_0);P.style+=n(a.message_0);P.style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+y(a);R=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;");R.geometry.relative=!0;R.edge=!0;e.insertEdge(R,!1);P.insertEdge(R,!0);R.style+=h(a,
|
||||
c)+q(a);R.geometry.points=[new mxPoint(qa+8.5,ra+b-10)];l.push(m.addCell(R,null,null,null,null));Eb=a.HistoryMessages;Tb=(b-75)/Eb;p=[];B=[];for(g=0;g<Eb;g++)Fb=Tb*(g+1)+30,p[g]=new mxCell("",new mxGeometry(d-20,Fb,20,20),"part=1;"),p[g].vertex=!0,p[g].value=k(a["message_"+(g+1)]),p.style+=n(a["message_"+(g+1)]),v.insert(p[g]),p[g].style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+y(a),B[g]=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;"),
|
||||
B[g].geometry.relative=!0,B[g].edge=!0,F.insertEdge(B[g],!1),p[g].insertEdge(B[g],!0),B[g].style+=h(a,c)+q(a),Oa=[],Oa.push(new mxPoint(qa+d-30,ra+Fb+10)),B[g].geometry.points=Oa,l.push(m.addCell(B[g],null,null,null,null));break;case "fpDoor":v.style+="shape=mxgraph.floorplan.doorRight;"+h(a,c)+r(a,c)+u(a)+q(a)+ja(a,c,v);y(a);0>a.DoorAngle&&(v.style+="flipV=1;");break;case "fpDoubleDoor":v.style+="shape=mxgraph.floorplan.doorDouble;"+h(a,c)+r(a,c)+u(a)+q(a)+ja(a,c,v)+y(a);0<a.DoorAngle&&(v.style+=
|
||||
"flipV=1;");break;case "fpRestroomLights":v.style+="strokeColor=none;fillColor=none;"+ja(a,c,v);e=new mxCell("",new mxGeometry(0,0,d,.25*b),"part=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+t(a,c)+q(a)+r(a,c)+u(a)+y(a);for(var p=[],ac=.02*d,Ub=(d-2*ac)/a.LightCount,bc=.8*Ub,g=0;g<a.LightCount;g++)p[g]=new mxCell("",new mxGeometry(ac+Ub*g+(Ub-bc)/2,.25*b,bc,.75*b),"part=1;shape=ellipse;"),p[g].vertex=!0,v.insert(p[g]),p[g].style+=h(a,c)+t(a,c)+q(a)+r(a,c)+u(a)+y(a);break;case "fpRestroomSinks":v.style+=
|
||||
"strokeColor=none;fillColor=none;"+ja(a,c,v);for(var e=[],cc=d/a.SinkCount,g=0;g<a.SinkCount;g++)e[g]=new mxCell("",new mxGeometry(cc*g,0,cc,b),"part=1;shape=mxgraph.floorplan.sink_2;"),e[g].vertex=!0,v.insert(e[g]),e[g].style+=h(a,c)+t(a,c)+q(a)+r(a,c)+u(a)+y(a);break;case "fpRestroomStalls":v.style+="strokeColor=none;fillColor=none;";var da=.1*d/a.StallCount,e=new mxCell("",new mxGeometry(0,0,da,b),"fillColor=#000000;part=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+q(a);for(var ia=(d-da)/a.StallCount,
|
||||
Vb=[],Gb=[],Hb=[],Ib=[],A=h(a,c),A=""==A?"#000000;":A.replace("stokreColor=",""),Qb="part=1;fillColor="+A+h(a,c)+q(a),Wb=t(a,c)+h(a,c)+q(a),g=0;g<a.StallCount;g++)Vb[g]=new mxCell("",new mxGeometry((g+1)*ia,0,da,b),Qb),Vb[g].vertex=!0,v.insert(Vb[g]),Hb[g]=new mxCell("",new mxGeometry(da+g*ia+.05*(ia-da),b-.92*(ia-da),.9*(ia-da),.92*(ia-da)),"shape=mxgraph.floorplan.doorRight;flipV=1;part=1;"),Hb[g].vertex=!0,v.insert(Hb[g]),Hb[g].style+=Wb,Gb[g]=new mxCell("",new mxGeometry(da+g*ia+.2*(ia-da),0,
|
||||
.6*(ia-da),.8*(ia-da)),"shape=mxgraph.floorplan.toilet;part=1;"),Gb[g].vertex=!0,v.insert(Gb[g]),Gb[g].style+=Wb,Ib[g]=new mxCell("",new mxGeometry(da+g*ia,.42*b,.15*(ia-da),.12*(ia-da)),"part=1;"),Ib[g].vertex=!0,v.insert(Ib[g]),Ib[g].style+=Wb;break;case "PEOneToMany":v.style+="strokeColor=none;fillColor=none;";var Pb="edgeStyle=none;endArrow=none;part=1;"+h(a,c)+q(a)+r(a,c)+u(a)+y(a),A=h(a,c),A=""==A?"#000000;":A.replace("stokreColor=",""),Xb="shape=triangle;part=1;fillColor="+A+h(a,c)+q(a)+r(a,
|
||||
c)+u(a)+y(a),x=new mxCell("",new mxGeometry(0,0,0,0),Pb);x.geometry.relative=!0;x.edge=!0;Q(0,.5*b,.65*d,.5*b,x,l,m,G,v,D);for(var Pa=b/a.numLines,w=[],Ta=[],g=0;g<a.numLines;g++)w[g]=new mxCell("",new mxGeometry(0,0,0,0),Pb),w[g].geometry.relative=!0,w[g].edge=!0,Q(.65*d,.5*b,.96*d,(g+.5)*Pa,w[g],l,m,G,v,D),Ta[g]=new mxCell("",new mxGeometry(.95*d,(g+.2)*Pa,.05*d,.6*Pa),Xb),Ta[g].vertex=!0,v.insert(Ta[g]);break;case "PEMultilines":v.style+="strokeColor=none;fillColor=none;";Pb="edgeStyle=none;endArrow=none;part=1;"+
|
||||
h(a,c)+q(a)+r(a,c)+u(a)+y(a);A=h(a,c);A=""==A?"#000000;":A.replace("stokreColor=","");Xb="shape=triangle;part=1;fillColor="+A+h(a,c)+q(a)+r(a,c)+u(a)+y(a);Pa=b/a.numLines;w=[];Ta=[];for(g=0;g<a.numLines;g++)w[g]=new mxCell("",new mxGeometry(0,0,0,0),Pb),w[g].geometry.relative=!0,w[g].edge=!0,Q(0,(g+.5)*Pa,.96*d,(g+.5)*Pa,w[g],l,m,G,v,D),Ta[g]=new mxCell("",new mxGeometry(.95*d,(g+.2)*Pa,.05*d,.6*Pa),Xb),Ta[g].vertex=!0,v.insert(Ta[g]);break;case "PEVesselBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;"+
|
||||
!0);E.style+=h(a,c)+q(a);E.geometry.points=[new mxPoint(ra+8.5,sa+40)];l.push(m.addCell(E,null,null,null,null));P=new mxCell("",new mxGeometry(d-45,b-20,20,20),"part=1;");P.vertex=!0;v.insert(P);P.value=k(a.message_0);P.style+=n(a.message_0);P.style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+y(a);R=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;");R.geometry.relative=!0;R.edge=!0;e.insertEdge(R,!1);P.insertEdge(R,!0);R.style+=h(a,
|
||||
c)+q(a);R.geometry.points=[new mxPoint(ra+8.5,sa+b-10)];l.push(m.addCell(R,null,null,null,null));Eb=a.HistoryMessages;Vb=(b-75)/Eb;p=[];B=[];for(g=0;g<Eb;g++)Fb=Vb*(g+1)+30,p[g]=new mxCell("",new mxGeometry(d-20,Fb,20,20),"part=1;"),p[g].vertex=!0,p[g].value=k(a["message_"+(g+1)]),p.style+=n(a["message_"+(g+1)]),v.insert(p[g]),p[g].style+=h(a,c)+t(a,c)+r(a,c)+u(a)+q(a)+y(a),B[g]=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;"),
|
||||
B[g].geometry.relative=!0,B[g].edge=!0,F.insertEdge(B[g],!1),p[g].insertEdge(B[g],!0),B[g].style+=h(a,c)+q(a),Qa=[],Qa.push(new mxPoint(ra+d-30,sa+Fb+10)),B[g].geometry.points=Qa,l.push(m.addCell(B[g],null,null,null,null));break;case "fpDoor":v.style+="shape=mxgraph.floorplan.doorRight;"+h(a,c)+r(a,c)+u(a)+q(a)+ia(a,c,v);y(a);0>a.DoorAngle&&(v.style+="flipV=1;");break;case "fpDoubleDoor":v.style+="shape=mxgraph.floorplan.doorDouble;"+h(a,c)+r(a,c)+u(a)+q(a)+ia(a,c,v)+y(a);0<a.DoorAngle&&(v.style+=
|
||||
"flipV=1;");break;case "fpRestroomLights":v.style+="strokeColor=none;fillColor=none;"+ia(a,c,v);e=new mxCell("",new mxGeometry(0,0,d,.25*b),"part=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+t(a,c)+q(a)+r(a,c)+u(a)+y(a);for(var p=[],dc=.02*d,Wb=(d-2*dc)/a.LightCount,ec=.8*Wb,g=0;g<a.LightCount;g++)p[g]=new mxCell("",new mxGeometry(dc+Wb*g+(Wb-ec)/2,.25*b,ec,.75*b),"part=1;shape=ellipse;"),p[g].vertex=!0,v.insert(p[g]),p[g].style+=h(a,c)+t(a,c)+q(a)+r(a,c)+u(a)+y(a);break;case "fpRestroomSinks":v.style+=
|
||||
"strokeColor=none;fillColor=none;"+ia(a,c,v);for(var e=[],fc=d/a.SinkCount,g=0;g<a.SinkCount;g++)e[g]=new mxCell("",new mxGeometry(fc*g,0,fc,b),"part=1;shape=mxgraph.floorplan.sink_2;"),e[g].vertex=!0,v.insert(e[g]),e[g].style+=h(a,c)+t(a,c)+q(a)+r(a,c)+u(a)+y(a);break;case "fpRestroomStalls":v.style+="strokeColor=none;fillColor=none;";var ea=.1*d/a.StallCount,e=new mxCell("",new mxGeometry(0,0,ea,b),"fillColor=#000000;part=1;");e.vertex=!0;v.insert(e);e.style+=h(a,c)+q(a);for(var ja=(d-ea)/a.StallCount,
|
||||
Xb=[],Gb=[],Hb=[],Ib=[],A=h(a,c),A=""==A?"#000000;":A.replace("stokreColor=",""),Qb="part=1;fillColor="+A+h(a,c)+q(a),Yb=t(a,c)+h(a,c)+q(a),g=0;g<a.StallCount;g++)Xb[g]=new mxCell("",new mxGeometry((g+1)*ja,0,ea,b),Qb),Xb[g].vertex=!0,v.insert(Xb[g]),Hb[g]=new mxCell("",new mxGeometry(ea+g*ja+.05*(ja-ea),b-.92*(ja-ea),.9*(ja-ea),.92*(ja-ea)),"shape=mxgraph.floorplan.doorRight;flipV=1;part=1;"),Hb[g].vertex=!0,v.insert(Hb[g]),Hb[g].style+=Yb,Gb[g]=new mxCell("",new mxGeometry(ea+g*ja+.2*(ja-ea),0,
|
||||
.6*(ja-ea),.8*(ja-ea)),"shape=mxgraph.floorplan.toilet;part=1;"),Gb[g].vertex=!0,v.insert(Gb[g]),Gb[g].style+=Yb,Ib[g]=new mxCell("",new mxGeometry(ea+g*ja,.42*b,.15*(ja-ea),.12*(ja-ea)),"part=1;"),Ib[g].vertex=!0,v.insert(Ib[g]),Ib[g].style+=Yb;break;case "PEOneToMany":v.style+="strokeColor=none;fillColor=none;";var Pb="edgeStyle=none;endArrow=none;part=1;"+h(a,c)+q(a)+r(a,c)+u(a)+y(a),A=h(a,c),A=""==A?"#000000;":A.replace("stokreColor=",""),Zb="shape=triangle;part=1;fillColor="+A+h(a,c)+q(a)+r(a,
|
||||
c)+u(a)+y(a),x=new mxCell("",new mxGeometry(0,0,0,0),Pb);x.geometry.relative=!0;x.edge=!0;Q(0,.5*b,.65*d,.5*b,x,l,m,G,v,D);for(var Ra=b/a.numLines,w=[],Va=[],g=0;g<a.numLines;g++)w[g]=new mxCell("",new mxGeometry(0,0,0,0),Pb),w[g].geometry.relative=!0,w[g].edge=!0,Q(.65*d,.5*b,.96*d,(g+.5)*Ra,w[g],l,m,G,v,D),Va[g]=new mxCell("",new mxGeometry(.95*d,(g+.2)*Ra,.05*d,.6*Ra),Zb),Va[g].vertex=!0,v.insert(Va[g]);break;case "PEMultilines":v.style+="strokeColor=none;fillColor=none;";Pb="edgeStyle=none;endArrow=none;part=1;"+
|
||||
h(a,c)+q(a)+r(a,c)+u(a)+y(a);A=h(a,c);A=""==A?"#000000;":A.replace("stokreColor=","");Zb="shape=triangle;part=1;fillColor="+A+h(a,c)+q(a)+r(a,c)+u(a)+y(a);Ra=b/a.numLines;w=[];Va=[];for(g=0;g<a.numLines;g++)w[g]=new mxCell("",new mxGeometry(0,0,0,0),Pb),w[g].geometry.relative=!0,w[g].edge=!0,Q(0,(g+.5)*Ra,.96*d,(g+.5)*Ra,w[g],l,m,G,v,D),Va[g]=new mxCell("",new mxGeometry(.95*d,(g+.2)*Ra,.05*d,.6*Ra),Zb),Va[g].vertex=!0,v.insert(Va[g]);break;case "PEVesselBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;"+
|
||||
h(a,c)+t(a,c)+q(a)+r(a,c)+u(a)+y(a)+n(a);v.value=k(a.Text);switch(a.vesselType){case 1:v.style+="shape=mxgraph.pid.vessels.pressurized_vessel;";break;case 2:v.style+="shape=hexagon;size=0.10;direction=south;"}break;case "PEClosedTankBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;"+h(a,c)+t(a,c)+q(a)+r(a,c)+u(a)+y(a)+n(a);v.value=k(a.Text);1==a.peakedRoof&&0==a.stumpType?v.style+="shape=mxgraph.pid.vessels.tank_(conical_roof);":1==a.stumpType&&(v.style+="shape=mxgraph.pid.vessels.tank_(boot);");
|
||||
break;case "PEColumnBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";h(a,c)+t(a,c)+q(a)+r(a,c)+u(a)+y(a)+n(a);v.value=k(a.Text);v.style=0==a.columnType?v.style+"shape=mxgraph.pid.vessels.pressurized_vessel;":v.style+"shape=mxgraph.pid.vessels.tank;";break;case "PECompressorTurbineBlock":v.style+="strokeColor=none;fillColor=none;"+ja(a,c,v)+n(a);v.value=k(a.Text);O=h(a,c)+t(a,c)+q(a)+r(a,c)+u(a)+y(a);e=new mxCell("",new mxGeometry(0,.2*b,d,.6*b),"part=1;shape=trapezoid;direction=south;");
|
||||
e.vertex=!0;v.insert(e);e.style+=O;O+="endSize=4;endArrow=block;endFill=1;";0==a.compressorType?(x=new mxCell("",new mxGeometry(0,0,0,0),""),x.geometry.relative=!0,x.edge=!0,x.style+=O,Q(0,0,0,.2*b,x,l,m,G,v,D),w=new mxCell("",new mxGeometry(0,0,0,0),""),w.geometry.relative=!0,w.edge=!0,w.style+=O,Q(d,.67*b,d,b,w,l,m,G,v,D)):(e.style+="flipH=1;",x=new mxCell("",new mxGeometry(0,0,0,0),""),x.geometry.relative=!0,x.edge=!0,x.style+=O,Q(0,0,0,.33*b,x,l,m,G,v,D),w=new mxCell("",new mxGeometry(0,0,0,0),
|
||||
""),w.geometry.relative=!0,w.edge=!0,w.style+=O,Q(d,.8*b,d,b,w,l,m,G,v,D));1==a.centerLineType&&(E=new mxCell("",new mxGeometry(0,0,0,0),""),E.geometry.relative=!0,E.edge=!0,E.style+=O,Q(.2*d,.5*b,.8*d,.5*b,E,l,m,G,v,D));break;case "PEMotorDrivenTurbineBlock":O=h(a,c)+t(a,c)+q(a)+r(a,c)+y(a);v.style+="shape=ellipse;"+u(a)+ja(a,c,v)+n(a);v.value=k(a.Text);e=new mxCell("",new mxGeometry(.2*d,.2*b,.6*d,.6*b),"part=1;shape=trapezoid;direction=south;");e.vertex=!0;v.insert(e);e.style+=O;break;case "PEIndicatorBlock":case "PEIndicator2Block":case "PESharedIndicatorBlock":case "PEComputerIndicatorBlock":case "PESharedIndicator2Block":case "PEProgrammableIndicatorBlock":O=
|
||||
r(a,c);v.style+=O+h(a,c)+t(a,c)+q(a)+y(a)+u(a)+ja(a,c,v);switch(f.Class){case "PEIndicatorBlock":v.style+="shape=mxgraph.pid2inst.discInst;";break;case "PEIndicator2Block":v.style+="shape=mxgraph.pid2inst.indicator;indType=inst;";break;case "PESharedIndicatorBlock":v.style+="shape=mxgraph.pid2inst.sharedCont;";break;case "PEComputerIndicatorBlock":v.style+="shape=mxgraph.pid2inst.compFunc;";break;case "PESharedIndicator2Block":v.style+="shape=mxgraph.pid2inst.indicator;indType=ctrl;";break;case "PEProgrammableIndicatorBlock":v.style+=
|
||||
"shape=mxgraph.pid2inst.progLogCont;"}"PEIndicator2Block"==f.Class||"PESharedIndicator2Block"==f.Class?(e=new mxCell("",new mxGeometry(0,0,d,.5*d),"part=1;strokeColor=none;fillColor=none;"),e.vertex=!0,v.insert(e),e.style+=O+n(a.TopText),e.value=k(a.TopText),p=new mxCell("",new mxGeometry(0,.5*d,d,.5*d),"part=1;strokeColor=none;fillColor=none;")):(e=new mxCell("",new mxGeometry(0,0,d,.5*b),"part=1;strokeColor=none;fillColor=none;"),e.vertex=!0,v.insert(e),e.style+=O+n(a.TopText),e.value=k(a.TopText),
|
||||
p=new mxCell("",new mxGeometry(0,.5*b,d,.5*b),"part=1;strokeColor=none;fillColor=none;"));p.vertex=!0;v.insert(p);p.style+=O;n(a.BotText);p.value=k(a.BotText);switch(a.instrumentLocation){case 0:v.style+="mounting=field;";break;case 1:v.style+="mounting=inaccessible;";break;case 2:v.style+="mounting=room;";break;case 3:v.style+="mounting=local;"}break;case "PEGateValveBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;",r(a,c)+h(a,c)+t(a,c)+q(a)+y(a)+u(a)+ja(a,c,v)+I(a)+J(a)+K(a)+ea(a),
|
||||
v.style=1==a.handOperated?v.style+"shape=mxgraph.pid2valves.valve;valveType=gate;actuator=man;":v.style+"shape=mxgraph.pid2valves.valve;valveType=gate"}return v}var ec=["GSDFDProcessBlock","GSDFDProcessBlock2","RoundedRectangleContainerBlock","UI2ButtonBlock","UMLStateBlock"],fc=["ProcessBlock","UMLActivationBlock"],Qb="VennPlainColor1 VennPlainColor2 VennPlainColor3 VennPlainColor4 VennPlainColor5 VennPlainColor6 VennPlainColor7 VennPlainColor8 VennGradientColor1 VennGradientColor2 VennGradientColor3 VennGradientColor4 VennGradientColor5 VennGradientColor6 VennGradientColor7 VennGradientColor8 UMLEndBlock DefaultTextBlockNew iOSButton".split(" "),
|
||||
ic="AWSAndroidBlock3 AWSiOSBlock3 AWSJavaBlock3 AWSJavaScript AWSNetBlock3 AWSNodeJSBlock3 AWSPHPBlock3 AWSPythonBlock3 AWSRubyBlock3 AWSXamarin AWSCLIBlock3 AWSEclipseToolkitBlock3 AWSVisualStudioToolkitBlock3 AWSWindowsPowershellToolkitBlock3 DefaultTextBlock RectangleContainerBlock UMLStartBlock UMLEndBlock DefaultTextBlockNew UMLHForkJoinBlock iOSButton".split(" "),dc="VennPlainColor1 VennPlainColor2 VennPlainColor3 VennPlainColor4 VennPlainColor5 VennPlainColor6 VennPlainColor7 VennPlainColor8 VennGradientColor1 VennGradientColor2 VennGradientColor3 VennGradientColor4 VennGradientColor5 VennGradientColor6 VennGradientColor7 VennGradientColor8".split(" "),
|
||||
gc=["AEUSBBlock","AGSCutandpasteBlock","iOSDeviceiPadLandscape","iOSDeviceiPadProLandscape"],hc=["fpDoor"],jb={None:"none",Arrow:"block;endFill=1","Hollow Arrow":"block;endFill=0","Open Arrow":"open;","CFN ERD Zero Or More Arrow":"ERzeroToMany;startSize=10","CFN ERD One Or More Arrow":"ERoneToMany;startSize=10","CFN ERD Many Arrow":"ERmany;startSize=10","CFN ERD Exactly One Arrow":"ERmandOne;startSize=10","CFN ERD Zero Or One Arrow":"ERzeroToOne;startSize=10","CFN ERD One Arrow":"ERone;startSize=16",
|
||||
Generalization:"block;endFill=0;startSize=12","Big Open Arrow":"open;startSize=10",Asynch1:"openAsync;flipH=1;startSize=10",Asynch2:"openAsync;startSize=10",Aggregation:"diamond;endFill=0;startSize=16",Composition:"diamond;endFill=1;startSize=16",BlockEnd:"none;endFill=1;startSize=16"},Va={DefaultTextBlockNew:"text;strokeColor=none;fillColor=none",DefaultTextBlock:"text;strokeColor=none;fillColor=none",DefaultSquareBlock:"",DefaultNoteBlock:"shape=note;size=15",DefaultNoteBlockV2:"shape=note;size=15",
|
||||
HotspotBlock:"strokeColor=none;opacity=50",ImageSearchBlock2:"shape=image",ProcessBlock:"",DecisionBlock:"rhombus",TerminatorBlock:"rounded=1;arcSize=50",PredefinedProcessBlock:"shape=process",DocumentBlock:"shape=document",MultiDocumentBlock:"shape=mxgraph.flowchart.multi-document",ManualInputBlock:"shape=manualInput;size=15",PreparationBlock:"shape=hexagon",DataBlock:"shape=parallelogram",DataBlockNew:"shape=parallelogram",DatabaseBlock:"shape=cylinder",DirectAccessStorageBlock:"shape=mxgraph.flowchart.direct_data",
|
||||
InternalStorageBlock:"shape=internalStorage;dx=10;dy=10",PaperTapeBlock:"shape=tape;size=0.2",ManualOperationBlockNew:"shape=trapezoid;flipV=1",DelayBlock:"shape=delay",StoredDataBlock:"shape=dataStorage",MergeBlock:"triangle;direction=south",ConnectorBlock:"ellipse",OrBlock:"shape=mxgraph.flowchart.summing_function",SummingJunctionBlock:"shape=mxgraph.flowchart.or",DisplayBlock:"shape=display",OffPageLinkBlock:"shape=offPageConnector",BraceNoteBlock:"mxCompositeShape",NoteBlock:"shape=mxgraph.flowchart.annotation_1",
|
||||
AdvancedSwimLaneBlock:"mxCompositeShape",AdvancedSwimLaneBlockRotated:"mxCompositeShape",RectangleContainerBlock:"fillColor=none;container=1",DiamondContainerBlock:"shape=rhombus;fillColor=none;container=1",RoundedRectangleContainerBlock:"fillColor=none;container=1;rounded=1;absoluteArcSize=1;arcSize=24",CircleContainerBlock:"shape=ellipse;fillColor=none;container=1",PillContainerBlock:"arcSize=50;fillColor=none;container=1",IsoscelesTriangleBlock:"triangle;direction=north",RightTriangleBlock:"shape=mxgraph.basic.orthogonal_triangle",
|
||||
PentagonBlock:"shape=mxgraph.basic.pentagon",HexagonBlock:"shape=hexagon",OctagonBlock:"shape=mxgraph.basic.octagon",CrossBlock:"shape=cross;size=0.6",CloudBlock:"ellipse;shape=cloud",HeartBlock:"shape=mxgraph.basic.heart",RightArrowBlock:"shape=singleArrow;arrowWidth=0.5;arrowSize=0.3",DoubleArrowBlock:"shape=doubleArrow;arrowWidth=0.5;arrowSize=0.3",CalloutBlock:"shape=mxgraph.basic.rectangular_callout",ShapeCircleBlock:"ellipse",ShapePolyStarBlock:"shape=mxgraph.basic.star",ShapeDiamondBlock:"rhombus",
|
||||
UI2HotspotBlock:"opacity=50;strokeColor=none",AndroidDevice:"mxCompositeShape",AndroidAlertDialog:"mxCompositeShape",AndroidDateDialog:"mxCompositeShape",AndroidTimeDialog:"mxCompositeShape",AndroidListItems:"mxCompositeShape",AndroidTabs:"mxCompositeShape",AndroidProgressBar:"mxCompositeShape",AndroidImageBlock:"mxCompositeShape",AndroidTextBlock:"mxCompositeShape",AndroidActionBar:"mxCompositeShape",AndroidButton:"mxCompositeShape",AndroidTextBox:"mxCompositeShape",AndroidRadioButton:"mxCompositeShape",
|
||||
AndroidCheckBox:"mxCompositeShape",AndroidToggle:"mxCompositeShape",AndroidSlider:"mxCompositeShape",AndroidIconCheck:"shape=mxgraph.ios7.misc.check",AndroidIconCancel:"shape=mxgraph.atlassian.x",AndroidIconCollapse:"shape=mxgraph.ios7.misc.up",AndroidIconExpand:"shape=mxgraph.ios7.misc.down",AndroidIconNext:"shape=mxgraph.ios7.misc.right",AndroidIconPrevious:"shape=mxgraph.ios7.misc.left",AndroidIconRefresh:NaN,AndroidIconInformation:"shape=mxgraph.ios7.icons.info",AndroidIconSearch:"shape=mxgraph.ios7.icons.looking_glass",
|
||||
AndroidIconSettings:"shape=mxgraph.ios7.icons.volume;direction=south",AndroidIconTrash:"shape=mxgraph.ios7.icons.trashcan",AndroidIconEmail:"shape=mxgraph.mockup.misc.mail2",AndroidIconNew:"shape=mxgraph.ios7.misc.flagged",iOSDeviceiPhoneSE:"shape=mxgraph.ios7.misc.iphone",iOSDeviceiPhone6s:"shape=mxgraph.ios7.misc.iphone",iOSDeviceiPhone6sPlus:"shape=mxgraph.ios7.misc.iphone",iOSDeviceiPadPortrait:"shape=mxgraph.ios7.misc.ipad7inch",iOSDeviceiPadLandscape:"shape=mxgraph.ios7.misc.ipad7inch",iOSDeviceiPadProPortrait:"shape=mxgraph.ios7.misc.ipad7inch",
|
||||
iOSDeviceiPadProLandscape:"shape=mxgraph.ios7.misc.ipad10inch",iOSButton:"fillColor=none;strokeColor=none;",iOSSegmentedControl:"mxCompositeShape",iOSStepper:"shape=mxgraph.ios7.misc.adjust",iOSToggle:"shape=mxgraph.ios7ui.onOffButton;buttonState=on;strokeColor2=#aaaaaa;fillColor2=#ffffff",iOSSlider:"mxCompositeShape",iOSProgressBar:"mxCompositeShape",iOSPageControls:"mxCompositeShape",iOSStatusBar:"mxCompositeShape",iOSSearchBar:"mxCompositeShape",iOSNavBar:"mxCompositeShape",iOSTabs:"mxCompositeShape",
|
||||
iOSUniversalKeyboard:"shape=mxgraph.ios.iKeybLett",iOSDatePicker:"mxCompositeShape",iOSTimePicker:"mxCompositeShape",iOSCountdownPicker:"mxCompositeShape",iOSBasicCell:"mxCompositeShape",iOSSubtitleCell:"mxCompositeShape",iOSRightDetailCell:"mxCompositeShape",iOSLeftDetailCell:"mxCompositeShape",iOSTableGroupedSectionBreak:"mxCompositeShape",iOSTablePlainHeaderFooter:"mxCompositeShape",MindMapBlock:"",MindMapStadiumBlock:"arcSize=50",MindMapCloud:"shape=cloud",MindMapCircle:"shape=ellipse",MindMapIsoscelesTriangleBlock:"shape=triangle;direction=north",
|
||||
MindMapDiamondBlock:"shape=rhombus",MindMapPentagonBlock:"shape=mxgraph.basic.pentagon",MindMapHexagonBlock:"shape=hexagon",MindMapOctagonBlock:"shape=mxgraph.basic.octagon",MindMapCrossBlock:"shape=mxgraph.basic.cross2;dx=20",ERDEntityBlock:"mxCompositeShape",ERDEntityBlock2:"mxCompositeShape",ERDEntityBlock3:"mxCompositeShape",ERDEntityBlock4:"mxCompositeShape",SMPage:"mxCompositeShape",SMHome:"mxCompositeShape",SMPrint:"mxCompositeShape",SMSearch:"mxCompositeShape",SMSettings:"mxCompositeShape",
|
||||
SMSitemap:"mxCompositeShape",SMSuccess:"mxCompositeShape",SMVideo:"mxCompositeShape",SMAudio:"mxCompositeShape",SMCalendar:"mxCompositeShape",SMChart:"mxCompositeShape",SMCloud:"mxCompositeShape",SMDocument:"mxCompositeShape",SMForm:"mxCompositeShape",SMGame:"mxCompositeShape",SMUpload:"mxCompositeShape",UMLClassBlock:"",UMLActiveClassBlock:"shape=process",UMLMultiplicityBlock:"mxCompositeShape",UMLPackageBlock:"shape=folder;tabPosition=left",UMLConstraintBlock:"mxCompositeShape",UMLNoteBlock:"shape=note;size=15",
|
||||
UMLTextBlock:"mxCompositeShape",UMLActorBlock:"shape=umlActor;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;whiteSpace=nowrap",UMLUseCaseBlock:"shape=ellipse",UMLCircleContainerBlock:"shape=ellipse;container=1",UMLRectangleContainerBlock:"container=1",UMLOptionLoopBlock:"shape=mxgraph.sysml.package2;xSize=90;overflow=fill",UMLAlternativeBlock2:"shape=mxgraph.sysml.package2;xSize=90;overflow=fill",UMLStartBlock:"shape=ellipse;fillColor=#000000",UMLStateBlock:"rounded=1;arcSize=20",
|
||||
UMLDecisionBlock:"shape=rhombus;",UMLHForkJoinBlock:"fillColor=#000000",UMLVForkJoinBlock:"fillColor=#000000",UMLFlowFinalBlock:"shape=mxgraph.flowchart.or",UMLHistoryStateBlock:"shape=ellipse",UMLEndBlock:"shape=mxgraph.bpmn.shape;outline=end;symbol=terminate;strokeColor=#000000;fillColor=#ffffff",UMLObjectBlock:"",UMLSendSignalBlock:"shape=mxgraph.sysml.sendSigAct",UMLReceiveSignalBlock:"shape=mxgraph.sysml.accEvent;flipH=1",UMLAcceptTimeEventActionBlock:"shape=mxgraph.sysml.timeEvent",UMLOffPageLinkBlock:"shape=mxgraph.sysml.sendSigAct;direction=south",
|
||||
UMLMultiLanePoolBlock:"mxCompositeShape",UMLMultiLanePoolRotatedBlock:"mxCompositeShape",UMLMultidimensionalSwimlane:"mxCompositeShape",UMLActivationBlock:"",UMLDeletionBlock:"shape=mxgraph.sysml.x;strokeWidth=4",UMLSeqEntityBlock:"shape=mxgraph.electrical.radio.microphone_1;direction=north",UMLComponentBlock:"shape=component;align=left;spacingLeft=36",UMLNodeBlock:"shape=cube;size=12;flipH=1",UMLComponentInterfaceBlock:"shape=ellipse",UMLComponentBoxBlock:"mxCompositeShape",UMLProvidedInterfaceBlock:"shape=lollipop;direction=south",
|
||||
UMLRequiredInterfaceBlock:"shape=requires;direction=north",UMLEntityBlock:"",UMLWeakEntityBlock:"shape=ext;double=1",UMLAttributeBlock:"shape=ellipse",UMLMultivaluedAttributeBlock:"shape=doubleEllipse",UMLRelationshipBlock:"shape=rhombus",UMLWeakRelationshipBlock:"shape=rhombus;double=1",BPMNActivity:"mxCompositeShape",BPMNEvent:"mxCompositeShape",BPMNChoreography:"mxCompositeShape",BPMNConversation:"mxCompositeShape",BPMNGateway:"mxCompositeShape",BPMNData:"mxCompositeShape",BPMNDataStore:"shape=datastore",
|
||||
BPMNAdvancedPoolBlock:"mxCompositeShape",BPMNAdvancedPoolBlockRotated:"mxCompositeShape",BPMNBlackPool:"mxCompositeShape",DFDExternalEntityBlock:"mxCompositeShape",DFDExternalEntityBlock2:"",YDMDFDProcessBlock:"shape=ellipse",YDMDFDDataStoreBlock:"shape=partialRectangle;right=0;left=0",GSDFDProcessBlock:"shape=swimlane;rounded=1;arcSize=10",GSDFDProcessBlock2:"rounded=1;arcSize=10;",GSDFDDataStoreBlock:"mxCompositeShape",GSDFDDataStoreBlock2:"shape=partialRectangle;right=0",OrgBlock:"",DefaultTableBlock:"mxCompositeShape",
|
||||
VSMCustomerSupplierBlock:"shape=mxgraph.lean_mapping.outside_sources",VSMDedicatedProcessBlock:"mxCompositeShape",VSMSharedProcessBlock:"mxCompositeShape",VSMWorkcellBlock:"mxCompositeShape",VSMDatacellBlock:"mxCompositeShape",VSMInventoryBlock:"mxCompositeShape",VSMSupermarketBlock:"mxCompositeShape",VSMPhysicalPullBlock:"shape=mxgraph.lean_mapping.physical_pull;direction=south",VSMFIFOLaneBlock:"mxCompositeShape",VSMSafetyBufferStockBlock:"mxCompositeShape",VSMExternalShipmentAirplaneBlock:"shape=mxgraph.lean_mapping.airplane_7",
|
||||
VSMExternalShipmentForkliftBlock:"shape=mxgraph.lean_mapping.move_by_forklift",VSMExternalShipmentTruckBlock:"shape=mxgraph.lean_mapping.truck_shipment",VSMExternalShipmentBoatBlock:"shape=mxgraph.lean_mapping.boat_shipment",VSMProductionControlBlock:"mxCompositeShape",VSMOtherInformationBlock:"",VSMSequencedPullBallBlock:"shape=mxgraph.lean_mapping.sequenced_pull_ball",VSMMRPERPBlock:"shape=mxgraph.lean_mapping.mrp_erp;whiteSpace=wrap",VSMLoadLevelingBlock:"shape=mxgraph.lean_mapping.load_leveling",
|
||||
VSMGoSeeBlock:"shape=mxgraph.lean_mapping.go_see_production_scheduling;flipH=1",VSMGoSeeProductionBlock:"mxCompositeShape",VSMVerbalInfoBlock:"shape=mxgraph.lean_mapping.verbal",VSMKaizenBurstBlock:"shape=mxgraph.lean_mapping.kaizen_lightening_burst",VSMOperatorBlock:"shape=mxgraph.lean_mapping.operator;flipV=1",VSMTimelineBlock:"mxCompositeShape",VSMQualityProblemBlock:"shape=mxgraph.lean_mapping.quality_problem",VSMProductionKanbanSingleBlock:"shape=card;size=18;flipH=1;",VSMProductionKanbanBatchBlock:"mxCompositeShape",
|
||||
VSMWithdrawalKanbanBlock:"shape=mxgraph.lean_mapping.withdrawal_kanban",VSMSignalKanbanBlock:"shape=triangle;direction=south",VSMKanbanPostBlock:"shape=mxgraph.lean_mapping.kanban_post",VSMShipmentArrow:"shape=singleArrow;arrowWidth=0.5;arrowSize=0.13",VSMPushArrow:"shape=mxgraph.lean_mapping.push_arrow",AWSElasticComputeCloudBlock2:"strokeColor=none;shape=mxgraph.aws3.ec2",AWSInstanceBlock2:"strokeColor=none;shape=mxgraph.aws3.instance",AWSInstancesBlock2:"strokeColor=none;shape=mxgraph.aws3.instances",
|
||||
AWSAMIBlock2:"strokeColor=none;shape=mxgraph.aws3.ami",AWSDBonInstanceBlock2:"strokeColor=none;shape=mxgraph.aws3.db_on_instance",AWSInstanceCloudWatchBlock2:"strokeColor=none;shape=mxgraph.aws3.instance_with_cloudwatch",AWSElasticIPBlock2:"strokeColor=none;shape=mxgraph.aws3.elastic_ip",AWSHDFSClusterBlock2:"strokeColor=none;shape=mxgraph.aws3.hdfs_cluster",AWSAutoScalingBlock2:"strokeColor=none;shape=mxgraph.aws3.auto_scaling",AWSEC2OptimizedInstance2:"strokeColor=none;shape=mxgraph.aws3.optimized_instance",
|
||||
"AWSAmazonEC2(Spotinstance)":"strokeColor=none;shape=mxgraph.aws3.spot_instance",AWSAmazonECR:"strokeColor=none;shape=mxgraph.aws3.ecr",AWSAmazonECS:"strokeColor=none;shape=mxgraph.aws3.ecs",AWSLambda2:"strokeColor=none;shape=mxgraph.aws3.lambda",AWSElasticLoadBalancing:"strokeColor=none;shape=mxgraph.aws3.elastic_load_balancing",AWSElasticLoadBlock2:"strokeColor=none;shape=mxgraph.aws3.classic_load_balancer",AWSDirectConnectBlock3:"strokeColor=none;shape=mxgraph.aws3.direct_connect",AWSElasticNetworkBlock2:"strokeColor=none;shape=mxgraph.aws3.elastic_network_interface",
|
||||
AWSRoute53Block2:"strokeColor=none;shape=mxgraph.aws3.route_53",AWSHostedZoneBlock2:"strokeColor=none;shape=mxgraph.aws3.hosted_zone;fontColor=#FFFFFF;fontStyle=1",AWSRouteTableBlock2:"strokeColor=none;shape=mxgraph.aws3.route_table",AWSVPCBlock2:"strokeColor=none;shape=mxgraph.aws3.vpc",AWSVPNConnectionBlock2:"strokeColor=none;shape=mxgraph.aws3.vpn_connection",AWSVPNGatewayBlock2:"strokeColor=none;shape=mxgraph.aws3.vpn_gateway",AWSCustomerGatewayBlock2:"strokeColor=none;shape=mxgraph.aws3.customer_gateway",
|
||||
AWSCustomerGatewayBlock3:"strokeColor=none;shape=mxgraph.aws3.customer_gateway",AWSInternetGatewayBlock2:"strokeColor=none;shape=mxgraph.aws3.internet_gateway",AWSRouterBlock2:"strokeColor=none;shape=mxgraph.aws3.router",AWSRouterBlock3:"strokeColor=none;shape=mxgraph.aws3.router","AWSAmazonVPC(endpoints)":"strokeColor=none;shape=mxgraph.aws3.endpoints","AWSAmazonVPC(flowlogs)":"strokeColor=none;shape=mxgraph.aws3.flow_logs","AWSAmazonVPC(VPCNATgateway)":"strokeColor=none;shape=mxgraph.aws3.vpc_nat_gateway",
|
||||
AWSVPCPeering3:"strokeColor=none;shape=mxgraph.aws3.vpc_peering",AWSSimpleStorageBlock2:"strokeColor=none;shape=mxgraph.aws3.s3",AWSBucketBlock2:"strokeColor=none;shape=mxgraph.aws3.bucket;fontStyle=1;fontColor=#ffffff",AWSBuckethWithObjectsBlock2:"strokeColor=none;shape=mxgraph.aws3.bucket_with_objects",AWSObjectBlock2:"strokeColor=none;shape=mxgraph.aws3.object;fontStyle=1;fontColor=#ffffff",AWSImportExportBlock2:"strokeColor=none;shape=mxgraph.aws3.import_export",AWSStorageGatewayBlock2:"strokeColor=none;shape=mxgraph.aws3.storage_gateway",
|
||||
AWSElasticBlockStorageBlock2:"strokeColor=none;shape=mxgraph.aws3.volume;fontStyle=1;fontColor=#ffffff",AWSVolumeBlock3:"strokeColor=none;shape=mxgraph.aws3.volume;fontStyle=1;fontColor=#ffffff",AWSSnapshotBlock2:"strokeColor=none;shape=mxgraph.aws3.snapshot;fontStyle=1;fontColor=#ffffff",AWSGlacierArchiveBlock3:"strokeColor=none;shape=mxgraph.aws3.archive",AWSGlacierVaultBlock3:"strokeColor=none;shape=mxgraph.aws3.vault",AWSAmazonEFS:"strokeColor=none;shape=mxgraph.aws3.efs",AWSGlacierBlock2:"strokeColor=none;shape=mxgraph.aws3.glacier",
|
||||
AWSAWSImportExportSnowball:"strokeColor=none;shape=mxgraph.aws3.snowball",AWSStorageGatewayCachedVolumn2:"strokeColor=none;shape=mxgraph.aws3.cached_volume","AWSStorageGatewayNon-CachedVolumn2":"strokeColor=none;shape=mxgraph.aws3.non_cached_volume",AWSStorageGatewayVirtualTapeLibrary2:"strokeColor=none;shape=mxgraph.aws3.virtual_tape_library",AWSCloudFrontBlock2:"strokeColor=none;shape=mxgraph.aws3.cloudfront",AWSDownloadDistBlock2:"strokeColor=none;shape=mxgraph.aws3.download_distribution",AWSStreamingBlock2:"strokeColor=none;shape=mxgraph.aws3.streaming_distribution",
|
||||
AWSEdgeLocationBlock2:"strokeColor=none;shape=mxgraph.aws3.edge_location",AWSItemBlock2:"strokeColor=none;shape=mxgraph.aws3.item",AWSItemsBlock2:"strokeColor=none;shape=mxgraph.aws3.items",AWSAttributeBlock2:"strokeColor=none;shape=mxgraph.aws3.attribute",AWSAttributesBlock2:"strokeColor=none;shape=mxgraph.aws3.attributes",AWSRDBSBlock2:"strokeColor=none;shape=mxgraph.aws3.rds",AWSRDSInstanceBlock2:"strokeColor=none;shape=mxgraph.aws3.rds_db_instance",AWSRDSStandbyBlock2:"strokeColor=none;shape=mxgraph.aws3.rds_db_instance_standby_multi_az",
|
||||
AWSRDSInstanceReadBlock2:"strokeColor=none;shape=mxgraph.aws3.rds_db_instance_read_replica",AWSOracleDBBlock2:"strokeColor=none;shape=mxgraph.aws3.oracle_db_instance",AWSMySQLDBBlock2:"strokeColor=none;shape=mxgraph.aws3.mysql_db_instance",AWSDynamoDBBlock2:"strokeColor=none;shape=mxgraph.aws3.dynamo_db",AWSSimpleDatabaseBlock3:"strokeColor=none;shape=mxgraph.aws2.database.simpledb",AWSSimpleDatabaseDomainBlock3:"strokeColor=none;shape=mxgraph.aws2.database.simpledb_domain",AWSTableBlock2:"strokeColor=none;shape=mxgraph.aws3.table",
|
||||
AWSAmazonRedShiftBlock3:"strokeColor=none;shape=mxgraph.aws3.redshift",AWSElastiCacheNodeBlock2:"strokeColor=none;shape=mxgraph.aws3.cache_node",AWSElastiCacheBlock2:"strokeColor=none;shape=mxgraph.aws3.elasticache",AWSDynamoDBGlobalSecondaryIndexes2:"strokeColor=none;shape=mxgraph.aws3.global_secondary_index",AWSAmazonElastiCacheMemcache2:"strokeColor=none;shape=mxgraph.aws3.memcached",AWSAmazonElastiCacheRedis2:"strokeColor=none;shape=mxgraph.aws3.redis",AWSAmazonRDSMSSQLInstance2:"strokeColor=none;shape=mxgraph.aws3.ms_sql_instance_2",
|
||||
AWSMSSQLDBBlock3:"strokeColor=none;shape=mxgraph.aws3.ms_sql_instance",AWSAmazonRDSMySQLDBInstance2:"strokeColor=none;shape=mxgraph.aws3.mysql_db_instance_2",AWSAmazonRDSOracleDBInstance2:"strokeColor=none;shape=mxgraph.aws3.oracle_db_instance_2",AWSRDSReplicasetswithPIOP2:"strokeColor=none;shape=mxgraph.aws3.piop",AWSAmazonRDSPostgreSQL2:"strokeColor=none;shape=mxgraph.aws3.postgre_sql_instance",AWSRDSMasterSQL2:"strokeColor=none;shape=mxgraph.aws3.sql_master",AWSRDSSlaveSQL2:"strokeColor=none;shape=mxgraph.aws3.sql_slave",
|
||||
"AWSAmazonRedshift(densecomputenode)":"strokeColor=none;shape=mxgraph.aws3.dense_compute_node","AWSAmazonRedshift(densestoragenode)":"strokeColor=none;shape=mxgraph.aws3.dense_storage_node",AWSAWSDatabaseMigrationService:"strokeColor=none;shape=mxgraph.aws3.database_migration_service",AWSACM:"strokeColor=none;shape=mxgraph.aws3.certificate_manager",AWSAmazonInspector:"strokeColor=none;shape=mxgraph.aws3.inspector",AWSAWSCloudHSM:"strokeColor=none;shape=mxgraph.aws3.cloudhsm",AWSDirectoryService2:"strokeColor=none;shape=mxgraph.aws3.directory_service",
|
||||
AWSAWSKMS:"strokeColor=none;shape=mxgraph.aws3.kms",AWSAWSWAF:"strokeColor=none;shape=mxgraph.aws3.waf","AWSACM(certificate-manager)":"strokeColor=none;shape=mxgraph.aws3.certificate_manager_2",AWSSESBlock2:"strokeColor=none;shape=mxgraph.aws3.ses",AWSEmailBlock2:"strokeColor=none;shape=mxgraph.aws3.email",AWSSNSBlock2:"strokeColor=none;shape=mxgraph.aws3.sns",AWSSQSBlock3:"strokeColor=none;shape=mxgraph.aws3.sqs",AWSQueueBlock2:"strokeColor=none;shape=mxgraph.aws3.queue",AWSMessageBlock2:"strokeColor=none;shape=mxgraph.aws3.message",
|
||||
AWSDeciderBlock2:"strokeColor=none;shape=mxgraph.aws3.decider",AWSSWFBlock2:"strokeColor=none;shape=mxgraph.aws3.swf",AWSWorkerBlock2:"strokeColor=none;shape=mxgraph.aws3.worker",AWSCloudSearchBlock2:"strokeColor=none;shape=mxgraph.aws3.cloudsearch",AWSCloudSearchMetadataBlock3:"strokeColor=none;shape=mxgraph.aws3.search_documents",AWSElasticTranscoder3:"strokeColor=none;shape=mxgraph.aws3.elastic_transcoder",AWSAmazonAPIGateway:"strokeColor=none;shape=mxgraph.aws3.api_gateway",AWSAppStream2:"strokeColor=none;shape=mxgraph.aws3.appstream",
|
||||
AWSCloudFormationBlock2:"strokeColor=none;shape=mxgraph.aws3.cloudformation",AWSDataPipelineBlock3:"strokeColor=none;shape=mxgraph.aws3.data_pipeline",AWSDataPipelineBlock2:"strokeColor=none;shape=mxgraph.aws3.data_pipeline",AWSTemplageBlock2:"strokeColor=none;shape=mxgraph.aws3.template",AWSStackBlock2:"strokeColor=none;shape=mxgraph.aws3.stack_aws_cloudformation",AWSBeanStockBlock2:"strokeColor=none;shape=mxgraph.aws3.elastic_beanstalk",AWSApplicationBlock2:"strokeColor=none;shape=mxgraph.aws3.application",
|
||||
AWSBeanstalkDeploymentBlock3:"strokeColor=none;shape=mxgraph.aws3.deployment",AWSIAMBlock3:"strokeColor=none;shape=mxgraph.aws3.iam",AWSIAMSTSBlock3:"strokeColor=none;shape=mxgraph.aws3.sts",AWSIAMAddonBlock2:"strokeColor=none;shape=mxgraph.aws3.add_on",AWSCloudWatchBlock3:"strokeColor=none;shape=mxgraph.aws3.cloudwatch",AWSCloudWatchAlarmBlock2:"strokeColor=none;shape=mxgraph.aws3.alarm",AWSIAMSecurityTokenService2:"strokeColor=none;shape=mxgraph.aws3.sts_2",AWSIAMDataEncryptionKey2:"strokeColor=none;shape=mxgraph.aws3.data_encryption_key",
|
||||
AWSIAMEncryptedData2:"strokeColor=none;shape=mxgraph.aws3.encrypted_data","AWSAWSIAM(long-termsecuritycredential)":"strokeColor=none;shape=mxgraph.aws3.long_term_security_credential",AWSIAMMFAToken2:"strokeColor=none;shape=mxgraph.aws3.mfa_token",AWSIAMPermissions2:"strokeColor=none;shape=mxgraph.aws3.permissions_2",AWSIAMRoles2:"strokeColor=none;shape=mxgraph.aws3.role","AWSAWSIAM(temporarysecuritycredential)":"strokeColor=none;shape=mxgraph.aws3.long_term_security_credential",AWSCloudTrail2:"strokeColor=none;shape=mxgraph.aws3.cloudtrail",
|
||||
AWSConfig2:"strokeColor=none;shape=mxgraph.aws3.config",AWSOpsWorksBlock3:"strokeColor=none;shape=mxgraph.aws3.opsworks",AWSAWSServiceCatalog:"strokeColor=none;shape=mxgraph.aws3.service_catalog",AWSTrustedAdvisor2:"strokeColor=none;shape=mxgraph.aws3.trusted_advisor",AWSOpsWorksApps2:"strokeColor=none;shape=mxgraph.aws3.apps",AWSOpsWorksDeployments2:"strokeColor=none;shape=mxgraph.aws3.deployments",AWSOpsWorksInstances2:"strokeColor=none;shape=mxgraph.aws3.instances_2",AWSOpsWorksLayers2:"strokeColor=none;shape=mxgraph.aws3.layers",
|
||||
AWSOpsWorksMonitoring2:"strokeColor=none;shape=mxgraph.aws3.monitoring",AWSOpsWorksPermissions2:"strokeColor=none;shape=mxgraph.aws3.permissions",AWSOpsWorksResources2:"strokeColor=none;shape=mxgraph.aws3.resources",AWSOpsWorksStack2:"strokeColor=none;shape=mxgraph.aws3.stack_aws_opsworks",AWSMechanicalTurkBlock3:"strokeColor=none;shape=mxgraph.aws3.mechanical_turk",AWSHumanITBlock2:"strokeColor=none;shape=mxgraph.aws3.human_intelligence_tasks_hit",AWSAssignmentTaskBlock2:"strokeColor=none;shape=mxgraph.aws3.requester",
|
||||
AWSWorkersBlock2:"strokeColor=none;shape=mxgraph.aws3.users",AWSRequesterBlock2:"strokeColor=none;shape=mxgraph.aws3.assignment_task",AWSAndroidBlock3:"strokeColor=none;shape=mxgraph.aws3.android;fillColor=#96BF3D",AWSiOSBlock3:"strokeColor=none;shape=mxgraph.aws3.android;fillColor=#CFCFCF",AWSJavaBlock3:"strokeColor=none;shape=mxgraph.aws3.android;fillColor=#EE472A",AWSJavaScript:"strokeColor=none;shape=mxgraph.aws3.android;fillColor=#205E00",AWSNetBlock3:"strokeColor=none;shape=mxgraph.aws3.android;fillColor=#115193",
|
||||
AWSNodeJSBlock3:"strokeColor=none;shape=mxgraph.aws3.android;fillColor=#8CC64F",AWSPHPBlock3:"strokeColor=none;shape=mxgraph.aws3.android;fillColor=#5A69A4",AWSPythonBlock3:"strokeColor=none;shape=mxgraph.aws3.android;fillColor=#FFD44F",AWSRubyBlock3:"strokeColor=none;shape=mxgraph.aws3.android;fillColor=#AE1F23",AWSXamarin:"strokeColor=none;shape=mxgraph.aws3.android;fillColor=#4090D7",AWSCLIBlock3:"strokeColor=none;shape=mxgraph.aws3.cli;fillColor=#444444",AWSEclipseToolkitBlock3:"strokeColor=none;shape=mxgraph.aws3.toolkit_for_eclipse;fillColor=#342074",
|
||||
AWSVisualStudioToolkitBlock3:"strokeColor=none;shape=mxgraph.aws3.toolkit_for_visual_studio;fillColor=#53B1CB",AWSWindowsPowershellToolkitBlock3:"strokeColor=none;shape=mxgraph.aws3.toolkit_for_windows_powershell;fillColor=#737373",AWSAmazonElasticsearchService:"strokeColor=none;shape=mxgraph.aws3.elasticsearch_service",AWSElasticMapReduceBlock2:"strokeColor=none;shape=mxgraph.aws3.emr",AWSClusterBlock2:"strokeColor=none;shape=mxgraph.aws3.emr_cluster",AWSEMREngine2:"strokeColor=none;shape=mxgraph.aws3.emr_engine",
|
||||
AWSEMRMapRM3Engine2:"strokeColor=none;shape=mxgraph.aws3.emr_engine_mapr_m3",AWSEMRMapRM5Engine2:"strokeColor=none;shape=mxgraph.aws3.emr_engine_mapr_m5",AWSEMRMapRM7Engine2:"strokeColor=none;shape=mxgraph.aws3.emr_engine_mapr_m7",AWSKinesis2:"strokeColor=none;shape=mxgraph.aws3.kinesis","AWSAmazonKinesis(AmazonKinesisAnalytics)":"strokeColor=none;shape=mxgraph.aws3.kinesis",AWSKinesisEnabledApp2:"strokeColor=none;shape=mxgraph.aws3.kinesis_enabled_app","AWSAmazonKinesis(AmazonKinesisFirehose)":"strokeColor=none;shape=mxgraph.aws3.kinesis_firehose",
|
||||
"AWSAmazonKinesis(AmazonKinesisStreams)":"strokeColor=none;shape=mxgraph.aws3.kinesis_streams",AWSAmazonMachineLearning:"strokeColor=none;shape=mxgraph.aws3.machine_learning",AWSAmazonQuickSight:"strokeColor=none;shape=mxgraph.aws3.quicksight",AWSCognito2:"strokeColor=none;shape=mxgraph.aws3.cognito",AWSMobileAnalytics2:"strokeColor=none;shape=mxgraph.aws3.mobile_analytics",AWSAWSDeviceFarm:"strokeColor=none;shape=mxgraph.aws3.device_farm",AWSAWSMobileHub:"strokeColor=none;shape=mxgraph.aws3.mobile_hub;gradientColor=#AD688A;gradientDirection=east",
|
||||
AWSTopicBlock2:"strokeColor=none;shape=mxgraph.aws3.topic_2;fontStyle=1;fontColor=#ffffff;verticalAlign=top;spacingTop=-5",AWSEmailNotificationBlock2:"strokeColor=none;shape=mxgraph.aws3.email_notification",AWSHTTPNotificationBlock2:"strokeColor=none;shape=mxgraph.aws3.http_notification",AWSAWSCodeCommit:"strokeColor=none;shape=mxgraph.aws3.codecommit",AWSCodeDeploy2:"strokeColor=none;shape=mxgraph.aws3.codedeploy",AWSAWSCodePipeline:"strokeColor=none;shape=mxgraph.aws3.codepipeline",AWSWorkDocs2:"strokeColor=none;shape=mxgraph.aws3.workdocs",
|
||||
AWSAmazonWorkMail:"strokeColor=none;shape=mxgraph.aws3.workmail",AWSAmazonWorkSpaces2:"strokeColor=none;shape=mxgraph.aws3.workspaces",AWSAWSIoT:"strokeColor=none;shape=mxgraph.aws3.aws_iot","AWSAWSIoT(action)":"strokeColor=none;shape=mxgraph.aws3.action","AWSAWSIoT(actuator)":"strokeColor=none;shape=mxgraph.aws3.actuator","AWSAWSIoT(certificate)":"strokeColor=none;shape=mxgraph.aws3.certificate","AWSAWSIoT(desiredstate)":"strokeColor=none;shape=mxgraph.aws3.desired_state","AWSAWSIoT(hardwareboard)":"strokeColor=none;shape=mxgraph.aws3.hardware_board",
|
||||
"AWSAWSIoT(HTTP2protocol)":"strokeColor=none;shape=mxgraph.aws3.http_2_protocol","AWSAWSIoT(HTTPprotocol)":"strokeColor=none;shape=mxgraph.aws3.http_protocol","AWSAWSIoT(MQTTprotocol)":"strokeColor=none;shape=mxgraph.aws3.mqtt_protocol","AWSAWSIoT(policy)":"strokeColor=none;shape=mxgraph.aws3.policy","AWSAWSIoT(reportedstate)":"strokeColor=none;shape=mxgraph.aws3.reported_state","AWSAWSIoT(rule)":"strokeColor=none;shape=mxgraph.aws3.rule","AWSAWSIoT(sensor)":"strokeColor=none;shape=mxgraph.aws3.sensor",
|
||||
"AWSAWSIoT(servo)":"strokeColor=none;shape=mxgraph.aws3.servo","AWSAWSIoT(shadow)":"strokeColor=none;shape=mxgraph.aws3.shadow","AWSAWSIoT(simulator)":"strokeColor=none;shape=mxgraph.aws3.simulator","AWSAWSIoT(thingbank)":"strokeColor=none;shape=mxgraph.aws3.bank","AWSAWSIoT(thingbicycle)":"strokeColor=none;shape=mxgraph.aws3.bicycle","AWSAWSIoT(thingcamera)":"strokeColor=none;shape=mxgraph.aws3.camera","AWSAWSIoT(thingcar)":"strokeColor=none;shape=mxgraph.aws3.car","AWSAWSIoT(thingcart)":"strokeColor=none;shape=mxgraph.aws3.cart",
|
||||
"AWSAWSIoT(thingcoffeepot)":"strokeColor=none;shape=mxgraph.aws3.coffee_pot","AWSAWSIoT(thingdoorlock)":"strokeColor=none;shape=mxgraph.aws3.door_lock","AWSAWSIoT(thingfactory)":"strokeColor=none;shape=mxgraph.aws3.factory","AWSAWSIoT(thinggeneric)":"strokeColor=none;shape=mxgraph.aws3.generic","AWSAWSIoT(thinghouse)":"strokeColor=none;shape=mxgraph.aws3.house","AWSAWSIoT(thinglightbulb)":"strokeColor=none;shape=mxgraph.aws3.lightbulb","AWSAWSIoT(thingmedicalemergency)":"strokeColor=none;shape=mxgraph.aws3.medical_emergency",
|
||||
"AWSAWSIoT(thingpoliceemergency)":"strokeColor=none;shape=mxgraph.aws3.police_emergency","AWSAWSIoT(thingthermostat)":"strokeColor=none;shape=mxgraph.aws3.thermostat","AWSAWSIoT(thingtravel)":"strokeColor=none;shape=mxgraph.aws3.travel","AWSAWSIoT(thingutility)":"strokeColor=none;shape=mxgraph.aws3.utility","AWSAWSIoT(thingwindfarm)":"strokeColor=none;shape=mxgraph.aws3.windfarm","AWSAWSIoT(topic)":"strokeColor=none;shape=mxgraph.aws3.topic",AWSCloudBlock2:"strokeColor=none;shape=mxgraph.aws3.cloud",
|
||||
AWSVPCloudBlock3:"strokeColor=none;shape=mxgraph.aws3.virtual_private_cloud",AWSUserBlock2:"strokeColor=none;shape=mxgraph.aws3.user",AWSUsersBlock2:"strokeColor=none;shape=mxgraph.aws3.users",AWSClientBlock2:"strokeColor=none;shape=mxgraph.aws3.management_console",AWSMobileClientBlock2:"strokeColor=none;shape=mxgraph.aws3.mobile_client",AWSGenericDatabaseBlock3:"strokeColor=none;shape=mxgraph.aws3.generic_database",AWSDiskBlock3:"strokeColor=none;shape=mxgraph.aws3.disk",AWSTapeStorageBlock3:"strokeColor=none;shape=mxgraph.aws3.tape_storage",
|
||||
AWSMediaBlock2:"strokeColor=none;shape=mxgraph.aws3.multimedia",AWSDataCenterBlock2:"strokeColor=none;shape=mxgraph.aws3.corporate_data_center",AWSServerBlock2:"strokeColor=none;shape=mxgraph.aws3.traditional_server",AWSInternetBlock2:"strokeColor=none;shape=mxgraph.aws2.non-service_specific.internet",AWSForumsBlock3:"strokeColor=none;shape=mxgraph.aws3.forums",AWSManagementBlock2:"strokeColor=none;shape=mxgraph.aws3.management_console",AWSAmazonElasticCacheNode2:"strokeColor=none;shape=mxgraph.aws3.cache_node",
|
||||
AWSAmazonRedshiftDW1Cluster2:"strokeColor=none;shape=mxgraph.aws3.dense_compute_node",AWSAmazonRedshiftDW2Cluster2:"strokeColor=none;shape=mxgraph.aws3.dense_storage_node",AWSAmazonRedshiftSSDFamilyCluster2:"strokeColor=none;shape=mxgraph.aws3.dense_storage_node",AWSAmazonRoute53RouteTable2:"strokeColor=none;shape=mxgraph.aws3.route_table",AWSSubnetBlock2:"strokeColor=none;shape=mxgraph.aws3.permissions",AWSRoundedRectangleContainerBlock2:"mxCompositeShape",ACAccessControlBlock:"strokeColor=none;shape=mxgraph.azure.access_control",
|
||||
ACAPIAppsBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.api_app",ACAPIManagementBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.api_management",ACAppInsightsBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.application_insights",ACAppServicesBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.app_service",ACAutoscalingBlock:"strokeColor=none;shape=mxgraph.azure.autoscale",ACAzureActiveDirectoryBlock:"strokeColor=none;shape=mxgraph.azure.azure_active_directory",ACAzurealertBlock:"strokeColor=none;shape=mxgraph.azure.azure_alert",
|
||||
ACAzureAutomationBlock:"strokeColor=none;shape=mxgraph.azure.automation",ACAzureBatchBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.azure_batch",ACAzureRedisBlock:"strokeColor=none;shape=mxgraph.azure.azure_cache",ACAzureFilesBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.azure_files_service",ACAzureloadbalancerBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.azure_automatic_load_balancer",ACAzureMarketplaceBlock:"strokeColor=none;shape=mxgraph.azure.azure_marketplace",ACAzureRightManagementRMSBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.azure_rights_management_rms",
|
||||
ACAzureSDKBlock:"strokeColor=none;shape=mxgraph.azure.azure_sdk",ACAzureSearchBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.azure_search",ACAzureSQLdatabaseBlock:"strokeColor=none;shape=mxgraph.azure.sql_database_sql_azure",ACAzuresubscriptionBlock:"strokeColor=none;shape=mxgraph.azure.azure_subscription",ACAzureWebsitesBlock:"strokeColor=none;shape=mxgraph.azure.azure_website",ACBackupServiceBlock:"strokeColor=none;shape=mxgraph.azure.backup_service",ACBitbucketcodesourceBlock:"strokeColor=none;shape=mxgraph.azure.bitbucket_code_source",
|
||||
ACBizTalkServicesBlock:"strokeColor=none;shape=mxgraph.azure.biztalk_services",ACCloudServiceBlock:"strokeColor=none;shape=mxgraph.azure.cloud_service",ACCodePlexBlock:"strokeColor=none;shape=mxgraph.azure.codeplex_code_source",ACContentDeliveryNetworkBlock:"strokeColor=none;shape=mxgraph.azure.content_delivery_network",ACDataFactoryBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.data_factory",ACDocumentDBBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.documentdb",ACDropboxcodesourceBlock:"strokeColor=none;shape=mxgraph.azure.dropbox_code_source",
|
||||
ACEventsHubBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.event_hubs",ACExpressRouteBlock:"strokeColor=none;shape=mxgraph.azure.express_route",ACGitHubBlock:"strokeColor=none;shape=mxgraph.azure.github_code",ACGitrepositoryBlock:"strokeColor=none;shape=mxgraph.azure.git_repository",ACHDInsightBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.hdinsight",ACHealthmonitoringBlock:"strokeColor=none;shape=mxgraph.azure.health_monitoring",ACHealthyBlock:"strokeColor=none;shape=mxgraph.azure.healthy",
|
||||
ACHybridConnectionBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.hybrid_connections",ACBizTalkhybridconnectionBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.hybrid_connection_manager",ACKeyVaultBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.key_vault",ACLogicAppBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.logic_app",ACMachineLearningBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.machine_learning",ACMediaServicesBlock:"strokeColor=none;shape=mxgraph.azure.media_service",ACMicrosoftaccountBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.microsoft_account",
|
||||
ACMicrosoftAzureBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.microsoft_azure",ACMobileEngagementBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.mobile_engagement",ACMobileServicesBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.mobile_app",ACMultiFactorAuthBlock:"strokeColor=none;shape=mxgraph.azure.multi_factor_authentication",ACMySQLdatabaseBlock:"strokeColor=none;shape=mxgraph.azure.mysql_database",ACNotificationHubsBlock:"strokeColor=none;shape=mxgraph.azure.notification_hub",ACNotificationtopicBlock:"strokeColor=none;shape=mxgraph.azure.notification_topic",
|
||||
ACOperationalInsightsBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.operational_insights",ACOSimageBlock:"strokeColor=none;shape=mxgraph.azure.operating_system_image",ACRemoteAppBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.remoteapp",ACrpdRemotingfileBlock:"strokeColor=none;shape=mxgraph.azure.rdp_remoting_file",ACSchedulerBlock:"strokeColor=none;shape=mxgraph.azure.scheduler",ACServiceBusBlock:"strokeColor=none;shape=mxgraph.azure.service_bus",ACServiceBusQueueBlock:"strokeColor=none;shape=mxgraph.azure.service_bus_queues",
|
||||
ACServiceBusRelayBlock:"strokeColor=none;shape=mxgraph.azure.service_bus_relay",ACServiceBusTopicBlock:"strokeColor=none;shape=mxgraph.azure.service_bus_topics_and_subscriptions",ACServiceEndpointBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.service_endpoint",ACServicepackageBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.service_package",ACSiteRecoveryBlock:"strokeColor=none;shape=mxgraph.azure.hyper_v_recovery_manager",ACSQLdatabasegenericBlock:"strokeColor=none;shape=mxgraph.azure.sql_database",
|
||||
ACSQLdatasyncBlock:"strokeColor=none;shape=mxgraph.azure.sql_datasync",ACSQLreportingdeprecatedBlock:"strokeColor=none;shape=mxgraph.azure.sql_reporting",ACStartuptaskBlock:"strokeColor=none;shape=mxgraph.azure.startup_task",ACStorageAzureBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.azure_storage",ACStorageblobBlock:"strokeColor=none;shape=mxgraph.azure.storage_blob",ACStoragequeueBlock:"strokeColor=none;shape=mxgraph.azure.storage_queue",ACStoragetableBlock:"strokeColor=none;shape=mxgraph.azure.storage_table",
|
||||
ACStorSimpleBlock:"strokeColor=none;shape=mxgraph.azure.storsimple",ACStreamAnalyticsBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.stream_analytics",ACTrafficManagerBlock:"strokeColor=none;shape=mxgraph.azure.traffic_manager",ACAlienBlock:"strokeColor=none;shape=mxgraph.azure.unidentified_code_object",ACVHDBlock:"strokeColor=none;shape=mxgraph.azure.vhd",ACVHDdatadiskBlock:"strokeColor=none;shape=mxgraph.azure.vhd_data_disk",ACVirtualmachineBlock:"strokeColor=none;shape=mxgraph.azure.virtual_machine",
|
||||
ACVirtualmachinecontainerBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.virtual_machine_container",ACVirtualnetworkBlock:"strokeColor=none;shape=mxgraph.azure.virtual_network",ACVisualStudioOnlineBlock:"strokeColor=none;shape=mxgraph.azure.visual_studio_online",ACVMsymbolonlyBlock:"strokeColor=none;shape=mxgraph.azure.virtual_machine_feature",ACWebJobsBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.webjobs",ACWebroleBlock:"strokeColor=none;shape=mxgraph.azure.web_role",ACWebrolesBlock:"strokeColor=none;shape=mxgraph.azure.web_roles",
|
||||
ACWorkaccountBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.work_account",ACWorkerroleBlock:"strokeColor=none;shape=mxgraph.azure.worker_role",ACWorkerrolesBlock:"strokeColor=none;shape=mxgraph.azure.worker_roles",ADNSBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.azure_dns",ACLoadBalancerBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.azure_load_balancer_feature",ACResourceGroupBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.resource_group",ACVPNGatewayBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.vpn_gateway",
|
||||
AEActiveDirectoryFSPBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.d",AEADFSBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.ad_fs",AEAndroidPhoneBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.android_phone",AEappblankfortextBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.application_blank",AEAppGenericBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.app_generic",AEAppserverBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.application_server",AEBackuplocalBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.backup_local",
|
||||
AEBackuponlineBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.backup_online",AECalendarBlock:"strokeColor=none;shape=mxgraph.mscae.general.calendar",AECertificateBlock:"strokeColor=none;shape=mxgraph.azure.certificate",AEClientAppBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.client_application",AECloudBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.internet",AEClusterserverBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.cluster_server",AECodefileBlock:"strokeColor=none;shape=mxgraph.azure.code_file",
|
||||
AEConnectorsBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.connectors",AEDatabasegenericBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.database_generic",AEDatabaseserverBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.database_server",AEDatabasesyncBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.database_synchronization",AEDeviceBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.device",AEDirectaccessBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.direct_access_feature",
|
||||
break;case "PEColumnBlock":v.style+="verticalLabelPosition=bottom;verticalAlign=top;";h(a,c)+t(a,c)+q(a)+r(a,c)+u(a)+y(a)+n(a);v.value=k(a.Text);v.style=0==a.columnType?v.style+"shape=mxgraph.pid.vessels.pressurized_vessel;":v.style+"shape=mxgraph.pid.vessels.tank;";break;case "PECompressorTurbineBlock":v.style+="strokeColor=none;fillColor=none;"+ia(a,c,v)+n(a);v.value=k(a.Text);M=h(a,c)+t(a,c)+q(a)+r(a,c)+u(a)+y(a);e=new mxCell("",new mxGeometry(0,.2*b,d,.6*b),"part=1;shape=trapezoid;direction=south;");
|
||||
e.vertex=!0;v.insert(e);e.style+=M;M+="endSize=4;endArrow=block;endFill=1;";0==a.compressorType?(x=new mxCell("",new mxGeometry(0,0,0,0),""),x.geometry.relative=!0,x.edge=!0,x.style+=M,Q(0,0,0,.2*b,x,l,m,G,v,D),w=new mxCell("",new mxGeometry(0,0,0,0),""),w.geometry.relative=!0,w.edge=!0,w.style+=M,Q(d,.67*b,d,b,w,l,m,G,v,D)):(e.style+="flipH=1;",x=new mxCell("",new mxGeometry(0,0,0,0),""),x.geometry.relative=!0,x.edge=!0,x.style+=M,Q(0,0,0,.33*b,x,l,m,G,v,D),w=new mxCell("",new mxGeometry(0,0,0,0),
|
||||
""),w.geometry.relative=!0,w.edge=!0,w.style+=M,Q(d,.8*b,d,b,w,l,m,G,v,D));1==a.centerLineType&&(E=new mxCell("",new mxGeometry(0,0,0,0),""),E.geometry.relative=!0,E.edge=!0,E.style+=M,Q(.2*d,.5*b,.8*d,.5*b,E,l,m,G,v,D));break;case "PEMotorDrivenTurbineBlock":M=h(a,c)+t(a,c)+q(a)+r(a,c)+y(a);v.style+="shape=ellipse;"+u(a)+ia(a,c,v)+n(a);v.value=k(a.Text);e=new mxCell("",new mxGeometry(.2*d,.2*b,.6*d,.6*b),"part=1;shape=trapezoid;direction=south;");e.vertex=!0;v.insert(e);e.style+=M;break;case "PEIndicatorBlock":case "PEIndicator2Block":case "PESharedIndicatorBlock":case "PEComputerIndicatorBlock":case "PESharedIndicator2Block":case "PEProgrammableIndicatorBlock":M=
|
||||
r(a,c);v.style+=M+h(a,c)+t(a,c)+q(a)+y(a)+u(a)+ia(a,c,v);switch(f.Class){case "PEIndicatorBlock":v.style+="shape=mxgraph.pid2inst.discInst;";break;case "PEIndicator2Block":v.style+="shape=mxgraph.pid2inst.indicator;indType=inst;";break;case "PESharedIndicatorBlock":v.style+="shape=mxgraph.pid2inst.sharedCont;";break;case "PEComputerIndicatorBlock":v.style+="shape=mxgraph.pid2inst.compFunc;";break;case "PESharedIndicator2Block":v.style+="shape=mxgraph.pid2inst.indicator;indType=ctrl;";break;case "PEProgrammableIndicatorBlock":v.style+=
|
||||
"shape=mxgraph.pid2inst.progLogCont;"}"PEIndicator2Block"==f.Class||"PESharedIndicator2Block"==f.Class?(e=new mxCell("",new mxGeometry(0,0,d,.5*d),"part=1;strokeColor=none;fillColor=none;"),e.vertex=!0,v.insert(e),e.style+=M+n(a.TopText),e.value=k(a.TopText),p=new mxCell("",new mxGeometry(0,.5*d,d,.5*d),"part=1;strokeColor=none;fillColor=none;")):(e=new mxCell("",new mxGeometry(0,0,d,.5*b),"part=1;strokeColor=none;fillColor=none;"),e.vertex=!0,v.insert(e),e.style+=M+n(a.TopText),e.value=k(a.TopText),
|
||||
p=new mxCell("",new mxGeometry(0,.5*b,d,.5*b),"part=1;strokeColor=none;fillColor=none;"));p.vertex=!0;v.insert(p);p.style+=M;n(a.BotText);p.value=k(a.BotText);switch(a.instrumentLocation){case 0:v.style+="mounting=field;";break;case 1:v.style+="mounting=inaccessible;";break;case 2:v.style+="mounting=room;";break;case 3:v.style+="mounting=local;"}break;case "PEGateValveBlock":case "PEGlobeValveBlock":case "PEAngleValveBlock":case "PEAngleGlobeValveBlock":case "PEPoweredValveBlock":var $b=!1;"PEPoweredValveBlock"==
|
||||
f.Class?1!=a.poweredHandOperated&&($b=!0):1!=a.handOperated&&($b=!0);if($b){var a=Sa(f).Properties,fa=a.BoundingBox,Rb=fa.h;fa.h="PEAngleValveBlock"==f.Class||"PEAngleGlobeValveBlock"==f.Class?.7*fa.h:.6*fa.h;v=new mxCell("",new mxGeometry(Math.round(.6*fa.x+0),Math.round(.6*(fa.y+Rb-fa.h)+0),Math.round(.6*fa.w),Math.round(.6*fa.h)),"");v.vertex=!0;Tb(v,f)}if("PEPoweredValveBlock"==f.Class)v.style+="shape=mxgraph.pid2valves.valve;verticalLabelPosition=bottom;verticalAlign=top;"+r(a,c)+h(a,c)+t(a,
|
||||
c)+q(a)+y(a)+u(a)+ia(a,c,v),1==a.poweredHandOperated?(v.style+="valveType=gate;actuator=powered;",e=new mxCell("",new mxGeometry(.325*d,0,.35*d,.35*b),"part=1;strokeColor=none;fillColor=none;spacingTop=2;"),e.vertex=!0,v.insert(e),e.style+=M+r(a,c)+h(a,c)+t(a,c)+q(a)+y(a)+u(a)+"fontSize=6;"+I(a.PoweredText)+J(a.PoweredText)+ba(a.PoweredText)+ka(a.PoweredText)+la(a.PoweredText)+ma(a.PoweredText)+na(a.PoweredText)+Na(a.PoweredText),e.value=k(a.PoweredText)):v.style+="valveType=gate;";else{v.style+=
|
||||
"verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.pid2valves.valve;"+r(a,c)+h(a,c)+t(a,c)+q(a)+y(a)+u(a)+ia(a,c,v)+K(a)+I(a)+J(a)+ba(a);v.value=k(a.Text);switch(f.Class){case "PEGateValveBlock":v.style+="valveType=gate;";break;case "PEGlobeValveBlock":v.style+="valveType=globe;";break;case "PEAngleValveBlock":v.style+="valveType=angle;";break;case "PEAngleGlobeValveBlock":v.style+="valveType=angleGlobe;flipH=1;"}1==a.handOperated&&(v.style+="actuator=man;")}}return v}var gc=["GSDFDProcessBlock",
|
||||
"GSDFDProcessBlock2","RoundedRectangleContainerBlock","UI2ButtonBlock","UMLStateBlock"],hc=["ProcessBlock","UMLActivationBlock"],Qb="VennPlainColor1 VennPlainColor2 VennPlainColor3 VennPlainColor4 VennPlainColor5 VennPlainColor6 VennPlainColor7 VennPlainColor8 VennGradientColor1 VennGradientColor2 VennGradientColor3 VennGradientColor4 VennGradientColor5 VennGradientColor6 VennGradientColor7 VennGradientColor8 UMLEndBlock DefaultTextBlockNew iOSButton".split(" "),kc="AWSAndroidBlock3 AWSiOSBlock3 AWSJavaBlock3 AWSJavaScript AWSNetBlock3 AWSNodeJSBlock3 AWSPHPBlock3 AWSPythonBlock3 AWSRubyBlock3 AWSXamarin AWSCLIBlock3 AWSEclipseToolkitBlock3 AWSVisualStudioToolkitBlock3 AWSWindowsPowershellToolkitBlock3 DefaultTextBlock RectangleContainerBlock UMLStartBlock UMLEndBlock DefaultTextBlockNew UMLHForkJoinBlock iOSButton".split(" "),
|
||||
Rb="VennPlainColor1 VennPlainColor2 VennPlainColor3 VennPlainColor4 VennPlainColor5 VennPlainColor6 VennPlainColor7 VennPlainColor8 VennGradientColor1 VennGradientColor2 VennGradientColor3 VennGradientColor4 VennGradientColor5 VennGradientColor6 VennGradientColor7 VennGradientColor8".split(" "),ic=["AEUSBBlock","AGSCutandpasteBlock","iOSDeviceiPadLandscape","iOSDeviceiPadProLandscape"],jc=["fpDoor"],jb={None:"none",Arrow:"block;endFill=1","Hollow Arrow":"block;endFill=0","Open Arrow":"open;","CFN ERD Zero Or More Arrow":"ERzeroToMany;startSize=10",
|
||||
"CFN ERD One Or More Arrow":"ERoneToMany;startSize=10","CFN ERD Many Arrow":"ERmany;startSize=10","CFN ERD Exactly One Arrow":"ERmandOne;startSize=10","CFN ERD Zero Or One Arrow":"ERzeroToOne;startSize=10","CFN ERD One Arrow":"ERone;startSize=16",Generalization:"block;endFill=0;startSize=12","Big Open Arrow":"open;startSize=10",Asynch1:"openAsync;flipH=1;startSize=10",Asynch2:"openAsync;startSize=10",Aggregation:"diamond;endFill=0;startSize=16",Composition:"diamond;endFill=1;startSize=16",BlockEnd:"none;endFill=1;startSize=16"},
|
||||
Wa={DefaultTextBlockNew:"text;strokeColor=none;fillColor=none",DefaultTextBlock:"text;strokeColor=none;fillColor=none",DefaultSquareBlock:"",DefaultNoteBlock:"shape=note;size=15",DefaultNoteBlockV2:"shape=note;size=15",HotspotBlock:"strokeColor=none;opacity=50",ImageSearchBlock2:"shape=image",ProcessBlock:"",DecisionBlock:"rhombus",TerminatorBlock:"rounded=1;arcSize=50",PredefinedProcessBlock:"shape=process",DocumentBlock:"shape=document",MultiDocumentBlock:"shape=mxgraph.flowchart.multi-document",
|
||||
ManualInputBlock:"shape=manualInput;size=15",PreparationBlock:"shape=hexagon",DataBlock:"shape=parallelogram",DataBlockNew:"shape=parallelogram",DatabaseBlock:"shape=cylinder",DirectAccessStorageBlock:"shape=mxgraph.flowchart.direct_data",InternalStorageBlock:"shape=internalStorage;dx=10;dy=10",PaperTapeBlock:"shape=tape;size=0.2",ManualOperationBlockNew:"shape=trapezoid;flipV=1",DelayBlock:"shape=delay",StoredDataBlock:"shape=dataStorage",MergeBlock:"triangle;direction=south",ConnectorBlock:"ellipse",
|
||||
OrBlock:"shape=mxgraph.flowchart.summing_function",SummingJunctionBlock:"shape=mxgraph.flowchart.or",DisplayBlock:"shape=display",OffPageLinkBlock:"shape=offPageConnector",BraceNoteBlock:"mxCompositeShape",NoteBlock:"shape=mxgraph.flowchart.annotation_1",AdvancedSwimLaneBlock:"mxCompositeShape",AdvancedSwimLaneBlockRotated:"mxCompositeShape",RectangleContainerBlock:"fillColor=none;container=1",DiamondContainerBlock:"shape=rhombus;fillColor=none;container=1",RoundedRectangleContainerBlock:"fillColor=none;container=1;rounded=1;absoluteArcSize=1;arcSize=24",
|
||||
CircleContainerBlock:"shape=ellipse;fillColor=none;container=1",PillContainerBlock:"arcSize=50;fillColor=none;container=1",IsoscelesTriangleBlock:"triangle;direction=north",RightTriangleBlock:"shape=mxgraph.basic.orthogonal_triangle",PentagonBlock:"shape=mxgraph.basic.pentagon",HexagonBlock:"shape=hexagon",OctagonBlock:"shape=mxgraph.basic.octagon",CrossBlock:"shape=cross;size=0.6",CloudBlock:"ellipse;shape=cloud",HeartBlock:"shape=mxgraph.basic.heart",RightArrowBlock:"shape=singleArrow;arrowWidth=0.5;arrowSize=0.3",
|
||||
DoubleArrowBlock:"shape=doubleArrow;arrowWidth=0.5;arrowSize=0.3",CalloutBlock:"shape=mxgraph.basic.rectangular_callout",ShapeCircleBlock:"ellipse",ShapePolyStarBlock:"shape=mxgraph.basic.star",ShapeDiamondBlock:"rhombus",UI2HotspotBlock:"opacity=50;strokeColor=none",AndroidDevice:"mxCompositeShape",AndroidAlertDialog:"mxCompositeShape",AndroidDateDialog:"mxCompositeShape",AndroidTimeDialog:"mxCompositeShape",AndroidListItems:"mxCompositeShape",AndroidTabs:"mxCompositeShape",AndroidProgressBar:"mxCompositeShape",
|
||||
AndroidImageBlock:"mxCompositeShape",AndroidTextBlock:"mxCompositeShape",AndroidActionBar:"mxCompositeShape",AndroidButton:"mxCompositeShape",AndroidTextBox:"mxCompositeShape",AndroidRadioButton:"mxCompositeShape",AndroidCheckBox:"mxCompositeShape",AndroidToggle:"mxCompositeShape",AndroidSlider:"mxCompositeShape",AndroidIconCheck:"shape=mxgraph.ios7.misc.check",AndroidIconCancel:"shape=mxgraph.atlassian.x",AndroidIconCollapse:"shape=mxgraph.ios7.misc.up",AndroidIconExpand:"shape=mxgraph.ios7.misc.down",
|
||||
AndroidIconNext:"shape=mxgraph.ios7.misc.right",AndroidIconPrevious:"shape=mxgraph.ios7.misc.left",AndroidIconRefresh:NaN,AndroidIconInformation:"shape=mxgraph.ios7.icons.info",AndroidIconSearch:"shape=mxgraph.ios7.icons.looking_glass",AndroidIconSettings:"shape=mxgraph.ios7.icons.volume;direction=south",AndroidIconTrash:"shape=mxgraph.ios7.icons.trashcan",AndroidIconEmail:"shape=mxgraph.mockup.misc.mail2",AndroidIconNew:"shape=mxgraph.ios7.misc.flagged",iOSDeviceiPhoneSE:"shape=mxgraph.ios7.misc.iphone",
|
||||
iOSDeviceiPhone6s:"shape=mxgraph.ios7.misc.iphone",iOSDeviceiPhone6sPlus:"shape=mxgraph.ios7.misc.iphone",iOSDeviceiPadPortrait:"shape=mxgraph.ios7.misc.ipad7inch",iOSDeviceiPadLandscape:"shape=mxgraph.ios7.misc.ipad7inch",iOSDeviceiPadProPortrait:"shape=mxgraph.ios7.misc.ipad7inch",iOSDeviceiPadProLandscape:"shape=mxgraph.ios7.misc.ipad10inch",iOSButton:"fillColor=none;strokeColor=none;",iOSSegmentedControl:"mxCompositeShape",iOSStepper:"shape=mxgraph.ios7.misc.adjust",iOSToggle:"shape=mxgraph.ios7ui.onOffButton;buttonState=on;strokeColor2=#aaaaaa;fillColor2=#ffffff",
|
||||
iOSSlider:"mxCompositeShape",iOSProgressBar:"mxCompositeShape",iOSPageControls:"mxCompositeShape",iOSStatusBar:"mxCompositeShape",iOSSearchBar:"mxCompositeShape",iOSNavBar:"mxCompositeShape",iOSTabs:"mxCompositeShape",iOSUniversalKeyboard:"shape=mxgraph.ios.iKeybLett",iOSDatePicker:"mxCompositeShape",iOSTimePicker:"mxCompositeShape",iOSCountdownPicker:"mxCompositeShape",iOSBasicCell:"mxCompositeShape",iOSSubtitleCell:"mxCompositeShape",iOSRightDetailCell:"mxCompositeShape",iOSLeftDetailCell:"mxCompositeShape",
|
||||
iOSTableGroupedSectionBreak:"mxCompositeShape",iOSTablePlainHeaderFooter:"mxCompositeShape",MindMapBlock:"",MindMapStadiumBlock:"arcSize=50",MindMapCloud:"shape=cloud",MindMapCircle:"shape=ellipse",MindMapIsoscelesTriangleBlock:"shape=triangle;direction=north",MindMapDiamondBlock:"shape=rhombus",MindMapPentagonBlock:"shape=mxgraph.basic.pentagon",MindMapHexagonBlock:"shape=hexagon",MindMapOctagonBlock:"shape=mxgraph.basic.octagon",MindMapCrossBlock:"shape=mxgraph.basic.cross2;dx=20",ERDEntityBlock:"mxCompositeShape",
|
||||
ERDEntityBlock2:"mxCompositeShape",ERDEntityBlock3:"mxCompositeShape",ERDEntityBlock4:"mxCompositeShape",SMPage:"mxCompositeShape",SMHome:"mxCompositeShape",SMPrint:"mxCompositeShape",SMSearch:"mxCompositeShape",SMSettings:"mxCompositeShape",SMSitemap:"mxCompositeShape",SMSuccess:"mxCompositeShape",SMVideo:"mxCompositeShape",SMAudio:"mxCompositeShape",SMCalendar:"mxCompositeShape",SMChart:"mxCompositeShape",SMCloud:"mxCompositeShape",SMDocument:"mxCompositeShape",SMForm:"mxCompositeShape",SMGame:"mxCompositeShape",
|
||||
SMUpload:"mxCompositeShape",UMLClassBlock:"",UMLActiveClassBlock:"shape=process",UMLMultiplicityBlock:"mxCompositeShape",UMLPackageBlock:"shape=folder;tabPosition=left",UMLConstraintBlock:"mxCompositeShape",UMLNoteBlock:"shape=note;size=15",UMLTextBlock:"mxCompositeShape",UMLActorBlock:"shape=umlActor;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;whiteSpace=nowrap",UMLUseCaseBlock:"shape=ellipse",UMLCircleContainerBlock:"shape=ellipse;container=1",UMLRectangleContainerBlock:"container=1",
|
||||
UMLOptionLoopBlock:"shape=mxgraph.sysml.package2;xSize=90;overflow=fill",UMLAlternativeBlock2:"shape=mxgraph.sysml.package2;xSize=90;overflow=fill",UMLStartBlock:"shape=ellipse;fillColor=#000000",UMLStateBlock:"rounded=1;arcSize=20",UMLDecisionBlock:"shape=rhombus;",UMLHForkJoinBlock:"fillColor=#000000",UMLVForkJoinBlock:"fillColor=#000000",UMLFlowFinalBlock:"shape=mxgraph.flowchart.or",UMLHistoryStateBlock:"shape=ellipse",UMLEndBlock:"shape=mxgraph.bpmn.shape;outline=end;symbol=terminate;strokeColor=#000000;fillColor=#ffffff",
|
||||
UMLObjectBlock:"",UMLSendSignalBlock:"shape=mxgraph.sysml.sendSigAct",UMLReceiveSignalBlock:"shape=mxgraph.sysml.accEvent;flipH=1",UMLAcceptTimeEventActionBlock:"shape=mxgraph.sysml.timeEvent",UMLOffPageLinkBlock:"shape=mxgraph.sysml.sendSigAct;direction=south",UMLMultiLanePoolBlock:"mxCompositeShape",UMLMultiLanePoolRotatedBlock:"mxCompositeShape",UMLMultidimensionalSwimlane:"mxCompositeShape",UMLActivationBlock:"",UMLDeletionBlock:"shape=mxgraph.sysml.x;strokeWidth=4",UMLSeqEntityBlock:"shape=mxgraph.electrical.radio.microphone_1;direction=north",
|
||||
UMLComponentBlock:"shape=component;align=left;spacingLeft=36",UMLNodeBlock:"shape=cube;size=12;flipH=1",UMLComponentInterfaceBlock:"shape=ellipse",UMLComponentBoxBlock:"mxCompositeShape",UMLProvidedInterfaceBlock:"shape=lollipop;direction=south",UMLRequiredInterfaceBlock:"shape=requires;direction=north",UMLEntityBlock:"",UMLWeakEntityBlock:"shape=ext;double=1",UMLAttributeBlock:"shape=ellipse",UMLMultivaluedAttributeBlock:"shape=doubleEllipse",UMLRelationshipBlock:"shape=rhombus",UMLWeakRelationshipBlock:"shape=rhombus;double=1",
|
||||
BPMNActivity:"mxCompositeShape",BPMNEvent:"mxCompositeShape",BPMNChoreography:"mxCompositeShape",BPMNConversation:"mxCompositeShape",BPMNGateway:"mxCompositeShape",BPMNData:"mxCompositeShape",BPMNDataStore:"shape=datastore",BPMNAdvancedPoolBlock:"mxCompositeShape",BPMNAdvancedPoolBlockRotated:"mxCompositeShape",BPMNBlackPool:"mxCompositeShape",DFDExternalEntityBlock:"mxCompositeShape",DFDExternalEntityBlock2:"",YDMDFDProcessBlock:"shape=ellipse",YDMDFDDataStoreBlock:"shape=partialRectangle;right=0;left=0",
|
||||
GSDFDProcessBlock:"shape=swimlane;rounded=1;arcSize=10",GSDFDProcessBlock2:"rounded=1;arcSize=10;",GSDFDDataStoreBlock:"mxCompositeShape",GSDFDDataStoreBlock2:"shape=partialRectangle;right=0",OrgBlock:"",DefaultTableBlock:"mxCompositeShape",VSMCustomerSupplierBlock:"shape=mxgraph.lean_mapping.outside_sources",VSMDedicatedProcessBlock:"mxCompositeShape",VSMSharedProcessBlock:"mxCompositeShape",VSMWorkcellBlock:"mxCompositeShape",VSMDatacellBlock:"mxCompositeShape",VSMInventoryBlock:"mxCompositeShape",
|
||||
VSMSupermarketBlock:"mxCompositeShape",VSMPhysicalPullBlock:"shape=mxgraph.lean_mapping.physical_pull;direction=south",VSMFIFOLaneBlock:"mxCompositeShape",VSMSafetyBufferStockBlock:"mxCompositeShape",VSMExternalShipmentAirplaneBlock:"shape=mxgraph.lean_mapping.airplane_7",VSMExternalShipmentForkliftBlock:"shape=mxgraph.lean_mapping.move_by_forklift",VSMExternalShipmentTruckBlock:"shape=mxgraph.lean_mapping.truck_shipment",VSMExternalShipmentBoatBlock:"shape=mxgraph.lean_mapping.boat_shipment",VSMProductionControlBlock:"mxCompositeShape",
|
||||
VSMOtherInformationBlock:"",VSMSequencedPullBallBlock:"shape=mxgraph.lean_mapping.sequenced_pull_ball",VSMMRPERPBlock:"shape=mxgraph.lean_mapping.mrp_erp;whiteSpace=wrap",VSMLoadLevelingBlock:"shape=mxgraph.lean_mapping.load_leveling",VSMGoSeeBlock:"shape=mxgraph.lean_mapping.go_see_production_scheduling;flipH=1",VSMGoSeeProductionBlock:"mxCompositeShape",VSMVerbalInfoBlock:"shape=mxgraph.lean_mapping.verbal",VSMKaizenBurstBlock:"shape=mxgraph.lean_mapping.kaizen_lightening_burst",VSMOperatorBlock:"shape=mxgraph.lean_mapping.operator;flipV=1",
|
||||
VSMTimelineBlock:"mxCompositeShape",VSMQualityProblemBlock:"shape=mxgraph.lean_mapping.quality_problem",VSMProductionKanbanSingleBlock:"shape=card;size=18;flipH=1;",VSMProductionKanbanBatchBlock:"mxCompositeShape",VSMWithdrawalKanbanBlock:"shape=mxgraph.lean_mapping.withdrawal_kanban",VSMSignalKanbanBlock:"shape=triangle;direction=south",VSMKanbanPostBlock:"shape=mxgraph.lean_mapping.kanban_post",VSMShipmentArrow:"shape=singleArrow;arrowWidth=0.5;arrowSize=0.13",VSMPushArrow:"shape=mxgraph.lean_mapping.push_arrow",
|
||||
AWSElasticComputeCloudBlock2:"strokeColor=none;shape=mxgraph.aws3.ec2",AWSInstanceBlock2:"strokeColor=none;shape=mxgraph.aws3.instance",AWSInstancesBlock2:"strokeColor=none;shape=mxgraph.aws3.instances",AWSAMIBlock2:"strokeColor=none;shape=mxgraph.aws3.ami",AWSDBonInstanceBlock2:"strokeColor=none;shape=mxgraph.aws3.db_on_instance",AWSInstanceCloudWatchBlock2:"strokeColor=none;shape=mxgraph.aws3.instance_with_cloudwatch",AWSElasticIPBlock2:"strokeColor=none;shape=mxgraph.aws3.elastic_ip",AWSHDFSClusterBlock2:"strokeColor=none;shape=mxgraph.aws3.hdfs_cluster",
|
||||
AWSAutoScalingBlock2:"strokeColor=none;shape=mxgraph.aws3.auto_scaling",AWSEC2OptimizedInstance2:"strokeColor=none;shape=mxgraph.aws3.optimized_instance","AWSAmazonEC2(Spotinstance)":"strokeColor=none;shape=mxgraph.aws3.spot_instance",AWSAmazonECR:"strokeColor=none;shape=mxgraph.aws3.ecr",AWSAmazonECS:"strokeColor=none;shape=mxgraph.aws3.ecs",AWSLambda2:"strokeColor=none;shape=mxgraph.aws3.lambda",AWSElasticLoadBalancing:"strokeColor=none;shape=mxgraph.aws3.elastic_load_balancing",AWSElasticLoadBlock2:"strokeColor=none;shape=mxgraph.aws3.classic_load_balancer",
|
||||
AWSDirectConnectBlock3:"strokeColor=none;shape=mxgraph.aws3.direct_connect",AWSElasticNetworkBlock2:"strokeColor=none;shape=mxgraph.aws3.elastic_network_interface",AWSRoute53Block2:"strokeColor=none;shape=mxgraph.aws3.route_53",AWSHostedZoneBlock2:"strokeColor=none;shape=mxgraph.aws3.hosted_zone;fontColor=#FFFFFF;fontStyle=1",AWSRouteTableBlock2:"strokeColor=none;shape=mxgraph.aws3.route_table",AWSVPCBlock2:"strokeColor=none;shape=mxgraph.aws3.vpc",AWSVPNConnectionBlock2:"strokeColor=none;shape=mxgraph.aws3.vpn_connection",
|
||||
AWSVPNGatewayBlock2:"strokeColor=none;shape=mxgraph.aws3.vpn_gateway",AWSCustomerGatewayBlock2:"strokeColor=none;shape=mxgraph.aws3.customer_gateway",AWSCustomerGatewayBlock3:"strokeColor=none;shape=mxgraph.aws3.customer_gateway",AWSInternetGatewayBlock2:"strokeColor=none;shape=mxgraph.aws3.internet_gateway",AWSRouterBlock2:"strokeColor=none;shape=mxgraph.aws3.router",AWSRouterBlock3:"strokeColor=none;shape=mxgraph.aws3.router","AWSAmazonVPC(endpoints)":"strokeColor=none;shape=mxgraph.aws3.endpoints",
|
||||
"AWSAmazonVPC(flowlogs)":"strokeColor=none;shape=mxgraph.aws3.flow_logs","AWSAmazonVPC(VPCNATgateway)":"strokeColor=none;shape=mxgraph.aws3.vpc_nat_gateway",AWSVPCPeering3:"strokeColor=none;shape=mxgraph.aws3.vpc_peering",AWSSimpleStorageBlock2:"strokeColor=none;shape=mxgraph.aws3.s3",AWSBucketBlock2:"strokeColor=none;shape=mxgraph.aws3.bucket;fontStyle=1;fontColor=#ffffff",AWSBuckethWithObjectsBlock2:"strokeColor=none;shape=mxgraph.aws3.bucket_with_objects",AWSObjectBlock2:"strokeColor=none;shape=mxgraph.aws3.object;fontStyle=1;fontColor=#ffffff",
|
||||
AWSImportExportBlock2:"strokeColor=none;shape=mxgraph.aws3.import_export",AWSStorageGatewayBlock2:"strokeColor=none;shape=mxgraph.aws3.storage_gateway",AWSElasticBlockStorageBlock2:"strokeColor=none;shape=mxgraph.aws3.volume;fontStyle=1;fontColor=#ffffff",AWSVolumeBlock3:"strokeColor=none;shape=mxgraph.aws3.volume;fontStyle=1;fontColor=#ffffff",AWSSnapshotBlock2:"strokeColor=none;shape=mxgraph.aws3.snapshot;fontStyle=1;fontColor=#ffffff",AWSGlacierArchiveBlock3:"strokeColor=none;shape=mxgraph.aws3.archive",
|
||||
AWSGlacierVaultBlock3:"strokeColor=none;shape=mxgraph.aws3.vault",AWSAmazonEFS:"strokeColor=none;shape=mxgraph.aws3.efs",AWSGlacierBlock2:"strokeColor=none;shape=mxgraph.aws3.glacier",AWSAWSImportExportSnowball:"strokeColor=none;shape=mxgraph.aws3.snowball",AWSStorageGatewayCachedVolumn2:"strokeColor=none;shape=mxgraph.aws3.cached_volume","AWSStorageGatewayNon-CachedVolumn2":"strokeColor=none;shape=mxgraph.aws3.non_cached_volume",AWSStorageGatewayVirtualTapeLibrary2:"strokeColor=none;shape=mxgraph.aws3.virtual_tape_library",
|
||||
AWSCloudFrontBlock2:"strokeColor=none;shape=mxgraph.aws3.cloudfront",AWSDownloadDistBlock2:"strokeColor=none;shape=mxgraph.aws3.download_distribution",AWSStreamingBlock2:"strokeColor=none;shape=mxgraph.aws3.streaming_distribution",AWSEdgeLocationBlock2:"strokeColor=none;shape=mxgraph.aws3.edge_location",AWSItemBlock2:"strokeColor=none;shape=mxgraph.aws3.item",AWSItemsBlock2:"strokeColor=none;shape=mxgraph.aws3.items",AWSAttributeBlock2:"strokeColor=none;shape=mxgraph.aws3.attribute",AWSAttributesBlock2:"strokeColor=none;shape=mxgraph.aws3.attributes",
|
||||
AWSRDBSBlock2:"strokeColor=none;shape=mxgraph.aws3.rds",AWSRDSInstanceBlock2:"strokeColor=none;shape=mxgraph.aws3.rds_db_instance",AWSRDSStandbyBlock2:"strokeColor=none;shape=mxgraph.aws3.rds_db_instance_standby_multi_az",AWSRDSInstanceReadBlock2:"strokeColor=none;shape=mxgraph.aws3.rds_db_instance_read_replica",AWSOracleDBBlock2:"strokeColor=none;shape=mxgraph.aws3.oracle_db_instance",AWSMySQLDBBlock2:"strokeColor=none;shape=mxgraph.aws3.mysql_db_instance",AWSDynamoDBBlock2:"strokeColor=none;shape=mxgraph.aws3.dynamo_db",
|
||||
AWSSimpleDatabaseBlock3:"strokeColor=none;shape=mxgraph.aws2.database.simpledb",AWSSimpleDatabaseDomainBlock3:"strokeColor=none;shape=mxgraph.aws2.database.simpledb_domain",AWSTableBlock2:"strokeColor=none;shape=mxgraph.aws3.table",AWSAmazonRedShiftBlock3:"strokeColor=none;shape=mxgraph.aws3.redshift",AWSElastiCacheNodeBlock2:"strokeColor=none;shape=mxgraph.aws3.cache_node",AWSElastiCacheBlock2:"strokeColor=none;shape=mxgraph.aws3.elasticache",AWSDynamoDBGlobalSecondaryIndexes2:"strokeColor=none;shape=mxgraph.aws3.global_secondary_index",
|
||||
AWSAmazonElastiCacheMemcache2:"strokeColor=none;shape=mxgraph.aws3.memcached",AWSAmazonElastiCacheRedis2:"strokeColor=none;shape=mxgraph.aws3.redis",AWSAmazonRDSMSSQLInstance2:"strokeColor=none;shape=mxgraph.aws3.ms_sql_instance_2",AWSMSSQLDBBlock3:"strokeColor=none;shape=mxgraph.aws3.ms_sql_instance",AWSAmazonRDSMySQLDBInstance2:"strokeColor=none;shape=mxgraph.aws3.mysql_db_instance_2",AWSAmazonRDSOracleDBInstance2:"strokeColor=none;shape=mxgraph.aws3.oracle_db_instance_2",AWSRDSReplicasetswithPIOP2:"strokeColor=none;shape=mxgraph.aws3.piop",
|
||||
AWSAmazonRDSPostgreSQL2:"strokeColor=none;shape=mxgraph.aws3.postgre_sql_instance",AWSRDSMasterSQL2:"strokeColor=none;shape=mxgraph.aws3.sql_master",AWSRDSSlaveSQL2:"strokeColor=none;shape=mxgraph.aws3.sql_slave","AWSAmazonRedshift(densecomputenode)":"strokeColor=none;shape=mxgraph.aws3.dense_compute_node","AWSAmazonRedshift(densestoragenode)":"strokeColor=none;shape=mxgraph.aws3.dense_storage_node",AWSAWSDatabaseMigrationService:"strokeColor=none;shape=mxgraph.aws3.database_migration_service",AWSACM:"strokeColor=none;shape=mxgraph.aws3.certificate_manager",
|
||||
AWSAmazonInspector:"strokeColor=none;shape=mxgraph.aws3.inspector",AWSAWSCloudHSM:"strokeColor=none;shape=mxgraph.aws3.cloudhsm",AWSDirectoryService2:"strokeColor=none;shape=mxgraph.aws3.directory_service",AWSAWSKMS:"strokeColor=none;shape=mxgraph.aws3.kms",AWSAWSWAF:"strokeColor=none;shape=mxgraph.aws3.waf","AWSACM(certificate-manager)":"strokeColor=none;shape=mxgraph.aws3.certificate_manager_2",AWSSESBlock2:"strokeColor=none;shape=mxgraph.aws3.ses",AWSEmailBlock2:"strokeColor=none;shape=mxgraph.aws3.email",
|
||||
AWSSNSBlock2:"strokeColor=none;shape=mxgraph.aws3.sns",AWSSQSBlock3:"strokeColor=none;shape=mxgraph.aws3.sqs",AWSQueueBlock2:"strokeColor=none;shape=mxgraph.aws3.queue",AWSMessageBlock2:"strokeColor=none;shape=mxgraph.aws3.message",AWSDeciderBlock2:"strokeColor=none;shape=mxgraph.aws3.decider",AWSSWFBlock2:"strokeColor=none;shape=mxgraph.aws3.swf",AWSWorkerBlock2:"strokeColor=none;shape=mxgraph.aws3.worker",AWSCloudSearchBlock2:"strokeColor=none;shape=mxgraph.aws3.cloudsearch",AWSCloudSearchMetadataBlock3:"strokeColor=none;shape=mxgraph.aws3.search_documents",
|
||||
AWSElasticTranscoder3:"strokeColor=none;shape=mxgraph.aws3.elastic_transcoder",AWSAmazonAPIGateway:"strokeColor=none;shape=mxgraph.aws3.api_gateway",AWSAppStream2:"strokeColor=none;shape=mxgraph.aws3.appstream",AWSCloudFormationBlock2:"strokeColor=none;shape=mxgraph.aws3.cloudformation",AWSDataPipelineBlock3:"strokeColor=none;shape=mxgraph.aws3.data_pipeline",AWSDataPipelineBlock2:"strokeColor=none;shape=mxgraph.aws3.data_pipeline",AWSTemplageBlock2:"strokeColor=none;shape=mxgraph.aws3.template",
|
||||
AWSStackBlock2:"strokeColor=none;shape=mxgraph.aws3.stack_aws_cloudformation",AWSBeanStockBlock2:"strokeColor=none;shape=mxgraph.aws3.elastic_beanstalk",AWSApplicationBlock2:"strokeColor=none;shape=mxgraph.aws3.application",AWSBeanstalkDeploymentBlock3:"strokeColor=none;shape=mxgraph.aws3.deployment",AWSIAMBlock3:"strokeColor=none;shape=mxgraph.aws3.iam",AWSIAMSTSBlock3:"strokeColor=none;shape=mxgraph.aws3.sts",AWSIAMAddonBlock2:"strokeColor=none;shape=mxgraph.aws3.add_on",AWSCloudWatchBlock3:"strokeColor=none;shape=mxgraph.aws3.cloudwatch",
|
||||
AWSCloudWatchAlarmBlock2:"strokeColor=none;shape=mxgraph.aws3.alarm",AWSIAMSecurityTokenService2:"strokeColor=none;shape=mxgraph.aws3.sts_2",AWSIAMDataEncryptionKey2:"strokeColor=none;shape=mxgraph.aws3.data_encryption_key",AWSIAMEncryptedData2:"strokeColor=none;shape=mxgraph.aws3.encrypted_data","AWSAWSIAM(long-termsecuritycredential)":"strokeColor=none;shape=mxgraph.aws3.long_term_security_credential",AWSIAMMFAToken2:"strokeColor=none;shape=mxgraph.aws3.mfa_token",AWSIAMPermissions2:"strokeColor=none;shape=mxgraph.aws3.permissions_2",
|
||||
AWSIAMRoles2:"strokeColor=none;shape=mxgraph.aws3.role","AWSAWSIAM(temporarysecuritycredential)":"strokeColor=none;shape=mxgraph.aws3.long_term_security_credential",AWSCloudTrail2:"strokeColor=none;shape=mxgraph.aws3.cloudtrail",AWSConfig2:"strokeColor=none;shape=mxgraph.aws3.config",AWSOpsWorksBlock3:"strokeColor=none;shape=mxgraph.aws3.opsworks",AWSAWSServiceCatalog:"strokeColor=none;shape=mxgraph.aws3.service_catalog",AWSTrustedAdvisor2:"strokeColor=none;shape=mxgraph.aws3.trusted_advisor",AWSOpsWorksApps2:"strokeColor=none;shape=mxgraph.aws3.apps",
|
||||
AWSOpsWorksDeployments2:"strokeColor=none;shape=mxgraph.aws3.deployments",AWSOpsWorksInstances2:"strokeColor=none;shape=mxgraph.aws3.instances_2",AWSOpsWorksLayers2:"strokeColor=none;shape=mxgraph.aws3.layers",AWSOpsWorksMonitoring2:"strokeColor=none;shape=mxgraph.aws3.monitoring",AWSOpsWorksPermissions2:"strokeColor=none;shape=mxgraph.aws3.permissions",AWSOpsWorksResources2:"strokeColor=none;shape=mxgraph.aws3.resources",AWSOpsWorksStack2:"strokeColor=none;shape=mxgraph.aws3.stack_aws_opsworks",
|
||||
AWSMechanicalTurkBlock3:"strokeColor=none;shape=mxgraph.aws3.mechanical_turk",AWSHumanITBlock2:"strokeColor=none;shape=mxgraph.aws3.human_intelligence_tasks_hit",AWSAssignmentTaskBlock2:"strokeColor=none;shape=mxgraph.aws3.requester",AWSWorkersBlock2:"strokeColor=none;shape=mxgraph.aws3.users",AWSRequesterBlock2:"strokeColor=none;shape=mxgraph.aws3.assignment_task",AWSAndroidBlock3:"strokeColor=none;shape=mxgraph.aws3.android;fillColor=#96BF3D",AWSiOSBlock3:"strokeColor=none;shape=mxgraph.aws3.android;fillColor=#CFCFCF",
|
||||
AWSJavaBlock3:"strokeColor=none;shape=mxgraph.aws3.android;fillColor=#EE472A",AWSJavaScript:"strokeColor=none;shape=mxgraph.aws3.android;fillColor=#205E00",AWSNetBlock3:"strokeColor=none;shape=mxgraph.aws3.android;fillColor=#115193",AWSNodeJSBlock3:"strokeColor=none;shape=mxgraph.aws3.android;fillColor=#8CC64F",AWSPHPBlock3:"strokeColor=none;shape=mxgraph.aws3.android;fillColor=#5A69A4",AWSPythonBlock3:"strokeColor=none;shape=mxgraph.aws3.android;fillColor=#FFD44F",AWSRubyBlock3:"strokeColor=none;shape=mxgraph.aws3.android;fillColor=#AE1F23",
|
||||
AWSXamarin:"strokeColor=none;shape=mxgraph.aws3.android;fillColor=#4090D7",AWSCLIBlock3:"strokeColor=none;shape=mxgraph.aws3.cli;fillColor=#444444",AWSEclipseToolkitBlock3:"strokeColor=none;shape=mxgraph.aws3.toolkit_for_eclipse;fillColor=#342074",AWSVisualStudioToolkitBlock3:"strokeColor=none;shape=mxgraph.aws3.toolkit_for_visual_studio;fillColor=#53B1CB",AWSWindowsPowershellToolkitBlock3:"strokeColor=none;shape=mxgraph.aws3.toolkit_for_windows_powershell;fillColor=#737373",AWSAmazonElasticsearchService:"strokeColor=none;shape=mxgraph.aws3.elasticsearch_service",
|
||||
AWSElasticMapReduceBlock2:"strokeColor=none;shape=mxgraph.aws3.emr",AWSClusterBlock2:"strokeColor=none;shape=mxgraph.aws3.emr_cluster",AWSEMREngine2:"strokeColor=none;shape=mxgraph.aws3.emr_engine",AWSEMRMapRM3Engine2:"strokeColor=none;shape=mxgraph.aws3.emr_engine_mapr_m3",AWSEMRMapRM5Engine2:"strokeColor=none;shape=mxgraph.aws3.emr_engine_mapr_m5",AWSEMRMapRM7Engine2:"strokeColor=none;shape=mxgraph.aws3.emr_engine_mapr_m7",AWSKinesis2:"strokeColor=none;shape=mxgraph.aws3.kinesis","AWSAmazonKinesis(AmazonKinesisAnalytics)":"strokeColor=none;shape=mxgraph.aws3.kinesis",
|
||||
AWSKinesisEnabledApp2:"strokeColor=none;shape=mxgraph.aws3.kinesis_enabled_app","AWSAmazonKinesis(AmazonKinesisFirehose)":"strokeColor=none;shape=mxgraph.aws3.kinesis_firehose","AWSAmazonKinesis(AmazonKinesisStreams)":"strokeColor=none;shape=mxgraph.aws3.kinesis_streams",AWSAmazonMachineLearning:"strokeColor=none;shape=mxgraph.aws3.machine_learning",AWSAmazonQuickSight:"strokeColor=none;shape=mxgraph.aws3.quicksight",AWSCognito2:"strokeColor=none;shape=mxgraph.aws3.cognito",AWSMobileAnalytics2:"strokeColor=none;shape=mxgraph.aws3.mobile_analytics",
|
||||
AWSAWSDeviceFarm:"strokeColor=none;shape=mxgraph.aws3.device_farm",AWSAWSMobileHub:"strokeColor=none;shape=mxgraph.aws3.mobile_hub;gradientColor=#AD688A;gradientDirection=east",AWSTopicBlock2:"strokeColor=none;shape=mxgraph.aws3.topic_2;fontStyle=1;fontColor=#ffffff;verticalAlign=top;spacingTop=-5",AWSEmailNotificationBlock2:"strokeColor=none;shape=mxgraph.aws3.email_notification",AWSHTTPNotificationBlock2:"strokeColor=none;shape=mxgraph.aws3.http_notification",AWSAWSCodeCommit:"strokeColor=none;shape=mxgraph.aws3.codecommit",
|
||||
AWSCodeDeploy2:"strokeColor=none;shape=mxgraph.aws3.codedeploy",AWSAWSCodePipeline:"strokeColor=none;shape=mxgraph.aws3.codepipeline",AWSWorkDocs2:"strokeColor=none;shape=mxgraph.aws3.workdocs",AWSAmazonWorkMail:"strokeColor=none;shape=mxgraph.aws3.workmail",AWSAmazonWorkSpaces2:"strokeColor=none;shape=mxgraph.aws3.workspaces",AWSAWSIoT:"strokeColor=none;shape=mxgraph.aws3.aws_iot","AWSAWSIoT(action)":"strokeColor=none;shape=mxgraph.aws3.action","AWSAWSIoT(actuator)":"strokeColor=none;shape=mxgraph.aws3.actuator",
|
||||
"AWSAWSIoT(certificate)":"strokeColor=none;shape=mxgraph.aws3.certificate","AWSAWSIoT(desiredstate)":"strokeColor=none;shape=mxgraph.aws3.desired_state","AWSAWSIoT(hardwareboard)":"strokeColor=none;shape=mxgraph.aws3.hardware_board","AWSAWSIoT(HTTP2protocol)":"strokeColor=none;shape=mxgraph.aws3.http_2_protocol","AWSAWSIoT(HTTPprotocol)":"strokeColor=none;shape=mxgraph.aws3.http_protocol","AWSAWSIoT(MQTTprotocol)":"strokeColor=none;shape=mxgraph.aws3.mqtt_protocol","AWSAWSIoT(policy)":"strokeColor=none;shape=mxgraph.aws3.policy",
|
||||
"AWSAWSIoT(reportedstate)":"strokeColor=none;shape=mxgraph.aws3.reported_state","AWSAWSIoT(rule)":"strokeColor=none;shape=mxgraph.aws3.rule","AWSAWSIoT(sensor)":"strokeColor=none;shape=mxgraph.aws3.sensor","AWSAWSIoT(servo)":"strokeColor=none;shape=mxgraph.aws3.servo","AWSAWSIoT(shadow)":"strokeColor=none;shape=mxgraph.aws3.shadow","AWSAWSIoT(simulator)":"strokeColor=none;shape=mxgraph.aws3.simulator","AWSAWSIoT(thingbank)":"strokeColor=none;shape=mxgraph.aws3.bank","AWSAWSIoT(thingbicycle)":"strokeColor=none;shape=mxgraph.aws3.bicycle",
|
||||
"AWSAWSIoT(thingcamera)":"strokeColor=none;shape=mxgraph.aws3.camera","AWSAWSIoT(thingcar)":"strokeColor=none;shape=mxgraph.aws3.car","AWSAWSIoT(thingcart)":"strokeColor=none;shape=mxgraph.aws3.cart","AWSAWSIoT(thingcoffeepot)":"strokeColor=none;shape=mxgraph.aws3.coffee_pot","AWSAWSIoT(thingdoorlock)":"strokeColor=none;shape=mxgraph.aws3.door_lock","AWSAWSIoT(thingfactory)":"strokeColor=none;shape=mxgraph.aws3.factory","AWSAWSIoT(thinggeneric)":"strokeColor=none;shape=mxgraph.aws3.generic","AWSAWSIoT(thinghouse)":"strokeColor=none;shape=mxgraph.aws3.house",
|
||||
"AWSAWSIoT(thinglightbulb)":"strokeColor=none;shape=mxgraph.aws3.lightbulb","AWSAWSIoT(thingmedicalemergency)":"strokeColor=none;shape=mxgraph.aws3.medical_emergency","AWSAWSIoT(thingpoliceemergency)":"strokeColor=none;shape=mxgraph.aws3.police_emergency","AWSAWSIoT(thingthermostat)":"strokeColor=none;shape=mxgraph.aws3.thermostat","AWSAWSIoT(thingtravel)":"strokeColor=none;shape=mxgraph.aws3.travel","AWSAWSIoT(thingutility)":"strokeColor=none;shape=mxgraph.aws3.utility","AWSAWSIoT(thingwindfarm)":"strokeColor=none;shape=mxgraph.aws3.windfarm",
|
||||
"AWSAWSIoT(topic)":"strokeColor=none;shape=mxgraph.aws3.topic",AWSCloudBlock2:"strokeColor=none;shape=mxgraph.aws3.cloud",AWSVPCloudBlock3:"strokeColor=none;shape=mxgraph.aws3.virtual_private_cloud",AWSUserBlock2:"strokeColor=none;shape=mxgraph.aws3.user",AWSUsersBlock2:"strokeColor=none;shape=mxgraph.aws3.users",AWSClientBlock2:"strokeColor=none;shape=mxgraph.aws3.management_console",AWSMobileClientBlock2:"strokeColor=none;shape=mxgraph.aws3.mobile_client",AWSGenericDatabaseBlock3:"strokeColor=none;shape=mxgraph.aws3.generic_database",
|
||||
AWSDiskBlock3:"strokeColor=none;shape=mxgraph.aws3.disk",AWSTapeStorageBlock3:"strokeColor=none;shape=mxgraph.aws3.tape_storage",AWSMediaBlock2:"strokeColor=none;shape=mxgraph.aws3.multimedia",AWSDataCenterBlock2:"strokeColor=none;shape=mxgraph.aws3.corporate_data_center",AWSServerBlock2:"strokeColor=none;shape=mxgraph.aws3.traditional_server",AWSInternetBlock2:"strokeColor=none;shape=mxgraph.aws2.non-service_specific.internet",AWSForumsBlock3:"strokeColor=none;shape=mxgraph.aws3.forums",AWSManagementBlock2:"strokeColor=none;shape=mxgraph.aws3.management_console",
|
||||
AWSAmazonElasticCacheNode2:"strokeColor=none;shape=mxgraph.aws3.cache_node",AWSAmazonRedshiftDW1Cluster2:"strokeColor=none;shape=mxgraph.aws3.dense_compute_node",AWSAmazonRedshiftDW2Cluster2:"strokeColor=none;shape=mxgraph.aws3.dense_storage_node",AWSAmazonRedshiftSSDFamilyCluster2:"strokeColor=none;shape=mxgraph.aws3.dense_storage_node",AWSAmazonRoute53RouteTable2:"strokeColor=none;shape=mxgraph.aws3.route_table",AWSSubnetBlock2:"strokeColor=none;shape=mxgraph.aws3.permissions",AWSRoundedRectangleContainerBlock2:"mxCompositeShape",
|
||||
ACAccessControlBlock:"strokeColor=none;shape=mxgraph.azure.access_control",ACAPIAppsBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.api_app",ACAPIManagementBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.api_management",ACAppInsightsBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.application_insights",ACAppServicesBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.app_service",ACAutoscalingBlock:"strokeColor=none;shape=mxgraph.azure.autoscale",ACAzureActiveDirectoryBlock:"strokeColor=none;shape=mxgraph.azure.azure_active_directory",
|
||||
ACAzurealertBlock:"strokeColor=none;shape=mxgraph.azure.azure_alert",ACAzureAutomationBlock:"strokeColor=none;shape=mxgraph.azure.automation",ACAzureBatchBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.azure_batch",ACAzureRedisBlock:"strokeColor=none;shape=mxgraph.azure.azure_cache",ACAzureFilesBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.azure_files_service",ACAzureloadbalancerBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.azure_automatic_load_balancer",ACAzureMarketplaceBlock:"strokeColor=none;shape=mxgraph.azure.azure_marketplace",
|
||||
ACAzureRightManagementRMSBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.azure_rights_management_rms",ACAzureSDKBlock:"strokeColor=none;shape=mxgraph.azure.azure_sdk",ACAzureSearchBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.azure_search",ACAzureSQLdatabaseBlock:"strokeColor=none;shape=mxgraph.azure.sql_database_sql_azure",ACAzuresubscriptionBlock:"strokeColor=none;shape=mxgraph.azure.azure_subscription",ACAzureWebsitesBlock:"strokeColor=none;shape=mxgraph.azure.azure_website",ACBackupServiceBlock:"strokeColor=none;shape=mxgraph.azure.backup_service",
|
||||
ACBitbucketcodesourceBlock:"strokeColor=none;shape=mxgraph.azure.bitbucket_code_source",ACBizTalkServicesBlock:"strokeColor=none;shape=mxgraph.azure.biztalk_services",ACCloudServiceBlock:"strokeColor=none;shape=mxgraph.azure.cloud_service",ACCodePlexBlock:"strokeColor=none;shape=mxgraph.azure.codeplex_code_source",ACContentDeliveryNetworkBlock:"strokeColor=none;shape=mxgraph.azure.content_delivery_network",ACDataFactoryBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.data_factory",ACDocumentDBBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.documentdb",
|
||||
ACDropboxcodesourceBlock:"strokeColor=none;shape=mxgraph.azure.dropbox_code_source",ACEventsHubBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.event_hubs",ACExpressRouteBlock:"strokeColor=none;shape=mxgraph.azure.express_route",ACGitHubBlock:"strokeColor=none;shape=mxgraph.azure.github_code",ACGitrepositoryBlock:"strokeColor=none;shape=mxgraph.azure.git_repository",ACHDInsightBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.hdinsight",ACHealthmonitoringBlock:"strokeColor=none;shape=mxgraph.azure.health_monitoring",
|
||||
ACHealthyBlock:"strokeColor=none;shape=mxgraph.azure.healthy",ACHybridConnectionBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.hybrid_connections",ACBizTalkhybridconnectionBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.hybrid_connection_manager",ACKeyVaultBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.key_vault",ACLogicAppBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.logic_app",ACMachineLearningBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.machine_learning",ACMediaServicesBlock:"strokeColor=none;shape=mxgraph.azure.media_service",
|
||||
ACMicrosoftaccountBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.microsoft_account",ACMicrosoftAzureBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.microsoft_azure",ACMobileEngagementBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.mobile_engagement",ACMobileServicesBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.mobile_app",ACMultiFactorAuthBlock:"strokeColor=none;shape=mxgraph.azure.multi_factor_authentication",ACMySQLdatabaseBlock:"strokeColor=none;shape=mxgraph.azure.mysql_database",ACNotificationHubsBlock:"strokeColor=none;shape=mxgraph.azure.notification_hub",
|
||||
ACNotificationtopicBlock:"strokeColor=none;shape=mxgraph.azure.notification_topic",ACOperationalInsightsBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.operational_insights",ACOSimageBlock:"strokeColor=none;shape=mxgraph.azure.operating_system_image",ACRemoteAppBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.remoteapp",ACrpdRemotingfileBlock:"strokeColor=none;shape=mxgraph.azure.rdp_remoting_file",ACSchedulerBlock:"strokeColor=none;shape=mxgraph.azure.scheduler",ACServiceBusBlock:"strokeColor=none;shape=mxgraph.azure.service_bus",
|
||||
ACServiceBusQueueBlock:"strokeColor=none;shape=mxgraph.azure.service_bus_queues",ACServiceBusRelayBlock:"strokeColor=none;shape=mxgraph.azure.service_bus_relay",ACServiceBusTopicBlock:"strokeColor=none;shape=mxgraph.azure.service_bus_topics_and_subscriptions",ACServiceEndpointBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.service_endpoint",ACServicepackageBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.service_package",ACSiteRecoveryBlock:"strokeColor=none;shape=mxgraph.azure.hyper_v_recovery_manager",
|
||||
ACSQLdatabasegenericBlock:"strokeColor=none;shape=mxgraph.azure.sql_database",ACSQLdatasyncBlock:"strokeColor=none;shape=mxgraph.azure.sql_datasync",ACSQLreportingdeprecatedBlock:"strokeColor=none;shape=mxgraph.azure.sql_reporting",ACStartuptaskBlock:"strokeColor=none;shape=mxgraph.azure.startup_task",ACStorageAzureBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.azure_storage",ACStorageblobBlock:"strokeColor=none;shape=mxgraph.azure.storage_blob",ACStoragequeueBlock:"strokeColor=none;shape=mxgraph.azure.storage_queue",
|
||||
ACStoragetableBlock:"strokeColor=none;shape=mxgraph.azure.storage_table",ACStorSimpleBlock:"strokeColor=none;shape=mxgraph.azure.storsimple",ACStreamAnalyticsBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.stream_analytics",ACTrafficManagerBlock:"strokeColor=none;shape=mxgraph.azure.traffic_manager",ACAlienBlock:"strokeColor=none;shape=mxgraph.azure.unidentified_code_object",ACVHDBlock:"strokeColor=none;shape=mxgraph.azure.vhd",ACVHDdatadiskBlock:"strokeColor=none;shape=mxgraph.azure.vhd_data_disk",
|
||||
ACVirtualmachineBlock:"strokeColor=none;shape=mxgraph.azure.virtual_machine",ACVirtualmachinecontainerBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.virtual_machine_container",ACVirtualnetworkBlock:"strokeColor=none;shape=mxgraph.azure.virtual_network",ACVisualStudioOnlineBlock:"strokeColor=none;shape=mxgraph.azure.visual_studio_online",ACVMsymbolonlyBlock:"strokeColor=none;shape=mxgraph.azure.virtual_machine_feature",ACWebJobsBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.webjobs",ACWebroleBlock:"strokeColor=none;shape=mxgraph.azure.web_role",
|
||||
ACWebrolesBlock:"strokeColor=none;shape=mxgraph.azure.web_roles",ACWorkaccountBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.work_account",ACWorkerroleBlock:"strokeColor=none;shape=mxgraph.azure.worker_role",ACWorkerrolesBlock:"strokeColor=none;shape=mxgraph.azure.worker_roles",ADNSBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.azure_dns",ACLoadBalancerBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.azure_load_balancer_feature",ACResourceGroupBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.resource_group",
|
||||
ACVPNGatewayBlock:"strokeColor=none;shape=mxgraph.mscae.cloud.vpn_gateway",AEActiveDirectoryFSPBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.d",AEADFSBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.ad_fs",AEAndroidPhoneBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.android_phone",AEappblankfortextBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.application_blank",AEAppGenericBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.app_generic",AEAppserverBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.application_server",
|
||||
AEBackuplocalBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.backup_local",AEBackuponlineBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.backup_online",AECalendarBlock:"strokeColor=none;shape=mxgraph.mscae.general.calendar",AECertificateBlock:"strokeColor=none;shape=mxgraph.azure.certificate",AEClientAppBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.client_application",AECloudBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.internet",AEClusterserverBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.cluster_server",
|
||||
AECodefileBlock:"strokeColor=none;shape=mxgraph.azure.code_file",AEConnectorsBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.connectors",AEDatabasegenericBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.database_generic",AEDatabaseserverBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.database_server",AEDatabasesyncBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.database_synchronization",AEDeviceBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.device",AEDirectaccessBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.direct_access_feature",
|
||||
AEDocumentBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.document",AEDomaincontrollerBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.domain_controller",AEEnterpriseBuildingBlock:"strokeColor=none;shape=mxgraph.azure.enterprise",AEFilegeneralBlock:"strokeColor=none;shape=mxgraph.azure.file",AEFilterBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.filter",AEFirewallBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.firewall",AEFolderBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.folder",
|
||||
AEGatewayBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.gateway",AEGenericcodeBlock:"strokeColor=none;shape=mxgraph.azure.code_file",AEGraphBlock:"strokeColor=none;shape=mxgraph.mscae.general.graph",AEHealthmonitoringBlock:"strokeColor=none;shape=mxgraph.azure.health_monitoring",AEHealthyBlock:"strokeColor=none;shape=mxgraph.azure.healthy",AEImportgenericBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.import_generic",AEInternetBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.internet",
|
||||
AEKeyboardBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.keyboard",AEKeypermissionsBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.key_permissions",AELaptopcomputerBlock:"strokeColor=none;shape=mxgraph.azure.laptop",AELoadbalancerBlock:"strokeColor=none;shape=mxgraph.azure.load_balancer_generic",AELoadTestingBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.load_testing",AELockprotectedBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.lock",AELockunprotectedBlock:"strokeColor=none;shape=mxgraph.mscae.enterprise.lock_unlocked",
|
||||
|
@ -353,17 +355,18 @@ PEShellAndTubeHeat1Block:"shape=mxgraph.pid.heat_exchangers.shell_and_tube_heat_
|
|||
PEHeaterBlock:"shape=mxgraph.pid.heat_exchangers.heater",PEEjectorInjectorBlock:"shape=mxgraph.pid.fittings.injector;verticalLabelPosition=bottom;verticalAlign=top",PECompressorTurbineBlock:"mxCompositeShape",PEMotorDrivenTurbineBlock:"mxCompositeShape",PECentrifugalPumpBlock:"shape=mxgraph.pid.pumps.gas_blower;flipH=1;verticalLabelPosition=bottom;verticalAlign=top",PECentrifugalPump:"shape=mxgraph.pid.pumps.centrifugal_pump_1;verticalLabelPosition=bottom;verticalAlign=top",PECentrifugalPump2:"shape=mxgraph.pid.pumps.centrifugal_pump_2;verticalLabelPosition=bottom;verticalAlign=top",
|
||||
PECentrifugalPump3:"shape=mxgraph.pid.pumps.centrifugal_pump_1;flipH=1;verticalLabelPosition=bottom;verticalAlign=top",PEGearPumpBlock:"shape=mxgraph.pid.pumps.gear_pump;verticalLabelPosition=bottom;verticalAlign=top",PEHorizontalPump:"shape=mxgraph.pid.pumps.horizontal_pump;verticalLabelPosition=bottom;verticalAlign=top",PEProgressiveCavityPump:"shape=mxgraph.pid.pumps.cavity_pump;flipH=1;flipV=1;verticalLabelPosition=bottom;verticalAlign=top",PEScrewPump:"shape=mxgraph.pid.pumps.screw_pump;verticalLabelPosition=bottom;verticalAlign=top",
|
||||
PEScrewPump2:"shape=mxgraph.pid.pumps.screw_pump_2;flipH=1;verticalLabelPosition=bottom;verticalAlign=top",PESumpPump:"shape=mxgraph.pid.pumps.sump_pump;verticalLabelPosition=bottom;verticalAlign=top",PEVacuumPump:"shape=mxgraph.pid.pumps.vacuum_pump;verticalLabelPosition=bottom;verticalAlign=top",PEVerticalPump:"shape=mxgraph.pid.pumps.vertical_pump;verticalLabelPosition=bottom;verticalAlign=top",PEVerticalPump2:"shape=mxgraph.pid.pumps.vertical_pump;verticalLabelPosition=bottom;verticalAlign=top",
|
||||
PEIndicatorBlock:"mxCompositeShape",PEIndicator2Block:"mxCompositeShape",PEIndicator3Block:"shape=mxgraph.pid2inst.discInst;mounting=field",PEIndicator4Block:"shape=mxgraph.pid2inst.indicator;mounting=field;indType=inst",PESharedIndicatorBlock:"mxCompositeShape",PESharedIndicator2Block:"mxCompositeShape",PEComputerIndicatorBlock:"mxCompositeShape",PEProgrammableIndicatorBlock:"mxCompositeShape",PEGateValveBlock:"mxCompositeShape",PEGlobeValveBlock:"shape=mxgraph.pid2valves.valve;valveType=globe",
|
||||
PEControlValveBlock:"shape=mxgraph.pid2valves.valve;valveType=gate;actuator=diaph",PENeedleValveBlock:"shape=mxgraph.pid2valves.valve;valveType=needle",PEButterflyValve2Block:"shape=mxgraph.pid2valves.valve;valveType=butterfly",PEDiaphragmBlock:"shape=mxgraph.pid2valves.valve;valveType=ball",PECheckValveBlock:"shape=mxgraph.pid2valves.valve;valveType=check",PECheckValve2Block:"shape=mxgraph.pid2valves.valve;valveType=check",PEAngleValveBlock:"shape=mxgraph.pid2valves.valve;valveType=angle;actuator=none",
|
||||
PEAngleGlobeValveBlock:"shape=mxgraph.pid2valves.valve;valveType=angleGlobe;actuator=man;flipH=1",PEPoweredValveBlock:"shape=mxgraph.pid2valves.valve;valveType=gate;actuator=digital",PEFloatOperatedValveBlock:"shape=mxgraph.pid2valves.valve;valveType=gate;actuator=singActing",PEThreeWayValveBlock:"shape=mxgraph.pid2valves.valve;valveType=threeWay;actuator=none",PEBleederValveBlock:"shape=mxgraph.pid2valves.blockBleedValve;actuator=none",PERotameterBlock:"shape=mxgraph.pid.flow_sensors.rotameter;flipH=1",
|
||||
VennGradientColor1:"shape=ellipse;fillOpacity=35",VennGradientColor2:"shape=ellipse;fillOpacity=35",VennGradientColor3:"shape=ellipse;fillOpacity=35",VennGradientColor4:"shape=ellipse;fillOpacity=35",VennGradientColor5:"shape=ellipse;fillOpacity=35",VennGradientColor6:"shape=ellipse;fillOpacity=35",VennGradientColor7:"shape=ellipse;fillOpacity=35",VennGradientColor8:"shape=ellipse;fillOpacity=35",VennPlainColor1:"shape=ellipse;fillOpacity=35",VennPlainColor2:"shape=ellipse;fillOpacity=35",VennPlainColor3:"shape=ellipse;fillOpacity=35",
|
||||
VennPlainColor4:"shape=ellipse;fillOpacity=35",VennPlainColor5:"shape=ellipse;fillOpacity=35",VennPlainColor6:"shape=ellipse;fillOpacity=35",VennPlainColor7:"shape=ellipse;fillOpacity=35",VennPlainColor8:"shape=ellipse;fillOpacity=35",iOS7DeviceiPhone5Portrait:"shape=mxgraph.ios.iPhone;bgStyle=bgGreen",iOS7DeviceiPhone5Landscape:"shape=mxgraph.ios.iPhone;bgStyle=bgGreen",iOS7DeviceiPadPortrait:"shape=mxgraph.ios.iPad;bgStyle=bgGreen",iOS7DeviceiPadLandscape:"shape=mxgraph.ios.iPad;bgStyle=bgGreen",
|
||||
iOS7DeviceiPhone6Portrait:"shape=mxgraph.ios.iPhone;bgStyle=bgGreen",iOS7DeviceiPhone6Landscape:"shape=mxgraph.ios.iPhone;bgStyle=bgGreen",iOS7DeviceiPhone6PlusPortrait:"shape=mxgraph.ios.iPhone;bgStyle=bgGreen",iOS7DeviceiPhone6PlusLandscape:"shape=mxgraph.ios.iPhone;bgStyle=bgGreen",iOS7StatusBariPhone:"shape=mxgraph.ios7ui.appBar",iOS7TabsiPhone:"mxCompositeShape",iOS7iPhoneActionSheet:"mxCompositeShape",iOS7iPhoneKeyboard:"shape=mxgraph.ios7.misc.keyboard_(letters)",iOS7TableView:"mxCompositeShape",
|
||||
iOS7StatusBariPad:"shape=mxgraph.ios7ui.appBar",iOS7NavBariPad:"mxCompositeShape",iOS7TabsiPad:"mxCompositeShape",iOS7iPadActionSheet:"mxCompositeShape",iOS7iPadKeyboard:"shape=mxgraph.ios7.misc.keyboard_(letters)",iOS7AlertDialog:"mxCompositeShape",iOS7ProgressBar:"shape=mxgraph.ios7ui.downloadBar",iOS7Slider:"shape=mxgraph.ios7ui.searchBox",iOS7SearchBar:"shape=mxgraph.ios7ui.searchBox",iOS7Button:"",iOS7TextField:"",iOS7TextView:"",iOS7SegmentedControl:"mxCompositeShape",iOS7Toggle:"shape=mxgraph.ios7ui.onOffButton;buttonState=on;strokeColor=#38D145;strokeColor2=#aaaaaa;fillColor=#38D145;fillColor2=#ffffff",
|
||||
iOS7Stepper:"shape=mxgraph.ios7.misc.adjust;fillColor=#ffffff;gradientColor=none",iOS7PageControls:"shape=mxgraph.ios7ui.pageControl;fillColor=#666666;strokeColor=#bbbbbb",iOS7Block:"",iOS7DatePicker:"mxCompositeShape",iOS7TimePicker:"mxCompositeShape",iOS7CountdownPicker:"mxCompositeShape","iOS7IconArrow left":"shape=mxgraph.ios7.misc.left",iOS7IconArrow:"shape=mxgraph.ios7.misc.right","iOS7IconArrow up":"shape=mxgraph.ios7.misc.up","iOS7IconArrow down":"shape=mxgraph.ios7.misc.down",iOS7IconWifi:"shape=mxgraph.ios7.icons.wifi",
|
||||
iOS7IconBluetooth:"shape=mxgraph.ios7.icons.bluetooth",iOS7IconBattery:"shape=mxgraph.ios7.icons.battery",iOS7IconSiri:"shape=mxgraph.ios7.icons.microphone",iOS7IconCheck:"shape=mxgraph.ios7.icons.select",iOS7IconCreate:"shape=mxgraph.ios7.icons.add",iOS7IconInfo:"shape=mxgraph.ios7.icons.info",iOS7IconLocation:"shape=mxgraph.ios7.icons.location_2",iOS7IconQuestion:"shape=mxgraph.ios7.icons.help",iOS7IconSearch:"shape=mxgraph.ios7.icons.looking_glass",iOS7IconToolbox:"shape=mxgraph.ios7.icons.briefcase",
|
||||
iOS7IconOptions:"shape=mxgraph.ios7.icons.options",iOS7IconShare:"shape=mxgraph.ios7.icons.share",iOS7IconTyping:"shape=mxgraph.ios7.icons.message",iOS7IconCopy:"shape=mxgraph.ios7.icons.folders_2",iOS7IconChat:"shape=mxgraph.ios7.icons.messages",iOS7IconOrganize:"shape=mxgraph.ios7.icons.folder",iOS7IconTrash:"shape=mxgraph.ios7.icons.trashcan",iOS7IconReply:"shape=mxgraph.ios7.icons.back",iOS7IconArchive:"shape=mxgraph.ios7.icons.box",iOS7IconCompose:"shape=mxgraph.ios7.icons.compose",iOS7IconSend:"shape=mxgraph.ios7.icons.pointer",
|
||||
iOS7IconDrawer:"shape=mxgraph.ios7.icons.storage",iOS7IconMail:"shape=mxgraph.ios7.icons.mail",iOS7IconDocument:"shape=mxgraph.ios7.icons.document",iOS7IconFlag:"shape=mxgraph.ios7.icons.flag",iOS7IconBookmarks:"shape=mxgraph.ios7.icons.book",iOS7IconGlasses:"shape=mxgraph.ios7.icons.glasses",iOS7IconFiles:"shape=mxgraph.ios7.icons.folders",iOS7IconDownloads:"shape=mxgraph.ios7.icons.down",iOS7IconLock:"shape=mxgraph.ios7.icons.locked",iOS7IconCloud:"shape=mxgraph.ios7.icons.cloud","iOS7IconOrientation Lock":"shape=mxgraph.ios7.icons.orientation_lock",
|
||||
PEIndicatorBlock:"mxCompositeShape",PEIndicator2Block:"mxCompositeShape",PEIndicator3Block:"shape=mxgraph.pid2inst.discInst;mounting=field",PEIndicator4Block:"shape=mxgraph.pid2inst.indicator;mounting=field;indType=inst",PESharedIndicatorBlock:"mxCompositeShape",PESharedIndicator2Block:"mxCompositeShape",PEComputerIndicatorBlock:"mxCompositeShape",PEProgrammableIndicatorBlock:"mxCompositeShape",PEGateValveBlock:"mxCompositeShape",PEGlobeValveBlock:"mxCompositeShape",PEControlValveBlock:"shape=mxgraph.pid2valves.valve;valveType=gate;actuator=diaph;verticalLabelPosition=bottom;verticalAlign=top",
|
||||
PENeedleValveBlock:"shape=mxgraph.pid2valves.valve;valveType=needle;verticalLabelPosition=bottom;verticalAlign=top",PEButterflyValve2Block:"shape=mxgraph.pid2valves.valve;flipH=1;valveType=butterfly;verticalLabelPosition=bottom;verticalAlign=top",PEBallValveBlock:"shape=mxgraph.pid2valves.valve;valveType=ball;verticalLabelPosition=bottom;verticalAlign=top",PEDiaphragmBlock:"shape=mxgraph.pid2valves.valve;valveType=ball;verticalLabelPosition=bottom;verticalAlign=top",PEPlugValveBlock:"shape=mxgraph.pid2valves.valve;valveType=ball;verticalLabelPosition=bottom;verticalAlign=top",
|
||||
PECheckValveBlock:"shape=mxgraph.pid2valves.valve;valveType=check;verticalLabelPosition=bottom;verticalAlign=top",PECheckValve2Block:"shape=mxgraph.pid2valves.valve;valveType=check;verticalLabelPosition=bottom;verticalAlign=top",PEAngleValveBlock:"mxCompositeShape",PEAngleGlobeValveBlock:"mxCompositeShape",PEPoweredValveBlock:"mxCompositeShape",PEFloatOperatedValveBlock:"shape=mxgraph.pid2valves.valve;valveType=gate;actuator=singActing;verticalLabelPosition=bottom;verticalAlign=top",PENeedleValve2Block:"shape=mxgraph.pid2valves.valve;valveType=needle;verticalLabelPosition=bottom;verticalAlign=top",
|
||||
PEThreeWayValveBlock:"shape=mxgraph.pid2valves.valve;valveType=threeWay;actuator=none;verticalLabelPosition=bottom;verticalAlign=top",PEBleederValveBlock:"shape=mxgraph.pid2valves.blockBleedValve;actuator=none;verticalLabelPosition=bottom;verticalAlign=top",PERotameterBlock:"shape=mxgraph.pid.flow_sensors.rotameter;flipH=1;verticalLabelPosition=bottom;verticalAlign=top",VennGradientColor1:"shape=ellipse;fillOpacity=35",VennGradientColor2:"shape=ellipse;fillOpacity=35",VennGradientColor3:"shape=ellipse;fillOpacity=35",
|
||||
VennGradientColor4:"shape=ellipse;fillOpacity=35",VennGradientColor5:"shape=ellipse;fillOpacity=35",VennGradientColor6:"shape=ellipse;fillOpacity=35",VennGradientColor7:"shape=ellipse;fillOpacity=35",VennGradientColor8:"shape=ellipse;fillOpacity=35",VennPlainColor1:"shape=ellipse;fillOpacity=35",VennPlainColor2:"shape=ellipse;fillOpacity=35",VennPlainColor3:"shape=ellipse;fillOpacity=35",VennPlainColor4:"shape=ellipse;fillOpacity=35",VennPlainColor5:"shape=ellipse;fillOpacity=35",VennPlainColor6:"shape=ellipse;fillOpacity=35",
|
||||
VennPlainColor7:"shape=ellipse;fillOpacity=35",VennPlainColor8:"shape=ellipse;fillOpacity=35",iOS7DeviceiPhone5Portrait:"shape=mxgraph.ios.iPhone;bgStyle=bgGreen",iOS7DeviceiPhone5Landscape:"shape=mxgraph.ios.iPhone;bgStyle=bgGreen",iOS7DeviceiPadPortrait:"shape=mxgraph.ios.iPad;bgStyle=bgGreen",iOS7DeviceiPadLandscape:"shape=mxgraph.ios.iPad;bgStyle=bgGreen",iOS7DeviceiPhone6Portrait:"shape=mxgraph.ios.iPhone;bgStyle=bgGreen",iOS7DeviceiPhone6Landscape:"shape=mxgraph.ios.iPhone;bgStyle=bgGreen",
|
||||
iOS7DeviceiPhone6PlusPortrait:"shape=mxgraph.ios.iPhone;bgStyle=bgGreen",iOS7DeviceiPhone6PlusLandscape:"shape=mxgraph.ios.iPhone;bgStyle=bgGreen",iOS7StatusBariPhone:"shape=mxgraph.ios7ui.appBar",iOS7TabsiPhone:"mxCompositeShape",iOS7iPhoneActionSheet:"mxCompositeShape",iOS7iPhoneKeyboard:"shape=mxgraph.ios7.misc.keyboard_(letters)",iOS7TableView:"mxCompositeShape",iOS7StatusBariPad:"shape=mxgraph.ios7ui.appBar",iOS7NavBariPad:"mxCompositeShape",iOS7TabsiPad:"mxCompositeShape",iOS7iPadActionSheet:"mxCompositeShape",
|
||||
iOS7iPadKeyboard:"shape=mxgraph.ios7.misc.keyboard_(letters)",iOS7AlertDialog:"mxCompositeShape",iOS7ProgressBar:"shape=mxgraph.ios7ui.downloadBar",iOS7Slider:"shape=mxgraph.ios7ui.searchBox",iOS7SearchBar:"shape=mxgraph.ios7ui.searchBox",iOS7Button:"",iOS7TextField:"",iOS7TextView:"",iOS7SegmentedControl:"mxCompositeShape",iOS7Toggle:"shape=mxgraph.ios7ui.onOffButton;buttonState=on;strokeColor=#38D145;strokeColor2=#aaaaaa;fillColor=#38D145;fillColor2=#ffffff",iOS7Stepper:"shape=mxgraph.ios7.misc.adjust;fillColor=#ffffff;gradientColor=none",
|
||||
iOS7PageControls:"shape=mxgraph.ios7ui.pageControl;fillColor=#666666;strokeColor=#bbbbbb",iOS7Block:"",iOS7DatePicker:"mxCompositeShape",iOS7TimePicker:"mxCompositeShape",iOS7CountdownPicker:"mxCompositeShape","iOS7IconArrow left":"shape=mxgraph.ios7.misc.left",iOS7IconArrow:"shape=mxgraph.ios7.misc.right","iOS7IconArrow up":"shape=mxgraph.ios7.misc.up","iOS7IconArrow down":"shape=mxgraph.ios7.misc.down",iOS7IconWifi:"shape=mxgraph.ios7.icons.wifi",iOS7IconBluetooth:"shape=mxgraph.ios7.icons.bluetooth",
|
||||
iOS7IconBattery:"shape=mxgraph.ios7.icons.battery",iOS7IconSiri:"shape=mxgraph.ios7.icons.microphone",iOS7IconCheck:"shape=mxgraph.ios7.icons.select",iOS7IconCreate:"shape=mxgraph.ios7.icons.add",iOS7IconInfo:"shape=mxgraph.ios7.icons.info",iOS7IconLocation:"shape=mxgraph.ios7.icons.location_2",iOS7IconQuestion:"shape=mxgraph.ios7.icons.help",iOS7IconSearch:"shape=mxgraph.ios7.icons.looking_glass",iOS7IconToolbox:"shape=mxgraph.ios7.icons.briefcase",iOS7IconOptions:"shape=mxgraph.ios7.icons.options",
|
||||
iOS7IconShare:"shape=mxgraph.ios7.icons.share",iOS7IconTyping:"shape=mxgraph.ios7.icons.message",iOS7IconCopy:"shape=mxgraph.ios7.icons.folders_2",iOS7IconChat:"shape=mxgraph.ios7.icons.messages",iOS7IconOrganize:"shape=mxgraph.ios7.icons.folder",iOS7IconTrash:"shape=mxgraph.ios7.icons.trashcan",iOS7IconReply:"shape=mxgraph.ios7.icons.back",iOS7IconArchive:"shape=mxgraph.ios7.icons.box",iOS7IconCompose:"shape=mxgraph.ios7.icons.compose",iOS7IconSend:"shape=mxgraph.ios7.icons.pointer",iOS7IconDrawer:"shape=mxgraph.ios7.icons.storage",
|
||||
iOS7IconMail:"shape=mxgraph.ios7.icons.mail",iOS7IconDocument:"shape=mxgraph.ios7.icons.document",iOS7IconFlag:"shape=mxgraph.ios7.icons.flag",iOS7IconBookmarks:"shape=mxgraph.ios7.icons.book",iOS7IconGlasses:"shape=mxgraph.ios7.icons.glasses",iOS7IconFiles:"shape=mxgraph.ios7.icons.folders",iOS7IconDownloads:"shape=mxgraph.ios7.icons.down",iOS7IconLock:"shape=mxgraph.ios7.icons.locked",iOS7IconCloud:"shape=mxgraph.ios7.icons.cloud","iOS7IconOrientation Lock":"shape=mxgraph.ios7.icons.orientation_lock",
|
||||
iOS7IconContacts:"shape=mxgraph.ios7.icons.user",iOS7IconGlobal:"shape=mxgraph.ios7.icons.globe",iOS7IconSettings:"shape=mxgraph.ios7.icons.settings",iOS7IconAirplay:"shape=mxgraph.ios7.icons.move_to_folder",iOS7IconCamera:"shape=mxgraph.ios7.icons.camera",iOS7IconAirplane:"shape=mxgraph.signs.transportation.airplane_6;direction=south",iOS7IconCalculator:"shape=mxgraph.ios7.icons.calculator",iOS7IconPreferences:"shape=mxgraph.ios7.icons.most_viewed",iOS7IconPhone:"shape=mxgraph.signs.tech.telephone_3",
|
||||
iOS7IconKeypad:"shape=mxgraph.ios7.icons.keypad",iOS7IconVoicemail:"shape=mxgraph.ios7.icons.tape",iOS7IconStar:"shape=mxgraph.ios7.icons.star","iOS7IconMost Viewed":"shape=mxgraph.ios7.icons.most_viewed",iOS7IconVideo:"shape=mxgraph.ios7.icons.video_conversation","iOS7IconVolumne Controls":"shape=mxgraph.ios7.icons.volume","iOS7IconLocation pin":"shape=mxgraph.ios7.icons.location",iOS7IconCalendar:"shape=mxgraph.ios7.icons.calendar",iOS7IconAlarm:"shape=mxgraph.ios7.icons.alarm_clock",iOS7IconClock:"shape=mxgraph.ios7.icons.clock",
|
||||
iOS7IconTimer:"shape=mxgraph.ios7.icons.gauge","iOS7IconVolume down":"shape=mxgraph.ios7.icons.silent",iOS7IconVolume:"shape=mxgraph.ios7.icons.volume_2","iOS7IconVolume up":"shape=mxgraph.ios7.icons.loud",iOS7IconRepeat:"shape=mxgraph.ios7.icons.reload",iOS7IconRewind:"shape=mxgraph.ios7.icons.backward",iOS7IconPlay:"shape=mxgraph.ios7.icons.play",iOS7IconPause:"shape=mxgraph.ios7.icons.pause","iOS7IconFast forward":"shape=mxgraph.ios7.icons.forward",iOS7IconControls:"shape=mxgraph.ios7.icons.controls",
|
||||
|
@ -385,8 +388,8 @@ Image_iphone_button_lg_red:"",Image_iphone_button_lg_yellow:"",Image_iphone_butt
|
|||
Image_iphone_email_name:"",Image_iphone_switch_off:"shape=mxgraph.android.switch_off;fillColor=#666666",Image_iphone_keyboard_button_blue:"",Image_iphone_keyboard_letters:"shape=mxgraph.ios.iKeybLett",Image_iphone_keyboard_landscape:"shape=mxgraph.ios.iKeybLett",Image_iphone_large_tabbed_button:"mxCompositeShape",Image_iphone_sort_button:"mxCompositeShape",Image_iphone_tab_bar:"mxCompositeShape",Image_iphone_picker_multi:"mxCompositeShape",Image_iphone_picker_web:"mxCompositeShape",Image_iphone_add_icon_blue:"shape=mxgraph.ios.iAddIcon;fillColor=#8BbEff;fillColor2=#135Ec8;strokeColor=#ffffff",
|
||||
Image_iphone_add_icon_green:"shape=mxgraph.ios.iAddIcon;fillColor=#7AdF78;fillColor2=#1A9917;strokeColor=#ffffff",Image_iphone_remove_icon:"shape=mxgraph.ios.iDeleteIcon;fillColor=#e8878E;fillColor2=#BD1421;strokeColor=#ffffff",Image_iphone_arrow_icon:"shape=mxgraph.ios.iArrowIcon;fillColor=#8BbEff;fillColor2=#135Ec8;strokeColor=#ffffff",Image_iphone_arrow:"shape=mxgraph.ios7.misc.more",Image_iphone_checkmark:"shape=mxgraph.ios7.misc.check",Image_iphone_check_off:"shape=ellipse",Image_iphone_location_dot:"shape=ellipse",
|
||||
Image_iphone_mark_as_read:"shape=ellipse",Image_iphone_pin_green:"shape=mxgraph.ios.iPin;fillColor2=#00dd00;fillColor3=#004400;strokeColor=#006600",Image_iphone_pin_red:"shape=mxgraph.ios.iPin;fillColor2=#dd0000;fillColor3=#440000;strokeColor=#660000",Image_iphone_radio_off:"shape=ellipse",Image_iphone_checkbox_off:"",Image_iphone_indicator:"fillColor=#e8878E;gradientColor=#BD1421;strokeColor=#ffffff",Image_iphone_thread_count:""},Jb=function(f,k,h){h.includes(f)||h.push(f);if(f in k){var c=k[f];
|
||||
c.id=f;if(null!=c.Members)for(var a in c.Members)h=Jb(a,k,h)}return h};EditorUi.prototype.pasteLucidChart=function(f,k,h,c){var a=this.editor.graph;a.getModel().beginUpdate();try{var l=function(c,f){var g=null!=f.Endpoint1.Block?b[f.Endpoint1.Block]:null,k=null!=f.Endpoint2.Block?b[f.Endpoint2.Block]:null,h;h=new mxCell("",new mxGeometry(0,0,100,100),"html=1;");h.geometry.relative=!0;h.edge=!0;ib(h,c);var l=Ua(c).Properties,m=null!=l?l.TextAreas:c.TextAreas;if(null!=m){for(var n=0;null!=m["t"+n];){var q=
|
||||
m["t"+n];h=Ra(q,h);n++}for(n=1;null!=m["m"+n];)q=m["m"+n],h=Ra(q,h,c),n++;null!=m.Text&&(h=Ra(m,h,c));m=null!=l?l.TextAreas:c.TextAreas;null!=m.Message&&(h=Ra(m.Message,h,c))}null==g&&null!=f.Endpoint1&&h.geometry.setTerminalPoint(new mxPoint(Math.round(.6*f.Endpoint1.x),Math.round(.6*f.Endpoint1.y)),!0);null==k&&null!=f.Endpoint2&&h.geometry.setTerminalPoint(new mxPoint(Math.round(.6*f.Endpoint2.x),Math.round(.6*f.Endpoint2.y)),!1);d.push(a.addCell(h,null,null,g,k))},d=[],b={},m=[],n=[],q=0;if(null!=
|
||||
f.Groups)for(var t in f.Groups){var r=f.Groups[t];r.id=t;if(1==r.Hidden&&null!=r.Members){n.includes(t)||n.push(t);for(var u in r.Members)n=Jb(u,f.Groups,n)}}if(null!=f.Blocks)for(t in f.Blocks)r=f.Blocks[t],r.id=t,n.includes(t)||(u=!1,null!=Va[r.Class]&&"mxCompositeShape"==Va[r.Class]&&(b[r.id]=jc(r,d,a),m.push(r),u=!0),u||(b[r.id]=lb(r),m.push(r)));else for(q=0;q<f.Objects.length;q++)r=f.Objects[q],r.IsBlock&&null!=r.Action&&null!=r.Action.Properties&&(b[r.id]=lb(r)),m.push(r);m.sort(function(a,
|
||||
b){a=Ua(a);b=Ua(b);return null!=a.Properties&&null!=b.Properties?a.Properties.ZOrder-b.Properties.ZOrder:0});for(q=0;q<m.length;q++){var r=m[q],y=b[r.id];null!=y?d.push(a.addCell(y)):r.IsLine&&null!=r.Action&&null!=r.Action.Properties&&l(r,r.Action.Properties)}if(null!=f.Lines)for(t in f.Lines)n.includes(t)||(r=f.Lines[t],l(r,r));if(c&&null!=k&&null!=h){a.isGridEnabled()&&(k=a.snap(k),h=a.snap(h));var I=a.getBoundingBoxFromGeometry(d,!0);null!=I&&a.moveCells(d,k-I.x,h-I.y)}a.setSelectionCells(d)}finally{a.getModel().endUpdate()}a.isSelectionEmpty()||
|
||||
c.id=f;if(null!=c.Members)for(var a in c.Members)h=Jb(a,k,h)}return h};EditorUi.prototype.pasteLucidChart=function(f,k,h,c){var a=this.editor.graph;a.getModel().beginUpdate();try{var l=function(c,f){var g=null!=f.Endpoint1.Block?b[f.Endpoint1.Block]:null,k=null!=f.Endpoint2.Block?b[f.Endpoint2.Block]:null,h;h=new mxCell("",new mxGeometry(0,0,100,100),"html=1;");h.geometry.relative=!0;h.edge=!0;Tb(h,c);var l=Sa(c).Properties,m=null!=l?l.TextAreas:c.TextAreas;if(null!=m){for(var n=0;null!=m["t"+n];){var q=
|
||||
m["t"+n];h=Ta(q,h);n++}for(n=1;null!=m["m"+n];)q=m["m"+n],h=Ta(q,h,c),n++;null!=m.Text&&(h=Ta(m,h,c));m=null!=l?l.TextAreas:c.TextAreas;null!=m.Message&&(h=Ta(m.Message,h,c))}null==g&&null!=f.Endpoint1&&h.geometry.setTerminalPoint(new mxPoint(Math.round(.6*f.Endpoint1.x),Math.round(.6*f.Endpoint1.y)),!0);null==k&&null!=f.Endpoint2&&h.geometry.setTerminalPoint(new mxPoint(Math.round(.6*f.Endpoint2.x),Math.round(.6*f.Endpoint2.y)),!1);d.push(a.addCell(h,null,null,g,k))},d=[],b={},m=[],n=[],q=0;if(null!=
|
||||
f.Groups)for(var t in f.Groups){var r=f.Groups[t];r.id=t;if(1==r.Hidden&&null!=r.Members){n.includes(t)||n.push(t);for(var u in r.Members)n=Jb(u,f.Groups,n)}}if(null!=f.Blocks)for(t in f.Blocks)r=f.Blocks[t],r.id=t,n.includes(t)||(u=!1,null!=Wa[r.Class]&&"mxCompositeShape"==Wa[r.Class]&&(b[r.id]=lc(r,d,a),m.push(r),u=!0),u||(b[r.id]=lb(r),m.push(r)));else for(q=0;q<f.Objects.length;q++)r=f.Objects[q],r.IsBlock&&null!=r.Action&&null!=r.Action.Properties&&(b[r.id]=lb(r)),m.push(r);m.sort(function(a,
|
||||
b){a=Sa(a);b=Sa(b);return null!=a.Properties&&null!=b.Properties?a.Properties.ZOrder-b.Properties.ZOrder:0});for(q=0;q<m.length;q++){var r=m[q],y=b[r.id];null!=y?d.push(a.addCell(y)):r.IsLine&&null!=r.Action&&null!=r.Action.Properties&&l(r,r.Action.Properties)}if(null!=f.Lines)for(t in f.Lines)n.includes(t)||(r=f.Lines[t],l(r,r));if(c&&null!=k&&null!=h){a.isGridEnabled()&&(k=a.snap(k),h=a.snap(h));var I=a.getBoundingBoxFromGeometry(d,!0);null!=I&&a.moveCells(d,k-I.x,h-I.y)}a.setSelectionCells(d)}finally{a.getModel().endUpdate()}a.isSelectionEmpty()||
|
||||
(a.scrollCellToVisible(a.getSelectionCell()),null!=this.hoverIcons&&this.hoverIcons.update(a.view.getState(a.getSelectionCell())))}})();
|
|
@ -710,9 +710,20 @@ Actions.prototype.init = function()
|
|||
|
||||
window.open(RESOURCES_PATH + '/help' + ext + '.html');
|
||||
});
|
||||
|
||||
var showingAbout = false;
|
||||
|
||||
this.put('about', new Action(mxResources.get('about') + ' Graph Editor...', function()
|
||||
{
|
||||
ui.showDialog(new AboutDialog(ui).container, 320, 280, true, true);
|
||||
if (!showingAbout)
|
||||
{
|
||||
ui.showDialog(new AboutDialog(ui).container, 320, 280, true, true, function()
|
||||
{
|
||||
showingAbout = false;
|
||||
});
|
||||
|
||||
showingAbout = true;
|
||||
}
|
||||
}, null, null, 'F1'));
|
||||
|
||||
// Font style actions
|
||||
|
|
|
@ -412,7 +412,7 @@ var FilenameDialog = function(editorUi, filename, buttonText, fn, label, validat
|
|||
|
||||
nameInput.focus();
|
||||
|
||||
if (mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
if (mxClient.IS_GC || mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
{
|
||||
nameInput.select();
|
||||
}
|
||||
|
@ -1713,7 +1713,7 @@ var LinkDialog = function(editorUi, initialValue, btnLabel, fn)
|
|||
{
|
||||
linkInput.focus();
|
||||
|
||||
if (mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
if (mxClient.IS_GC || mxClient.IS_FF || document.documentMode >= 5 || mxClient.IS_QUIRKS)
|
||||
{
|
||||
linkInput.select();
|
||||
}
|
||||
|
|
|
@ -526,12 +526,12 @@ Graph = function(container, model, renderHint, stylesheet, themes)
|
|||
|
||||
if (mxUtils.getValue(style, 'part', false))
|
||||
{
|
||||
var parent = this.graph.model.getParent(source);
|
||||
var parent = this.graph.model.getParent(source);
|
||||
|
||||
if (this.graph.model.isVertex(parent))
|
||||
{
|
||||
source = parent;
|
||||
}
|
||||
if (this.graph.model.isVertex(parent))
|
||||
{
|
||||
source = parent;
|
||||
}
|
||||
}
|
||||
|
||||
return mxConnectionHandler.prototype.createTargetVertex.apply(this, arguments);
|
||||
|
@ -541,7 +541,7 @@ Graph = function(container, model, renderHint, stylesheet, themes)
|
|||
|
||||
this.getRubberband = function()
|
||||
{
|
||||
return rubberband;
|
||||
return rubberband;
|
||||
};
|
||||
|
||||
// Timer-based activation of outline connect in connection handler
|
||||
|
@ -552,18 +552,18 @@ Graph = function(container, model, renderHint, stylesheet, themes)
|
|||
|
||||
this.connectionHandler.mouseMove = function()
|
||||
{
|
||||
var prev = this.currentState;
|
||||
connectionHandlerMouseMove.apply(this, arguments);
|
||||
|
||||
if (prev != this.currentState)
|
||||
{
|
||||
startTime = new Date().getTime();
|
||||
timeOnTarget = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
timeOnTarget = new Date().getTime() - startTime;
|
||||
}
|
||||
var prev = this.currentState;
|
||||
connectionHandlerMouseMove.apply(this, arguments);
|
||||
|
||||
if (prev != this.currentState)
|
||||
{
|
||||
startTime = new Date().getTime();
|
||||
timeOnTarget = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
timeOnTarget = new Date().getTime() - startTime;
|
||||
}
|
||||
};
|
||||
|
||||
// Activates outline connect after 1500ms with touch event or if alt is pressed inside the shape
|
||||
|
@ -571,16 +571,16 @@ Graph = function(container, model, renderHint, stylesheet, themes)
|
|||
|
||||
this.connectionHandler.isOutlineConnectEvent = function(me)
|
||||
{
|
||||
return (this.currentState != null && me.getState() == this.currentState && timeOnTarget > 2000) ||
|
||||
((this.currentState == null || mxUtils.getValue(this.currentState.style, 'outlineConnect', '1') != '0') &&
|
||||
connectionHandleIsOutlineConnectEvent.apply(this, arguments));
|
||||
return (this.currentState != null && me.getState() == this.currentState && timeOnTarget > 2000) ||
|
||||
((this.currentState == null || mxUtils.getValue(this.currentState.style, 'outlineConnect', '1') != '0') &&
|
||||
connectionHandleIsOutlineConnectEvent.apply(this, arguments));
|
||||
};
|
||||
|
||||
// Adds shift+click to toggle selection state
|
||||
var isToggleEvent = this.isToggleEvent;
|
||||
this.isToggleEvent = function(evt)
|
||||
{
|
||||
return isToggleEvent.apply(this, arguments) || mxEvent.isShiftDown(evt);
|
||||
return isToggleEvent.apply(this, arguments) || mxEvent.isShiftDown(evt);
|
||||
};
|
||||
|
||||
// Workaround for Firefox where first mouse down is received
|
||||
|
@ -589,9 +589,9 @@ Graph = function(container, model, renderHint, stylesheet, themes)
|
|||
var isForceRubberBandEvent = rubberband.isForceRubberbandEvent;
|
||||
rubberband.isForceRubberbandEvent = function(me)
|
||||
{
|
||||
return isForceRubberBandEvent.apply(this, arguments) ||
|
||||
(mxUtils.hasScrollbars(this.graph.container) && mxClient.IS_FF &&
|
||||
mxClient.IS_WIN && me.getState() == null && mxEvent.isTouchEvent(me.getEvent()));
|
||||
return isForceRubberBandEvent.apply(this, arguments) ||
|
||||
(mxUtils.hasScrollbars(this.graph.container) && mxClient.IS_FF &&
|
||||
mxClient.IS_WIN && me.getState() == null && mxEvent.isTouchEvent(me.getEvent()));
|
||||
};
|
||||
|
||||
// Shows hand cursor while panning
|
||||
|
|
2
war/js/reader.min.js
vendored
2
war/js/reader.min.js
vendored
|
@ -184,7 +184,7 @@ f)+"\n"+t+"}":"{"+y.join(",")+"}";f=t;return l}}"function"!==typeof Date.prototy
|
|||
e=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,f,g,h={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},k;"function"!==typeof JSON.stringify&&(JSON.stringify=function(a,b,d){var e;g=f="";if("number"===typeof d)for(e=0;e<d;e+=1)g+=" ";else"string"===typeof d&&(g=d);if((k=b)&&"function"!==typeof b&&("object"!==typeof b||"number"!==typeof b.length))throw Error("JSON.stringify");return c("",{"":a})});
|
||||
"function"!==typeof JSON.parse&&(JSON.parse=function(a,b){function c(a,d){var e,f,g=a[d];if(g&&"object"===typeof g)for(e in g)Object.prototype.hasOwnProperty.call(g,e)&&(f=c(g,e),void 0!==f?g[e]=f:delete g[e]);return b.call(a,d,g)}var e;a=""+a;d.lastIndex=0;d.test(a)&&(a=a.replace(d,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
|
||||
"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return e=eval("("+a+")"),"function"===typeof b?c({"":e},""):e;throw new SyntaxError("JSON.parse");})})();"undefined"===typeof window.mxBasePath&&(window.mxBasePath="https://www.draw.io/mxgraph/");window.mxLoadStylesheets=window.mxLoadStylesheets||!1;window.mxLoadResources=window.mxLoadResources||!1;window.mxLanguage=window.mxLanguage||"en";window.urlParams=window.urlParams||{};window.MAX_REQUEST_SIZE=window.MAX_REQUEST_SIZE||10485760;window.MAX_AREA=window.MAX_AREA||225E6;window.EXPORT_URL=window.EXPORT_URL||"/export";window.SAVE_URL=window.SAVE_URL||"/save";window.OPEN_URL=window.OPEN_URL||"/open";window.RESOURCES_PATH=window.RESOURCES_PATH||"resources";window.RESOURCE_BASE=window.RESOURCE_BASE||window.RESOURCES_PATH+"/grapheditor";window.STENCIL_PATH=window.STENCIL_PATH||"stencils";window.IMAGE_PATH=window.IMAGE_PATH||"images";
|
||||
window.STYLE_PATH=window.STYLE_PATH||"styles";window.CSS_PATH=window.CSS_PATH||"styles";window.OPEN_FORM=window.OPEN_FORM||"open.html";window.mxBasePath=window.mxBasePath||"../../../src";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de"];var mxClient={VERSION:"7.4.4",IS_IE:0<=navigator.userAgent.indexOf("MSIE"),IS_IE6:0<=navigator.userAgent.indexOf("MSIE 6"),IS_IE11:!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:!!navigator.userAgent.match(/Edge\//),IS_QUIRKS:0<=navigator.userAgent.indexOf("MSIE")&&(null==document.documentMode||5==document.documentMode),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&
|
||||
window.STYLE_PATH=window.STYLE_PATH||"styles";window.CSS_PATH=window.CSS_PATH||"styles";window.OPEN_FORM=window.OPEN_FORM||"open.html";window.mxBasePath=window.mxBasePath||"../../../src";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de"];var mxClient={VERSION:"7.4.7",IS_IE:0<=navigator.userAgent.indexOf("MSIE"),IS_IE6:0<=navigator.userAgent.indexOf("MSIE 6"),IS_IE11:!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:!!navigator.userAgent.match(/Edge\//),IS_QUIRKS:0<=navigator.userAgent.indexOf("MSIE")&&(null==document.documentMode||5==document.documentMode),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&
|
||||
0>navigator.userAgent.indexOf("Edge/"),IS_OP:0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/"),IS_OT:0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:0<=navigator.userAgent.indexOf("AppleWebKit/")&&
|
||||
0>navigator.userAgent.indexOf("Chrome/")&&0>navigator.userAgent.indexOf("Edge/"),IS_IOS:navigator.userAgent.match(/(iPad|iPhone|iPod)/g)?!0:!1,IS_GC:0<=navigator.userAgent.indexOf("Chrome/")&&0>navigator.userAgent.indexOf("Edge/"),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:0<=navigator.userAgent.indexOf("Firefox/"),IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&
|
||||
0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:0<=navigator.userAgent.indexOf("Firefox/")||0<=navigator.userAgent.indexOf("Iceweasel/")||0<=navigator.userAgent.indexOf("Seamonkey/")||0<=navigator.userAgent.indexOf("Iceape/")||0<=navigator.userAgent.indexOf("Galeon/")||
|
||||
|
|
8
war/js/shapes.min.js
vendored
8
war/js/shapes.min.js
vendored
|
@ -1932,8 +1932,8 @@ c+e+.8*g),a.moveTo(0,c+e+.8*g),a.lineTo(b,c+e+.2*g),0!==c&&(a.moveTo(0,c+e),a.li
|
|||
mxUtils.extend(mxShapePidConveyor,mxShape);mxShapePidConveyor.prototype.cst={SHAPE_CONVEYOR:"mxgraph.pid2misc.conveyor"};mxShapePidConveyor.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1)};
|
||||
mxShapePidConveyor.prototype.background=function(a,d,e,b,c){d=Math.min(c,.5*b);a.begin();a.moveTo(.5*d,0);a.lineTo(b-.5*d,0);a.stroke();a.ellipse(0,0,d,d);a.fillAndStroke();a.ellipse(b-d,0,d,d);a.fillAndStroke();a.begin();a.moveTo(.5*d,d);a.lineTo(b-.5*d,d);a.stroke();b-=1.8*d;e=.9*d;c=.7*d;for(var f=0;f<b;f+=c)a.rect(e+f,0,.2*d,.1*d),a.fillAndStroke(),a.rect(e+f,.9*d,.2*d,.1*d),a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes[mxShapePidConveyor.prototype.cst.SHAPE_CONVEYOR]=mxShapePidConveyor;
|
||||
function mxShapePidValve(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapePidValve,mxShape);
|
||||
mxShapePidValve.prototype.cst={SHAPE_VALVE:"mxgraph.pid2valves.valve",DEFAULT_STATE:"defState",CLOSED:"closed",OPEN:"open",ACTUATOR:"actuator",MANUAL:"man",DIAPHRAGM:"diaph",BALANCED_DIAPHRAGM:"balDiaph",MOTOR:"motor",NONE:"none",SPRING:"spring",PILOT:"pilot",SOLENOID:"solenoid",SOLENOID_MANUAL_RESET:"solenoidManRes",SINGLE_ACTING:"singActing",DOUBLE_ACTING:"dblActing",PILOT_CYLINDER:"pilotCyl",DIGITAL:"digital",WEIGHT:"weight",KEY:"key",ELECTRO_HYDRAULIC:"elHyd",VALVE_TYPE:"valveType",BUTTERFLY:"butterfly",
|
||||
CHECK:"check",GATE:"gate",GLOBE:"globe",NEEDLE:"needle",PLUG:"plug",SELF_DRAINING:"selfDrain",ANGLE:"angle",ANGLE_GLOBE:"angleGlobe",THREE_WAY:"threeWay",ANGLE_BLOWDOWN:"angBlow",BALL:"ball"};
|
||||
mxShapePidValve.prototype.cst={SHAPE_VALVE:"mxgraph.pid2valves.valve",DEFAULT_STATE:"defState",CLOSED:"closed",OPEN:"open",ACTUATOR:"actuator",MANUAL:"man",DIAPHRAGM:"diaph",BALANCED_DIAPHRAGM:"balDiaph",MOTOR:"motor",NONE:"none",SPRING:"spring",PILOT:"pilot",POWERED:"powered",SOLENOID:"solenoid",SOLENOID_MANUAL_RESET:"solenoidManRes",SINGLE_ACTING:"singActing",DOUBLE_ACTING:"dblActing",PILOT_CYLINDER:"pilotCyl",DIGITAL:"digital",WEIGHT:"weight",KEY:"key",ELECTRO_HYDRAULIC:"elHyd",VALVE_TYPE:"valveType",
|
||||
BUTTERFLY:"butterfly",CHECK:"check",GATE:"gate",GLOBE:"globe",NEEDLE:"needle",PLUG:"plug",SELF_DRAINING:"selfDrain",ANGLE:"angle",ANGLE_GLOBE:"angleGlobe",THREE_WAY:"threeWay",ANGLE_BLOWDOWN:"angBlow",BALL:"ball"};
|
||||
mxShapePidValve.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapePidValve.prototype.cst.VALVE_TYPE,"gate"),g=mxUtils.getValue(this.style,mxShapePidValve.prototype.cst.ACTUATOR,mxShapePidValve.prototype.cst.NONE),h=0;"none"!==g&&(h=this.isAngleVariant(f)?.3333*c:.4*c);a.translate(d,e);a.setLineJoin("round");this.background(a,d,e,b,c,f,g,h);a.setShadow(!1);this.foreground(a,d,e,b,c,f,g,h)};
|
||||
mxShapePidValve.prototype.background=function(a,d,e,b,c,f,g,h){g!==mxShapePidValve.prototype.cst.NONE&&(this.isAngleVariant(f)?this.drawActuatorBg(a,d,e,b,c/1.2,g,h):this.drawActuatorBg(a,d,e,b,c,g,h));this.isGateVariant(f)?this.drawGateVariantBg(a,0,0,b,c,f,g,h):this.isAngleVariant(f)?this.drawAngleVariantBg(a,0,0,b,c,f,g,h):f===mxShapePidValve.prototype.cst.BUTTERFLY?this.drawButterflyValve(a,0,0,b,c,g,h):f===mxShapePidValve.prototype.cst.CHECK&&this.drawCheckValve(a,0,0,b,c,g,h)};
|
||||
mxShapePidValve.prototype.foreground=function(a,d,e,b,c,f,g,h){f=mxUtils.getValue(this.style,mxShapePidValve.prototype.cst.VALVE_TYPE,"gate");g!==mxShapePidValve.prototype.cst.NONE&&(this.isAngleVariant(f)?this.drawActuatorFg(a,d,e,b,c/1.2,g,h):this.drawActuatorFg(a,d,e,b,c,g,h));this.isGateVariant(f)&&this.drawGateVariantFg(a,0,0,b,c,f,g,h);this.isAngleVariant(f)&&this.drawAngleVariantFg(a,0,0,b,c,f,g,h)};
|
||||
|
@ -1941,7 +1941,7 @@ mxShapePidValve.prototype.drawActuatorBg=function(a,d,e,b,c,f){this.isSquareVari
|
|||
.5*b,.6*c),a.translate(.25*-b,.1*-c)):f===mxShapePidValve.prototype.cst.MOTOR||f===mxShapePidValve.prototype.cst.ELECTRO_HYDRAULIC?(a.translate(.325*b,0),this.drawCircleAct(a,.35*b,.7*c,f),a.translate(.325*-b,0)):f===mxShapePidValve.prototype.cst.SPRING?(a.translate(.36*b,0),this.drawSpringAct(a,.28*b,.7*c),a.translate(.36*-b,0)):f===mxShapePidValve.prototype.cst.SOLENOID_MANUAL_RESET?(a.translate(.325*b,0),this.drawSolenoidManResetAct(a,.575*b,.7*c),a.translate(.325*-b,0)):f===mxShapePidValve.prototype.cst.SINGLE_ACTING?
|
||||
(a.translate(.35*b,0),this.drawSingActingActBg(a,.65*b,.7*c),a.translate(.35*-b,0)):f===mxShapePidValve.prototype.cst.DOUBLE_ACTING?(a.translate(.35*b,0),this.drawDblActingActBg(a,.65*b,.7*c),a.translate(.35*-b,0)):f===mxShapePidValve.prototype.cst.PILOT_CYLINDER?(a.translate(.35*b,0),this.drawPilotCylinderActBg(a,.65*b,.7*c),a.translate(.35*-b,0)):f===mxShapePidValve.prototype.cst.ANGLE_BLOWDOWN&&(a.translate(.5*b,.2*c),this.drawAngleBlowdownAct(a,.4*b,.5*c),a.translate(.5*-b,.2*-c))};
|
||||
mxShapePidValve.prototype.drawActuatorFg=function(a,d,e,b,c,f){if(f===mxShapePidValve.prototype.cst.BALANCED_DIAPHRAGM)a.translate(.25*b,.1*c),this.drawBalDiaphActFg(a,.5*b,.6*c),a.translate(.25*-b,.1*-c);else if(f===mxShapePidValve.prototype.cst.SINGLE_ACTING||f===mxShapePidValve.prototype.cst.DOUBLE_ACTING||f===mxShapePidValve.prototype.cst.PILOT_CYLINDER)a.translate(.35*b,0),this.drawActingActFg(a,.65*b,.7*c),a.translate(.35*-b,0)};
|
||||
mxShapePidValve.prototype.drawManAct=function(a,d,e){a.begin();a.moveTo(0,0);a.lineTo(d,0);a.moveTo(.5*d,0);a.lineTo(.5*d,e);a.stroke()};mxShapePidValve.prototype.drawDiaphAct=function(a,d,e){a.begin();a.moveTo(.5*d,.2*e);a.lineTo(.5*d,e);a.stroke();a.moveTo(0,.2*e);a.arcTo(.6*d,.4*e,0,0,1,d,.2*e);a.close();a.fillAndStroke()};mxShapePidValve.prototype.drawBalDiaphActBg=function(a,d,e){a.ellipse(0,0,d,.3*e);a.fillAndStroke();a.begin();a.moveTo(.5*d,.3*e);a.lineTo(.5*d,e);a.stroke()};
|
||||
mxShapePidValve.prototype.drawManAct=function(a,d,e){a.begin();a.moveTo(0,0);a.lineTo(d,0);a.moveTo(.5*d,0);a.lineTo(.5*d,e);a.stroke()};mxShapePidValve.prototype.drawDiaphAct=function(a,d,e){a.begin();a.moveTo(.5*d,.2*e);a.lineTo(.5*d,e);a.stroke();a.begin();a.moveTo(0,.2*e);a.arcTo(.6*d,.4*e,0,0,1,d,.2*e);a.close();a.fillAndStroke()};mxShapePidValve.prototype.drawBalDiaphActBg=function(a,d,e){a.ellipse(0,0,d,.3*e);a.fillAndStroke();a.begin();a.moveTo(.5*d,.3*e);a.lineTo(.5*d,e);a.stroke()};
|
||||
mxShapePidValve.prototype.drawBalDiaphActFg=function(a,d,e){a.begin();a.moveTo(0,.15*e);a.lineTo(d,.15*e);a.stroke()};
|
||||
mxShapePidValve.prototype.drawCircleAct=function(a,d,e,b){a.ellipse(0,0,d,.5*e);a.fillAndStroke();a.begin();a.moveTo(.5*d,.5*e);a.lineTo(.5*d,e);a.stroke();var c="";b===mxShapePidValve.prototype.cst.MOTOR?c="M":b===mxShapePidValve.prototype.cst.ELECTRO_HYDRAULIC&&(c="E/H");a.setFontStyle(1);a.setFontFamily("Helvetica");a.setFontSize(.4*Math.min(d,e));a.text(.5*d,.25*e,0,0,c,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};
|
||||
mxShapePidValve.prototype.drawSpringAct=function(a,d,e){a.begin();a.moveTo(.5*d,0);a.lineTo(.5*d,e);a.moveTo(.32*d,.16*e);a.lineTo(.68*d,.08*e);a.moveTo(.21*d,.32*e);a.lineTo(.79*d,.2*e);a.moveTo(.1*d,.52*e);a.lineTo(.9*d,.36*e);a.moveTo(0,.72*e);a.lineTo(d,.5*e);a.stroke()};
|
||||
|
@ -1970,7 +1970,7 @@ mxShapePidValve.prototype.drawButterflyValve=function(a,d,e,b,c,f,g){mxUtils.get
|
|||
mxShapePidValve.prototype.drawCheckValve=function(a,d,e,b,c,f,g){f=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff");var h=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");c-=g;a.translate(d,e+g);a.begin();a.moveTo(0,0);a.lineTo(0,c);a.moveTo(b,0);a.lineTo(b,c);a.moveTo(.05*b,.05*c);a.lineTo(.95*b,.95*c);a.fillAndStroke();a.begin();a.moveTo(.8925*b,.815*c);a.lineTo(.957*b,.955*c);a.lineTo(.85*b,.928*c);a.close();a.setFillColor(h);a.fillAndStroke();a.setFillColor(f);
|
||||
a.translate(-d,-e)};mxShapePidValve.prototype.isGateVariant=function(a){return a===mxShapePidValve.prototype.cst.GATE||a===mxShapePidValve.prototype.cst.BALL||a===mxShapePidValve.prototype.cst.PLUG||a===mxShapePidValve.prototype.cst.NEEDLE||a===mxShapePidValve.prototype.cst.SELF_DRAINING||a===mxShapePidValve.prototype.cst.GLOBE?!0:!1};
|
||||
mxShapePidValve.prototype.isAngleVariant=function(a){return a===mxShapePidValve.prototype.cst.ANGLE||a===mxShapePidValve.prototype.cst.ANGLE_GLOBE||a===mxShapePidValve.prototype.cst.THREE_WAY||a===mxShapePidValve.prototype.cst.ANGLE_BLOWDOWN?!0:!1};
|
||||
mxShapePidValve.prototype.isSquareVariant=function(a){return a===mxShapePidValve.prototype.cst.PILOT||a===mxShapePidValve.prototype.cst.SOLENOID||a===mxShapePidValve.prototype.cst.DIGITAL||a===mxShapePidValve.prototype.cst.WEIGHT||a===mxShapePidValve.prototype.cst.KEY?!0:!1};mxCellRenderer.prototype.defaultShapes[mxShapePidValve.prototype.cst.SHAPE_VALVE]=mxShapePidValve;
|
||||
mxShapePidValve.prototype.isSquareVariant=function(a){return a===mxShapePidValve.prototype.cst.PILOT||a===mxShapePidValve.prototype.cst.SOLENOID||a===mxShapePidValve.prototype.cst.POWERED||a===mxShapePidValve.prototype.cst.DIGITAL||a===mxShapePidValve.prototype.cst.WEIGHT||a===mxShapePidValve.prototype.cst.KEY?!0:!1};mxCellRenderer.prototype.defaultShapes[mxShapePidValve.prototype.cst.SHAPE_VALVE]=mxShapePidValve;
|
||||
function mxShapePidIntBlockBleedValve(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapePidIntBlockBleedValve,mxShapePidValve);
|
||||
mxShapePidIntBlockBleedValve.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapePidIntBlockBleedValve.prototype.cst.ACTUATOR,mxShapePidIntBlockBleedValve.prototype.cst.NONE),g=0;"none"!==f&&(g=.2353*c);a.translate(d,e);a.setLineJoin("round");this.background(a,d,e,b,c,f,g);a.setShadow(!1);this.foreground(a,d,e,b,c,f,g)};
|
||||
mxShapePidIntBlockBleedValve.prototype.background=function(a,d,e,b,c,f,g){f!==mxShapePidIntBlockBleedValve.prototype.cst.NONE&&this.drawActuatorBg(a,d,e,b,c,f);this.drawValveBg(a,0,g,b,c-g)};mxShapePidIntBlockBleedValve.prototype.foreground=function(a,d,e,b,c,f,g){f!==mxShapePidIntBlockBleedValve.prototype.cst.NONE&&this.drawActuatorFg(a,d,e,b,c,f)};
|
||||
|
|
1309
war/js/viewer.min.js
vendored
1309
war/js/viewer.min.js
vendored
File diff suppressed because it is too large
Load diff
|
@ -10,10 +10,10 @@ addImageUrl=画像のURLを追加する
|
|||
addLayer=レイヤーを追加する
|
||||
addProperty=属性を追加する
|
||||
address=アドレス
|
||||
addToExistingDrawing=既存の図面に追加する
|
||||
addToExistingDrawing=既存のファイルに追加する
|
||||
addWaypoint=途中点を追加する
|
||||
adjustTo=調整する
|
||||
advanced=発展した
|
||||
advanced=応用
|
||||
align=整列
|
||||
alignment=文字配置
|
||||
allChangesLost=すべての変更が失われます!
|
||||
|
@ -24,7 +24,7 @@ allTags=すべてのタグ
|
|||
anchor=アンカー
|
||||
android=アンドロイド
|
||||
angle=角度
|
||||
arc=Arc
|
||||
arc=円弧
|
||||
areYouSure=よろしいですか?
|
||||
ensureDataSaved=終了する前にデータが保存されていることを確認してください。
|
||||
allChangesSaved=すべての変更を保存しました。
|
||||
|
@ -33,7 +33,7 @@ allowPopups=ポップアップを有効にすると、このダイアログが
|
|||
alreadyConnected=ノードがすでに接続されています
|
||||
apply=実行する
|
||||
archiMate21=ArchiMate 2.1
|
||||
arrange=アレンジ
|
||||
arrange=配置
|
||||
arrow=矢印
|
||||
arrows=矢印
|
||||
asNew=新規
|
||||
|
@ -55,7 +55,7 @@ backgroundColor=背景色
|
|||
backgroundImage=背景画像
|
||||
basic=基本
|
||||
blankDrawing=白紙図面
|
||||
blankDiagram=白紙ダイアグラム
|
||||
blankDiagram=白紙ファイル
|
||||
block=ブロック
|
||||
blockquote=ブロッククォート
|
||||
blog=ブログ
|
||||
|
@ -69,7 +69,7 @@ bottomLeft=左下端
|
|||
bottomRight=右下端
|
||||
bpmn=BPMN
|
||||
browser=ブラウザ
|
||||
bulletedList=箇条書きリスト
|
||||
bulletedList=箇条書き
|
||||
business=ビジネス
|
||||
busy=処理中
|
||||
cabinets=キャビネット
|
||||
|
@ -127,9 +127,9 @@ copyOf={1}のコピー
|
|||
copyOfDrawing=図のコピー
|
||||
copyStyle=スタイルをコピーする
|
||||
create=作成する
|
||||
createNewDiagram=新規ダイアグラムを作成する
|
||||
createNewDiagram=新規ファイルを作成する
|
||||
createRevision=改訂を作成する
|
||||
createShape=新規図面を作成する
|
||||
createShape=図形XMLを作成する
|
||||
crop=切り落とす
|
||||
curved=曲がった
|
||||
custom=カスタム
|
||||
|
@ -186,7 +186,7 @@ duplicate=複製
|
|||
duplicateIt={1}を複製する
|
||||
divider=分割
|
||||
east=右
|
||||
edit=編集する
|
||||
edit=編集
|
||||
editData=データを編集する
|
||||
editDiagram=ダイアログを編集する
|
||||
editGeometry=形状を編集する
|
||||
|
@ -228,11 +228,11 @@ errorSendingFeedback=エラーのフィードバックを送信中。
|
|||
errorUpdatingPreview=エラー更新プレビュー。
|
||||
exit=終了
|
||||
exitGroup=グループから出る
|
||||
expand=拡げる
|
||||
export=外部へ排出
|
||||
exporting=外部へ排出中
|
||||
exportAs=として外部へ排出する
|
||||
exportOptionsDisabled=外部排出機能は使えません
|
||||
expand=拡張
|
||||
export=エクスポート
|
||||
exporting=エクスポート中
|
||||
exportAs=形式を指定してエクスポート
|
||||
exportOptionsDisabled=エクスポートは使えません
|
||||
exportOptionsDisabledDetails=所有者は、視聴者や編集者がダウンロード、印刷、コピーをすることを認めていません。
|
||||
extras=余分の
|
||||
facebook=フェイスブック
|
||||
|
@ -448,14 +448,14 @@ noSearchResults=検索結果は見つかりませんでした。
|
|||
noPageContentOrNotSaved=このページのアンカーが見つからない場合、またはそれがまだ保存されていません
|
||||
normal=ノーマル
|
||||
north=上
|
||||
notADiagramFile=ダイアグラムファイルではありません。
|
||||
notADiagramFile=図面ファイルではありません。
|
||||
notALibraryFile=ライブラリファイルではありません。
|
||||
notAvailable=不可
|
||||
notAUtf8File=UTF-8ではありません
|
||||
notConnected=接続されていません
|
||||
note=備考
|
||||
notUsingService={1}を使っていませんか?
|
||||
numberedList=数字付きリスト
|
||||
numberedList=番号付きリスト
|
||||
offline=オフライン
|
||||
ok=OK
|
||||
oneDrive=OneDrive
|
||||
|
@ -463,7 +463,7 @@ online=オンライン
|
|||
opacity=不透明度
|
||||
open=開く
|
||||
openArrow=開いた矢印
|
||||
openExistingDiagram=既存のダイアグラムを開く
|
||||
openExistingDiagram=既存のファイルを開く
|
||||
openFile=ファイルを開く
|
||||
openFrom=開く
|
||||
openLibrary=ライブラリを開く
|
||||
|
@ -472,7 +472,7 @@ openLink=リンクを開く
|
|||
openInNewWindow=新しいウィンドウで開く
|
||||
openInThisWindow=現在のウィンドウで開く
|
||||
openIt=開く{1}
|
||||
openRecent=最近開いたドキュメント
|
||||
openRecent=最近開いたファイル
|
||||
openSupported=このソフトを使って保存された.XMLフォーマットのファイルのみ開くことが出来ます。
|
||||
options=オプション
|
||||
organic=オーガニック
|
||||
|
@ -573,7 +573,7 @@ saveAndExit=保存して閉じる
|
|||
saveAs=名前を付けて保存
|
||||
saveAsXmlFile=XMLファイルとして保存しますか?
|
||||
saved=保存済み
|
||||
saveDiagramsTo=にダイアグラムを保存する
|
||||
saveDiagramsTo=ファイルの保存先
|
||||
saveLibrary403=このライブラリを編集する権限がありません。
|
||||
saveLibrary500=ライブラリ保存中にエラーが発生しました。
|
||||
saving=保存中
|
||||
|
@ -597,14 +597,14 @@ sessionExpired=セッションは時間切れになりました。ブラウザ
|
|||
sessionTimeoutOnSave=セッションは時間切れになりました。Googleドライブから切断されました。ログインして保存するには、OKをクリックしてログインをして保存してください。
|
||||
setAsDefaultStyle=デフォルトとして設定
|
||||
shadow=影付き
|
||||
shape=形状
|
||||
shapes=形状
|
||||
shape=図形
|
||||
shapes=図形
|
||||
share=共有
|
||||
shareLink=共同編集リンク
|
||||
sharp=シャープ
|
||||
show=表示
|
||||
showStartScreen=開始画面を表示します
|
||||
sidebarTooltip=クリックをすると拡大します。ドラッグしてドロップをすると形状を図形に変更します。Shift + クリックすると、選択範囲を変更します。Alt + クリックで挿入し、接続します。
|
||||
sidebarTooltip=クリックをすると拡大します。ドラッグしてドロップをすると図形を図面に追加します。Shift + クリックすると、選択範囲を変更します。Alt + クリックで挿入し、接続します。
|
||||
signs=標識
|
||||
signOut=サインアウト
|
||||
simple=シンプル
|
||||
|
@ -661,7 +661,7 @@ ungroup=グループ解除
|
|||
unsavedChanges=変更を保存しない
|
||||
unsavedChangesClickHereToSave=保存されていません。ここをクリックして保存してください
|
||||
untitled=無題
|
||||
untitledDiagram=名称未設定ダイアグラム
|
||||
untitledDiagram=名称未設定ファイル
|
||||
untitledLayer=名称未設定レイヤ
|
||||
untitledLibrary=名称未設定ライブラリ
|
||||
unknownError=不明のエラー
|
||||
|
|
|
@ -38,6 +38,7 @@ mxShapePidValve.prototype.cst = {
|
|||
NONE : 'none',
|
||||
SPRING : 'spring',
|
||||
PILOT : 'pilot',
|
||||
POWERED: 'powered',
|
||||
SOLENOID : 'solenoid',
|
||||
SOLENOID_MANUAL_RESET : 'solenoidManRes',
|
||||
SINGLE_ACTING : 'singActing',
|
||||
|
@ -260,6 +261,7 @@ mxShapePidValve.prototype.drawDiaphAct = function(c, w, h)
|
|||
c.lineTo(w * 0.5, h);
|
||||
c.stroke();
|
||||
|
||||
c.begin();
|
||||
c.moveTo(0, h * 0.2);
|
||||
c.arcTo(w * 0.6, h * 0.4, 0, 0, 1, w, h * 0.2);
|
||||
c.close();
|
||||
|
@ -831,6 +833,7 @@ mxShapePidValve.prototype.isSquareVariant = function(actType)
|
|||
{
|
||||
if (actType === mxShapePidValve.prototype.cst.PILOT ||
|
||||
actType === mxShapePidValve.prototype.cst.SOLENOID ||
|
||||
actType === mxShapePidValve.prototype.cst.POWERED ||
|
||||
actType === mxShapePidValve.prototype.cst.DIGITAL ||
|
||||
actType === mxShapePidValve.prototype.cst.WEIGHT ||
|
||||
actType === mxShapePidValve.prototype.cst.KEY)
|
||||
|
|
12
war/trello/attSection.html
Normal file
12
war/trello/attSection.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="https://trello.com/power-ups/power-up.css">
|
||||
<!-- Is this OK? -->
|
||||
<link rel="stylesheet" href="https://a.trellocdn.com/css/d8375bf2ae4b875ccc5216dd4fcc705a/core.css">
|
||||
<script src="https://trello.com/power-ups/power-up.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="content"></div>
|
||||
<script src="./js/attSection.js"></script>
|
||||
</body>
|
||||
</html>
|
13
war/trello/editor.html
Normal file
13
war/trello/editor.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="https://trello.com/power-ups/power-up.css">
|
||||
<script src="https://trello.com/power-ups/power-up.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="content" style="width:100%;height:100%">
|
||||
<iframe id="editorFrame" frameborder="0" src="about:blank" style="width:100%;height:100%">
|
||||
</iframe>
|
||||
</div>
|
||||
<script src="js/editor.js"></script>
|
||||
</body>
|
||||
</html>
|
13
war/trello/index.html
Normal file
13
war/trello/index.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<script src="https://trello.com/power-ups/power-up.js"></script>
|
||||
<script src="js/client.js"></script>
|
||||
<h1>
|
||||
draw.io Trello PowerUp!
|
||||
</h1>
|
||||
</body>
|
||||
</html>
|
98
war/trello/js/attSection.js
Normal file
98
war/trello/js/attSection.js
Normal file
|
@ -0,0 +1,98 @@
|
|||
var t = window.TrelloPowerUp.iframe();
|
||||
|
||||
t.render(function()
|
||||
{
|
||||
var getEditFunction = function(att, name)
|
||||
{
|
||||
return function()
|
||||
{
|
||||
t.card('id')
|
||||
.then(function (card)
|
||||
{
|
||||
t.modal({
|
||||
url: './editor.html',
|
||||
fullscreen: true,
|
||||
args: {cardId: card.id, att: att, name: name}
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
t.card('attachments')
|
||||
.get('attachments')
|
||||
.filter(function(attachment)
|
||||
{
|
||||
var drawioSuffix = '.drawio.png';
|
||||
return attachment.name.lastIndexOf(drawioSuffix) === attachment.name.length - drawioSuffix.length;
|
||||
})
|
||||
.then(function(drawioAtts)
|
||||
{
|
||||
var content = document.getElementById('content');
|
||||
content.innerHTML = "";
|
||||
|
||||
for (var i=0; i < drawioAtts.length; i++)
|
||||
{
|
||||
var div = document.createElement('div');
|
||||
div.className = "attachment-thumbnail";
|
||||
|
||||
var attName = drawioAtts[i].name.replace(".drawio.png", "");
|
||||
|
||||
var imgLink = document.createElement('a');
|
||||
imgLink.className = "attachment-thumbnail-preview";
|
||||
imgLink.setAttribute('href', 'javascript:void(0);');
|
||||
imgLink.setAttribute('title', attName);
|
||||
imgLink.style.cssText = "background-image: url('"+ drawioAtts[i].url +"');background-color: #fcfcfc;"; //trello is using the original file instead of previews!
|
||||
div.appendChild(imgLink);
|
||||
|
||||
var detailsP = document.createElement('p');
|
||||
detailsP.className = "attachment-thumbnail-details";
|
||||
|
||||
var nameSpan = document.createElement('span');
|
||||
nameSpan.className = "attachment-thumbnail-name";
|
||||
nameSpan.innerHTML = attName;
|
||||
detailsP.appendChild(nameSpan);
|
||||
|
||||
var detailOpt = document.createElement('span');
|
||||
detailOpt.className = "u-block quiet attachment-thumbnail-details-title-options";
|
||||
|
||||
var addedSpan = document.createElement('span');
|
||||
addedSpan.innerHTML = " "; //Add more details about the file here
|
||||
detailOpt.appendChild(addedSpan);
|
||||
// <span>
|
||||
// Added <span class="date" dt="2017-09-09T13:28:14.099Z" title="September 9, 2017 3:28 PM">an hour ago</span>
|
||||
// </span>
|
||||
// <span><a class="attachment-thumbnail-details-title-options-item dark-hover js-confirm-delete" href="#">
|
||||
// <span class="attachment-thumbnail-details-options-item-text">Delete</span></a>
|
||||
// </span>
|
||||
detailsP.appendChild(detailOpt);
|
||||
|
||||
var actionsSpan = document.createElement('span');
|
||||
actionsSpan.className = "quiet attachment-thumbnail-details-options";
|
||||
detailsP.appendChild(actionsSpan);
|
||||
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.className = "attachment-thumbnail-details-options-item dark-hover";
|
||||
downloadLink.setAttribute('href', drawioAtts[i].url);
|
||||
downloadLink.setAttribute('target', '_blank');
|
||||
downloadLink.setAttribute('download', attName);
|
||||
downloadLink.innerHTML = '<span class="icon-sm icon-download"></span> <span class="attachment-thumbnail-details-options-item-text">Download</span>';
|
||||
actionsSpan.appendChild(downloadLink);
|
||||
|
||||
var editLink = document.createElement('a');
|
||||
editLink.className = "attachment-thumbnail-details-options-item dark-hover";
|
||||
editLink.setAttribute('href', 'javascript:void(0);');
|
||||
editLink.innerHTML = '<span class="icon-sm icon-edit"></span> <span class="attachment-thumbnail-details-options-item-text">Edit</span>';
|
||||
editLink.addEventListener("click", getEditFunction(drawioAtts[i], attName));
|
||||
actionsSpan.appendChild(editLink);
|
||||
|
||||
detailsP.appendChild(actionsSpan);
|
||||
div.appendChild(detailsP);
|
||||
|
||||
content.appendChild(div);
|
||||
}
|
||||
})
|
||||
.then(function()
|
||||
{
|
||||
return t.sizeTo('#content');
|
||||
});
|
||||
});
|
74
war/trello/js/client.js
Normal file
74
war/trello/js/client.js
Normal file
|
@ -0,0 +1,74 @@
|
|||
/* global TrelloPowerUp */
|
||||
|
||||
var Promise = TrelloPowerUp.Promise;
|
||||
|
||||
TrelloPowerUp
|
||||
.initialize({
|
||||
'card-buttons' : function(t, options)
|
||||
{
|
||||
return [ {
|
||||
icon : 'https://www.draw.io/images/favicon-32x32.png',
|
||||
text : 'draw.io',
|
||||
callback : function(t)
|
||||
{
|
||||
return t.popup({
|
||||
title : 'Create a New Diagram...',
|
||||
url : './new.html',
|
||||
height : 125
|
||||
});
|
||||
}
|
||||
} ];
|
||||
},
|
||||
'attachment-sections' : function(t, options)
|
||||
{
|
||||
// Claim all png attachment that is created by draw.io
|
||||
var claimed = options.entries
|
||||
.filter(function(attachment)
|
||||
{
|
||||
var drawioSuffix = '.drawio.png';
|
||||
return attachment.name.lastIndexOf(drawioSuffix) === attachment.name.length
|
||||
- drawioSuffix.length;
|
||||
});
|
||||
|
||||
if (claimed && claimed.length > 0)
|
||||
{
|
||||
return [ {
|
||||
claimed : claimed,
|
||||
icon : 'https://www.draw.io/images/favicon-32x32.png',
|
||||
title : 'draw.io Diagrams',
|
||||
content :
|
||||
{
|
||||
type : 'iframe',
|
||||
url : t.signUrl('./attSection.html', {
|
||||
arg : ""
|
||||
}),
|
||||
height : 230
|
||||
}
|
||||
} ];
|
||||
}
|
||||
else
|
||||
{
|
||||
return [];
|
||||
}
|
||||
},
|
||||
'card-badges' : function(t, options)
|
||||
{
|
||||
// Claim all png attachment that is created by draw.io
|
||||
var claimed = options.entries
|
||||
.filter(function(attachment)
|
||||
{
|
||||
var drawioSuffix = '.drawio.png';
|
||||
return attachment.name.lastIndexOf(drawioSuffix) === attachment.name.length
|
||||
- drawioSuffix.length;
|
||||
});
|
||||
|
||||
if (claimed && claimed.length > 0)
|
||||
{
|
||||
return [{
|
||||
text: 'draw.io (' + claimed.length + ')',
|
||||
icon: 'https://www.draw.io/images/favicon-32x32.png',
|
||||
color: 'white'
|
||||
}];
|
||||
}
|
||||
}
|
||||
});
|
73
war/trello/js/editor.js
Normal file
73
war/trello/js/editor.js
Normal file
|
@ -0,0 +1,73 @@
|
|||
(function ()
|
||||
{
|
||||
var t = window.TrelloPowerUp.iframe();
|
||||
|
||||
var fileName = t.arg('name');
|
||||
var att = t.arg('att');
|
||||
var cardId = t.arg('cardId');
|
||||
|
||||
var iframe = document.getElementById("editorFrame");
|
||||
var temp = null;
|
||||
iframe.setAttribute('src', "https://test-dot-praxis-deck-767.appspot.com/?embed=1&tr=1&spin=1&ui=atlas&proto=json&libraries=1");
|
||||
|
||||
window.addEventListener('message', function(evt)
|
||||
{
|
||||
if (evt.data.length > 0)
|
||||
{
|
||||
var msg = null;
|
||||
|
||||
try
|
||||
{
|
||||
msg = JSON.parse(evt.data);
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
// ignore
|
||||
}
|
||||
|
||||
if (msg == null)
|
||||
{
|
||||
// Ignore
|
||||
return;
|
||||
}
|
||||
else if (msg.event == 'init')
|
||||
{
|
||||
iframe.contentWindow.postMessage(JSON.stringify({action: 'load', autosave: 0,
|
||||
saveAndExit: '1', modified: 'unsavedChanges', xml: "", title: fileName}), '*');
|
||||
|
||||
if (!att)
|
||||
{
|
||||
iframe.contentWindow.postMessage(JSON.stringify({action: 'newFile', type: 'T', folderId: cardId, name: fileName}), '*');
|
||||
}
|
||||
else
|
||||
{
|
||||
iframe.contentWindow.postMessage(JSON.stringify({action: 'loadFile', type: 'T', autosave: 0,
|
||||
file: cardId + '|$|' + att.id}), '*');
|
||||
}
|
||||
}
|
||||
else if (msg.event == 'autosave')
|
||||
{
|
||||
temp = msg.xml;
|
||||
}
|
||||
else if (msg.event == 'save')
|
||||
{
|
||||
temp = msg.xml;
|
||||
|
||||
if (msg.exit)
|
||||
{
|
||||
msg.event = 'exit';
|
||||
}
|
||||
else
|
||||
{
|
||||
iframe.contentWindow.postMessage(JSON.stringify({action: 'status',
|
||||
messageKey: 'allChangesSaved', modified: false}), '*');
|
||||
}
|
||||
}
|
||||
|
||||
if (msg.event == 'exit')
|
||||
{
|
||||
t.closeModal();
|
||||
}
|
||||
}
|
||||
});
|
||||
})();
|
29
war/trello/js/new.js
Normal file
29
war/trello/js/new.js
Normal file
|
@ -0,0 +1,29 @@
|
|||
(function ()
|
||||
{
|
||||
var t = window.TrelloPowerUp.iframe();
|
||||
|
||||
var diagName = document.getElementById("diagName");
|
||||
diagName.focus();
|
||||
|
||||
var newDiagFn = function()
|
||||
{
|
||||
var name = diagName.value;
|
||||
t.card('id')
|
||||
.then(function (card)
|
||||
{
|
||||
t.modal({
|
||||
url: './editor.html',
|
||||
fullscreen: true,
|
||||
args: {cardId: card.id, name: name}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
diagName.addEventListener("keypress", function(e)
|
||||
{
|
||||
if (e.keyCode == 13)
|
||||
newDiagFn();
|
||||
});
|
||||
|
||||
document.getElementById("createBtn").addEventListener("click", newDiagFn);
|
||||
})();
|
19
war/trello/manifest.json
Normal file
19
war/trello/manifest.json
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"name": "draw.io",
|
||||
"details":"draw.io Diagramming Power-Ups!",
|
||||
"icon": {
|
||||
"url": "https://www.draw.io/images/favicon-32x32.png"
|
||||
},
|
||||
"author": "draw.io",
|
||||
"capabilities": [
|
||||
"callback",
|
||||
"card-buttons",
|
||||
"card-badges",
|
||||
"attachment-sections"
|
||||
],
|
||||
"connectors": {
|
||||
"iframe": {
|
||||
"url": "./index.html"
|
||||
}
|
||||
}
|
||||
}
|
16
war/trello/new.html
Normal file
16
war/trello/new.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="https://trello.com/power-ups/power-up.css">
|
||||
<script src="https://trello.com/power-ups/power-up.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="content" style="width:100%;height:100%">
|
||||
<label for="diagName">Diagram Name</label>
|
||||
<input type="text" id="diagName" placeholder="New Diagram Name">
|
||||
<button id="createBtn">
|
||||
Create
|
||||
</button>
|
||||
</div>
|
||||
<script src="js/new.js"></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue