5.7.0.8.2 release
This commit is contained in:
parent
8ad8f27799
commit
5ad7d27418
27 changed files with 48403 additions and 1262 deletions
|
@ -1,3 +1,7 @@
|
|||
03-SEP-2016: 5.7.0.8.2
|
||||
|
||||
- Adds tolerance, uses fewer cells in scissors tool
|
||||
|
||||
27-SEP-2016: 5.7.0.7
|
||||
|
||||
- Adds filename for editors in Atlassian cloud plugins
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
5.7.0.7
|
||||
5.7.0.8.2
|
|
@ -79,15 +79,16 @@ public class GliffyDiagramConverter {
|
|||
this.gliffyDiagram = new GsonBuilder().create().fromJson(diagramString, Diagram.class);
|
||||
|
||||
collectVerticesAndConvert(vertices, gliffyDiagram.stage.getObjects(), null);
|
||||
|
||||
//sort objects by the order specified in the Gliffy diagram
|
||||
sortObjectsByOrder(gliffyDiagram.stage.getObjects());
|
||||
|
||||
drawioDiagram.getModel().beginUpdate();
|
||||
|
||||
try {
|
||||
// sort objects by the order specified in the Gliffy diagram
|
||||
sortObjectsByOrder(gliffyDiagram.stage.getObjects());
|
||||
|
||||
for (Object obj : gliffyDiagram.stage.getObjects()) {
|
||||
importObject(obj, null);
|
||||
importObject(obj, obj.parent);
|
||||
}
|
||||
|
||||
} finally {
|
||||
|
@ -118,24 +119,26 @@ public class GliffyDiagramConverter {
|
|||
}
|
||||
|
||||
/**
|
||||
* Imports the objects into the draw.io diagram. Recursively adds the
|
||||
* children of groups and swimlanes
|
||||
*
|
||||
* Imports the objects into the draw.io diagram. Recursively adds the children
|
||||
*/
|
||||
private void importObject(Object obj, mxCell parent) {
|
||||
private void importObject(Object obj, Object gliffyParent) {
|
||||
|
||||
if (obj.isGroup() || obj.isMindmap() || obj.isShape() || obj.isText() || obj.isImage() || obj.isSwimlane() || obj.isSvg()) {
|
||||
mxCell parent = gliffyParent != null ? gliffyParent.mxObject : null;
|
||||
|
||||
if (!obj.isLine()) {
|
||||
drawioDiagram.addCell(obj.mxObject, parent);
|
||||
|
||||
if (obj.isGroup() || obj.isSwimlane()) {
|
||||
if (obj.hasChildren()) {
|
||||
if (!obj.isSwimlane())// sort the children except for swimlanes, // their order value is "auto"
|
||||
sortObjectsByOrder(obj.children);
|
||||
|
||||
for (Object go : obj.children) {
|
||||
importObject(go, go.parent.mxObject);
|
||||
for (Object child : obj.children) {
|
||||
//do not import text as a child object, use inline text
|
||||
if(!child.isText())
|
||||
importObject(child, obj);
|
||||
}
|
||||
}
|
||||
} else if(obj.isLine()) {
|
||||
} else {
|
||||
// gets the terminal cells for the edge
|
||||
mxCell startTerminal = getTerminalCell(obj, true);
|
||||
mxCell endTerminal = getTerminalCell(obj, false);
|
||||
|
@ -144,10 +147,6 @@ public class GliffyDiagramConverter {
|
|||
|
||||
applyControlPoints(obj, startTerminal, endTerminal);
|
||||
}
|
||||
else
|
||||
{
|
||||
logger.warning("Unrecognized object, uid : " + obj.uid);
|
||||
}
|
||||
}
|
||||
|
||||
private void sortObjectsByOrder(Collection<Object> values) {
|
||||
|
@ -225,17 +224,19 @@ public class GliffyDiagramConverter {
|
|||
* up terminal cells for edges
|
||||
*/
|
||||
private void collectVerticesAndConvert(Map<Integer, Object> vertices, Collection<Object> objects, Object parent) {
|
||||
|
||||
for (Object object : objects) {
|
||||
object.mxObject = convertGliffyObject(object, null);
|
||||
|
||||
object.parent = parent;
|
||||
|
||||
if (object.isGroup())// only do this recursively for groups, swimlanes have children w/o uid
|
||||
{
|
||||
|
||||
convertGliffyObject(object, parent);
|
||||
|
||||
if(!object.isLine())
|
||||
vertices.put(object.id, object);
|
||||
|
||||
// don't collect for swimlanes and mindmaps, their children are treated differently
|
||||
if (object.hasChildren() && !object.isSwimlane() && !object.isMindmap())
|
||||
collectVerticesAndConvert(vertices, object.children, object);
|
||||
} else if (object.isShape() || object.isText() || object.isImage() || object.isSwimlane() || object.isSvg() || object.isMindmap()) {
|
||||
vertices.put(object.id, object);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -261,9 +262,9 @@ public class GliffyDiagramConverter {
|
|||
*
|
||||
*
|
||||
*/
|
||||
private mxCell convertGliffyObject(Object gliffyObject, mxCell parent) {
|
||||
private mxCell convertGliffyObject(Object gliffyObject, Object parent) {
|
||||
mxCell cell = new mxCell();
|
||||
cell.setParent(parent);
|
||||
|
||||
StringBuilder style = new StringBuilder();
|
||||
|
||||
mxGeometry geometry = new mxGeometry((int) gliffyObject.x, (int) gliffyObject.y, (int) gliffyObject.width, (int) gliffyObject.height);
|
||||
|
@ -279,12 +280,11 @@ public class GliffyDiagramConverter {
|
|||
}
|
||||
|
||||
String text = null;
|
||||
Object textObject = null;
|
||||
Object textObject = gliffyObject.getTextObject();
|
||||
|
||||
String link = null;
|
||||
|
||||
if (graphic != null) {
|
||||
textObject = gliffyObject.getTextObject();
|
||||
link = gliffyObject.getLink();
|
||||
|
||||
if (gliffyObject.isShape()) {
|
||||
|
@ -305,11 +305,10 @@ public class GliffyDiagramConverter {
|
|||
style.append("opacity=" + shape.opacity * 100).append(";");
|
||||
|
||||
style.append(DashStyleMapping.get(shape.dashStyle));
|
||||
style.append("whiteSpace=wrap;");
|
||||
text = gliffyObject.getTextRecursively();
|
||||
|
||||
} else if (gliffyObject.isLine()) {
|
||||
GliffyLine line = graphic.getLine();
|
||||
GliffyLine line = graphic.Line;
|
||||
|
||||
cell.setEdge(true);
|
||||
style.append("strokeWidth=" + line.strokeWidth).append(";");
|
||||
style.append("strokeColor=" + line.strokeColor).append(";");
|
||||
|
@ -320,20 +319,27 @@ public class GliffyDiagramConverter {
|
|||
|
||||
geometry.setX(0);
|
||||
geometry.setY(0);
|
||||
|
||||
text = gliffyObject.getText();
|
||||
|
||||
} else if (gliffyObject.isText()) {
|
||||
|
||||
textObject = gliffyObject;
|
||||
cell.setVertex(true);
|
||||
style.append("text;whiteSpace=wrap;");
|
||||
text = gliffyObject.getText();
|
||||
style.append("text;whiteSpace=wrap;html=1;nl2Br=0;");
|
||||
cell.setValue(gliffyObject.getText());
|
||||
|
||||
//if text is a child of a cell, use relative geometry and set X and Y to 0
|
||||
if(gliffyObject.parent != null && !gliffyObject.parent.isGroup())
|
||||
{
|
||||
mxGeometry parentGeometry = gliffyObject.parent.mxObject.getGeometry();
|
||||
cell.setGeometry(new mxGeometry(0, 0, parentGeometry.getWidth(), parentGeometry.getHeight()));
|
||||
cell.getGeometry().setRelative(true);
|
||||
}
|
||||
|
||||
} else if (gliffyObject.isImage()) {
|
||||
GliffyImage image = graphic.getImage();
|
||||
cell.setVertex(true);
|
||||
style.append("shape=" + StencilTranslator.translate(gliffyObject.uid)).append(";");
|
||||
style.append("image=" + image.getUrl()).append(";");
|
||||
|
||||
text = gliffyObject.getText();
|
||||
}
|
||||
else if (gliffyObject.isSvg()) {
|
||||
GliffySvg svg = graphic.Svg;
|
||||
|
@ -350,7 +356,7 @@ public class GliffyDiagramConverter {
|
|||
style.append(StencilTranslator.translate(gliffyObject.uid)).append(";");
|
||||
|
||||
boolean vertical = true;
|
||||
gliffyObject.rotation = 0;
|
||||
|
||||
if (gliffyObject.uid.startsWith(Object.H_SWIMLANE)) {
|
||||
vertical = false;
|
||||
cell.getGeometry().setWidth(gliffyObject.height);
|
||||
|
@ -359,6 +365,8 @@ public class GliffyDiagramConverter {
|
|||
}
|
||||
|
||||
Object header = gliffyObject.children.get(0);// first child is the header of the swimlane
|
||||
Object headerText = header.children.get(0);
|
||||
|
||||
gliffyObject.children.remove(header);
|
||||
|
||||
GliffyShape shape = header.graphic.getShape();
|
||||
|
@ -368,7 +376,7 @@ public class GliffyDiagramConverter {
|
|||
style.append("strokeColor=" + shape.strokeColor).append(";");
|
||||
style.append("whiteSpace=wrap;");
|
||||
|
||||
text = header.getText();
|
||||
text = headerText.getText();
|
||||
|
||||
for (int i = 0; i < gliffyObject.children.size(); i++) // rest of the children are lanes
|
||||
{
|
||||
|
@ -387,15 +395,27 @@ public class GliffyDiagramConverter {
|
|||
mxCell mxLane = new mxCell();
|
||||
mxLane.setVertex(true);
|
||||
cell.insert(mxLane);
|
||||
mxLane.setValue(gLane.getText());
|
||||
mxLane.setValue(gLane.children.get(0).getText());
|
||||
mxLane.setStyle(laneStyle.toString());
|
||||
mxGeometry childGeometry = new mxGeometry(gLane.x, gLane.y, vertical ? gLane.width : gLane.height, vertical ? gLane.height : gLane.width);
|
||||
mxLane.setGeometry(childGeometry);
|
||||
gLane.mxObject = mxLane;
|
||||
}
|
||||
} else if (gliffyObject.isMindmap()) {
|
||||
Object child = gliffyObject.children.get(0);
|
||||
GliffyMindmap mindmap = child.graphic.Mindmap;
|
||||
}
|
||||
/* Gliffy mindmap objects have a 3 level hierarchy
|
||||
*
|
||||
* mindmap
|
||||
* rectangle
|
||||
* text
|
||||
*
|
||||
* Since mindmap object already converts to rectangle, rectangle object is removed and text object is put in it's place
|
||||
*
|
||||
*/
|
||||
else if (gliffyObject.isMindmap()) {
|
||||
Object rectangle = gliffyObject.children.get(0);
|
||||
Object textObj = rectangle.children.get(0);
|
||||
|
||||
GliffyMindmap mindmap = rectangle.graphic.Mindmap;
|
||||
|
||||
style.append("shape=" + StencilTranslator.translate(gliffyObject.uid)).append(";");
|
||||
style.append("shadow=" + (mindmap.dropShadow ? 1 : 0)).append(";");
|
||||
|
@ -409,7 +429,12 @@ public class GliffyDiagramConverter {
|
|||
|
||||
cell.setVertex(true);
|
||||
|
||||
text = child.getTextRecursively();
|
||||
mxCell textObjMx = convertGliffyObject(textObj, gliffyObject);
|
||||
textObjMx.setGeometry(new mxGeometry(0, 0, gliffyObject.width, gliffyObject.height));
|
||||
textObjMx.getGeometry().setRelative(true);
|
||||
|
||||
//sets the grandchild as a child
|
||||
gliffyObject.children.set(0, textObj);
|
||||
}
|
||||
|
||||
if (gliffyObject.rotation != 0) {
|
||||
|
@ -419,9 +444,11 @@ public class GliffyDiagramConverter {
|
|||
if (!gliffyObject.isLine() && textObject != null) {
|
||||
style.append(textObject.graphic.getText().getStyle());
|
||||
}
|
||||
|
||||
if (text != null && !text.equals("")) {
|
||||
style.append("html=1;nl2Br=0;");// nl2Br=0 stops newline from becoming <br>
|
||||
|
||||
if(textObject != null)
|
||||
{
|
||||
cell.setValue(textObject.getText());
|
||||
style.append("html=1;nl2Br=0;whiteSpace=wrap");
|
||||
}
|
||||
|
||||
if(link != null)
|
||||
|
@ -434,15 +461,10 @@ public class GliffyDiagramConverter {
|
|||
if(text != null && !text.equals(""))
|
||||
uo.setAttribute("label", text);
|
||||
}
|
||||
else if(text != null && !text.equals(""))
|
||||
{
|
||||
cell.setValue(text);
|
||||
}
|
||||
|
||||
cell.setStyle(style.toString());
|
||||
gliffyObject.mxObject = cell;
|
||||
|
||||
return cell;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -9,6 +9,9 @@ public class GliffyText
|
|||
private String html;
|
||||
|
||||
private String valign;
|
||||
|
||||
//extracted from html
|
||||
private String halign;
|
||||
|
||||
private String vposition;
|
||||
|
||||
|
@ -28,8 +31,7 @@ public class GliffyText
|
|||
|
||||
private static Pattern pattern = Pattern.compile("<p(.*?)<\\/p>");
|
||||
|
||||
private static Pattern textAlignPattern = Pattern.compile(
|
||||
".*text-align: ?(left|center|right).*", Pattern.DOTALL);
|
||||
private static Pattern textAlign = Pattern.compile(".*(text-align: ?(left|center|right);).*", Pattern.DOTALL);
|
||||
|
||||
public GliffyText()
|
||||
{
|
||||
|
@ -37,50 +39,40 @@ public class GliffyText
|
|||
|
||||
public String getHtml()
|
||||
{
|
||||
halign = halign == null ? getHorizontalTextAlignment() : halign;
|
||||
return replaceParagraphWithDiv(html);
|
||||
}
|
||||
|
||||
//this is never invoked by Gson builder
|
||||
public void setHtml(String html)
|
||||
{
|
||||
this.html = html;
|
||||
}
|
||||
|
||||
public String getStyle()
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
//vertical label position
|
||||
if (vposition.equals("above"))
|
||||
{
|
||||
sb.append("verticalLabelPosition=top;").append(
|
||||
"verticalAlign=bottom;");
|
||||
}
|
||||
sb.append("verticalLabelPosition=top;");
|
||||
else if (vposition.equals("below"))
|
||||
{
|
||||
sb.append("verticalLabelPosition=bottom;").append(
|
||||
"verticalAlign=top;");
|
||||
}
|
||||
sb.append("verticalLabelPosition=bottom;");
|
||||
else if (vposition.equals("none"))
|
||||
{
|
||||
sb.append("verticalAlign=").append(valign).append(";");
|
||||
}
|
||||
|
||||
if (hposition.equals("left"))
|
||||
{
|
||||
sb.append("labelPosition=left;").append("align=right;");
|
||||
}
|
||||
else if (hposition.equals("right"))
|
||||
{
|
||||
sb.append("labelPosition=right;").append("align=left;");
|
||||
}
|
||||
else if (hposition.equals("none"))
|
||||
{
|
||||
String hAlign = getHorizontalTextAlignment();
|
||||
if (hAlign != null)
|
||||
{
|
||||
sb.append("align=").append(hAlign).append(";");
|
||||
}
|
||||
}
|
||||
|
||||
sb.append("verticalLabelPosition=middle;");
|
||||
|
||||
//vertical label align
|
||||
sb.append("verticalAlign=").append(valign).append(";");
|
||||
|
||||
//horizontal label position
|
||||
if (hposition.equals("none"))
|
||||
sb.append("labelPosition=center;");
|
||||
else
|
||||
sb.append("labelPosition=").append(hposition).append(";");
|
||||
|
||||
//horizontal label align
|
||||
if (halign != null)
|
||||
sb.append("align=").append(halign).append(";");
|
||||
|
||||
sb.append("spacingLeft=").append(paddingLeft).append(";");
|
||||
sb.append("spacingRight=").append(paddingRight).append(";");
|
||||
sb.append("spacingTop=").append(paddingTop).append(";");
|
||||
|
@ -101,13 +93,19 @@ public class GliffyText
|
|||
return sb.length() > 0 ? sb.toString() : html;
|
||||
}
|
||||
|
||||
/**
|
||||
* Extracts horizontal text alignment from html and removes it
|
||||
* so it does not interfere with alignment set in mxCell style
|
||||
* @return horizontal text alignment or null if there is none
|
||||
*/
|
||||
private String getHorizontalTextAlignment()
|
||||
{
|
||||
Matcher m = textAlignPattern.matcher(html);
|
||||
Matcher m = textAlign.matcher(html);
|
||||
|
||||
if (m.matches())
|
||||
{
|
||||
return m.group(1);
|
||||
html = html.replaceAll("text-align: ?\\w*;", "");
|
||||
return m.group(2);
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
|
@ -180,48 +180,9 @@ public class Object
|
|||
return null;
|
||||
}
|
||||
|
||||
public String getTextRecursively()
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
List<Object> textObjs = new ArrayList<Object>();
|
||||
getTextObjects(this, textObjs);
|
||||
|
||||
Iterator<Object> it = textObjs.iterator();
|
||||
|
||||
while (it.hasNext())
|
||||
{
|
||||
Object to = it.next();
|
||||
sb.append(to.graphic.getText().getHtml());
|
||||
if (it.hasNext())
|
||||
sb.append("<hr>");
|
||||
}
|
||||
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
public String getText()
|
||||
{
|
||||
if (isText())
|
||||
return graphic.getText().getHtml();
|
||||
|
||||
Object to = getTextObject();
|
||||
|
||||
return to != null ? to.graphic.getText().getHtml() : null;
|
||||
|
||||
}
|
||||
|
||||
private void getTextObjects(Object obj, List<Object> objects)
|
||||
{
|
||||
if (obj.isText())
|
||||
objects.add(obj);
|
||||
else if (obj.children != null)
|
||||
{
|
||||
for (Object ob : obj.children)
|
||||
{
|
||||
getTextObjects(ob, objects);
|
||||
}
|
||||
}
|
||||
return graphic.getText().getHtml();
|
||||
}
|
||||
|
||||
public String getLink()
|
||||
|
|
|
@ -1,113 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) 2006-2016, JGraph Ltd
|
||||
* Copyright (c) 2006-2016, Gaudenz Alder
|
||||
*/
|
||||
package com.mxgraph.online;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import javax.servlet.http.HttpServlet;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
/**
|
||||
* Servlet implementation class OpenServlet
|
||||
*/
|
||||
public class IconSearchServlet extends HttpServlet
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Path component under war/ to locate iconfinder_key file.
|
||||
*/
|
||||
public static final String API_KEY_FILE_PATH = "/WEB-INF/iconfinder_key";
|
||||
|
||||
/**
|
||||
* API key for iconfinder.
|
||||
*/
|
||||
public static String API_KEY = null;
|
||||
|
||||
private static final Logger log = Logger.getLogger(IconSearchServlet.class
|
||||
.getName());
|
||||
|
||||
/**
|
||||
* @see HttpServlet#HttpServlet()
|
||||
*/
|
||||
public IconSearchServlet()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads the key.
|
||||
*/
|
||||
protected void updateKey()
|
||||
{
|
||||
if (API_KEY == null)
|
||||
{
|
||||
try
|
||||
{
|
||||
API_KEY = Utils.readInputStream(
|
||||
getServletContext().getResourceAsStream(
|
||||
getAPIKeyFilePath())).replaceAll("\n", "");
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
throw new RuntimeException("API key file path invalid.");
|
||||
}
|
||||
}
|
||||
|
||||
if (API_KEY.equals("Replace_with_your_own_iconfinder_key"))
|
||||
{
|
||||
throw new RuntimeException("Iconfinder API key template used, replace it with your own.");
|
||||
}
|
||||
}
|
||||
|
||||
public void doGet(HttpServletRequest request, HttpServletResponse response)
|
||||
{
|
||||
doPost(request, response);
|
||||
}
|
||||
|
||||
public void doPost(HttpServletRequest request, HttpServletResponse response)
|
||||
{
|
||||
updateKey();
|
||||
|
||||
try
|
||||
{
|
||||
String query = request.getParameter("q");
|
||||
URL url = new URL("https://www.iconfinder.com/xml/search/?q="
|
||||
+ Utils.encodeURIComponent(query,
|
||||
Utils.CHARSET_FOR_URL_ENCODING) + "&p="
|
||||
+ request.getParameter("p") + "&c="
|
||||
+ request.getParameter("c") + "&l="
|
||||
+ request.getParameter("l")
|
||||
+ "&price=nonpremium&min=4&max=130&api_key=" + API_KEY);
|
||||
|
||||
log.log(Level.CONFIG, "iconsearch=" + query);
|
||||
|
||||
response.addHeader("Access-Control-Allow-Origin", "*");
|
||||
response.addHeader("Access-Control-Allow-Methods",
|
||||
"POST, GET, OPTIONS, PUT, DELETE, HEAD");
|
||||
|
||||
Utils.copy(url.openStream(), response.getOutputStream());
|
||||
response.getOutputStream().flush();
|
||||
response.getOutputStream().close();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
System.out.println(e.getMessage());
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
protected String getAPIKeyFilePath()
|
||||
{
|
||||
return API_KEY_FILE_PATH;
|
||||
}
|
||||
}
|
|
@ -168,7 +168,7 @@ public class OpenServlet extends HttpServlet
|
|||
{
|
||||
// Creates a graph that contains a model but does not validate
|
||||
// since that is not needed for the model and not allowed on GAE
|
||||
mxGraph graph = new mxGraph()
|
||||
mxGraph graph = new mxGraphHeadless()
|
||||
{
|
||||
public mxRectangle graphModelChanged(mxIGraphModel sender,
|
||||
List<mxUndoableChange> changes)
|
||||
|
@ -176,12 +176,21 @@ public class OpenServlet extends HttpServlet
|
|||
return null;
|
||||
}
|
||||
};
|
||||
|
||||
mxGraphMlCodec.decode(mxXmlUtils.parseXml(upfile), graph);
|
||||
xml = mxXmlUtils.getXml(new mxCodec().encode(graph.getModel()));
|
||||
}
|
||||
else if (ENABLE_VDX_SUPPORT && (vdx || vsdx))
|
||||
{
|
||||
mxGraph graph = new mxGraphHeadless();
|
||||
mxGraph graph = new mxGraphHeadless()
|
||||
{
|
||||
public mxRectangle graphModelChanged(mxIGraphModel sender,
|
||||
List<mxUndoableChange> changes)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
};
|
||||
|
||||
graph.setConstrainChildren(false);
|
||||
mxVsdxCodec vdxCodec = new mxVsdxCodec();
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
|
||||
<application>drawdotio</application>
|
||||
<!-- IMPORTANT! DO NOT CHANGE THIS VALUE IN SOURCE CONTROL! -->
|
||||
<version>5-7-0-7</version>
|
||||
<version>5-7-0-8-2</version>
|
||||
|
||||
<!-- Configure java.util.logging -->
|
||||
<system-properties>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
CACHE MANIFEST
|
||||
|
||||
# THIS FILE WAS GENERATED. DO NOT MODIFY!
|
||||
# 09/27/2016 11:52 AM
|
||||
# 10/03/2016 03:57 PM
|
||||
|
||||
/app.html
|
||||
/index.html?offline=1
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
const electron = require('electron')
|
||||
const electron = require('electron');
|
||||
const remote = electron.remote;
|
||||
const dialog = electron.dialog;
|
||||
var fs = require('fs');
|
||||
var path = require('path');
|
||||
|
||||
// Module to control application life.
|
||||
const app = electron.app
|
||||
// Module to create native browser window.
|
||||
|
|
BIN
war/images/sidebar-veeam.png
Normal file
BIN
war/images/sidebar-veeam.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 340 KiB |
|
@ -29,7 +29,6 @@
|
|||
* - test=1: For developers only
|
||||
* - drawdev=1: For developers only
|
||||
* - export=URL for export: For developers only
|
||||
* - pages=1: For developers only
|
||||
* - page=n: For developers only
|
||||
* - ignoremime=1: For developers only (see DriveClient.js). Use Cmd-S to override mime.
|
||||
* - createindex=1: For developers only (see etc/build/README)
|
||||
|
@ -322,6 +321,12 @@
|
|||
mxscript('js/app.min.js');
|
||||
}
|
||||
|
||||
if (window && window.process && window.process.type)
|
||||
{
|
||||
// Electron
|
||||
mxscript('js/diagramly/ElectronApp.js');
|
||||
}
|
||||
|
||||
// Adds basic error handling
|
||||
window.onerror = function()
|
||||
{
|
||||
|
@ -332,6 +337,7 @@
|
|||
status.innerHTML = 'Page could not be loaded. Please try refreshing.';
|
||||
}
|
||||
};
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body class="geEditor">
|
||||
|
@ -370,12 +376,12 @@
|
|||
<tr>
|
||||
<td id="geFooterItem2">
|
||||
<a title="HTML5 JavaScript Diagramming" target="_blank" href="https://github.com/jgraph/draw.io">
|
||||
<img border="0" align="absmiddle" style="margin-top:-4px;padding-right:10px;"
|
||||
src="images/glyphicons_star.png"/>Source code now on Github
|
||||
<img border="0" align="absmiddle" style="margin-top:-2px;padding-right:14px;"
|
||||
src="images/glyphicons_github.png"/>Fork us on Github
|
||||
</a>
|
||||
</td>
|
||||
<td id="geFooterItem1">
|
||||
<a title="#1 Rated Confluence Add-on" target="_blank"
|
||||
<a id="geFooterLink1" title="#1 Rated Confluence Add-on" target="_blank"
|
||||
href="https://marketplace.atlassian.com/plugins/com.mxgraph.confluence.plugins.diagramly/server/overview">
|
||||
<img border="0" width="27" height="24" align="absmiddle" style="padding-right:16px;"
|
||||
src="images/logo-confluence.png"/>#1 Rated Confluence Add-on
|
||||
|
@ -390,6 +396,13 @@
|
|||
*/
|
||||
App.main();
|
||||
|
||||
// Logs footer1 clicks
|
||||
document.getElementById("geFooterLink1").onclick = function()
|
||||
{
|
||||
var img = new Image();
|
||||
img.src = 'log?msg=geFooterLink1:' + '&v=' + encodeURIComponent(EditorUi.VERSION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Analytics
|
||||
*/
|
||||
|
|
259
war/js/app.min.js
vendored
259
war/js/app.min.js
vendored
|
@ -84,7 +84,7 @@ u.URIEFFECTS=u.J;u.M={UNSANDBOXED:2,SANDBOXED:1,DATA:0};u.ltypes=u.M;u.I={"a::hr
|
|||
e){var c,g=/(<\/|<\!--|<[!?]|[&<>])/g;c=b+"";if(ga)c=c.split(g);else{for(var k=[],l=0,n;(n=g.exec(c))!==f;)k.push(c.substring(l,n.index)),k.push(n[0]),l=n.index+n[0].length;k.push(c.substring(l));c=k}t(a,c,0,{r:d,C:d},e)}}function u(b,a,d,e,c){return function(){t(b,a,d,e,c)}}function t(a,d,e,f,g){try{a.H&&0==e&&a.H(g);for(var k,l,n,m=d.length;e<m;){var z=d[e++],x=d[e];switch(z){case "\x26":ea.test(x)?(a.e&&a.e("\x26"+x,g,$,u(a,d,e,f,g)),e++):a.e&&a.e("\x26amp;",g,$,u(a,d,e,f,g));break;case "\x3c/":if(k=
|
||||
/^([-\w:]+)[^\'\"]*/.exec(x))if(k[0].length===x.length&&"\x3e"===d[e+1])e+=2,n=k[1].toLowerCase(),a.t&&a.t(n,g,$,u(a,d,e,f,g));else{var y=d,r=e,s=a,E=g,D=$,A=f,U=p(y,r);U?(s.t&&s.t(U.name,E,D,u(s,y,r,A,E)),e=U.next):e=y.length}else a.e&&a.e("\x26lt;/",g,$,u(a,d,e,f,g));break;case "\x3c":if(k=/^([-\w:]+)\s*\/?/.exec(x))if(k[0].length===x.length&&"\x3e"===d[e+1]){e+=2;n=k[1].toLowerCase();a.w&&a.w(n,[],g,$,u(a,d,e,f,g));var I=b.f[n];I&ca&&(e=q(d,{name:n,next:e,c:I},a,g,$,f))}else{var y=d,r=a,s=g,E=
|
||||
$,D=f,R=p(y,e);R?(r.w&&r.w(R.name,R.R,s,E,u(r,y,R.next,D,s)),e=R.c&ca?q(y,R,r,s,E,D):R.next):e=y.length}else a.e&&a.e("\x26lt;",g,$,u(a,d,e,f,g));break;case "\x3c!--":if(!f.C){for(l=e+1;l<m&&!("\x3e"===d[l]&&/--$/.test(d[l-1]));l++);if(l<m){if(a.A){var J=d.slice(e,l).join("");a.A(J.substr(0,J.length-2),g,$,u(a,d,l+1,f,g))}e=l+1}else f.C=c}f.C&&a.e&&a.e("\x26lt;!--",g,$,u(a,d,e,f,g));break;case "\x3c!":if(/^\w/.test(x)){if(!f.r){for(l=e+1;l<m&&"\x3e"!==d[l];l++);l<m?e=l+1:f.r=c}f.r&&a.e&&a.e("\x26lt;!",
|
||||
g,$,u(a,d,e,f,g))}else a.e&&a.e("\x26lt;!",g,$,u(a,d,e,f,g));break;case "\x3c?":if(!f.r){for(l=e+1;l<m&&"\x3e"!==d[l];l++);l<m?e=l+1:f.r=c}f.r&&a.e&&a.e("\x26lt;?",g,$,u(a,d,e,f,g));break;case "\x3e":a.e&&a.e("\x26gt;",g,$,u(a,d,e,f,g));break;case "":break;default:a.e&&a.e(z,g,$,u(a,d,e,f,g))}}a.B&&a.B(g)}catch(K){if(K!==$)throw K;}}function q(a,d,e,c,f,g){var k=a.length;fa.hasOwnProperty(d.name)||(fa[d.name]=RegExp("^"+d.name+"(?:[\\s\\/]|$)","i"));for(var n=fa[d.name],m=d.next,t=d.next+1;t<k&&!("\x3c/"===
|
||||
g,$,u(a,d,e,f,g))}else a.e&&a.e("\x26lt;!",g,$,u(a,d,e,f,g));break;case "\x3c?":if(!f.r){for(l=e+1;l<m&&"\x3e"!==d[l];l++);l<m?e=l+1:f.r=c}f.r&&a.e&&a.e("\x26lt;?",g,$,u(a,d,e,f,g));break;case "\x3e":a.e&&a.e("\x26gt;",g,$,u(a,d,e,f,g));break;case "":break;default:a.e&&a.e(z,g,$,u(a,d,e,f,g))}}a.B&&a.B(g)}catch(H){if(H!==$)throw H;}}function q(a,d,e,c,f,g){var k=a.length;fa.hasOwnProperty(d.name)||(fa[d.name]=RegExp("^"+d.name+"(?:[\\s\\/]|$)","i"));for(var n=fa[d.name],m=d.next,t=d.next+1;t<k&&!("\x3c/"===
|
||||
a[t-1]&&n.test(a[t]));t++);t<k&&(t-=1);k=a.slice(m,t).join("");if(d.c&b.c.CDATA)e.z&&e.z(k,c,f,u(e,a,t,g,c));else if(d.c&b.c.RCDATA)e.F&&e.F(l(k),c,f,u(e,a,t,g,c));else throw Error("bug");return t}function p(a,e){var f=/^([-\w:]+)/.exec(a[e]),k={};k.name=f[1].toLowerCase();k.c=b.f[k.name];for(var l=a[e].substr(f[0].length),n=e+1,m=a.length;n<m&&"\x3e"!==a[n];n++)l+=a[n];if(!(m<=n)){for(var u=[];""!==l;)if(f=R.exec(l))if(f[4]&&!f[5]||f[6]&&!f[7]){for(var f=f[4]||f[6],t=d,l=[l,a[n++]];n<m;n++){if(t){if("\x3e"===
|
||||
a[n])break}else 0<=a[n].indexOf(f)&&(t=c);l.push(a[n])}if(m<=n)break;l=l.join("")}else{var t=f[1].toLowerCase(),q;if(f[2]){q=f[3];var z=q.charCodeAt(0);if(34===z||39===z)q=q.substr(1,q.length-2);q=g(q.replace(S,""))}else q="";u.push(t,q);l=l.substr(f[0].length)}else l=l.replace(/^[\s\S][^a-z\s]*/,"");k.R=u;k.next=n+1;return k}}function r(e){function c(b,a){l||a.push(b)}var g,l;return m({startDoc:function(){g=[];l=d},startTag:function(d,c,n){if(!l&&b.f.hasOwnProperty(d)){var m=b.f[d];if(!(m&b.c.FOLDABLE)){var u=
|
||||
e(d,c);if(u){if("object"!==typeof u)throw Error("tagPolicy did not return object (old API?)");if("attribs"in u)c=u.attribs;else throw Error("tagPolicy gave no attribs");var t;"tagName"in u?(t=u.tagName,u=b.f[t]):(t=d,u=m);if(m&b.c.OPTIONAL_ENDTAG){var q=g[g.length-1];q&&q.D===d&&(q.v!==t||d!==t)&&n.push("\x3c/",q.v,"\x3e")}m&b.c.EMPTY||g.push({D:d,v:t});n.push("\x3c",t);d=0;for(q=c.length;d<q;d+=2){var p=c[d],z=c[d+1];z!==f&&z!==a&&n.push(" ",p,'\x3d"',k(z),'"')}n.push("\x3e");m&b.c.EMPTY&&!(u&b.c.EMPTY)&&
|
||||
|
@ -2494,7 +2494,7 @@ return null!=b&&1==b.style.html};mxCellEditor.prototype.saveSelection=function()
|
|||
d;++a)sel.addRange(b[a])}else document.selection&&b.select&&b.select()};var b=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=function(a){null!=a.text&&(a.text.replaceLinefeeds="0"!=mxUtils.getValue(a.style,"nl2Br","1"));b.apply(this,arguments)};var e=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(b,a){this.isKeepFocusEvent(b)||!mxEvent.isAltDown(b.getEvent())?e.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=
|
||||
function(b){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=!1;var g=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(b,a){g.apply(this,arguments);var d=this.graph.view.getState(b);this.textarea.className=null!=d&&1==d.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(b);var d=this.graph.getModel().getParent(b),
|
||||
c=this.graph.getCellGeometry(b);this.graph.getModel().isEdge(d)&&null!=c&&c.relative||this.graph.getModel().isEdge(b)?mxClient.IS_QUIRKS?this.textarea.style.border="gray dotted 1px":this.textarea.style.outline=mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_FF&&mxClient.IS_WIN?"gray dotted 1px":"":mxClient.IS_QUIRKS&&(this.textarea.style.outline="none",this.textarea.style.border="")};var k=mxCellEditor.prototype.installListeners;mxCellEditor.prototype.installListeners=function(b){function a(b,d){d.originalNode=
|
||||
b;b=b.firstChild;for(var c=d.firstChild;null!=b&&null!=c;)a(b,c),b=b.nextSibling,c=c.nextSibling;return d}function d(b,a){if(a.originalNode!=b)c(b);else if(null!=b){b=b.firstChild;for(a=a.firstChild;null!=b;){var e=b.nextSibling;null==a?c(b):(d(b,a),a=a.nextSibling);b=e}}}function c(b){for(var a=b.firstChild;null!=a;){var d=a.nextSibling;c(a);a=d}(1!=b.nodeType||"BR"!==b.nodeName&&null==b.firstChild)&&(3!=b.nodeType||0==mxUtils.trim(mxUtils.getTextContent(b)).length)?b.parentNode.removeChild(b):(3==
|
||||
b;b=b.firstChild;for(var c=d.firstChild;null!=b&&null!=c;)a(b,c),b=b.nextSibling,c=c.nextSibling;return d}function d(b,a){if(null!=b)if(a.originalNode!=b)c(b);else{b=b.firstChild;for(a=a.firstChild;null!=b;){var e=b.nextSibling;null==a?c(b):(d(b,a),a=a.nextSibling);b=e}}}function c(b){for(var a=b.firstChild;null!=a;){var d=a.nextSibling;c(a);a=d}(1!=b.nodeType||"BR"!==b.nodeName&&null==b.firstChild)&&(3!=b.nodeType||0==mxUtils.trim(mxUtils.getTextContent(b)).length)?b.parentNode.removeChild(b):(3==
|
||||
b.nodeType&&mxUtils.setTextContent(b,mxUtils.getTextContent(b).replace(/\n|\r/g,"")),1==b.nodeType&&(b.removeAttribute("style"),b.removeAttribute("class"),b.removeAttribute("width"),b.removeAttribute("cellpadding"),b.removeAttribute("cellspacing"),b.removeAttribute("border")))}k.apply(this,arguments);!mxClient.IS_QUIRKS&&7!==document.documentMode&&8!==document.documentMode&&mxEvent.addListener(this.textarea,"paste",mxUtils.bind(this,function(b){var c=a(this.textarea,this.textarea.cloneNode(!0));window.setTimeout(mxUtils.bind(this,
|
||||
function(){d(this.textarea,c)}),0)}))};mxCellEditor.prototype.toggleViewMode=function(){var b=this.graph.view.getState(this.editingCell),a=null!=b&&"0"!=mxUtils.getValue(b.style,"nl2Br","1"),d=this.saveSelection();if(this.codeViewMode){k=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<k.length&&"\n"==k.charAt(k.length-1)&&(k=k.substring(0,k.length-1));k=this.graph.sanitizeHtml(a?k.replace(/\n/g,"\x3cbr/\x3e"):k);this.textarea.className="mxCellEditor geContentEditable";var c=mxUtils.getValue(b.style,
|
||||
mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE),a=mxUtils.getValue(b.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY),e=mxUtils.getValue(b.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),f=(mxUtils.getValue(b.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,g=(mxUtils.getValue(b.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,b=(mxUtils.getValue(b.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==
|
||||
|
@ -2527,32 +2527,32 @@ HoverIcons.prototype.triangleDown,Sidebar.prototype.triangleLeft=HoverIcons.prot
|
|||
if(Graph.touchStyle){if(mxClient.IS_TOUCH||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints)mxShape.prototype.svgStrokeTolerance=18,mxVertexHandler.prototype.tolerance=12,mxEdgeHandler.prototype.tolerance=12,Graph.prototype.tolerance=12,mxVertexHandler.prototype.rotationHandleVSpacing=-24,mxConstraintHandler.prototype.getTolerance=function(b){return mxEvent.isMouseEvent(b.getEvent())?4:this.graph.getTolerance()};mxPanningHandler.prototype.isPanningTrigger=function(b){var a=b.getEvent();return null==
|
||||
b.getState()&&!mxEvent.isMouseEvent(a)||mxEvent.isPopupTrigger(a)&&(null==b.getState()||mxEvent.isControlDown(a)||mxEvent.isShiftDown(a))};var v=mxGraphHandler.prototype.mouseDown;mxGraphHandler.prototype.mouseDown=function(b,a){v.apply(this,arguments);mxEvent.isTouchEvent(a.getEvent())&&this.graph.isCellSelected(a.getCell())&&1<this.graph.getSelectionCount()&&(this.delayedSelection=!1)}}else mxPanningHandler.prototype.isPanningTrigger=function(b){var a=b.getEvent();return mxEvent.isLeftMouseButton(a)&&
|
||||
(this.useLeftButtonForPanning&&null==b.getState()||mxEvent.isControlDown(a)&&!mxEvent.isShiftDown(a))||this.usePopupTrigger&&mxEvent.isPopupTrigger(a)};mxRubberband.prototype.isSpaceEvent=function(b){return this.graph.isEnabled()&&!this.graph.isCellLocked(this.graph.getDefaultParent())&&mxEvent.isControlDown(b.getEvent())&&mxEvent.isShiftDown(b.getEvent())};mxRubberband.prototype.mouseUp=function(b,a){var d=null!=this.div&&"none"!=this.div.style.display,c=null,e=null,f=null,g=null;null!=this.first&&
|
||||
null!=this.currentX&&null!=this.currentY&&(c=this.first.x,e=this.first.y,f=(this.currentX-c)/this.graph.view.scale,g=(this.currentY-e)/this.graph.view.scale,mxEvent.isAltDown(a.getEvent())||(f=this.graph.snap(f),g=this.graph.snap(g)));this.reset();if(d){if(this.isSpaceEvent(a)){this.graph.model.beginUpdate();try{for(var k=this.graph.getCellsBeyond(c,e,this.graph.getDefaultParent(),!0,!1),l=this.graph.getCellsBeyond(c,e,this.graph.getDefaultParent(),!1,!0),d=0;d<k.length;d++)if(this.graph.isCellMovable(k[d])){var n=
|
||||
this.graph.view.getState(k[d]),m=this.graph.getCellGeometry(k[d]);null!=n&&null!=m&&(m=m.clone(),m.translate(f,0),this.graph.model.setGeometry(k[d],m))}for(d=0;d<l.length;d++)this.graph.isCellMovable(l[d])&&(n=this.graph.view.getState(l[d]),m=this.graph.getCellGeometry(l[d]),null!=n&&null!=m&&(m=m.clone(),m.translate(0,g),this.graph.model.setGeometry(l[d],m)))}catch(t){null!=window.console&&console.log("Error in rubberband: "+t)}finally{this.graph.model.endUpdate()}}else f=new mxRectangle(this.x,
|
||||
this.y,this.width,this.height),this.graph.selectRegion(f,a.getEvent());a.consume()}};mxRubberband.prototype.mouseMove=function(b,a){if(!a.isConsumed()&&null!=this.first){var d=mxUtils.getScrollOrigin(this.graph.container),c=mxUtils.getOffset(this.graph.container);d.x-=c.x;d.y-=c.y;var e=a.getX()+d.x,f=a.getY()+d.y,g=this.first.x-e,k=this.first.y-f,l=this.graph.tolerance;if(null!=this.div||Math.abs(g)>l||Math.abs(k)>l)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(e,
|
||||
f),this.isSpaceEvent(a)?(e=this.x+this.width,f=this.y+this.height,g=this.graph.view.scale,mxEvent.isAltDown(a.getEvent())||(this.width=this.graph.snap(this.width/g)*g,this.height=this.graph.snap(this.height/g)*g,this.x<this.first.x&&(this.x=e-this.width),this.y<this.first.y&&(this.y=f-this.height)),this.div.style.left=this.x+"px",this.div.style.top=d.y+c.y+"px",this.div.style.width=Math.max(0,this.width)+"px",this.div.style.height=Math.max(0,this.graph.container.clientHeight)+"px",this.div.style.backgroundColor=
|
||||
"white",this.div.style.borderWidth="0px 1px 0px 1px",this.div.style.borderStyle="dashed",null==this.secondDiv&&(this.secondDiv=this.div.cloneNode(!0),this.div.parentNode.appendChild(this.secondDiv)),this.secondDiv.style.left=d.x+c.x+"px",this.secondDiv.style.top=this.y+"px",this.secondDiv.style.width=Math.max(0,this.graph.container.clientWidth)+"px",this.secondDiv.style.height=Math.max(0,this.height)+"px",this.secondDiv.style.borderWidth="1px 0px 1px 0px"):(this.div.style.backgroundColor="",this.div.style.borderWidth=
|
||||
"",this.div.style.borderStyle="",null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),a.consume()}};var z=mxRubberband.prototype.reset;mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);z.apply(this,arguments)};var y=(new Date).getTime(),x=0,D=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(b,a,d,c){D.apply(this,arguments);
|
||||
d!=this.currentTerminalState?(y=(new Date).getTime(),x=0):x=(new Date).getTime()-y;this.currentTerminalState=d};var A=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=function(b){return null!=this.currentTerminalState&&b.getState()==this.currentTerminalState&&2E3<x||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,"outlineConnect","1"))&&A.apply(this,arguments)};mxVertexHandler.prototype.isCustomHandleEvent=function(b){return!mxEvent.isShiftDown(b.getEvent())};
|
||||
mxEdgeHandler.prototype.createHandleShape=function(b,a){var d=null!=b&&0==b,c=this.state.getVisibleTerminalState(d),e=null!=b&&(0==b||b>=this.state.absolutePoints.length-1||this.constructor==mxElbowEdgeHandler&&2==b)?this.graph.getConnectionConstraint(this.state,c,d):null,d=null!=(null!=e?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(d),e):null)?this.fixedHandleImage:null!=e&&null!=c?this.terminalHandleImage:this.handleImage;if(null!=d)return d=new mxImageShape(new mxRectangle(0,
|
||||
0,d.width,d.height),d.src),d.preserveImageAspect=!1,d;d=mxConstants.HANDLE_SIZE;this.preferHtml&&(d-=1);return new mxRectangleShape(new mxRectangle(0,0,d,d),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};var B=mxVertexHandler.prototype.createSizerShape;mxVertexHandler.prototype.createSizerShape=function(b,a,d){this.handleImage=a==mxEvent.ROTATION_HANDLE?u:a==mxEvent.LABEL_HANDLE?this.secondaryHandleImage:this.handleImage;return B.apply(this,arguments)};var E=mxGraphHandler.prototype.getBoundingBox;
|
||||
mxGraphHandler.prototype.getBoundingBox=function(b){if(null!=b&&1==b.length){var a=this.graph.getModel(),d=a.getParent(b[0]),c=this.graph.getCellGeometry(b[0]);if(a.isEdge(d)&&null!=c&&c.relative&&(a=this.graph.view.getState(b[0]),null!=a&&2>a.width&&2>a.height&&null!=a.text&&null!=a.text.boundingBox))return mxRectangle.fromRectangle(a.text.boundingBox)}return E.apply(this,arguments)};var G=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(b){var a=
|
||||
this.graph.getModel(),d=a.getParent(b.cell),c=this.graph.getCellGeometry(b.cell);return a.isEdge(d)&&null!=c&&c.relative&&2>b.width&&2>b.height&&null!=b.text&&null!=b.text.boundingBox?(a=b.text.unrotatedBoundingBox||b.text.boundingBox,new mxRectangle(Math.round(a.x),Math.round(a.y),Math.round(a.width),Math.round(a.height))):G.apply(this,arguments)};var F=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(b,a){var d=this.graph.getModel(),c=d.getParent(this.state.cell),
|
||||
e=this.graph.getCellGeometry(this.state.cell);(this.getHandleForEvent(a)==mxEvent.ROTATION_HANDLE||!d.isEdge(c)||null==e||!e.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&F.apply(this,arguments)};mxVertexHandler.prototype.isRotationHandleVisible=function(){return this.graph.isEnabled()&&this.rotationEnabled&&this.graph.isCellRotatable(this.state.cell)&&(0>=mxGraphHandler.prototype.maxCells||this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells)};mxVertexHandler.prototype.rotateClick=
|
||||
function(){this.state.view.graph.turnShapes([this.state.cell])};var I=mxVertexHandler.prototype.mouseMove;mxVertexHandler.prototype.mouseMove=function(b,a){I.apply(this,arguments);null!=this.graph.graphHandler.first&&null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display="none")};var H=mxVertexHandler.prototype.mouseUp;mxVertexHandler.prototype.mouseUp=function(b,a){H.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=
|
||||
1==this.graph.getSelectionCount()?"":"none")};var L=mxVertexHandler.prototype.init;mxVertexHandler.prototype.init=function(){L.apply(this,arguments);var b=!1;null!=this.rotationShape&&this.rotationShape.node.setAttribute("title",mxResources.get("rotateTooltip"));var a=mxUtils.bind(this,function(){null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.specialHandle&&(this.specialHandle.node.style.display=
|
||||
this.graph.isEnabled()&&this.graph.getSelectionCount()<this.graph.graphHandler.maxCells?"":"none");this.redrawHandles()});this.selectionHandler=mxUtils.bind(this,function(b,d){a()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionHandler);this.changeHandler=mxUtils.bind(this,function(b,d){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell));a()});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);this.editingHandler=mxUtils.bind(this,function(b,
|
||||
a){this.redrawHandles()});this.graph.addListener(mxEvent.EDITING_STOPPED,this.editingHandler);var d=this.graph.getLinkForCell(this.state.cell);this.updateLinkHint(d);null!=d&&(b=!0);b&&this.redrawHandles()};mxVertexHandler.prototype.updateLinkHint=function(b){if(null==b||1<this.graph.getSelectionCount())null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);else if(null!=b){null==this.linkHint&&(this.linkHint=a(),this.linkHint.style.padding="4px 10px 6px 10px",
|
||||
this.linkHint.style.fontSize="90%",this.linkHint.style.opacity="1",this.linkHint.style.filter="",this.updateLinkHint(b),this.graph.container.appendChild(this.linkHint));var d=b;60<d.length&&(d=d.substring(0,36)+"..."+d.substring(d.length-20));var c=document.createElement("a");c.setAttribute("href",this.graph.getLinkUrl(b));c.setAttribute("title",b);null!=this.graph.linkTarget&&c.setAttribute("target",this.graph.linkTarget);mxUtils.write(c,d);this.linkHint.innerHTML="";this.linkHint.appendChild(c);
|
||||
this.graph.isEnabled()&&"function"===typeof this.graph.editLink&&(b=document.createElement("img"),b.setAttribute("src",IMAGE_PATH+"/edit.gif"),b.setAttribute("title",mxResources.get("editLink")),b.setAttribute("width","11"),b.setAttribute("height","11"),b.style.marginLeft="10px",b.style.marginBottom="-1px",b.style.cursor="pointer",this.linkHint.appendChild(b),mxEvent.addListener(b,"click",mxUtils.bind(this,function(b){this.graph.setSelectionCell(this.state.cell);this.graph.editLink();mxEvent.consume(b)})))}};
|
||||
mxEdgeHandler.prototype.updateLinkHint=mxVertexHandler.prototype.updateLinkHint;var N=mxEdgeHandler.prototype.init;mxEdgeHandler.prototype.init=function(){N.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.state.view.graph.connectionHandler.isEnabled()});var b=mxUtils.bind(this,function(){null!=this.linkHint&&(this.linkHint.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.labelShape&&(this.labelShape.node.style.display=this.graph.isEnabled()&&
|
||||
this.graph.getSelectionCount()<this.graph.graphHandler.maxCells?"":"none")});this.selectionHandler=mxUtils.bind(this,function(a,d){b()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionHandler);this.changeHandler=mxUtils.bind(this,function(a,d){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell));b();this.redrawHandles()});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);var a=this.graph.getLinkForCell(this.state.cell);null!=a&&(this.updateLinkHint(a),
|
||||
this.redrawHandles())};var T=mxConnectionHandler.prototype.init;mxConnectionHandler.prototype.init=function(){T.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.graph.connectionHandler.isEnabled()})};var W=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){W.apply(this);if(null!=this.state&&null!=this.linkHint){var b=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),a=new mxRectangle(this.state.x,this.state.y-
|
||||
22,this.state.width+24,this.state.height+22),b=mxUtils.getBoundingBox(a,this.state.style[mxConstants.STYLE_ROTATION]||"0",b),a=null!=b?mxUtils.getBoundingBox(this.state,this.state.style[mxConstants.STYLE_ROTATION]||"0"):this.state;null==b&&(b=this.state);this.linkHint.style.left=Math.round(a.x+(a.width-this.linkHint.clientWidth)/2)+"px";this.linkHint.style.top=Math.round(b.y+b.height+this.verticalOffset/2+6+this.state.view.graph.tolerance)+"px"}};var P=mxVertexHandler.prototype.reset;mxVertexHandler.prototype.reset=
|
||||
function(){P.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none")};var C=mxVertexHandler.prototype.destroy;mxVertexHandler.prototype.destroy=function(){C.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.selectionHandler&&(this.graph.getSelectionModel().removeListener(this.selectionHandler),this.selectionHandler=
|
||||
null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null);null!=this.editingHandler&&(this.graph.removeListener(this.editingHandler),this.editingHandler=null)};var O=mxEdgeHandler.prototype.redrawHandles;mxEdgeHandler.prototype.redrawHandles=function(){if(null!=this.marker&&(O.apply(this),null!=this.state&&null!=this.linkHint)){var b=this.state;null!=this.state.text&&null!=this.state.text.bounds&&(b=new mxRectangle(b.x,b.y,b.width,b.height),
|
||||
b.add(this.state.text.bounds));this.linkHint.style.left=Math.round(b.x+(b.width-this.linkHint.clientWidth)/2)+"px";this.linkHint.style.top=Math.round(b.y+b.height+6+this.state.view.graph.tolerance)+"px"}};var Q=mxEdgeHandler.prototype.reset;mxEdgeHandler.prototype.reset=function(){Q.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.visibility="")};var M=mxEdgeHandler.prototype.destroy;mxEdgeHandler.prototype.destroy=function(){M.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),
|
||||
this.linkHint=null);null!=this.selectionHandler&&(this.graph.getSelectionModel().removeListener(this.selectionHandler),this.selectionHandler=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null)}}();
|
||||
null!=this.currentX&&null!=this.currentY&&(c=this.first.x,e=this.first.y,f=(this.currentX-c)/this.graph.view.scale,g=(this.currentY-e)/this.graph.view.scale,mxEvent.isAltDown(a.getEvent())||(f=this.graph.snap(f),g=this.graph.snap(g)));this.reset();if(d){if(this.isSpaceEvent(a)){this.graph.model.beginUpdate();try{for(var k=this.graph.getCellsBeyond(c,e,this.graph.getDefaultParent(),!0,!0),d=0;d<k.length;d++)if(this.graph.isCellMovable(k[d])){var l=this.graph.view.getState(k[d]),n=this.graph.getCellGeometry(k[d]);
|
||||
null!=l&&null!=n&&(n=n.clone(),n.translate(f,g),this.graph.model.setGeometry(k[d],n))}}finally{this.graph.model.endUpdate()}}else f=new mxRectangle(this.x,this.y,this.width,this.height),this.graph.selectRegion(f,a.getEvent());a.consume()}};mxRubberband.prototype.mouseMove=function(b,a){if(!a.isConsumed()&&null!=this.first){var d=mxUtils.getScrollOrigin(this.graph.container),c=mxUtils.getOffset(this.graph.container);d.x-=c.x;d.y-=c.y;var c=a.getX()+d.x,d=a.getY()+d.y,e=this.first.x-c,f=this.first.y-
|
||||
d,g=this.graph.tolerance;if(null!=this.div||Math.abs(e)>g||Math.abs(f)>g)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(c,d),this.isSpaceEvent(a)?(c=this.x+this.width,d=this.y+this.height,e=this.graph.view.scale,mxEvent.isAltDown(a.getEvent())||(this.width=this.graph.snap(this.width/e)*e,this.height=this.graph.snap(this.height/e)*e,this.graph.isGridEnabled()||(this.width<this.graph.tolerance&&(this.width=0),this.height<this.graph.tolerance&&(this.height=0)),this.x<
|
||||
this.first.x&&(this.x=c-this.width),this.y<this.first.y&&(this.y=d-this.height)),this.div.style.borderStyle="dashed",this.div.style.backgroundColor="white",this.div.style.left=this.x+"px",this.div.style.top=this.y+"px",this.div.style.width=Math.max(0,this.width)+"px",this.div.style.height=this.graph.container.clientHeight+"px",this.div.style.borderWidth=0>=this.width?"0px 1px 0px 0px":"0px 1px 0px 1px",null==this.secondDiv&&(this.secondDiv=this.div.cloneNode(!0),this.div.parentNode.appendChild(this.secondDiv)),
|
||||
this.secondDiv.style.left=this.x+"px",this.secondDiv.style.top=this.y+"px",this.secondDiv.style.width=this.graph.container.clientWidth+"px",this.secondDiv.style.height=Math.max(0,this.height)+"px",this.secondDiv.style.borderWidth=0>=this.height?"1px 0px 0px 0px":"1px 0px 1px 0px"):(this.div.style.backgroundColor="",this.div.style.borderWidth="",this.div.style.borderStyle="",null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),a.consume()}};var z=mxRubberband.prototype.reset;
|
||||
mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);z.apply(this,arguments)};var y=(new Date).getTime(),x=0,D=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(b,a,d,c){D.apply(this,arguments);d!=this.currentTerminalState?(y=(new Date).getTime(),x=0):x=(new Date).getTime()-y;this.currentTerminalState=d};var A=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=
|
||||
function(b){return null!=this.currentTerminalState&&b.getState()==this.currentTerminalState&&2E3<x||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,"outlineConnect","1"))&&A.apply(this,arguments)};mxVertexHandler.prototype.isCustomHandleEvent=function(b){return!mxEvent.isShiftDown(b.getEvent())};mxEdgeHandler.prototype.createHandleShape=function(b,a){var d=null!=b&&0==b,c=this.state.getVisibleTerminalState(d),e=null!=b&&(0==b||b>=this.state.absolutePoints.length-
|
||||
1||this.constructor==mxElbowEdgeHandler&&2==b)?this.graph.getConnectionConstraint(this.state,c,d):null,d=null!=(null!=e?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(d),e):null)?this.fixedHandleImage:null!=e&&null!=c?this.terminalHandleImage:this.handleImage;if(null!=d)return d=new mxImageShape(new mxRectangle(0,0,d.width,d.height),d.src),d.preserveImageAspect=!1,d;d=mxConstants.HANDLE_SIZE;this.preferHtml&&(d-=1);return new mxRectangleShape(new mxRectangle(0,0,d,d),mxConstants.HANDLE_FILLCOLOR,
|
||||
mxConstants.HANDLE_STROKECOLOR)};var B=mxVertexHandler.prototype.createSizerShape;mxVertexHandler.prototype.createSizerShape=function(b,a,d){this.handleImage=a==mxEvent.ROTATION_HANDLE?u:a==mxEvent.LABEL_HANDLE?this.secondaryHandleImage:this.handleImage;return B.apply(this,arguments)};var E=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=function(b){if(null!=b&&1==b.length){var a=this.graph.getModel(),d=a.getParent(b[0]),c=this.graph.getCellGeometry(b[0]);if(a.isEdge(d)&&
|
||||
null!=c&&c.relative&&(a=this.graph.view.getState(b[0]),null!=a&&2>a.width&&2>a.height&&null!=a.text&&null!=a.text.boundingBox))return mxRectangle.fromRectangle(a.text.boundingBox)}return E.apply(this,arguments)};var G=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(b){var a=this.graph.getModel(),d=a.getParent(b.cell),c=this.graph.getCellGeometry(b.cell);return a.isEdge(d)&&null!=c&&c.relative&&2>b.width&&2>b.height&&null!=b.text&&null!=b.text.boundingBox?
|
||||
(a=b.text.unrotatedBoundingBox||b.text.boundingBox,new mxRectangle(Math.round(a.x),Math.round(a.y),Math.round(a.width),Math.round(a.height))):G.apply(this,arguments)};var F=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(b,a){var d=this.graph.getModel(),c=d.getParent(this.state.cell),e=this.graph.getCellGeometry(this.state.cell);(this.getHandleForEvent(a)==mxEvent.ROTATION_HANDLE||!d.isEdge(c)||null==e||!e.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&
|
||||
F.apply(this,arguments)};mxVertexHandler.prototype.isRotationHandleVisible=function(){return this.graph.isEnabled()&&this.rotationEnabled&&this.graph.isCellRotatable(this.state.cell)&&(0>=mxGraphHandler.prototype.maxCells||this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells)};mxVertexHandler.prototype.rotateClick=function(){this.state.view.graph.turnShapes([this.state.cell])};var I=mxVertexHandler.prototype.mouseMove;mxVertexHandler.prototype.mouseMove=function(b,a){I.apply(this,arguments);
|
||||
null!=this.graph.graphHandler.first&&null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display="none")};var H=mxVertexHandler.prototype.mouseUp;mxVertexHandler.prototype.mouseUp=function(b,a){H.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none")};var L=mxVertexHandler.prototype.init;mxVertexHandler.prototype.init=function(){L.apply(this,arguments);var b=
|
||||
!1;null!=this.rotationShape&&this.rotationShape.node.setAttribute("title",mxResources.get("rotateTooltip"));var a=mxUtils.bind(this,function(){null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.specialHandle&&(this.specialHandle.node.style.display=this.graph.isEnabled()&&this.graph.getSelectionCount()<this.graph.graphHandler.maxCells?"":"none");this.redrawHandles()});this.selectionHandler=mxUtils.bind(this,
|
||||
function(b,d){a()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionHandler);this.changeHandler=mxUtils.bind(this,function(b,d){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell));a()});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);this.editingHandler=mxUtils.bind(this,function(b,a){this.redrawHandles()});this.graph.addListener(mxEvent.EDITING_STOPPED,this.editingHandler);var d=this.graph.getLinkForCell(this.state.cell);this.updateLinkHint(d);
|
||||
null!=d&&(b=!0);b&&this.redrawHandles()};mxVertexHandler.prototype.updateLinkHint=function(b){if(null==b||1<this.graph.getSelectionCount())null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);else if(null!=b){null==this.linkHint&&(this.linkHint=a(),this.linkHint.style.padding="4px 10px 6px 10px",this.linkHint.style.fontSize="90%",this.linkHint.style.opacity="1",this.linkHint.style.filter="",this.updateLinkHint(b),this.graph.container.appendChild(this.linkHint));
|
||||
var d=b;60<d.length&&(d=d.substring(0,36)+"..."+d.substring(d.length-20));var c=document.createElement("a");c.setAttribute("href",this.graph.getLinkUrl(b));c.setAttribute("title",b);null!=this.graph.linkTarget&&c.setAttribute("target",this.graph.linkTarget);mxUtils.write(c,d);this.linkHint.innerHTML="";this.linkHint.appendChild(c);this.graph.isEnabled()&&"function"===typeof this.graph.editLink&&(b=document.createElement("img"),b.setAttribute("src",IMAGE_PATH+"/edit.gif"),b.setAttribute("title",mxResources.get("editLink")),
|
||||
b.setAttribute("width","11"),b.setAttribute("height","11"),b.style.marginLeft="10px",b.style.marginBottom="-1px",b.style.cursor="pointer",this.linkHint.appendChild(b),mxEvent.addListener(b,"click",mxUtils.bind(this,function(b){this.graph.setSelectionCell(this.state.cell);this.graph.editLink();mxEvent.consume(b)})))}};mxEdgeHandler.prototype.updateLinkHint=mxVertexHandler.prototype.updateLinkHint;var N=mxEdgeHandler.prototype.init;mxEdgeHandler.prototype.init=function(){N.apply(this,arguments);this.constraintHandler.isEnabled=
|
||||
mxUtils.bind(this,function(){return this.state.view.graph.connectionHandler.isEnabled()});var b=mxUtils.bind(this,function(){null!=this.linkHint&&(this.linkHint.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.labelShape&&(this.labelShape.node.style.display=this.graph.isEnabled()&&this.graph.getSelectionCount()<this.graph.graphHandler.maxCells?"":"none")});this.selectionHandler=mxUtils.bind(this,function(a,d){b()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionHandler);
|
||||
this.changeHandler=mxUtils.bind(this,function(a,d){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell));b();this.redrawHandles()});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);var a=this.graph.getLinkForCell(this.state.cell);null!=a&&(this.updateLinkHint(a),this.redrawHandles())};var T=mxConnectionHandler.prototype.init;mxConnectionHandler.prototype.init=function(){T.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.graph.connectionHandler.isEnabled()})};
|
||||
var W=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){W.apply(this);if(null!=this.state&&null!=this.linkHint){var b=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),a=new mxRectangle(this.state.x,this.state.y-22,this.state.width+24,this.state.height+22),b=mxUtils.getBoundingBox(a,this.state.style[mxConstants.STYLE_ROTATION]||"0",b),a=null!=b?mxUtils.getBoundingBox(this.state,this.state.style[mxConstants.STYLE_ROTATION]||"0"):this.state;null==
|
||||
b&&(b=this.state);this.linkHint.style.left=Math.round(a.x+(a.width-this.linkHint.clientWidth)/2)+"px";this.linkHint.style.top=Math.round(b.y+b.height+this.verticalOffset/2+6+this.state.view.graph.tolerance)+"px"}};var P=mxVertexHandler.prototype.reset;mxVertexHandler.prototype.reset=function(){P.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none")};var C=mxVertexHandler.prototype.destroy;
|
||||
mxVertexHandler.prototype.destroy=function(){C.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.selectionHandler&&(this.graph.getSelectionModel().removeListener(this.selectionHandler),this.selectionHandler=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null);null!=this.editingHandler&&(this.graph.removeListener(this.editingHandler),this.editingHandler=null)};
|
||||
var O=mxEdgeHandler.prototype.redrawHandles;mxEdgeHandler.prototype.redrawHandles=function(){if(null!=this.marker&&(O.apply(this),null!=this.state&&null!=this.linkHint)){var b=this.state;null!=this.state.text&&null!=this.state.text.bounds&&(b=new mxRectangle(b.x,b.y,b.width,b.height),b.add(this.state.text.bounds));this.linkHint.style.left=Math.round(b.x+(b.width-this.linkHint.clientWidth)/2)+"px";this.linkHint.style.top=Math.round(b.y+b.height+6+this.state.view.graph.tolerance)+"px"}};var Q=mxEdgeHandler.prototype.reset;
|
||||
mxEdgeHandler.prototype.reset=function(){Q.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.visibility="")};var M=mxEdgeHandler.prototype.destroy;mxEdgeHandler.prototype.destroy=function(){M.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.selectionHandler&&(this.graph.getSelectionModel().removeListener(this.selectionHandler),this.selectionHandler=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),
|
||||
this.changeHandler=null)}}();
|
||||
(function(){function a(){mxCylinder.call(this)}function c(){mxActor.call(this)}function f(){mxCylinder.call(this)}function d(){mxCylinder.call(this)}function b(){mxCylinder.call(this)}function e(){mxActor.call(this)}function g(){mxCylinder.call(this)}function k(){mxActor.call(this)}function l(){mxActor.call(this)}function n(){mxActor.call(this)}function m(){mxActor.call(this)}function p(){mxActor.call(this)}function r(){mxActor.call(this)}function s(){mxActor.call(this)}function q(b,a){this.canvas=
|
||||
b;this.canvas.setLineJoin("round");this.canvas.setLineCap("round");this.defaultVariation=a;this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,q.prototype.lineTo);this.originalMoveTo=this.canvas.moveTo;this.canvas.moveTo=mxUtils.bind(this,q.prototype.moveTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(this,q.prototype.close);this.originalQuadTo=this.canvas.quadTo;this.canvas.quadTo=mxUtils.bind(this,q.prototype.quadTo);this.originalCurveTo=this.canvas.curveTo;
|
||||
this.canvas.curveTo=mxUtils.bind(this,q.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,q.prototype.arcTo)}function t(){mxRectangleShape.call(this)}function u(){mxActor.call(this)}function v(){mxActor.call(this)}function z(){mxRectangleShape.call(this)}function y(){mxRectangleShape.call(this)}function x(){mxCylinder.call(this)}function D(){mxShape.call(this)}function A(){mxShape.call(this)}function B(){mxEllipse.call(this)}function E(){mxShape.call(this)}
|
||||
|
@ -3128,29 +3128,30 @@ b);a=Math.max(0,a);mxWindow.prototype.setLocation.apply(this,arguments)};mxEvent
|
|||
Sidebar.prototype.searchFileUrl="search.xml";Sidebar.prototype.gearImage=GRAPH_IMAGE_PATH+"/clipart/Gear_128x128.png";Sidebar.prototype.defaultEntries="general;images;uml;er;bpmn;flowchart;basic;arrows2";Sidebar.prototype.signs="Animals Food Healthcare Nature People Safety Science Sports Tech Transportation Travel".split(" ");Sidebar.prototype.rack="General APC Cisco Dell F5 HP IBM Oracle".split(" ");Sidebar.prototype.pids="Agitators;Apparatus Elements;Centrifuges;Compressors;Compressors ISO;Crushers Grinding;Driers;Engines;Feeders;Filters;Fittings;Flow Sensors;Heat Exchangers;Instruments;Misc;Mixers;Piping;Pumps;Pumps DIN;Pumps ISO;Separators;Shaping Machines;Valves;Vessels".split(";");
|
||||
Sidebar.prototype.cisco="Buildings;Computers and Peripherals;Controllers and Modules;Directors;Hubs and Gateways;Misc;Modems and Phones;People;Routers;Security;Servers;Storage;Switches;Wireless".split(";");Sidebar.prototype.sysml="Model Elements;Blocks;Ports and Flows;Constraint Blocks;Activities;Interactions;State Machines;Use Cases;Allocations;Requirements;Profiles;Stereotypes".split(";");Sidebar.prototype.eip="Message Construction;Message Routing;Message Transformation;Messaging Channels;Messaging Endpoints;Messaging Systems;System Management".split(";");
|
||||
Sidebar.prototype.gmdl="Bottom Navigation;Bottom Sheets;Buttons;Cards;Chips;Dialogs;Dividers;Grid Lists;Icons;Lists;Menus;Misc;Pickers;Selection Controls;Sliders;Steppers;Tabs;Text Fields".split(";");Sidebar.prototype.aws2="Analytics;Application Services;Compute;Database;Developer Tools;Enterprise Applications;Game Development;General;Internet of Things;Management Tools;Mobile Services;Networking;On-Demand Workforce;SDKs;Security and Identity;Storage and Content Delivery;Groups".split(";");Sidebar.prototype.office=
|
||||
"Clouds Communications Concepts Databases Devices Security Servers Services Sites Users".split(" ");Sidebar.prototype.archimate3="Application;Business;Composite;Implementation and Migration;Motivation;Physical;Relationships;Strategy;Technology".split(";");Sidebar.prototype.configuration=[{id:"general",libs:["general","misc","advanced"]},{id:"uml"},{id:"search"},{id:"er"},{id:"ios",prefix:"ios",libs:["","7icons","7ui"]},{id:"android",prefix:"android",libs:[""]},{id:"aws3d"},{id:"flowchart"},{id:"basic"},
|
||||
{id:"arrows"},{id:"arrows2"},{id:"lean_mapping"},{id:"citrix"},{id:"azure"},{id:"network"},{id:"mscae",prefix:"mscae",libs:"Cloud;Enterprise;General;Intune;Other;System Center;Deprecated".split(";")},{id:"bpmn",prefix:"bpmn",libs:["","Gateways","Events"]},{id:"clipart",prefix:null,libs:"computer finance clipart networking people telco".split(" ")},{id:"eip",prefix:"eip",libs:Sidebar.prototype.eip},{id:"mockups",prefix:"mockup",libs:"Buttons Containers Forms Graphics Markup Misc Navigation Text".split(" ")},
|
||||
"Clouds Communications Concepts Databases Devices Security Servers Services Sites Users".split(" ");Sidebar.prototype.veeam=["2D","3D"];Sidebar.prototype.archimate3="Application;Business;Composite;Implementation and Migration;Motivation;Physical;Relationships;Strategy;Technology".split(";");Sidebar.prototype.configuration=[{id:"general",libs:["general","misc","advanced"]},{id:"uml"},{id:"search"},{id:"er"},{id:"ios",prefix:"ios",libs:["","7icons","7ui"]},{id:"android",prefix:"android",libs:[""]},
|
||||
{id:"aws3d"},{id:"flowchart"},{id:"basic"},{id:"arrows"},{id:"arrows2"},{id:"lean_mapping"},{id:"citrix"},{id:"azure"},{id:"network"},{id:"mscae",prefix:"mscae",libs:"Cloud;Enterprise;General;Intune;Other;System Center;Deprecated".split(";")},{id:"bpmn",prefix:"bpmn",libs:["","Gateways","Events"]},{id:"clipart",prefix:null,libs:"computer finance clipart networking people telco".split(" ")},{id:"eip",prefix:"eip",libs:Sidebar.prototype.eip},{id:"mockups",prefix:"mockup",libs:"Buttons Containers Forms Graphics Markup Misc Navigation Text".split(" ")},
|
||||
{id:"pid2",prefix:"pid2",libs:"Agitators;Apparatus Elements;Centrifuges;Compressors;Compressors ISO;Crushers Grinding;Driers;Engines;Feeders;Filters;Fittings;Flow Sensors;Heat Exchangers;Instruments;Misc;Mixers;Piping;Pumps;Pumps DIN;Pumps ISO;Separators;Shaping Machines;Valves;Vessels".split(";")},{id:"signs",prefix:"signs",libs:Sidebar.prototype.signs},{id:"rack",prefix:"rack",libs:Sidebar.prototype.rack},{id:"electrical",prefix:"ee",libs:"LogicGates Resistors Capacitors Inductors SwitchesRelays Diodes Sources Transistors Misc Audio PlcLadder Abstract Optical VacuumTubes Waveforms Instruments".split(" ")},
|
||||
{id:"aws2",prefix:"aws2",libs:Sidebar.prototype.aws2},{id:"pid",prefix:"pid",libs:Sidebar.prototype.pids},{id:"cisco",prefix:"cisco",libs:Sidebar.prototype.cisco},{id:"office",prefix:"office",libs:Sidebar.prototype.office},{id:"cabinets",libs:["cabinets"]},{id:"floorplan",libs:["floorplan"]},{id:"bootstrap",libs:["bootstrap"]},{id:"gmdl",prefix:"gmdl",libs:Sidebar.prototype.gmdl},{id:"archimate3",prefix:"archimate3",libs:Sidebar.prototype.archimate3},{id:"archimate",libs:["archimate"]},{id:"sysml",
|
||||
prefix:"sysml",libs:Sidebar.prototype.sysml}];var a=Sidebar.prototype.insertSearchHint;Sidebar.prototype.insertSearchHint=function(b,d,c,f,n,m,p,r){if(null!=r&&1==f){var s=null;if(0<=mxUtils.indexOf(r,"text"))s="Double click anywhere in the diagram to insert text.";else for(var q="line lines arrow arrows connect connection connections connector connectors curve curves link links".split(" "),t=0;t<q.length;t++)if(0<=mxUtils.indexOf(r,q[t])){s="Need help with connections?";break}null!=s&&(q=document.createElement("a"),
|
||||
q.setAttribute("href","https://www.youtube.com/watch?v\x3d8OaMWa4R1SE\x26t\x3d1"),q.setAttribute("target","_blank"),q.className="geTitle",q.style.cssText="background-color:#ffd350;border-radius:6px;color:black;border:1px solid black !important;text-align:center;white-space:normal;padding:6px 0px 6px 0px !important;margin:4px 4px 8px 2px;",mxUtils.write(q,s),b.appendChild(q))}a.apply(this,arguments)};Sidebar.prototype.togglePalettes=function(b,a){this.showPalettes(b,a)};Sidebar.prototype.togglePalette=
|
||||
function(b){this.showPalette(b)};Sidebar.prototype.showPalettes=function(b,a,d){for(var c=0;c<a.length;c++)this.showPalette(b+a[c],d)};Sidebar.prototype.showPalette=function(b,a){var d=this.palettes[b];if(null!=d)for(var c=null!=a?a?"block":"none":"none"==d[0].style.display?"block":"none",f=0;f<d.length;f++)d[f].style.display=c};Sidebar.prototype.isEntryVisible=function(b){for(var a=0;a<this.configuration.length;a++)if(this.configuration[a].id==b){var d=this.palettes[null!=this.configuration[a].libs?
|
||||
(this.configuration[a].prefix||"")+this.configuration[a].libs[0]:b];if(null!=d)return"none"!=d[0].style.display}return!1};Sidebar.prototype.showEntries=function(b,a,d){this.libs=null!=b&&(d||0<b.length)?b:null!=urlParams.libs&&0<urlParams.libs.length?decodeURIComponent(urlParams.libs):mxSettings.getLibraries();d=this.libs.split(";");for(var c=0;c<this.configuration.length;c++)"search"!=this.configuration[c].id&&this.showPalettes(this.configuration[c].prefix||"",this.configuration[c].libs||[this.configuration[c].id],
|
||||
0<=mxUtils.indexOf(d,this.configuration[c].id));a&&(mxSettings.setLibraries(b),mxSettings.save())};Sidebar.prototype.init=function(){this.entries=[{title:mxResources.get("standard"),entries:[{title:mxResources.get("general"),id:"general",image:IMAGE_PATH+"/sidebar-general.png"},{title:mxResources.get("arrows"),id:"arrows2",image:IMAGE_PATH+"/sidebar-arrows2.png"},{title:mxResources.get("basic"),id:"basic",image:IMAGE_PATH+"/sidebar-basic.png"},{title:mxResources.get("clipart"),id:"clipart",image:IMAGE_PATH+
|
||||
"/sidebar-clipart.jpg"},{title:mxResources.get("flowchart"),id:"flowchart",image:IMAGE_PATH+"/sidebar-flowchart.png"}]},{title:mxResources.get("software"),entries:[{title:mxResources.get("android"),id:"android",image:IMAGE_PATH+"/sidebar-android.png"},{title:mxResources.get("bootstrap"),id:"bootstrap",image:IMAGE_PATH+"/sidebar-bootstrap.png"},{title:mxResources.get("entityRelation"),id:"er",image:IMAGE_PATH+"/sidebar-er.png"},{title:mxResources.get("ios"),id:"ios",image:IMAGE_PATH+"/sidebar-ios.png"},
|
||||
{title:mxResources.get("mockups"),id:"mockups",image:IMAGE_PATH+"/sidebar-mockups.png"},{title:mxResources.get("uml"),id:"uml",image:IMAGE_PATH+"/sidebar-uml.png"}]},{title:mxResources.get("networking"),entries:[{title:mxResources.get("aws"),id:"aws2",image:IMAGE_PATH+"/sidebar-aws.png"},{title:mxResources.get("aws3d"),id:"aws3d",image:IMAGE_PATH+"/sidebar-aws3d.png"},{title:mxResources.get("azure"),id:"azure",image:IMAGE_PATH+"/sidebar-azure.png"},{title:"Cloud \x26 Enterprise",id:"mscae",image:IMAGE_PATH+
|
||||
"/sidebar-mscae.png"},{title:mxResources.get("cisco"),id:"cisco",image:IMAGE_PATH+"/sidebar-cisco.png"},{title:"Citrix",id:"citrix",image:IMAGE_PATH+"/sidebar-citrix.png"},{title:"Network",id:"network",image:IMAGE_PATH+"/sidebar-network.png"},{title:"Office",id:"office",image:IMAGE_PATH+"/sidebar-office.png"},{title:mxResources.get("rack"),id:"rack",image:IMAGE_PATH+"/sidebar-rack.png"}]},{title:mxResources.get("business"),entries:[{title:"ArchiMate 3.0",id:"archimate3",image:IMAGE_PATH+"/sidebar-archimate3.png"},
|
||||
{title:mxResources.get("archiMate21"),id:"archimate",image:IMAGE_PATH+"/sidebar-archimate.png"},{title:mxResources.get("bpmn"),id:"bpmn",image:IMAGE_PATH+"/sidebar-bpmn.png"},{title:mxResources.get("leanMapping"),id:"lean_mapping",image:IMAGE_PATH+"/sidebar-leanmapping.png"},{title:mxResources.get("sysml"),id:"sysml",image:IMAGE_PATH+"/sidebar-sysml.png"}]},{title:mxResources.get("other"),entries:[{title:mxResources.get("cabinets"),id:"cabinets",image:IMAGE_PATH+"/sidebar-cabinets.png"},{title:mxResources.get("eip"),
|
||||
id:"eip",image:IMAGE_PATH+"/sidebar-eip.png"},{title:mxResources.get("electrical"),id:"electrical",image:IMAGE_PATH+"/sidebar-electrical.png"},{title:mxResources.get("floorplans"),id:"floorplan",image:IMAGE_PATH+"/sidebar-floorplans.png"},{title:mxResources.get("gmdl"),id:"gmdl",image:IMAGE_PATH+"/sidebar-gmdl.png"},{title:mxResources.get("procEng"),id:"pid",image:IMAGE_PATH+"/sidebar-pid.png"},{title:mxResources.get("signs"),id:"signs",image:IMAGE_PATH+"/sidebar-signs.png"}]}];this.addStencilsToIndex=
|
||||
this.editorUi.isOffline();this.shapetags={};if(null!=this.tagIndex)for(var b=this.editorUi.editor.graph.decompress(this.tagIndex).split("\n"),a=0;a<b.length;a++)if(null!=b[a]){var d=b[a].split("\t");if(1<d.length){var c=d[0].toLowerCase().replace(" ","_"),d=mxUtils.trim(d.slice(1,d.length).join(" ").toLowerCase());0<d.length&&(this.shapetags[c]=d)}}this.initPalettes();this.editorUi.isOffline()||mxUtils.get(this.searchFileUrl,mxUtils.bind(this,function(b){b=b.getDocumentElement();if(null!=b){b=b.getElementsByTagName("shape");
|
||||
for(var a=0;a<b.length;a++){var d=b[a].getAttribute("style"),c=this.extractShapeStyle(d);if(null!=d&&null!=c){var e=c.lastIndexOf(".");if(0<e){var f=c.substring(0,e),c=c.substring(e+1,c.length),e=this.getTagsForStencil(f,c,b[a].getAttribute("tags"));if(null!=e){var g=d.indexOf(";"),d="shape\x3d"+f+"."+c.toLowerCase()+";"+(0>g?"":d.substring(g+1));this.createVertexTemplateEntry(d,parseInt(b[a].getAttribute("w")),parseInt(b[a].getAttribute("h")),"",c.replace(/_/g," "),null,null,this.filterTags(e.join(" ")))}}}}}}))};
|
||||
"1"==urlParams.savesidebar&&(Sidebar.prototype.addFoldingHandler=function(b,a,d){var c=!1;if(!mxClient.IS_IE||8<=document.documentMode)b.style.backgroundImage="none"==a.style.display?"url('"+this.collapsedImage+"')":"url('"+this.expandedImage+"')";b.style.backgroundRepeat="no-repeat";b.style.backgroundPosition="0% 50%";var f=document.createElement("button");f.style.marginLeft="4px";mxUtils.write(f,"Save");mxEvent.addListener(b,"click",mxUtils.bind(this,function(m){if("BUTTON"==mxEvent.getSource(m).nodeName){var p=
|
||||
b.cloneNode(!0);p.style.backgroundImage="";p.style.textDecoration="none";p.style.fontWeight="bold";p.style.fontSize="14px";p.style.color="rgb(80, 80, 80)";p.style.width="456px";p.style.backgroundColor="#ffffff";p.style.paddingLeft="6px";m=p.getElementsByTagName("button")[0];m.parentNode.removeChild(m);m=a.cloneNode(!0);m.style.backgroundColor="#ffffff";m.style.borderColor="transparent";m.style.width="456px";p='\x3c!DOCTYPE html\x3e\x3chtml\x3e\x3chead\x3e\x3clink rel\x3d"stylesheet" type\x3d"text/css" href\x3d"https://www.draw.io/styles/grapheditor.css"\x3e\x3c/head\x3e\x3cbody style\x3d"background:#ffffff;font-family:Helvetica,Arial;"\x3e'+
|
||||
p.outerHTML+m.outerHTML+"\x3c/body\x3e\x3c/html\x3e";m.style.position="absolute";window.document.body.appendChild(m);var r=m.clientHeight+18;m.parentNode.removeChild(m);(new mxXmlRequest(EXPORT_URL,"w\x3d456\x26h\x3d"+r+"\x26html\x3d"+encodeURIComponent(this.editorUi.editor.compress(p)))).simulate(document,"_blank")}else{if("none"==a.style.display){if(c)b.appendChild(f);else if(c=!0,null!=d){null!=f.parentNode&&f.parentNode.removeChild(f);b.style.cursor="wait";var s=b.innerHTML;b.innerHTML=mxResources.get("loading")+
|
||||
"...";window.setTimeout(function(){d(a);b.style.cursor="";b.innerHTML=s;b.appendChild(f)},0)}else b.appendChild(f);b.style.backgroundImage="url('"+this.expandedImage+"')";a.style.display="block"}else b.style.backgroundImage="url('"+this.collapsedImage+"')",a.style.display="none",null!=f.parentNode&&f.parentNode.removeChild(f);mxEvent.consume(m)}}))});Sidebar.prototype.extractShapeStyle=function(b){if(null!=b&&"shape\x3d"==b.substring(0,6)){var a=b.indexOf(";");0>a&&(a=b.length);return b.substring(6,
|
||||
a)}return null};var c=Sidebar.prototype.getTagsForStencil;Sidebar.prototype.getTagsForStencil=function(b,a,d){var f=c.apply(this,arguments);null!=this.shapetags&&(b=b.toLowerCase(),a=a.toLowerCase(),null!=this.shapetags[b]&&f.push(this.shapetags[b]),a=b+"."+a,null!=this.shapetags[a]&&f.push(this.shapetags[a]));return f};Sidebar.prototype.initPalettes=function(){var b=GRAPH_IMAGE_PATH,a=STENCIL_PATH,d=this.signs,c=this.rack,f=this.pids,m=this.cisco,p=this.sysml,r=this.eip,s=this.gmdl;"1"==urlParams.createindex&&
|
||||
(mxLog.textarea.value="");this.addSearchPalette(!0);this.addGeneralPalette(!0);this.addMiscPalette(!1);this.addAdvancedPalette(!1);this.addUmlPalette(!1);this.addErPalette();this.addBasicPalette();this.addFlowchartPalette();this.addNetworkPalette();this.addAzurePalette();this.addCitrixPalette();this.addMSCAEPalette();this.addBpmnPalette(a,!1);this.addAWSPalette();this.addAWS3DPalette();this.addLeanMappingPalette();this.addIos7Palette();this.addIosPalette();this.addAndroidPalette();this.addMockupPalette();
|
||||
this.addElectricalPalette();this.addOfficePalette();this.addStencilPalette("arrows",mxResources.get("arrows"),a+"/arrows.xml",";html\x3d1;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;"+mxConstants.STYLE_STROKEWIDTH+"\x3d2;strokeColor\x3d#000000;");this.addArrows2Palette();this.addImagePalette("computer","Clipart / Computer",b+"/lib/clip_art/computers/","_128x128.png","Antivirus Data_Filtering Database Database_Add Database_Minus Database_Move_Stack Database_Remove Fujitsu_Tablet Harddrive IBM_Tablet iMac iPad Laptop MacBook Mainframe Monitor Monitor_Tower Monitor_Tower_Behind Netbook Network Network_2 Printer Printer_Commercial Secure_System Server Server_Rack Server_Rack_Empty Server_Rack_Partial Server_Tower Software Stylus Touch USB_Hub Virtual_Application Virtual_Machine Virus Workstation".split(" "),
|
||||
{id:"aws2",prefix:"aws2",libs:Sidebar.prototype.aws2},{id:"pid",prefix:"pid",libs:Sidebar.prototype.pids},{id:"cisco",prefix:"cisco",libs:Sidebar.prototype.cisco},{id:"office",prefix:"office",libs:Sidebar.prototype.office},{id:"veeam",prefix:"veeam",libs:Sidebar.prototype.veeam},{id:"cabinets",libs:["cabinets"]},{id:"floorplan",libs:["floorplan"]},{id:"bootstrap",libs:["bootstrap"]},{id:"gmdl",prefix:"gmdl",libs:Sidebar.prototype.gmdl},{id:"archimate3",prefix:"archimate3",libs:Sidebar.prototype.archimate3},
|
||||
{id:"archimate",libs:["archimate"]},{id:"sysml",prefix:"sysml",libs:Sidebar.prototype.sysml}];var a=Sidebar.prototype.insertSearchHint;Sidebar.prototype.insertSearchHint=function(b,d,c,f,n,m,p,r){if(null!=r&&1==f){var s=null;if(0<=mxUtils.indexOf(r,"text"))s="Double click anywhere in the diagram to insert text.";else for(var q="line lines arrow arrows connect connection connections connector connectors curve curves link links".split(" "),t=0;t<q.length;t++)if(0<=mxUtils.indexOf(r,q[t])){s="Need help with connections?";
|
||||
break}null!=s&&(q=document.createElement("a"),q.setAttribute("href","https://www.youtube.com/watch?v\x3d8OaMWa4R1SE\x26t\x3d1"),q.setAttribute("target","_blank"),q.className="geTitle",q.style.cssText="background-color:#ffd350;border-radius:6px;color:black;border:1px solid black !important;text-align:center;white-space:normal;padding:6px 0px 6px 0px !important;margin:4px 4px 8px 2px;",mxUtils.write(q,s),b.appendChild(q))}a.apply(this,arguments)};Sidebar.prototype.togglePalettes=function(b,a){this.showPalettes(b,
|
||||
a)};Sidebar.prototype.togglePalette=function(b){this.showPalette(b)};Sidebar.prototype.showPalettes=function(b,a,d){for(var c=0;c<a.length;c++)this.showPalette(b+a[c],d)};Sidebar.prototype.showPalette=function(b,a){var d=this.palettes[b];if(null!=d)for(var c=null!=a?a?"block":"none":"none"==d[0].style.display?"block":"none",f=0;f<d.length;f++)d[f].style.display=c};Sidebar.prototype.isEntryVisible=function(b){for(var a=0;a<this.configuration.length;a++)if(this.configuration[a].id==b){var d=this.palettes[null!=
|
||||
this.configuration[a].libs?(this.configuration[a].prefix||"")+this.configuration[a].libs[0]:b];if(null!=d)return"none"!=d[0].style.display}return!1};Sidebar.prototype.showEntries=function(b,a,d){this.libs=null!=b&&(d||0<b.length)?b:null!=urlParams.libs&&0<urlParams.libs.length?decodeURIComponent(urlParams.libs):mxSettings.getLibraries();d=this.libs.split(";");for(var c=0;c<this.configuration.length;c++)"search"!=this.configuration[c].id&&this.showPalettes(this.configuration[c].prefix||"",this.configuration[c].libs||
|
||||
[this.configuration[c].id],0<=mxUtils.indexOf(d,this.configuration[c].id));a&&(mxSettings.setLibraries(b),mxSettings.save())};Sidebar.prototype.init=function(){this.entries=[{title:mxResources.get("standard"),entries:[{title:mxResources.get("general"),id:"general",image:IMAGE_PATH+"/sidebar-general.png"},{title:mxResources.get("arrows"),id:"arrows2",image:IMAGE_PATH+"/sidebar-arrows2.png"},{title:mxResources.get("basic"),id:"basic",image:IMAGE_PATH+"/sidebar-basic.png"},{title:mxResources.get("clipart"),
|
||||
id:"clipart",image:IMAGE_PATH+"/sidebar-clipart.jpg"},{title:mxResources.get("flowchart"),id:"flowchart",image:IMAGE_PATH+"/sidebar-flowchart.png"}]},{title:mxResources.get("software"),entries:[{title:mxResources.get("android"),id:"android",image:IMAGE_PATH+"/sidebar-android.png"},{title:mxResources.get("bootstrap"),id:"bootstrap",image:IMAGE_PATH+"/sidebar-bootstrap.png"},{title:mxResources.get("entityRelation"),id:"er",image:IMAGE_PATH+"/sidebar-er.png"},{title:mxResources.get("ios"),id:"ios",image:IMAGE_PATH+
|
||||
"/sidebar-ios.png"},{title:mxResources.get("mockups"),id:"mockups",image:IMAGE_PATH+"/sidebar-mockups.png"},{title:mxResources.get("uml"),id:"uml",image:IMAGE_PATH+"/sidebar-uml.png"}]},{title:mxResources.get("networking"),entries:[{title:mxResources.get("aws"),id:"aws2",image:IMAGE_PATH+"/sidebar-aws.png"},{title:mxResources.get("aws3d"),id:"aws3d",image:IMAGE_PATH+"/sidebar-aws3d.png"},{title:mxResources.get("azure"),id:"azure",image:IMAGE_PATH+"/sidebar-azure.png"},{title:"Cloud \x26 Enterprise",
|
||||
id:"mscae",image:IMAGE_PATH+"/sidebar-mscae.png"},{title:mxResources.get("cisco"),id:"cisco",image:IMAGE_PATH+"/sidebar-cisco.png"},{title:"Citrix",id:"citrix",image:IMAGE_PATH+"/sidebar-citrix.png"},{title:"Network",id:"network",image:IMAGE_PATH+"/sidebar-network.png"},{title:"Office",id:"office",image:IMAGE_PATH+"/sidebar-office.png"},{title:mxResources.get("rack"),id:"rack",image:IMAGE_PATH+"/sidebar-rack.png"},{title:"Veeam",id:"veeam",image:IMAGE_PATH+"/sidebar-veeam.png"}]},{title:mxResources.get("business"),
|
||||
entries:[{title:"ArchiMate 3.0",id:"archimate3",image:IMAGE_PATH+"/sidebar-archimate3.png"},{title:mxResources.get("archiMate21"),id:"archimate",image:IMAGE_PATH+"/sidebar-archimate.png"},{title:mxResources.get("bpmn"),id:"bpmn",image:IMAGE_PATH+"/sidebar-bpmn.png"},{title:mxResources.get("leanMapping"),id:"lean_mapping",image:IMAGE_PATH+"/sidebar-leanmapping.png"},{title:mxResources.get("sysml"),id:"sysml",image:IMAGE_PATH+"/sidebar-sysml.png"}]},{title:mxResources.get("other"),entries:[{title:mxResources.get("cabinets"),
|
||||
id:"cabinets",image:IMAGE_PATH+"/sidebar-cabinets.png"},{title:mxResources.get("eip"),id:"eip",image:IMAGE_PATH+"/sidebar-eip.png"},{title:mxResources.get("electrical"),id:"electrical",image:IMAGE_PATH+"/sidebar-electrical.png"},{title:mxResources.get("floorplans"),id:"floorplan",image:IMAGE_PATH+"/sidebar-floorplans.png"},{title:mxResources.get("gmdl"),id:"gmdl",image:IMAGE_PATH+"/sidebar-gmdl.png"},{title:mxResources.get("procEng"),id:"pid",image:IMAGE_PATH+"/sidebar-pid.png"},{title:mxResources.get("signs"),
|
||||
id:"signs",image:IMAGE_PATH+"/sidebar-signs.png"}]}];this.addStencilsToIndex=this.editorUi.isOffline();this.shapetags={};if(null!=this.tagIndex)for(var b=this.editorUi.editor.graph.decompress(this.tagIndex).split("\n"),a=0;a<b.length;a++)if(null!=b[a]){var d=b[a].split("\t");if(1<d.length){var c=d[0].toLowerCase().replace(" ","_"),d=mxUtils.trim(d.slice(1,d.length).join(" ").toLowerCase());0<d.length&&(this.shapetags[c]=d)}}this.initPalettes();this.editorUi.isOffline()||mxUtils.get(this.searchFileUrl,
|
||||
mxUtils.bind(this,function(b){b=b.getDocumentElement();if(null!=b){b=b.getElementsByTagName("shape");for(var a=0;a<b.length;a++){var d=b[a].getAttribute("style"),c=this.extractShapeStyle(d);if(null!=d&&null!=c){var e=c.lastIndexOf(".");if(0<e){var f=c.substring(0,e),c=c.substring(e+1,c.length),e=this.getTagsForStencil(f,c,b[a].getAttribute("tags"));if(null!=e){var g=d.indexOf(";"),d="shape\x3d"+f+"."+c.toLowerCase()+";"+(0>g?"":d.substring(g+1));this.createVertexTemplateEntry(d,parseInt(b[a].getAttribute("w")),
|
||||
parseInt(b[a].getAttribute("h")),"",c.replace(/_/g," "),null,null,this.filterTags(e.join(" ")))}}}}}}))};"1"==urlParams.savesidebar&&(Sidebar.prototype.addFoldingHandler=function(b,a,d){var c=!1;if(!mxClient.IS_IE||8<=document.documentMode)b.style.backgroundImage="none"==a.style.display?"url('"+this.collapsedImage+"')":"url('"+this.expandedImage+"')";b.style.backgroundRepeat="no-repeat";b.style.backgroundPosition="0% 50%";var f=document.createElement("button");f.style.marginLeft="4px";mxUtils.write(f,
|
||||
"Save");mxEvent.addListener(b,"click",mxUtils.bind(this,function(m){if("BUTTON"==mxEvent.getSource(m).nodeName){var p=b.cloneNode(!0);p.style.backgroundImage="";p.style.textDecoration="none";p.style.fontWeight="bold";p.style.fontSize="14px";p.style.color="rgb(80, 80, 80)";p.style.width="456px";p.style.backgroundColor="#ffffff";p.style.paddingLeft="6px";m=p.getElementsByTagName("button")[0];m.parentNode.removeChild(m);m=a.cloneNode(!0);m.style.backgroundColor="#ffffff";m.style.borderColor="transparent";
|
||||
m.style.width="456px";p='\x3c!DOCTYPE html\x3e\x3chtml\x3e\x3chead\x3e\x3clink rel\x3d"stylesheet" type\x3d"text/css" href\x3d"https://www.draw.io/styles/grapheditor.css"\x3e\x3c/head\x3e\x3cbody style\x3d"background:#ffffff;font-family:Helvetica,Arial;"\x3e'+p.outerHTML+m.outerHTML+"\x3c/body\x3e\x3c/html\x3e";m.style.position="absolute";window.document.body.appendChild(m);var r=m.clientHeight+18;m.parentNode.removeChild(m);(new mxXmlRequest(EXPORT_URL,"w\x3d456\x26h\x3d"+r+"\x26html\x3d"+encodeURIComponent(this.editorUi.editor.graph.compress(p)))).simulate(document,
|
||||
"_blank")}else{if("none"==a.style.display){if(c)b.appendChild(f);else if(c=!0,null!=d){null!=f.parentNode&&f.parentNode.removeChild(f);b.style.cursor="wait";var s=b.innerHTML;b.innerHTML=mxResources.get("loading")+"...";window.setTimeout(function(){d(a);b.style.cursor="";b.innerHTML=s;b.appendChild(f)},0)}else b.appendChild(f);b.style.backgroundImage="url('"+this.expandedImage+"')";a.style.display="block"}else b.style.backgroundImage="url('"+this.collapsedImage+"')",a.style.display="none",null!=f.parentNode&&
|
||||
f.parentNode.removeChild(f);mxEvent.consume(m)}}))});Sidebar.prototype.extractShapeStyle=function(b){if(null!=b&&"shape\x3d"==b.substring(0,6)){var a=b.indexOf(";");0>a&&(a=b.length);return b.substring(6,a)}return null};var c=Sidebar.prototype.getTagsForStencil;Sidebar.prototype.getTagsForStencil=function(b,a,d){var f=c.apply(this,arguments);null!=this.shapetags&&(b=b.toLowerCase(),a=a.toLowerCase(),null!=this.shapetags[b]&&f.push(this.shapetags[b]),a=b+"."+a,null!=this.shapetags[a]&&f.push(this.shapetags[a]));
|
||||
return f};Sidebar.prototype.initPalettes=function(){var b=GRAPH_IMAGE_PATH,a=STENCIL_PATH,d=this.signs,c=this.rack,f=this.pids,m=this.cisco,p=this.sysml,r=this.eip,s=this.gmdl;"1"==urlParams.createindex&&(mxLog.textarea.value="");this.addSearchPalette(!0);this.addGeneralPalette(!0);this.addMiscPalette(!1);this.addAdvancedPalette(!1);this.addUmlPalette(!1);this.addErPalette();this.addBasicPalette();this.addFlowchartPalette();this.addNetworkPalette();this.addAzurePalette();this.addCitrixPalette();this.addMSCAEPalette();
|
||||
this.addBpmnPalette(a,!1);this.addAWSPalette();this.addAWS3DPalette();this.addLeanMappingPalette();this.addIos7Palette();this.addIosPalette();this.addAndroidPalette();this.addMockupPalette();this.addElectricalPalette();this.addOfficePalette();this.addVeeamPalette();this.addStencilPalette("arrows",mxResources.get("arrows"),a+"/arrows.xml",";html\x3d1;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;"+mxConstants.STYLE_STROKEWIDTH+"\x3d2;strokeColor\x3d#000000;");
|
||||
this.addArrows2Palette();this.addImagePalette("computer","Clipart / Computer",b+"/lib/clip_art/computers/","_128x128.png","Antivirus Data_Filtering Database Database_Add Database_Minus Database_Move_Stack Database_Remove Fujitsu_Tablet Harddrive IBM_Tablet iMac iPad Laptop MacBook Mainframe Monitor Monitor_Tower Monitor_Tower_Behind Netbook Network Network_2 Printer Printer_Commercial Secure_System Server Server_Rack Server_Rack_Empty Server_Rack_Partial Server_Tower Software Stylus Touch USB_Hub Virtual_Application Virtual_Machine Virus Workstation".split(" "),
|
||||
"Antivirus;Data Filtering;Database;Database Add;Database Minus;Database Move Stack;Database Remove;Fujitsu Tablet;Harddrive;IBMTablet;iMac;iPad;Laptop;MacBook;Mainframe;Monitor;Monitor Tower;Monitor Tower Behind;Netbook;Network;Network 2;Printer;Printer Commercial;Secure System;Server;Server Rack;Server Rack Empty;Server Rack Partial;Server Tower;Software;Stylus;Touch;USB Hub;Virtual Application;Virtual Machine;Virus;Workstation".split(";"));this.addImagePalette("finance","Clipart / Finance",b+"/lib/clip_art/finance/",
|
||||
"_128x128.png","Arrow_Down Arrow_Up Coins Credit_Card Dollar Graph Pie_Chart Piggy_Bank Safe Shopping_Cart Stock_Down Stock_Up".split(" "),"Arrow_Down;Arrow Up;Coins;Credit Card;Dollar;Graph;Pie Chart;Piggy Bank;Safe;Shopping Basket;Stock Down;Stock Up".split(";"));this.addImagePalette("clipart","Clipart / Various",b+"/lib/clip_art/general/","_128x128.png","Battery_0 Battery_100 Battery_50 Battery_75 Battery_allstates Bluetooth Earth_globe Empty_Folder Full_Folder Gear Keys Lock Mouse_Pointer Plug Ships_Wheel Star Tire".split(" "),
|
||||
"Battery 0%;Battery 100%;Battery 50%;Battery 75%;Battery;Bluetooth;Globe;Empty Folder;Full Folder;Gear;Keys;Lock;Mousepointer;Plug;Ships Wheel;Star;Tire".split(";"));this.addImagePalette("networking","Clipart / Networking",b+"/lib/clip_art/networking/","_128x128.png","Bridge Certificate Certificate_Off Cloud Cloud_Computer Cloud_Computer_Private Cloud_Rack Cloud_Rack_Private Cloud_Server Cloud_Server_Private Cloud_Storage Concentrator Email Firewall_02 Firewall Firewall-page1 Ip_Camera Modem power_distribution_unit Print_Server Print_Server_Wireless Repeater Router Router_Icon Switch UPS Wireless_Router Wireless_Router_N".split(" "),
|
||||
|
@ -5829,10 +5830,10 @@ new mxCell("",new mxGeometry(0,0,500,30),c+"misc.rrect;rSize\x3d0;strokeColor\x3
|
|||
a.vertex=!0;b.insert(a);a=new mxCell("Text 3",new mxGeometry(310,5,115,20),c+"misc.rrect;rSize\x3d5;strokeColor\x3dnone;fontSize\x3d15;fontColor\x3d#999999;fillColor\x3d#ddeeff;align\x3dleft;spacingLeft\x3d5;");a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(495,15,0,0),c+"misc.anchor;");a.vertex=!0;b.insert(a);var d=new mxCell("",new mxGeometry(-20,-10,20,20),"shape\x3dellipse;fillColor\x3dnone;strokeColor\x3d#008cff;resizable\x3d0;html\x3d1;");d.vertex=!0;a.insert(d);a=new mxCell("",new mxGeometry(465,
|
||||
15,0,0),c+"misc.anchor;");a.vertex=!0;b.insert(a);d=new mxCell("",new mxGeometry(-20,5,20,10),"shape\x3dline;strokeColor\x3d#008cff;resizable\x3d0;");d.vertex=!0;a.insert(d);return e.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Status Bar")}),this.createVertexTemplateEntry(f+"misc.pin;fillColor2\x3d#00dd00;fillColor3\x3d#004400;strokeColor\x3d#006600;",10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" ")),this.createVertexTemplateEntry(f+
|
||||
"misc.pin;fillColor2\x3d#dd0000;fillColor3\x3d#440000;strokeColor\x3d#660000;",10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" ")),this.createVertexTemplateEntry(f+"misc.pin;fillColor2\x3d#ccccff;fillColor3\x3d#0000ff;strokeColor\x3d#000066;",10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" ")),this.createVertexTemplateEntry(f+"misc.pin;fillColor2\x3d#ffff00;fillColor3\x3d#888800;strokeColor\x3d#999900;",10,
|
||||
25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" ")),this.createVertexTemplateEntry(f+"misc.pin;fillColor2\x3d#ffa500;fillColor3\x3d#885000;strokeColor\x3d#997000;",10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" "))];this.addPalette("mockupMisc","Mockup Misc",!1,mxUtils.bind(this,function(b){for(var a=0;a<k.length;a++)b.appendChild(k[a](b))}))};Sidebar.prototype.addMockupNavigationPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+
|
||||
"\x3dbottom;shadow\x3d0;dashed\x3d0;align\x3dcenter;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;strokeWidth\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.mockup.",c=mxConstants.STYLE_STROKEWIDTH+"\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.mockup.",f=mxConstants.STYLE_STROKECOLOR+"\x3d#999999;",d=this,b=[this.addEntry("mockup navigation status bar",function(){var b=new mxCell("Layer 1",new mxGeometry(0,0,60,30),c+"navigation.anchor;fontSize\x3d17;fontColor\x3d#666666;fontStyle\x3d1;");
|
||||
b.vertex=!0;var a=new mxCell("\x3e",new mxGeometry(60,0,20,30),c+"navigation.anchor;fontSize\x3d24;fontColor\x3d#aaaaaa;fontStyle\x3d1;");a.vertex=!0;var f=new mxCell("Layer 2",new mxGeometry(80,0,60,30),c+"navigation.anchor;fontSize\x3d17;fontColor\x3d#666666;fontStyle\x3d1;");f.vertex=!0;var l=new mxCell("\x3e",new mxGeometry(140,0,20,30),c+"navigation.anchor;fontSize\x3d24;fontColor\x3d#aaaaaa;fontStyle\x3d1;");l.vertex=!0;var n=new mxCell("Layer 3",new mxGeometry(160,0,60,30),c+"navigation.anchor;fontSize\x3d17;fontColor\x3d#666666;fontStyle\x3d1;");
|
||||
n.vertex=!0;var m=new mxCell("\x3e",new mxGeometry(220,0,20,30),c+"navigation.anchor;fontSize\x3d24;fontColor\x3d#aaaaaa;fontStyle\x3d1;");m.vertex=!0;var p=new mxCell("Layer 4",new mxGeometry(240,0,60,30),c+"navigation.anchor;fontSize\x3d17;fontColor\x3d#008cff;fontStyle\x3d1;");p.vertex=!0;return d.createVertexTemplateFromCells([b,a,f,l,n,m,p],300,30,"Status Bar")}),this.createVertexTemplateEntry(c+"navigation.stepBar;strokeColor\x3d#c4c4c4;textColor\x3d#666666;textColor2\x3d#008cff;mainText\x3d,,+,;textSize\x3d17;fillColor\x3d#666666;overflow\x3dfill;fontSize\x3d17;fontColor\x3d#666666;",
|
||||
25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" ")),this.createVertexTemplateEntry(f+"misc.pin;fillColor2\x3d#ffa500;fillColor3\x3d#885000;strokeColor\x3d#997000;",10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" "))];this.addPalette("mockupMisc","Mockup Misc",!1,mxUtils.bind(this,function(a){for(var b=0;b<k.length;b++)a.appendChild(k[b](a))}))};Sidebar.prototype.addMockupNavigationPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+
|
||||
"\x3dbottom;shadow\x3d0;dashed\x3d0;align\x3dcenter;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;strokeWidth\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.mockup.",c=mxConstants.STYLE_STROKEWIDTH+"\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.mockup.",f=mxConstants.STYLE_STROKECOLOR+"\x3d#999999;",d=this,b=[this.addEntry("mockup navigation status bar",function(){var a=new mxCell("Layer 1",new mxGeometry(0,0,60,30),c+"navigation.anchor;fontSize\x3d17;fontColor\x3d#666666;fontStyle\x3d1;");
|
||||
a.vertex=!0;var b=new mxCell("\x3e",new mxGeometry(60,0,20,30),c+"navigation.anchor;fontSize\x3d24;fontColor\x3d#aaaaaa;fontStyle\x3d1;");b.vertex=!0;var f=new mxCell("Layer 2",new mxGeometry(80,0,60,30),c+"navigation.anchor;fontSize\x3d17;fontColor\x3d#666666;fontStyle\x3d1;");f.vertex=!0;var l=new mxCell("\x3e",new mxGeometry(140,0,20,30),c+"navigation.anchor;fontSize\x3d24;fontColor\x3d#aaaaaa;fontStyle\x3d1;");l.vertex=!0;var n=new mxCell("Layer 3",new mxGeometry(160,0,60,30),c+"navigation.anchor;fontSize\x3d17;fontColor\x3d#666666;fontStyle\x3d1;");
|
||||
n.vertex=!0;var m=new mxCell("\x3e",new mxGeometry(220,0,20,30),c+"navigation.anchor;fontSize\x3d24;fontColor\x3d#aaaaaa;fontStyle\x3d1;");m.vertex=!0;var p=new mxCell("Layer 4",new mxGeometry(240,0,60,30),c+"navigation.anchor;fontSize\x3d17;fontColor\x3d#008cff;fontStyle\x3d1;");p.vertex=!0;return d.createVertexTemplateFromCells([a,b,f,l,n,m,p],300,30,"Status Bar")}),this.createVertexTemplateEntry(c+"navigation.stepBar;strokeColor\x3d#c4c4c4;textColor\x3d#666666;textColor2\x3d#008cff;mainText\x3d,,+,;textSize\x3d17;fillColor\x3d#666666;overflow\x3dfill;fontSize\x3d17;fontColor\x3d#666666;",
|
||||
300,50,'\x3ctable border\x3d"0" cellpadding\x3d"0" cellspacing\x3d"0" width\x3d"100%" height\x3d"100%" style\x3d"font-size:1em;"\x3e\x3ctr height\x3d"0%"\x3e\x3ctd width\x3d"25%"\x3eLayer 1\x3c/td\x3e\x3ctd width\x3d"25%"\x3eLayer 2\x3c/td\x3e\x3ctd width\x3d"25%" style\x3d"color:#008cff;"\x3eLayer 3\x3c/td\x3e\x3ctd width\x3d"25%"\x3eLayer 4\x3c/td\x3e\x3c/tr\x3e\x3ctr height\x3d"100%"\x3e\x3ctd/\x3e\x3c/tr\x3e\x3c/table\x3e',"Step Bar",null,null,this.getTagsForStencil("mxgraph.mockup.navigation",
|
||||
"stepBar","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+"navigation.coverFlow;strokeColor\x3d#999999;fillColor\x3d#ffffff;",400,200,"","Cover Flow",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","coverFlow","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+"navigation.scrollBar;fillColor\x3d#ffffff;"+f+"barPos\x3d20;fillColor2\x3d#99ddff;strokeColor2\x3dnone;",200,20,"","Horizontal Scroll Bar",null,null,this.getTagsForStencil("mxgraph.mockup.navigation",
|
||||
"scrollBar","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+"navigation.scrollBar;fillColor\x3d#ffffff;"+f+"barPos\x3d20;fillColor2\x3d#99ddff;strokeColor2\x3dnone;direction\x3dnorth;",20,200,"","Vertical Scroll Bar",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","scrollBar","mockup navigation ").join(" ")),this.createVertexTemplateEntry(c+"navigation.pagination;linkText\x3d;fontSize\x3d17;fontColor\x3d#0000ff;fontStyle\x3d4;",350,30,"\x3c\x3c Prev 1 2 3 4 5 6 7 8 9 10 Next \x3e\x3e",
|
||||
|
@ -6865,7 +6866,141 @@ new mxGeometry(40,0,280,80),"shape\x3dnote;size\x3d15;spacingLeft\x3d5;html\x3d1
|
|||
'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3eNodeName\x3c/b\x3e\x3chr/\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:10px;text-align:left;"\x3e\x26lt;\x26lt;stereotypeName\x26gt;\x26gt;{PropertyName\x3dValueString}ElementName\x3cbr/\x3e\x26lt;\x26lt;stereotypeName\x26gt;\x26gt;{PropertyName\x3dValueString};\x3cbr/\x3eBooleanPropertyName\x3cbr/\x3eElementName\x3c/p\x3e',"Stereotype (Compartment)",null,null,this.getTagsForStencil("","","sysml stereotype compartment").join(" ")),
|
||||
this.addEntry("sysml stereotype edge",function(){var a=new mxCell("Element\nName",new mxGeometry(0,0,120,60),"shape\x3drect;fontStyle\x3d1;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var b=new mxCell("Element\nName",new mxGeometry(0,120,120,60),"shape\x3drect;fontStyle\x3d1;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var e=new mxCell("\x26lt;\x26lt;steretyoeName\x26gt;\x26gt;\n{PropertyName\x3dValueString;\nBooleanPropertyName}PathName",new mxGeometry(0,0,0,0),"endArrow\x3dnone;html\x3d1;edgeStyle\x3dnone;labelBackgroundColor\x3dnone;align\x3dleft;fontStyle\x3d1;fontSize\x3d10;");
|
||||
e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!1);b.insertEdge(e,!0);return c.createVertexTemplateFromCells([a,b,e],200,180,"Stereotype (Edge)")}),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;align\x3dcenter;",300,120,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3e\x26lt;\x26lt;stereotypeName\x26gt;\x26gt;\x3c/br\x3eNodeName\x3c/b\x3e\x3chr/\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:10px;text-align:left;"\x3e\x26lt;\x26lt;stereotypeName\x26gt;\x26gt;\x3cbr/\x3ePropertyName\x3dValueString\x3cbr/\x3eMultiPropertyName\x3dValueString, ValueString\x3cbr/\x3eBooleanPropertyName\x3cbr/\x3e\x3c/p\x3e',
|
||||
"Stereotype (Compartment)",null,null,this.getTagsForStencil("","","sysml stereotype compartment").join(" "))];this.addPalette("sysmlStereotypes","SysML / Stereotypes",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<f.length;b++)a.appendChild(f[b](a))}))}})();DrawioFile=function(a,c){mxEventSource.call(this);this.ui=a;this.data=c||""};mxUtils.extend(DrawioFile,mxEventSource);DrawioFile.prototype.autosaveDelay=1500;DrawioFile.prototype.maxAutosaveDelay=3E4;DrawioFile.prototype.autosaveThread=null;DrawioFile.prototype.lastAutosave=null;DrawioFile.prototype.modified=!1;DrawioFile.prototype.changeListenerEnabled=!0;DrawioFile.prototype.lastAutosaveRevision=null;DrawioFile.prototype.maxAutosaveRevisionDelay=18E5;DrawioFile.prototype.descriptorChanged=function(){this.fireEvent(new mxEventObject("descriptorChanged"))};
|
||||
"Stereotype (Compartment)",null,null,this.getTagsForStencil("","","sysml stereotype compartment").join(" "))];this.addPalette("sysmlStereotypes","SysML / Stereotypes",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<f.length;b++)a.appendChild(f[b](a))}))}})();
|
||||
(function(){Sidebar.prototype.addVeeamPalette=function(){this.addVeeam2DPalette();this.addVeeam3DPalette()};Sidebar.prototype.addVeeam2DPalette=function(){var a=[this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.1ftvm;",70,70,"","1FTVM",null,null,this.getTagsForStencil("mxgraph.veeam.2d","1ftvm","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.1ftvm_error;",70,78,"","1FTVM Error",null,null,this.getTagsForStencil("mxgraph.veeam.2d","1ftvm error","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.1ftvm_running;",
|
||||
70,78,"","1FTVM Running",null,null,this.getTagsForStencil("mxgraph.veeam.2d","1frvm running","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.1ftvm_unavailable;",70,78,"","1FTVM Unavailable",null,null,this.getTagsForStencil("mxgraph.veeam.2d","1ftvm unavailable","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.1ftvm_warning;",70,78,"","1FTVM Warning",null,null,this.getTagsForStencil("mxgraph.veeam.2d","1ftvm warning","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.1_click_failover_orchestration;",
|
||||
44,44,"","1 Click Failover Orchestration",null,null,this.getTagsForStencil("mxgraph.veeam.2d","one click failover orchestration","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.2ftvm;",70,70,"","2FTVM",null,null,this.getTagsForStencil("mxgraph.veeam.2d","2ftvm","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.2ftvm_error;",70,78,"","2FTVM Error",null,null,this.getTagsForStencil("mxgraph.veeam.2d","2ftvm error","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.2ftvm_running;",
|
||||
70,78,"","2FTVM Running",null,null,this.getTagsForStencil("mxgraph.veeam.2d","2ftvm running","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.2ftvm_unavailable;",70,78,"","2FTVM Unavailable",null,null,this.getTagsForStencil("mxgraph.veeam.2d","2ftvm unavailable","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.2ftvm_warning;",70,78,"","2FTVM Warning",null,null,this.getTagsForStencil("mxgraph.veeam.2d","2ftvm warning","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.agent;",
|
||||
38,38,"","Agent",null,null,this.getTagsForStencil("mxgraph.veeam.2d","agent","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.alarm;",62,46,"","Alarm",null,null,this.getTagsForStencil("mxgraph.veeam.2d","alarm","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.alert;",
|
||||
30,30,"","Alert",null,null,this.getTagsForStencil("mxgraph.veeam.2d","alert","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.assisted_failover_and_failback;",46,46,"","Assisted Failover and Failback",null,null,this.getTagsForStencil("mxgraph.veeam.2d","assisted failover and failback",
|
||||
"veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.backup_browser;",46,46,"","Backup Browser",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup browser","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.backup_from_storage_snapshots;",
|
||||
46,46,"","Backup from Storage Snapshots",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup from storage snapshots","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.backup_repository;",52,48,"","Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup repository",
|
||||
"veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.backup_repository_2;",58,50,"","Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup repository","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.built_in_wan_acceleration;",
|
||||
46,46,"","Built-in WAN Acceleration",null,null,this.getTagsForStencil("mxgraph.veeam.2d","built in wan acceleration wireless area network","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.cd;",46,46,"","CD",null,null,this.getTagsForStencil("mxgraph.veeam.2d","cd compact disc","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.cloud;",66,46,"","Cloud",null,null,this.getTagsForStencil("mxgraph.veeam.2d","cloud","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.cloud_gateway;",
|
||||
46,46,"","Cloud Gateway",null,null,this.getTagsForStencil("mxgraph.veeam.2d","cloud gateway","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.database;",58,50,"","Database",null,null,this.getTagsForStencil("mxgraph.veeam.2d","database db","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.datastore;",44,44,"","Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.2d","datastore","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.datastore_snapshot;",
|
||||
46,12,"","Datastore Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam.2d","datastore snapshot","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.datastore_volume;",46,12,"","Datastore Volume",null,null,this.getTagsForStencil("mxgraph.veeam.2d","datastore volume","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.data_mover;",38,38,"","Data Mover",null,null,this.getTagsForStencil("mxgraph.veeam.2d","data mover","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.disaster_recovery;",
|
||||
46,46,"","Disaster Recovery",null,null,this.getTagsForStencil("mxgraph.veeam.2d","disaster recovery","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.download;",46,46,"","Download",null,null,this.getTagsForStencil("mxgraph.veeam.2d","download","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.emc_data_domain_boost;",46,46,"","EMC Data Domain Boost",null,null,this.getTagsForStencil("mxgraph.veeam.2d","emc data domain boost","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.encryption_object;",
|
||||
46,46,"","Encryption Object",null,null,this.getTagsForStencil("mxgraph.veeam.2d","encryption object","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.end_to_end_encryption;",46,46,"","End to end Encryption",null,null,this.getTagsForStencil("mxgraph.veeam.2d","end to end encryption",
|
||||
"veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.esx_esxi;",30,46,"","ESX/ESXi",null,null,this.getTagsForStencil("mxgraph.veeam.2d","esx esxi","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.exagrid;",
|
||||
46,46,"","ExaGrid",null,null,this.getTagsForStencil("mxgraph.veeam.2d","exagrid","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.failover_protective_snapshot;",46,46,"","Failover Protective Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam.2d","failover protective snapshot",
|
||||
"veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.failover_protective_snapshot_locked;",54,50,"","Failover Protective Snapshot Locked",null,null,this.getTagsForStencil("mxgraph.veeam.2d","failover protective snapshot locked","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.failover_protective_snapshot_running;",56,50,"","Failover Protective Snapshot Running",null,null,this.getTagsForStencil("mxgraph.veeam.2d","failover protective snapshot running","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.file;",
|
||||
34,46,"","File",null,null,this.getTagsForStencil("mxgraph.veeam.2d","file","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.file_system_browser;",46,46,"","File System Browser",null,null,this.getTagsForStencil("mxgraph.veeam.2d","file system browser","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.folder;",48,46,"","Folder",null,null,this.getTagsForStencil("mxgraph.veeam.2d","folder","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.forward_incremental_backup_increment;fillColor\x3d#999A98;",
|
||||
34,24,"","Forward Incremental Backup - Increment (grey)",null,null,this.getTagsForStencil("mxgraph.veeam.2d","forward incremental backup increment","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.forward_incremental_backup_increment;",34,24,"","Forward Incremental Backup - Increment (blue)",
|
||||
null,null,this.getTagsForStencil("mxgraph.veeam.2d","forward incremental backup increment","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.free_datastore;",46,46,"","Free Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.2d","free datastore","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.full_datastore;",46,46,"","Full Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.2d","full datastore","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.full_veeam_backup;fillColor\x3d#999A98;",
|
||||
26,42,"","Full Veeam Backup (grey)",null,null,this.getTagsForStencil("mxgraph.veeam.2d","full veeam backup","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.full_veeam_backup;fillColor\x3d#24B14B;",26,42,"","Full Veeam Backup (green)",null,null,this.getTagsForStencil("mxgraph.veeam.2d","full veeam backup",
|
||||
"veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.full_veeam_backup;fillColor\x3d#EF8F21;",26,42,"","Full Veeam Backup (orange)",null,null,this.getTagsForStencil("mxgraph.veeam.2d","full veeam backup","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.full_veeam_backup;fillColor\x3d#FBB715;",
|
||||
26,42,"","Full Veeam Backup (yellow)",null,null,this.getTagsForStencil("mxgraph.veeam.2d","full veeam backup","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.group;",40,46,"","Group",null,null,this.getTagsForStencil("mxgraph.veeam.2d","group","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.hard_drive;",38,46,"","Hard Drive",null,null,this.getTagsForStencil("mxgraph.veeam.2d","hard drive","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.hp_storeonce;",
|
||||
46,46,"","HP StoreOnce",null,null,this.getTagsForStencil("mxgraph.veeam.2d","hp storeonce","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.hyper_v_host;",124,120,"","Hyper-V Host",null,null,this.getTagsForStencil("mxgraph.veeam.2d","hyper host","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.hyper_v_vmware_host;",124,120,"","VMware/Hyper-V Host",null,null,this.getTagsForStencil("mxgraph.veeam.2d","hyper vmware host","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.letter;",
|
||||
46,36,"","Letter",null,null,this.getTagsForStencil("mxgraph.veeam.2d","letter","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.license;",46,46,"","License",null,null,this.getTagsForStencil("mxgraph.veeam.2d","license","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.lost_space;",46,46,"","Lost Space",null,null,this.getTagsForStencil("mxgraph.veeam.2d","lost space","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.lun;",
|
||||
58,22,"","LUN",null,null,this.getTagsForStencil("mxgraph.veeam.2d","lun","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.medium_datastore;",46,46,"","Medium Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.2d","medium datastore","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.monitoring_console;",46,46,"","Monitoring Console",null,null,this.getTagsForStencil("mxgraph.veeam.2d","monitoring console","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.native_tape_support;",
|
||||
46,46,"","Native Tape Support",null,null,this.getTagsForStencil("mxgraph.veeam.2d","native tape support","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.network_card;",46,32,"","Network Card",null,null,this.getTagsForStencil("mxgraph.veeam.2d","network card","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.on_demand_sandbox;",46,46,"","On Demand Sandbox",null,null,this.getTagsForStencil("mxgraph.veeam.2d","on demand sandbox","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.physical_storage;",
|
||||
76,26,"","Physical Storage",null,null,this.getTagsForStencil("mxgraph.veeam.2d","physical storage","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.powershell_extension;",46,46,"","PowerShell Extension",null,null,this.getTagsForStencil("mxgraph.veeam.2d","powershell extension","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.private_key;",56,52,"","Private Key",null,null,this.getTagsForStencil("mxgraph.veeam.2d","private key","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.privilege;",
|
||||
50,48,"","Privilege",null,null,this.getTagsForStencil("mxgraph.veeam.2d","privilege","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.proxy;",46,46,"","Proxy",null,null,this.getTagsForStencil("mxgraph.veeam.2d","proxy","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.proxy_appliance;",46,46,"","Proxy Appliance",null,null,this.getTagsForStencil("mxgraph.veeam.2d","proxy appliance","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.quick_migration;",
|
||||
46,46,"","Quick Migration",null,null,this.getTagsForStencil("mxgraph.veeam.2d","quick migration","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.remote_site;",42,44,"","Remote Site",null,null,this.getTagsForStencil("mxgraph.veeam.2d","remote site","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.remote_storage;",46,46,"","Remote Storage",null,null,this.getTagsForStencil("mxgraph.veeam.2d","remote storage","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.replication_from_a_backup;",
|
||||
46,46,"","Replication from a Backup",null,null,this.getTagsForStencil("mxgraph.veeam.2d","replication from a backup","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.report;",34,46,"","Report",null,null,this.getTagsForStencil("mxgraph.veeam.2d","report","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.resource_pool;",46,46,"","Resource Pool",null,null,this.getTagsForStencil("mxgraph.veeam.2d","resource pool","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.restful_apis;",
|
||||
46,46,"","RESTful APIs",null,null,this.getTagsForStencil("mxgraph.veeam.2d","restful apis api","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.restore_data_from_the_vm_backup;",46,46,"","Restore Data from the VM Backup",null,null,this.getTagsForStencil("mxgraph.veeam.2d","restore data from the vm backup",
|
||||
"veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.reversed_incremental_backup_increment;fillColor\x3d#999A98;",34,24,"","Reversed Incremental Backup - Increment (grey)",null,null,this.getTagsForStencil("mxgraph.veeam.2d","reversed incremental backup increment","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.reversed_incremental_backup_increment;fillColor\x3d#6E5CA7;",34,24,"","Reversed Incremental Backup - Increment (purple)",null,null,this.getTagsForStencil("mxgraph.veeam.2d","reversed incremental backup increment","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.role;",
|
||||
34,46,"","Role",null,null,this.getTagsForStencil("mxgraph.veeam.2d","role","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.scheduled_backups;",46,46,"","Scheduled Backups",null,null,this.getTagsForStencil("mxgraph.veeam.2d","Scheduled Backups","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.search;",46,46,"","Search",null,null,this.getTagsForStencil("mxgraph.veeam.2d","search","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.self_service_recovery;",
|
||||
46,46,"","Self-Service Recovery",null,null,this.getTagsForStencil("mxgraph.veeam.2d","self service recovery","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.service;",46,46,"","Service",null,null,this.getTagsForStencil("mxgraph.veeam.2d","service","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.service_console;",46,46,"","Service Console",null,null,this.getTagsForStencil("mxgraph.veeam.2d","service console","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.service_vnic;",
|
||||
60,54,"","Service vNIC",null,null,this.getTagsForStencil("mxgraph.veeam.2d","service vnic","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.sure_backup;",46,46,"","SureBackup",null,null,this.getTagsForStencil("mxgraph.veeam.2d","sure backup","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.sure_replica;",46,46,"","SureReplica",null,null,this.getTagsForStencil("mxgraph.veeam.2d","sure replica","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.switch;",
|
||||
74,12,"","Switch",null,null,this.getTagsForStencil("mxgraph.veeam.2d","switch","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.tape;",60,32,"","Tape",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.tape_checked;",
|
||||
70,42,"","Tape Checked",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape checked","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.tape_device;",52,52,"","Tape Device",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape device","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.tape_ejecting;",70,42,"","Tape Ejecting",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape ejecting","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.tape_library;",
|
||||
40,46,"","Tape Library",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape library","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.tape_licensed;",68,38,"","Tape Licensed",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape licensed","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.tape_recording;",70,42,"","Tape Recording",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape recording","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.tape_server;",
|
||||
74,72,"","Tape Server",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape server","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.transport_service;",38,38,"","Transport Service",null,null,this.getTagsForStencil("mxgraph.veeam.2d","transport service","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.user;",26,46,"","User",null,null,this.getTagsForStencil("mxgraph.veeam.2d","user","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.u_air;",
|
||||
46,46,"","U-AIR",null,null,this.getTagsForStencil("mxgraph.veeam.2d","air","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vapp;",48,48,"","vApp",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vapp","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vapp_started;",
|
||||
60,54,"","vApp Started",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vapp started","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeamzip;",46,46,"","VeeamZIP",null,null,this.getTagsForStencil("mxgraph.veeam.2d","veeamzip zip","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_availability_suite;",46,46,"","Veeam Availability Suite",null,null,this.getTagsForStencil("mxgraph.veeam.2d","availability suite","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_backup_and_replication_server;",
|
||||
74,72,"","Veeam Backup and Replication Server",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup and replication server","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_backup_enterprise_manager_server;",74,72,"","Veeam Backup Enterprise Manager Server",null,null,
|
||||
this.getTagsForStencil("mxgraph.veeam.2d","backup enterprise manager server","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_backup_search_server;",74,72,"","Veeam Backup Search Server",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup search server","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_backup_shell;",46,46,"","Veeam Backup Shell",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup shell","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_cloud_connect;",
|
||||
46,46,"","Veeam Cloud Connect",null,null,this.getTagsForStencil("mxgraph.veeam.2d","cloud connect","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_explorer;",46,46,"","Veeam Explorer",null,null,this.getTagsForStencil("mxgraph.veeam.2d","explorer","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_explorer_for_active_directory;",46,46,"","Veeam Explorer for Active Directory",null,null,this.getTagsForStencil("mxgraph.veeam.2d","explorer for active directory","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_explorer_for_exchange;",
|
||||
46,46,"","Veeam Explorer for Exchange",null,null,this.getTagsForStencil("mxgraph.veeam.2d","explorer for exchange","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_explorer_for_sharepoint;",46,46,"","Veeam Explorer for SharePoint",null,null,this.getTagsForStencil("mxgraph.veeam.2d",
|
||||
"explorer for sharepoint","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_explorer_for_sql;",46,46,"","Veeam Explorer for SQL",null,null,this.getTagsForStencil("mxgraph.veeam.2d","explorer for sql","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_logo;fillColor\x3d#232020;",
|
||||
144,38,"","Veeam Logo",null,null,this.getTagsForStencil("mxgraph.veeam.2d","logo","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_one_business_view;",46,46,"","Veeam ONE Business View",null,null,this.getTagsForStencil("mxgraph.veeam.2d","one business view","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_one_monitor;",46,46,"","Veeam ONE Monitor",null,null,this.getTagsForStencil("mxgraph.veeam.2d","one monitor","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_one_reporter;",
|
||||
46,46,"","Veeam ONE Reporter",null,null,this.getTagsForStencil("mxgraph.veeam.2d","one reporter","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_one_server;",46,46,"","Veeam ONE Server",null,null,this.getTagsForStencil("mxgraph.veeam.2d","one server","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.virtual_lab;",46,46,"","Virtual Lab",null,null,this.getTagsForStencil("mxgraph.veeam.2d","virtual lab","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.virtual_machine;",
|
||||
46,46,"","Virtual Machine",null,null,this.getTagsForStencil("mxgraph.veeam.2d","","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.virtual_switch;",46,46,"","Virtual Switch",null,null,this.getTagsForStencil("mxgraph.veeam.2d","switch","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vmware_host;",124,120,"","VMware Host",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vmware host","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_backup;",
|
||||
50,46,"","VM Backup",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm backup","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_failed;",56,54,"","VM Failed",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm failed","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_image_full_backup;",38,52,"","VM Image Full Backup",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm image full backup","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_image_incremental_backup;",
|
||||
38,52,"","VM Image Incremental Backup",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm image incremental backup","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_linux;",46,84,"","VM Linux",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm linux","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_locked;",56,52,"","VM Locked",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm locked","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_no_network;",
|
||||
54,52,"","VM No Network",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm no network","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_problem;",56,52,"","VM Problem",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm problem","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_running;",56,54,"","VM Running",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm running","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_saved_state;",
|
||||
56,54,"","VM Saved State",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm saved state","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_windows;",46,84,"","VM Windows",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm windows","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vnic;",46,46,"","vNIC",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vnic","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vsb_file;",
|
||||
34,46,"",".vsb File",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vsb file","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.wan_accelerator;",46,46,"","WAN Accelerator",null,null,this.getTagsForStencil("mxgraph.veeam.2d","wan accelerator wireless area network","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.web_console;",46,46,"","Web Console",null,null,this.getTagsForStencil("mxgraph.veeam.2d","web console","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.web_ui;",
|
||||
46,46,"","Web UI",null,null,this.getTagsForStencil("mxgraph.veeam.2d","web ui user interface","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.workstation;",68,46,"","Workstation",null,null,this.getTagsForStencil("mxgraph.veeam.2d","workstation","veeam 2d two dimension vmware virtual machine ").join(" "))];
|
||||
this.addPalette("veeam2D","Veeam / 2D",!1,mxUtils.bind(this,function(c){for(var f=0;f<a.length;f++)c.appendChild(a[f](c))}))};Sidebar.prototype.addVeeam3DPalette=function(){var a=[this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.1ftvm;",68,62,"","1FTVM",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.1ftvm_error;",
|
||||
68,62,"","1FTVM Error",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm error","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.1ftvm_running;",68,62,"","1FTVM Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm running","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.1ftvm_unavailable;",
|
||||
68,62,"","1FTVM Unavailable",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm unavailable","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.1ftvm_warning;",68,62,"","1FTVM Warning",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm warning","veeam 3d three dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.2ftvm;",68,62,"","2FTVM",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.2ftvm_error;",68,
|
||||
62,"","2FTVM Error",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm error","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.2ftvm_running;",68,62,"","2FTVM Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm running","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.2ftvm_unavailable;",
|
||||
68,62,"","2FTVM Unavailable",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm unavailable","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.2ftvm_warning;",68,62,"","2FTVM Warning",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm warning","veeam 3d three dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.backup_repository;",62,62,"","Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam.3d","backup repository","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.backup_repository_2;",
|
||||
62,62,"","Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam.3d","backup repository","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.cd;",68,26,"","CD",null,null,this.getTagsForStencil("mxgraph.veeam.3d","cd","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.database;",
|
||||
58,62,"","Database",null,null,this.getTagsForStencil("mxgraph.veeam.3d","database","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.datastore;",44,60,"","Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","datastore","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.datastore_snapshot;",
|
||||
54,34,"","Datastore Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam.3d","datastore snapshot","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.datastore_volume;",54,34,"","Datastore Volume",null,null,this.getTagsForStencil("mxgraph.veeam.3d","datastore volume","veeam 3d three dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.esx_esxi;",38,52,"","ESX ESXi",null,null,this.getTagsForStencil("mxgraph.veeam.3d","esx esxi","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.failover_protective_snapshot;",
|
||||
46,46,"","Failover Protective Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam.3d","failover protective snapshot","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.failover_protective_snapshot_locked;",56,46,"","Failover Protective Snapshot Locked",null,null,this.getTagsForStencil("mxgraph.veeam.3d","failover protective snapshot locked",
|
||||
"veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.failover_protective_snapshot_running;",58,46,"","Failover Protective Snapshot Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","failover protective snapshot running","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.free_datastore;",
|
||||
44,60,"","Free Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","free datastore","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.full_datastore;",44,60,"","Full Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","full datastore","veeam 3d three dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.hard_drive;fillColor\x3d#637D8A;gradientColor\x3d#324752;strokeColor\x3dnone;",62,28,"","Hard Drive",null,null,this.getTagsForStencil("mxgraph.veeam.3d","hard drive","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.hyper_v_host;",
|
||||
110,98,"","Hyper-V Host",null,null,this.getTagsForStencil("mxgraph.veeam.3d","hyper-v host","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.lost_space;",44,60,"","Lost Space",null,null,this.getTagsForStencil("mxgraph.veeam.3d","lost space","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.lun;",
|
||||
72,40,"","LUN",null,null,this.getTagsForStencil("mxgraph.veeam.3d","lun","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.medium_datastore;",44,60,"","Medium Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","medium datastore","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.network_card;",
|
||||
38,40,"","Network Card",null,null,this.getTagsForStencil("mxgraph.veeam.3d","network card","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.physical_storage;",108,60,"","Physical Storage",null,null,this.getTagsForStencil("mxgraph.veeam.3d","physical_storage","veeam 3d three dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.proxy;",46,46,"","Proxy",null,null,this.getTagsForStencil("mxgraph.veeam.3d","proxy","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.proxy_appliance;",
|
||||
46,46,"","Proxy Appliance",null,null,this.getTagsForStencil("mxgraph.veeam.3d","proxy appliance","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.remote_site;",46,60,"","Remote Site",null,null,this.getTagsForStencil("mxgraph.veeam.3d","remote site","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.remote_storage;",
|
||||
52,62,"","Remote Storage",null,null,this.getTagsForStencil("mxgraph.veeam.3d","remote storage","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.resource_pool;",56,32,"","Resource Pool",null,null,this.getTagsForStencil("mxgraph.veeam.3d","resource pool","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.service_vnic;",
|
||||
72,64,"","Service vNIC",null,null,this.getTagsForStencil("mxgraph.veeam.3d","service vnic","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.switch;",110,58,"","Switch",null,null,this.getTagsForStencil("mxgraph.veeam.3d","switch","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.tape;",
|
||||
58,58,"","Tape",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.tape_checked;",70,58,"","Tape Checked",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape checked","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.tape_ejecting;",
|
||||
70,58,"","Tape Ejecting",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape ejecting","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.tape_library;",62,74,"","Tape Library",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape library","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.tape_licensed;",
|
||||
70,58,"","Tape Licensed",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape licensed","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.tape_recording;",70,58,"","Tape Recording",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape recording","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.tape_server;",
|
||||
46,46,"","Tape Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape server","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vapp;",92,62,"","vApp",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vapp","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vapp_started;",
|
||||
92,62,"","vApp Started",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vapp started","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.veeam_availability_suite;",46,46,"","Veeam Availability Suite",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam availability suite","veeam 3d three dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.veeam_backup_and_replication_server;",46,46,"","Veeam Backup and Replication Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam backup and replication server","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.veeam_backup_enterprise_manager_server;",
|
||||
46,46,"","Veeam Backup Enterprise Manager Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam backup enterprise manager server","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.veeam_backup_enterprise_manager_server_2d;",40,40,"","Veeam Backup Enterprise Manager Server 2D",null,null,this.getTagsForStencil("mxgraph.veeam.3d",
|
||||
"veeam backup enterprise manager derver 2d two dimensional","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.veeam_backup_search_server;",46,46,"","Veeam Backup Search Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam backup search server","veeam 3d three dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.veeam_one_business_view;",46,46,"","Veeam ONE Business View",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one business view","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.veeam_one_monitor;",
|
||||
46,46,"","Veeam ONE Monitor",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one monitor","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.veeam_one_reporter;",46,46,"","Veeam ONE Reporter",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one reporter","veeam 3d three dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.veeam_one_server;",46,46,"","Veeam ONE Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one server","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.virtual_machine;",
|
||||
46,46,"","Virtual Machine",null,null,this.getTagsForStencil("mxgraph.veeam.3d","virtual machine","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vmware_host;",110,98,"","VMware Host",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vmware host","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vm_failed;",
|
||||
56,46,"","VM Failed",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm failed","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vm_linux;",46,60,"","VM Linux",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm linux","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vm_no_network;",
|
||||
58,46,"","VM No Network",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm no network","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vm_problem;",56,46,"","VM Problem",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm problem","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vm_running;",
|
||||
56,46,"","VM Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm running","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vm_saved_state;",58,48,"","VM Saved State",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm saved state","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vm_windows;",
|
||||
46,60,"","VM Windows",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm windows","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vnic;",62,62,"","vNIC",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vnic","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.wan_accelerator;",
|
||||
46,46,"","WAN Accelerator",null,null,this.getTagsForStencil("mxgraph.veeam.3d","wan accelerator","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.workstation;",76,62,"","Workstation",null,null,this.getTagsForStencil("mxgraph.veeam.3d","workstation","veeam 3d three dimension vmware virtual machine ").join(" "))];this.addPalette("veeam3D",
|
||||
"Veeam / 3D",!1,mxUtils.bind(this,function(c){for(var f=0;f<a.length;f++)c.appendChild(a[f](c))}))}})();DrawioFile=function(a,c){mxEventSource.call(this);this.ui=a;this.data=c||""};mxUtils.extend(DrawioFile,mxEventSource);DrawioFile.prototype.autosaveDelay=1500;DrawioFile.prototype.maxAutosaveDelay=3E4;DrawioFile.prototype.autosaveThread=null;DrawioFile.prototype.lastAutosave=null;DrawioFile.prototype.modified=!1;DrawioFile.prototype.changeListenerEnabled=!0;DrawioFile.prototype.lastAutosaveRevision=null;DrawioFile.prototype.maxAutosaveRevisionDelay=18E5;DrawioFile.prototype.descriptorChanged=function(){this.fireEvent(new mxEventObject("descriptorChanged"))};
|
||||
DrawioFile.prototype.contentChanged=function(){this.fireEvent(new mxEventObject("contentChanged"))};DrawioFile.prototype.save=function(a,c,f,d){this.updateFileData();this.clearAutosave()};DrawioFile.prototype.updateFileData=function(){this.setData(this.ui.getFileData())};DrawioFile.prototype.saveAs=function(a,c,f){};DrawioFile.prototype.saveFile=function(a,c,f,d){};DrawioFile.prototype.isRestricted=function(){return!1};DrawioFile.prototype.isModified=function(){return this.modified};
|
||||
DrawioFile.prototype.setModified=function(a){this.modified=a};DrawioFile.prototype.isAutosaveOptional=function(){return!1};DrawioFile.prototype.isAutosave=function(){return this.ui.editor.autosave};DrawioFile.prototype.isRenamable=function(){return!1};DrawioFile.prototype.rename=function(a,c,f){};DrawioFile.prototype.isMovable=function(){return!1};DrawioFile.prototype.move=function(a,c,f){};DrawioFile.prototype.getHash=function(){return""};DrawioFile.prototype.getId=function(){return""};
|
||||
DrawioFile.prototype.isEditable=function(){return!this.ui.editor.chromeless};DrawioFile.prototype.getUi=function(){return this.ui};DrawioFile.prototype.getTitle=function(){return""};DrawioFile.prototype.setData=function(a){this.data=a};DrawioFile.prototype.getData=function(){return this.data};
|
||||
|
@ -7076,8 +7211,8 @@ c=document.createElement("p");mxUtils.write(c,mxResources.get("authorizeThisAppI
|
|||
" "+mxResources.get("rememberMe")),f.appendChild(e),b.appendChild(f),l.checked=!0,l.defaultChecked=!0,mxEvent.addListener(e,"click",function(a){l.checked=!l.checked;mxEvent.consume(a)}));this.container=b},MoreShapesDialog=function(a,c,f){f=null!=f?f:a.sidebar.entries;var d=document.createElement("div");if(c){c=document.createElement("div");c.className="geDialogTitle";mxUtils.write(c,mxResources.get("shapes"));c.style.position="absolute";c.style.top="0px";c.style.left="0px";c.style.lineHeight="40px";
|
||||
c.style.height="40px";c.style.right="0px";mxClient.IS_QUIRKS&&(c.style.width="718px");var b=document.createElement("div"),e=document.createElement("div");b.style.position="absolute";b.style.top="40px";b.style.left="0px";b.style.width="202px";b.style.bottom="60px";b.style.overflow="auto";mxClient.IS_QUIRKS&&(b.style.height="437px",b.style.marginTop="1px");e.style.position="absolute";e.style.left="202px";e.style.right="0px";e.style.top="40px";e.style.bottom="60px";e.style.overflow="auto";e.style.borderLeft=
|
||||
"1px solid rgb(211, 211, 211)";e.style.textAlign="center";mxClient.IS_QUIRKS&&(e.style.width=parseInt(c.style.width)-202+"px",e.style.height=b.style.height,e.style.marginTop=b.style.marginTop);var g=null,k=[],l=document.createElement("div");l.style.position="relative";l.style.left="0px";l.style.right="0px";for(var n=0;n<f.length;n++)(function(c){var d=l.cloneNode(!1);d.style.fontWeight="bold";d.style.backgroundColor="#e5e5e5";d.style.padding="6px 0px 6px 20px";mxUtils.write(d,c.title);b.appendChild(d);
|
||||
for(var f=0;f<c.entries.length;f++)(function(c){var d=l.cloneNode(!1);d.style.cursor="pointer";d.style.padding="4px 0px 4px 20px";var m=document.createElement("input");m.setAttribute("type","checkbox");m.checked=a.sidebar.isEntryVisible(c.id);m.defaultChecked=m.checked;d.appendChild(m);mxUtils.write(d," "+c.title);b.appendChild(d);var t=function(a){if(null==a||"INPUT"!=mxEvent.getSource(a).nodeName)null!=c.imageCallback?c.imageCallback(e):null!=c.image?e.innerHTML='\x3cimg border\x3d"0" src\x3d"'+
|
||||
c.image+'"/\x3e':(e.innerHTML="\x3cbr\x3e",mxUtils.write(e,mxResources.get("noPreview"))),null!=g&&(g.style.backgroundColor=""),g=d,g.style.backgroundColor="#ebf2f9",null!=a&&mxEvent.consume(a)};mxEvent.addListener(d,"click",t);mxEvent.addListener(d,"dblclick",function(a){m.checked=!m.checked;mxEvent.consume(a)});k.push(function(){return m.checked?c.id:null});0==n&&0==f&&t()})(c.entries[f])})(f[n]);d.style.padding="30px";d.appendChild(c);d.appendChild(b);d.appendChild(e);f=document.createElement("div");
|
||||
for(var f=0;f<c.entries.length;f++)(function(c){var d=l.cloneNode(!1);d.style.cursor="pointer";d.style.padding="4px 0px 4px 20px";var m=document.createElement("input");m.setAttribute("type","checkbox");m.checked=a.sidebar.isEntryVisible(c.id);m.defaultChecked=m.checked;d.appendChild(m);mxUtils.write(d," "+c.title);b.appendChild(d);var u=function(a){if(null==a||"INPUT"!=mxEvent.getSource(a).nodeName)null!=c.imageCallback?c.imageCallback(e):null!=c.image?e.innerHTML='\x3cimg border\x3d"0" src\x3d"'+
|
||||
c.image+'"/\x3e':(e.innerHTML="\x3cbr\x3e",mxUtils.write(e,mxResources.get("noPreview"))),null!=g&&(g.style.backgroundColor=""),g=d,g.style.backgroundColor="#ebf2f9",null!=a&&mxEvent.consume(a)};mxEvent.addListener(d,"click",u);mxEvent.addListener(d,"dblclick",function(a){m.checked=!m.checked;mxEvent.consume(a)});k.push(function(){return m.checked?c.id:null});0==n&&0==f&&u()})(c.entries[f])})(f[n]);d.style.padding="30px";d.appendChild(c);d.appendChild(b);d.appendChild(e);f=document.createElement("div");
|
||||
f.className="geDialogFooter";f.style.position="absolute";f.style.paddingRight="16px";f.style.color="gray";f.style.left="0px";f.style.right="0px";f.style.bottom="0px";f.style.height="60px";f.style.lineHeight="52px";mxClient.IS_QUIRKS&&(f.style.width=c.style.width,f.style.paddingTop="12px");var m=document.createElement("input");m.setAttribute("type","checkbox");if(isLocalStorage||mxClient.IS_CHROMEAPP)c=document.createElement("span"),c.style.paddingRight="20px",c.appendChild(m),mxUtils.write(c," "+
|
||||
mxResources.get("rememberThisSetting")),m.checked=!0,m.defaultChecked=!0,mxEvent.addListener(c,"click",function(a){mxEvent.getSource(a)!=m&&(m.checked=!m.checked,mxEvent.consume(a))}),mxClient.IS_QUIRKS&&(c.style.position="relative",c.style.top="-6px"),f.appendChild(c);c=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});c.className="geBtn";var p=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();for(var b=[],c=0;c<k.length;c++){var d=k[c].apply(this,arguments);null!=
|
||||
d&&b.push(d)}a.sidebar.showEntries(b.join(";"),m.checked,!0)});p.className="geBtn gePrimaryBtn"}else{var r=document.createElement("table"),s=document.createElement("tbody");d.style.height="100%";d.style.overflow="auto";var q=document.createElement("tr");r.style.width="100%";c=document.createElement("td");var p=document.createElement("td"),t=document.createElement("td"),u=mxUtils.bind(this,function(b,c,d){var e=document.createElement("input");e.type="checkbox";r.appendChild(e);e.checked=a.sidebar.isEntryVisible(d);
|
||||
|
@ -7119,11 +7254,11 @@ l.appendChild(e);e=document.createElement("tr");g=document.createElement("td");g
|
|||
function(b,c,d){var e=n.value,f=mxUtils.parseXml(e),e=mxUtils.getPrettyXml(f.documentElement),f=f.documentElement.getElementsByTagName("parsererror");if(null!=f&&0<f.length)a.showError(mxResources.get("error"),mxResources.get("containsValidationErrors"),mxResources.get("ok"));else if(d&&a.hideDialog(),f=!b.model.contains(c),!d||f||e!=r){e=a.editor.graph.compress(e);b.getModel().beginUpdate();try{if(f){var g=a.editor.graph.getInsertPoint();c.geometry.x=g.x;c.geometry.y=g.y;b.addCell(c)}b.setCellStyles(mxConstants.STYLE_SHAPE,
|
||||
"stencil("+e+")",[c])}catch(k){throw k;}finally{b.getModel().endUpdate()}f&&b.setSelectionCell(c)}};f=mxUtils.button(mxResources.get("preview"),function(){s(m,p,!1)});f.className="geBtn";g.appendChild(f);f=mxUtils.button(mxResources.get("apply"),function(){s(a.editor.graph,c,!0)});f.className="geBtn gePrimaryBtn";g.appendChild(f);a.editor.cancelFirst||g.appendChild(b);e.appendChild(g);l.appendChild(e);k.appendChild(l);this.container=k},CustomDialog=function(a,c,f,d,b,e){var g=document.createElement("div");
|
||||
g.appendChild(c);c=document.createElement("div");c.style.marginTop="16px";c.style.textAlign="center";var k=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=d&&d()});k.className="geBtn";a.editor.cancelFirst&&c.appendChild(k);if(!a.isOffline()&&null!=e){var l=mxUtils.button(mxResources.get("help"),function(){window.open(e)});l.className="geBtn";c.appendChild(l)}b=mxUtils.button(b||mxResources.get("ok"),function(){a.hideDialog();null!=f&&f()});c.appendChild(b);b.className="geBtn gePrimaryBtn";
|
||||
a.editor.cancelFirst||c.appendChild(k);g.appendChild(c);this.container=g};(function(){EditorUi.VERSION="5.7.0.7";EditorUi.compactUi="atlas"!=uiTheme;"1"==urlParams.dev&&(Editor.prototype.editBlankUrl+="\x26dev\x3d1",Editor.prototype.editBlankFallbackUrl+="\x26dev\x3d1");(function(){EditorUi.prototype.useCanvasForExport=!1;try{var a=document.createElement("canvas"),b=new Image;b.onload=function(){try{a.getContext("2d").drawImage(b,0,0);var c=a.toDataURL("image/png");EditorUi.prototype.useCanvasForExport=null!=c&&6<c.length}catch(d){}};b.src="data:image/svg+xml;base64,"+
|
||||
btoa(unescape(encodeURIComponent('\x3csvg xmlns\x3d"http://www.w3.org/2000/svg" xmlns:xlink\x3d"http://www.w3.org/1999/xlink" width\x3d"1px" height\x3d"1px" version\x3d"1.1"\x3e\x3cforeignObject pointer-events\x3d"all" width\x3d"1" height\x3d"1"\x3e\x3cdiv xmlns\x3d"http://www.w3.org/1999/xhtml"\x3e\x3c/div\x3e\x3c/foreignObject\x3e\x3c/svg\x3e')))}catch(c){}})();Editor.initMath=function(a,b){a=null!=a?a:"https://cdn.mathjax.org/mathjax/2.6-latest/MathJax.js?config\x3dTeX-MML-AM_HTMLorMML";Editor.mathJaxQueue=
|
||||
[];Editor.doMathJaxRender=function(a){MathJax.Hub.Queue(["Typeset",MathJax.Hub,a])};window.MathJax={skipStartupTypeset:!0,showMathMenu:!1,messageStyle:"none",AuthorInit:function(){MathJax.Hub.Config(b||{jax:["input/TeX","input/MathML","input/AsciiMath","output/HTML-CSS"],extensions:["tex2jax.js","mml2jax.js","asciimath2jax.js"],TeX:{extensions:["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]},tex2jax:{ignoreClass:"mxCellEditor"},asciimath2jax:{ignoreClass:"mxCellEditor"}});MathJax.Hub.Register.StartupHook("Begin",
|
||||
function(){for(var a=0;a<Editor.mathJaxQueue.length;a++)Editor.doMathJaxRender(Editor.mathJaxQueue[a])})}};Editor.MathJaxRender=function(a){"undefined"!==typeof MathJax&&"undefined"!==typeof MathJax.Hub?Editor.doMathJaxRender(a):Editor.mathJaxQueue.push(a)};Editor.MathJaxClear=function(){Editor.mathJaxQueue=[]};Editor.prototype.init=function(){this.graph.addListener(mxEvent.SIZE,mxUtils.bind(this,function(a,b){this.graph.mathEnabled&&Editor.MathJaxRender(this.graph.container)}))};var c=document.getElementsByTagName("script");
|
||||
if(null!=c&&0<c.length){var d=document.createElement("script");d.type="text/javascript";d.src=a;c[0].parentNode.appendChild(d)}};Editor.closeImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAMAAADzN3VRAAAApVBMVEUAAAD////k5OT///8AAAB1dXXMzMz9/f39/f37+/v5+fn+/v7///9iYmJaWlqFhYWnp6ejo6OHh4f////////////////7+/v5+fnx8fH///8AAAD///8bGxv7+/v5+fkoKCghISFDQ0MYGBjh4eHY2Njb29tQUFBvb29HR0c/Pz82NjYrKyu/v78SEhLu7u7s7OzV1dVVVVU7OzsVFRXAv78QEBBzqehMAAAAG3RSTlMAA/7p/vz5xZlrTiPL/v78+/v7+OXd2TYQDs8L70ZbAAABKUlEQVQoz3VS13LCMBBUXHChd8iukDslQChJ/v/TchaG4cXS+OSb1c7trU7V60OpdRz2ZtNZL4zXNlcN8BEtSG6+NxIXkeRPoBuQ1cjvZ31/VJFB10ISli6diYfH8iYO3WUNCcNlB0gTrXOtkxTo0O1aKKiBBMhhv2MNBQKoiA5wxlZo0JDzD3AYKbWacyj3fs01wxey0pyEP+R8pWKWXoqtIZ0DDg5pbki9krEKOa6LVDQsdoXEsi46Zqh69KFz7B1u7Hb2yDV8firXDKBlZ4UFiswKGRhXTS93/ECK7yxnJ3+S3y/ThpO+cfSD017nqa18aasabU0/t7d+tk0/1oMEJ1NaD67iwdF68OabFSLn+eHb0+vjy+uk8br9fdrftH0O2menfd7+AQfYM/lNjoDHAAAAAElFTkSuQmCC":
|
||||
a.editor.cancelFirst||c.appendChild(k);g.appendChild(c);this.container=g};(function(){EditorUi.VERSION="5.7.0.8.1";EditorUi.compactUi="atlas"!=uiTheme;EditorUi.isElectronApp=window&&window.process&&window.process.type;"1"==urlParams.dev&&(Editor.prototype.editBlankUrl+="\x26dev\x3d1",Editor.prototype.editBlankFallbackUrl+="\x26dev\x3d1");(function(){EditorUi.prototype.useCanvasForExport=!1;try{var a=document.createElement("canvas"),b=new Image;b.onload=function(){try{a.getContext("2d").drawImage(b,0,0);var c=a.toDataURL("image/png");EditorUi.prototype.useCanvasForExport=
|
||||
null!=c&&6<c.length}catch(d){}};b.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent('\x3csvg xmlns\x3d"http://www.w3.org/2000/svg" xmlns:xlink\x3d"http://www.w3.org/1999/xlink" width\x3d"1px" height\x3d"1px" version\x3d"1.1"\x3e\x3cforeignObject pointer-events\x3d"all" width\x3d"1" height\x3d"1"\x3e\x3cdiv xmlns\x3d"http://www.w3.org/1999/xhtml"\x3e\x3c/div\x3e\x3c/foreignObject\x3e\x3c/svg\x3e')))}catch(c){}})();Editor.initMath=function(a,b){a=null!=a?a:"https://cdn.mathjax.org/mathjax/2.6-latest/MathJax.js?config\x3dTeX-MML-AM_HTMLorMML";
|
||||
Editor.mathJaxQueue=[];Editor.doMathJaxRender=function(a){MathJax.Hub.Queue(["Typeset",MathJax.Hub,a])};window.MathJax={skipStartupTypeset:!0,showMathMenu:!1,messageStyle:"none",AuthorInit:function(){MathJax.Hub.Config(b||{jax:["input/TeX","input/MathML","input/AsciiMath","output/HTML-CSS"],extensions:["tex2jax.js","mml2jax.js","asciimath2jax.js"],TeX:{extensions:["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]},tex2jax:{ignoreClass:"mxCellEditor"},asciimath2jax:{ignoreClass:"mxCellEditor"}});
|
||||
MathJax.Hub.Register.StartupHook("Begin",function(){for(var a=0;a<Editor.mathJaxQueue.length;a++)Editor.doMathJaxRender(Editor.mathJaxQueue[a])})}};Editor.MathJaxRender=function(a){"undefined"!==typeof MathJax&&"undefined"!==typeof MathJax.Hub?Editor.doMathJaxRender(a):Editor.mathJaxQueue.push(a)};Editor.MathJaxClear=function(){Editor.mathJaxQueue=[]};Editor.prototype.init=function(){this.graph.addListener(mxEvent.SIZE,mxUtils.bind(this,function(a,b){this.graph.mathEnabled&&Editor.MathJaxRender(this.graph.container)}))};
|
||||
var c=document.getElementsByTagName("script");if(null!=c&&0<c.length){var d=document.createElement("script");d.type="text/javascript";d.src=a;c[0].parentNode.appendChild(d)}};Editor.closeImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAMAAADzN3VRAAAApVBMVEUAAAD////k5OT///8AAAB1dXXMzMz9/f39/f37+/v5+fn+/v7///9iYmJaWlqFhYWnp6ejo6OHh4f////////////////7+/v5+fnx8fH///8AAAD///8bGxv7+/v5+fkoKCghISFDQ0MYGBjh4eHY2Njb29tQUFBvb29HR0c/Pz82NjYrKyu/v78SEhLu7u7s7OzV1dVVVVU7OzsVFRXAv78QEBBzqehMAAAAG3RSTlMAA/7p/vz5xZlrTiPL/v78+/v7+OXd2TYQDs8L70ZbAAABKUlEQVQoz3VS13LCMBBUXHChd8iukDslQChJ/v/TchaG4cXS+OSb1c7trU7V60OpdRz2ZtNZL4zXNlcN8BEtSG6+NxIXkeRPoBuQ1cjvZ31/VJFB10ISli6diYfH8iYO3WUNCcNlB0gTrXOtkxTo0O1aKKiBBMhhv2MNBQKoiA5wxlZo0JDzD3AYKbWacyj3fs01wxey0pyEP+R8pWKWXoqtIZ0DDg5pbki9krEKOa6LVDQsdoXEsi46Zqh69KFz7B1u7Hb2yDV8firXDKBlZ4UFiswKGRhXTS93/ECK7yxnJ3+S3y/ThpO+cfSD017nqa18aasabU0/t7d+tk0/1oMEJ1NaD67iwdF68OabFSLn+eHb0+vjy+uk8br9fdrftH0O2menfd7+AQfYM/lNjoDHAAAAAElFTkSuQmCC":
|
||||
IMAGE_PATH+"/delete.png";Editor.prototype.addSvgShadow=function(a,b,c){c=null!=c?c:!1;var d=a.ownerDocument,e=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"filter"):d.createElement("filter");e.setAttribute("id","dropShadow");var f=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"feGaussianBlur"):d.createElement("feGaussianBlur");f.setAttribute("in","SourceAlpha");f.setAttribute("stdDeviation","1.7");f.setAttribute("result","blur");e.appendChild(f);f=null!=d.createElementNS?
|
||||
d.createElementNS(mxConstants.NS_SVG,"feOffset"):d.createElement("feOffset");f.setAttribute("in","blur");f.setAttribute("dx","3");f.setAttribute("dy","3");f.setAttribute("result","offsetBlur");e.appendChild(f);f=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"feFlood"):d.createElement("feFlood");f.setAttribute("flood-color","#3D4574");f.setAttribute("flood-opacity","0.4");f.setAttribute("result","offsetColor");e.appendChild(f);f=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,
|
||||
"feComposite"):d.createElement("feComposite");f.setAttribute("in","offsetColor");f.setAttribute("in2","offsetBlur");f.setAttribute("operator","in");f.setAttribute("result","offsetBlur");e.appendChild(f);f=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"feBlend"):d.createElement("feBlend");f.setAttribute("in","SourceGraphic");f.setAttribute("in2","offsetBlur");e.appendChild(f);var f=a.getElementsByTagName("defs"),g=null;0==f.length?(g=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,
|
||||
|
|
76
war/js/atlas-viewer.min.js
vendored
76
war/js/atlas-viewer.min.js
vendored
|
@ -2309,7 +2309,7 @@ return null!=a&&1==a.style.html};mxCellEditor.prototype.saveSelection=function()
|
|||
c;++b)sel.addRange(a[b])}else document.selection&&a.select&&a.select()};var e=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=function(a){null!=a.text&&(a.text.replaceLinefeeds="0"!=mxUtils.getValue(a.style,"nl2Br","1"));e.apply(this,arguments)};var f=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(a,b){this.isKeepFocusEvent(a)||!mxEvent.isAltDown(a.getEvent())?f.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=
|
||||
function(a){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=!1;var g=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(a,b){g.apply(this,arguments);var c=this.graph.view.getState(a);this.textarea.className=null!=c&&1==c.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(a);var c=this.graph.getModel().getParent(a),
|
||||
d=this.graph.getCellGeometry(a);this.graph.getModel().isEdge(c)&&null!=d&&d.relative||this.graph.getModel().isEdge(a)?mxClient.IS_QUIRKS?this.textarea.style.border="gray dotted 1px":this.textarea.style.outline=mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_FF&&mxClient.IS_WIN?"gray dotted 1px":"":mxClient.IS_QUIRKS&&(this.textarea.style.outline="none",this.textarea.style.border="")};var k=mxCellEditor.prototype.installListeners;mxCellEditor.prototype.installListeners=function(a){function b(a,c){c.originalNode=
|
||||
a;a=a.firstChild;for(var d=c.firstChild;null!=a&&null!=d;)b(a,d),a=a.nextSibling,d=d.nextSibling;return c}function c(a,b){if(b.originalNode!=a)d(a);else if(null!=a){a=a.firstChild;for(b=b.firstChild;null!=a;){var e=a.nextSibling;null==b?d(a):(c(a,b),b=b.nextSibling);a=e}}}function d(a){for(var b=a.firstChild;null!=b;){var c=b.nextSibling;d(b);b=c}(1!=a.nodeType||"BR"!==a.nodeName&&null==a.firstChild)&&(3!=a.nodeType||0==mxUtils.trim(mxUtils.getTextContent(a)).length)?a.parentNode.removeChild(a):(3==
|
||||
a;a=a.firstChild;for(var d=c.firstChild;null!=a&&null!=d;)b(a,d),a=a.nextSibling,d=d.nextSibling;return c}function c(a,b){if(null!=a)if(b.originalNode!=a)d(a);else{a=a.firstChild;for(b=b.firstChild;null!=a;){var e=a.nextSibling;null==b?d(a):(c(a,b),b=b.nextSibling);a=e}}}function d(a){for(var b=a.firstChild;null!=b;){var c=b.nextSibling;d(b);b=c}(1!=a.nodeType||"BR"!==a.nodeName&&null==a.firstChild)&&(3!=a.nodeType||0==mxUtils.trim(mxUtils.getTextContent(a)).length)?a.parentNode.removeChild(a):(3==
|
||||
a.nodeType&&mxUtils.setTextContent(a,mxUtils.getTextContent(a).replace(/\n|\r/g,"")),1==a.nodeType&&(a.removeAttribute("style"),a.removeAttribute("class"),a.removeAttribute("width"),a.removeAttribute("cellpadding"),a.removeAttribute("cellspacing"),a.removeAttribute("border")))}k.apply(this,arguments);!mxClient.IS_QUIRKS&&(7!==document.documentMode&&8!==document.documentMode)&&mxEvent.addListener(this.textarea,"paste",mxUtils.bind(this,function(a){var d=b(this.textarea,this.textarea.cloneNode(!0));
|
||||
window.setTimeout(mxUtils.bind(this,function(){c(this.textarea,d)}),0)}))};mxCellEditor.prototype.toggleViewMode=function(){var a=this.graph.view.getState(this.editingCell),b=null!=a&&"0"!=mxUtils.getValue(a.style,"nl2Br","1"),c=this.saveSelection();if(this.codeViewMode){k=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<k.length&&"\n"==k.charAt(k.length-1)&&(k=k.substring(0,k.length-1));k=this.graph.sanitizeHtml(b?k.replace(/\n/g,"\x3cbr/\x3e"):k);this.textarea.className="mxCellEditor geContentEditable";
|
||||
var d=mxUtils.getValue(a.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE),b=mxUtils.getValue(a.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY),e=mxUtils.getValue(a.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),f=(mxUtils.getValue(a.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,g=(mxUtils.getValue(a.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,a=(mxUtils.getValue(a.style,mxConstants.STYLE_FONTSTYLE,
|
||||
|
@ -2342,32 +2342,32 @@ HoverIcons.prototype.triangleDown,Sidebar.prototype.triangleLeft=HoverIcons.prot
|
|||
if(Graph.touchStyle){if(mxClient.IS_TOUCH||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints)mxShape.prototype.svgStrokeTolerance=18,mxVertexHandler.prototype.tolerance=12,mxEdgeHandler.prototype.tolerance=12,Graph.prototype.tolerance=12,mxVertexHandler.prototype.rotationHandleVSpacing=-24,mxConstraintHandler.prototype.getTolerance=function(a){return mxEvent.isMouseEvent(a.getEvent())?4:this.graph.getTolerance()};mxPanningHandler.prototype.isPanningTrigger=function(a){var b=a.getEvent();return null==
|
||||
a.getState()&&!mxEvent.isMouseEvent(b)||mxEvent.isPopupTrigger(b)&&(null==a.getState()||mxEvent.isControlDown(b)||mxEvent.isShiftDown(b))};var u=mxGraphHandler.prototype.mouseDown;mxGraphHandler.prototype.mouseDown=function(a,b){u.apply(this,arguments);mxEvent.isTouchEvent(b.getEvent())&&(this.graph.isCellSelected(b.getCell())&&1<this.graph.getSelectionCount())&&(this.delayedSelection=!1)}}else mxPanningHandler.prototype.isPanningTrigger=function(a){var b=a.getEvent();return mxEvent.isLeftMouseButton(b)&&
|
||||
(this.useLeftButtonForPanning&&null==a.getState()||mxEvent.isControlDown(b)&&!mxEvent.isShiftDown(b))||this.usePopupTrigger&&mxEvent.isPopupTrigger(b)};mxRubberband.prototype.isSpaceEvent=function(a){return this.graph.isEnabled()&&!this.graph.isCellLocked(this.graph.getDefaultParent())&&mxEvent.isControlDown(a.getEvent())&&mxEvent.isShiftDown(a.getEvent())};mxRubberband.prototype.mouseUp=function(a,b){var c=null!=this.div&&"none"!=this.div.style.display,d=null,e=null,f=null,g=null;null!=this.first&&
|
||||
(null!=this.currentX&&null!=this.currentY)&&(d=this.first.x,e=this.first.y,f=(this.currentX-d)/this.graph.view.scale,g=(this.currentY-e)/this.graph.view.scale,mxEvent.isAltDown(b.getEvent())||(f=this.graph.snap(f),g=this.graph.snap(g)));this.reset();if(c){if(this.isSpaceEvent(b)){this.graph.model.beginUpdate();try{for(var k=this.graph.getCellsBeyond(d,e,this.graph.getDefaultParent(),!0,!1),l=this.graph.getCellsBeyond(d,e,this.graph.getDefaultParent(),!1,!0),c=0;c<k.length;c++)if(this.graph.isCellMovable(k[c])){var n=
|
||||
this.graph.view.getState(k[c]),m=this.graph.getCellGeometry(k[c]);null!=n&&null!=m&&(m=m.clone(),m.translate(f,0),this.graph.model.setGeometry(k[c],m))}for(c=0;c<l.length;c++)this.graph.isCellMovable(l[c])&&(n=this.graph.view.getState(l[c]),m=this.graph.getCellGeometry(l[c]),null!=n&&null!=m&&(m=m.clone(),m.translate(0,g),this.graph.model.setGeometry(l[c],m)))}catch(q){null!=window.console&&console.log("Error in rubberband: "+q)}finally{this.graph.model.endUpdate()}}else f=new mxRectangle(this.x,
|
||||
this.y,this.width,this.height),this.graph.selectRegion(f,b.getEvent());b.consume()}};mxRubberband.prototype.mouseMove=function(a,b){if(!b.isConsumed()&&null!=this.first){var c=mxUtils.getScrollOrigin(this.graph.container),d=mxUtils.getOffset(this.graph.container);c.x-=d.x;c.y-=d.y;var e=b.getX()+c.x,f=b.getY()+c.y,g=this.first.x-e,k=this.first.y-f,l=this.graph.tolerance;if(null!=this.div||Math.abs(g)>l||Math.abs(k)>l)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(e,
|
||||
f),this.isSpaceEvent(b)?(e=this.x+this.width,f=this.y+this.height,g=this.graph.view.scale,mxEvent.isAltDown(b.getEvent())||(this.width=this.graph.snap(this.width/g)*g,this.height=this.graph.snap(this.height/g)*g,this.x<this.first.x&&(this.x=e-this.width),this.y<this.first.y&&(this.y=f-this.height)),this.div.style.left=this.x+"px",this.div.style.top=c.y+d.y+"px",this.div.style.width=Math.max(0,this.width)+"px",this.div.style.height=Math.max(0,this.graph.container.clientHeight)+"px",this.div.style.backgroundColor=
|
||||
"white",this.div.style.borderWidth="0px 1px 0px 1px",this.div.style.borderStyle="dashed",null==this.secondDiv&&(this.secondDiv=this.div.cloneNode(!0),this.div.parentNode.appendChild(this.secondDiv)),this.secondDiv.style.left=c.x+d.x+"px",this.secondDiv.style.top=this.y+"px",this.secondDiv.style.width=Math.max(0,this.graph.container.clientWidth)+"px",this.secondDiv.style.height=Math.max(0,this.height)+"px",this.secondDiv.style.borderWidth="1px 0px 1px 0px"):(this.div.style.backgroundColor="",this.div.style.borderWidth=
|
||||
"",this.div.style.borderStyle="",null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),b.consume()}};var A=mxRubberband.prototype.reset;mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);A.apply(this,arguments)};var z=(new Date).getTime(),v=0,D=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(a,b,c,d){D.apply(this,arguments);
|
||||
c!=this.currentTerminalState?(z=(new Date).getTime(),v=0):v=(new Date).getTime()-z;this.currentTerminalState=c};var y=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=function(a){return null!=this.currentTerminalState&&a.getState()==this.currentTerminalState&&2E3<v||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,"outlineConnect","1"))&&y.apply(this,arguments)};mxVertexHandler.prototype.isCustomHandleEvent=function(a){return!mxEvent.isShiftDown(a.getEvent())};
|
||||
mxEdgeHandler.prototype.createHandleShape=function(a,b){var c=null!=a&&0==a,d=this.state.getVisibleTerminalState(c),e=null!=a&&(0==a||a>=this.state.absolutePoints.length-1||this.constructor==mxElbowEdgeHandler&&2==a)?this.graph.getConnectionConstraint(this.state,d,c):null,c=null!=(null!=e?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(c),e):null)?this.fixedHandleImage:null!=e&&null!=d?this.terminalHandleImage:this.handleImage;if(null!=c)return c=new mxImageShape(new mxRectangle(0,
|
||||
0,c.width,c.height),c.src),c.preserveImageAspect=!1,c;c=mxConstants.HANDLE_SIZE;this.preferHtml&&(c-=1);return new mxRectangleShape(new mxRectangle(0,0,c,c),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};var E=mxVertexHandler.prototype.createSizerShape;mxVertexHandler.prototype.createSizerShape=function(a,b,c){this.handleImage=b==mxEvent.ROTATION_HANDLE?x:b==mxEvent.LABEL_HANDLE?this.secondaryHandleImage:this.handleImage;return E.apply(this,arguments)};var C=mxGraphHandler.prototype.getBoundingBox;
|
||||
mxGraphHandler.prototype.getBoundingBox=function(a){if(null!=a&&1==a.length){var b=this.graph.getModel(),c=b.getParent(a[0]),d=this.graph.getCellGeometry(a[0]);if(b.isEdge(c)&&(null!=d&&d.relative)&&(b=this.graph.view.getState(a[0]),null!=b&&2>b.width&&2>b.height&&null!=b.text&&null!=b.text.boundingBox))return mxRectangle.fromRectangle(b.text.boundingBox)}return C.apply(this,arguments)};var F=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(a){var b=
|
||||
this.graph.getModel(),c=b.getParent(a.cell),d=this.graph.getCellGeometry(a.cell);return b.isEdge(c)&&null!=d&&d.relative&&2>a.width&&2>a.height&&null!=a.text&&null!=a.text.boundingBox?(b=a.text.unrotatedBoundingBox||a.text.boundingBox,new mxRectangle(Math.round(b.x),Math.round(b.y),Math.round(b.width),Math.round(b.height))):F.apply(this,arguments)};var G=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(a,b){var c=this.graph.getModel(),d=c.getParent(this.state.cell),
|
||||
e=this.graph.getCellGeometry(this.state.cell);(this.getHandleForEvent(b)==mxEvent.ROTATION_HANDLE||!c.isEdge(d)||null==e||!e.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&G.apply(this,arguments)};mxVertexHandler.prototype.isRotationHandleVisible=function(){return this.graph.isEnabled()&&this.rotationEnabled&&this.graph.isCellRotatable(this.state.cell)&&(0>=mxGraphHandler.prototype.maxCells||this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells)};mxVertexHandler.prototype.rotateClick=
|
||||
function(){this.state.view.graph.turnShapes([this.state.cell])};var H=mxVertexHandler.prototype.mouseMove;mxVertexHandler.prototype.mouseMove=function(a,b){H.apply(this,arguments);null!=this.graph.graphHandler.first&&(null!=this.rotationShape&&null!=this.rotationShape.node)&&(this.rotationShape.node.style.display="none")};var L=mxVertexHandler.prototype.mouseUp;mxVertexHandler.prototype.mouseUp=function(a,b){L.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=
|
||||
1==this.graph.getSelectionCount()?"":"none")};var K=mxVertexHandler.prototype.init;mxVertexHandler.prototype.init=function(){K.apply(this,arguments);var a=!1;null!=this.rotationShape&&this.rotationShape.node.setAttribute("title",mxResources.get("rotateTooltip"));var b=mxUtils.bind(this,function(){null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.specialHandle&&(this.specialHandle.node.style.display=
|
||||
this.graph.isEnabled()&&this.graph.getSelectionCount()<this.graph.graphHandler.maxCells?"":"none");this.redrawHandles()});this.selectionHandler=mxUtils.bind(this,function(a,c){b()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionHandler);this.changeHandler=mxUtils.bind(this,function(a,c){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell));b()});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);this.editingHandler=mxUtils.bind(this,function(a,
|
||||
b){this.redrawHandles()});this.graph.addListener(mxEvent.EDITING_STOPPED,this.editingHandler);var c=this.graph.getLinkForCell(this.state.cell);this.updateLinkHint(c);null!=c&&(a=!0);a&&this.redrawHandles()};mxVertexHandler.prototype.updateLinkHint=function(b){if(null==b||1<this.graph.getSelectionCount())null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);else if(null!=b){null==this.linkHint&&(this.linkHint=a(),this.linkHint.style.padding="4px 10px 6px 10px",
|
||||
this.linkHint.style.fontSize="90%",this.linkHint.style.opacity="1",this.linkHint.style.filter="",this.updateLinkHint(b),this.graph.container.appendChild(this.linkHint));var c=b;60<c.length&&(c=c.substring(0,36)+"..."+c.substring(c.length-20));var d=document.createElement("a");d.setAttribute("href",this.graph.getLinkUrl(b));d.setAttribute("title",b);null!=this.graph.linkTarget&&d.setAttribute("target",this.graph.linkTarget);mxUtils.write(d,c);this.linkHint.innerHTML="";this.linkHint.appendChild(d);
|
||||
this.graph.isEnabled()&&"function"===typeof this.graph.editLink&&(b=document.createElement("img"),b.setAttribute("src",IMAGE_PATH+"/edit.gif"),b.setAttribute("title",mxResources.get("editLink")),b.setAttribute("width","11"),b.setAttribute("height","11"),b.style.marginLeft="10px",b.style.marginBottom="-1px",b.style.cursor="pointer",this.linkHint.appendChild(b),mxEvent.addListener(b,"click",mxUtils.bind(this,function(a){this.graph.setSelectionCell(this.state.cell);this.graph.editLink();mxEvent.consume(a)})))}};
|
||||
mxEdgeHandler.prototype.updateLinkHint=mxVertexHandler.prototype.updateLinkHint;var R=mxEdgeHandler.prototype.init;mxEdgeHandler.prototype.init=function(){R.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.state.view.graph.connectionHandler.isEnabled()});var a=mxUtils.bind(this,function(){null!=this.linkHint&&(this.linkHint.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.labelShape&&(this.labelShape.node.style.display=this.graph.isEnabled()&&
|
||||
this.graph.getSelectionCount()<this.graph.graphHandler.maxCells?"":"none")});this.selectionHandler=mxUtils.bind(this,function(b,c){a()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionHandler);this.changeHandler=mxUtils.bind(this,function(b,c){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell));a();this.redrawHandles()});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);var b=this.graph.getLinkForCell(this.state.cell);null!=b&&(this.updateLinkHint(b),
|
||||
this.redrawHandles())};var T=mxConnectionHandler.prototype.init;mxConnectionHandler.prototype.init=function(){T.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.graph.connectionHandler.isEnabled()})};var aa=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){aa.apply(this);if(null!=this.state&&null!=this.linkHint){var a=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),b=new mxRectangle(this.state.x,this.state.y-
|
||||
22,this.state.width+24,this.state.height+22),a=mxUtils.getBoundingBox(b,this.state.style[mxConstants.STYLE_ROTATION]||"0",a),b=null!=a?mxUtils.getBoundingBox(this.state,this.state.style[mxConstants.STYLE_ROTATION]||"0"):this.state;null==a&&(a=this.state);this.linkHint.style.left=Math.round(b.x+(b.width-this.linkHint.clientWidth)/2)+"px";this.linkHint.style.top=Math.round(a.y+a.height+this.verticalOffset/2+6+this.state.view.graph.tolerance)+"px"}};var V=mxVertexHandler.prototype.reset;mxVertexHandler.prototype.reset=
|
||||
function(){V.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none")};var B=mxVertexHandler.prototype.destroy;mxVertexHandler.prototype.destroy=function(){B.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.selectionHandler&&(this.graph.getSelectionModel().removeListener(this.selectionHandler),this.selectionHandler=
|
||||
null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null);null!=this.editingHandler&&(this.graph.removeListener(this.editingHandler),this.editingHandler=null)};var Y=mxEdgeHandler.prototype.redrawHandles;mxEdgeHandler.prototype.redrawHandles=function(){if(null!=this.marker&&(Y.apply(this),null!=this.state&&null!=this.linkHint)){var a=this.state;null!=this.state.text&&null!=this.state.text.bounds&&(a=new mxRectangle(a.x,a.y,a.width,a.height),
|
||||
a.add(this.state.text.bounds));this.linkHint.style.left=Math.round(a.x+(a.width-this.linkHint.clientWidth)/2)+"px";this.linkHint.style.top=Math.round(a.y+a.height+6+this.state.view.graph.tolerance)+"px"}};var N=mxEdgeHandler.prototype.reset;mxEdgeHandler.prototype.reset=function(){N.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.visibility="")};var J=mxEdgeHandler.prototype.destroy;mxEdgeHandler.prototype.destroy=function(){J.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),
|
||||
this.linkHint=null);null!=this.selectionHandler&&(this.graph.getSelectionModel().removeListener(this.selectionHandler),this.selectionHandler=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null)}}();(function(){function a(){mxCylinder.call(this)}function b(){mxActor.call(this)}function c(){mxCylinder.call(this)}function d(){mxCylinder.call(this)}function e(){mxCylinder.call(this)}function f(){mxActor.call(this)}function g(){mxCylinder.call(this)}function k(){mxActor.call(this)}function l(){mxActor.call(this)}function n(){mxActor.call(this)}function m(){mxActor.call(this)}function p(){mxActor.call(this)}function s(){mxActor.call(this)}function r(){mxActor.call(this)}function q(a,b){this.canvas=
|
||||
(null!=this.currentX&&null!=this.currentY)&&(d=this.first.x,e=this.first.y,f=(this.currentX-d)/this.graph.view.scale,g=(this.currentY-e)/this.graph.view.scale,mxEvent.isAltDown(b.getEvent())||(f=this.graph.snap(f),g=this.graph.snap(g)));this.reset();if(c){if(this.isSpaceEvent(b)){this.graph.model.beginUpdate();try{for(var k=this.graph.getCellsBeyond(d,e,this.graph.getDefaultParent(),!0,!0),c=0;c<k.length;c++)if(this.graph.isCellMovable(k[c])){var l=this.graph.view.getState(k[c]),n=this.graph.getCellGeometry(k[c]);
|
||||
null!=l&&null!=n&&(n=n.clone(),n.translate(f,g),this.graph.model.setGeometry(k[c],n))}}finally{this.graph.model.endUpdate()}}else f=new mxRectangle(this.x,this.y,this.width,this.height),this.graph.selectRegion(f,b.getEvent());b.consume()}};mxRubberband.prototype.mouseMove=function(a,b){if(!b.isConsumed()&&null!=this.first){var c=mxUtils.getScrollOrigin(this.graph.container),d=mxUtils.getOffset(this.graph.container);c.x-=d.x;c.y-=d.y;var d=b.getX()+c.x,c=b.getY()+c.y,e=this.first.x-d,f=this.first.y-
|
||||
c,g=this.graph.tolerance;if(null!=this.div||Math.abs(e)>g||Math.abs(f)>g)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(d,c),this.isSpaceEvent(b)?(d=this.x+this.width,c=this.y+this.height,e=this.graph.view.scale,mxEvent.isAltDown(b.getEvent())||(this.width=this.graph.snap(this.width/e)*e,this.height=this.graph.snap(this.height/e)*e,this.graph.isGridEnabled()||(this.width<this.graph.tolerance&&(this.width=0),this.height<this.graph.tolerance&&(this.height=0)),this.x<
|
||||
this.first.x&&(this.x=d-this.width),this.y<this.first.y&&(this.y=c-this.height)),this.div.style.borderStyle="dashed",this.div.style.backgroundColor="white",this.div.style.left=this.x+"px",this.div.style.top=this.y+"px",this.div.style.width=Math.max(0,this.width)+"px",this.div.style.height=this.graph.container.clientHeight+"px",this.div.style.borderWidth=0>=this.width?"0px 1px 0px 0px":"0px 1px 0px 1px",null==this.secondDiv&&(this.secondDiv=this.div.cloneNode(!0),this.div.parentNode.appendChild(this.secondDiv)),
|
||||
this.secondDiv.style.left=this.x+"px",this.secondDiv.style.top=this.y+"px",this.secondDiv.style.width=this.graph.container.clientWidth+"px",this.secondDiv.style.height=Math.max(0,this.height)+"px",this.secondDiv.style.borderWidth=0>=this.height?"1px 0px 0px 0px":"1px 0px 1px 0px"):(this.div.style.backgroundColor="",this.div.style.borderWidth="",this.div.style.borderStyle="",null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),b.consume()}};var A=mxRubberband.prototype.reset;
|
||||
mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);A.apply(this,arguments)};var z=(new Date).getTime(),v=0,D=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(a,b,c,d){D.apply(this,arguments);c!=this.currentTerminalState?(z=(new Date).getTime(),v=0):v=(new Date).getTime()-z;this.currentTerminalState=c};var y=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=
|
||||
function(a){return null!=this.currentTerminalState&&a.getState()==this.currentTerminalState&&2E3<v||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,"outlineConnect","1"))&&y.apply(this,arguments)};mxVertexHandler.prototype.isCustomHandleEvent=function(a){return!mxEvent.isShiftDown(a.getEvent())};mxEdgeHandler.prototype.createHandleShape=function(a,b){var c=null!=a&&0==a,d=this.state.getVisibleTerminalState(c),e=null!=a&&(0==a||a>=this.state.absolutePoints.length-
|
||||
1||this.constructor==mxElbowEdgeHandler&&2==a)?this.graph.getConnectionConstraint(this.state,d,c):null,c=null!=(null!=e?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(c),e):null)?this.fixedHandleImage:null!=e&&null!=d?this.terminalHandleImage:this.handleImage;if(null!=c)return c=new mxImageShape(new mxRectangle(0,0,c.width,c.height),c.src),c.preserveImageAspect=!1,c;c=mxConstants.HANDLE_SIZE;this.preferHtml&&(c-=1);return new mxRectangleShape(new mxRectangle(0,0,c,c),mxConstants.HANDLE_FILLCOLOR,
|
||||
mxConstants.HANDLE_STROKECOLOR)};var E=mxVertexHandler.prototype.createSizerShape;mxVertexHandler.prototype.createSizerShape=function(a,b,c){this.handleImage=b==mxEvent.ROTATION_HANDLE?x:b==mxEvent.LABEL_HANDLE?this.secondaryHandleImage:this.handleImage;return E.apply(this,arguments)};var C=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=function(a){if(null!=a&&1==a.length){var b=this.graph.getModel(),c=b.getParent(a[0]),d=this.graph.getCellGeometry(a[0]);if(b.isEdge(c)&&
|
||||
(null!=d&&d.relative)&&(b=this.graph.view.getState(a[0]),null!=b&&2>b.width&&2>b.height&&null!=b.text&&null!=b.text.boundingBox))return mxRectangle.fromRectangle(b.text.boundingBox)}return C.apply(this,arguments)};var F=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(a){var b=this.graph.getModel(),c=b.getParent(a.cell),d=this.graph.getCellGeometry(a.cell);return b.isEdge(c)&&null!=d&&d.relative&&2>a.width&&2>a.height&&null!=a.text&&null!=a.text.boundingBox?
|
||||
(b=a.text.unrotatedBoundingBox||a.text.boundingBox,new mxRectangle(Math.round(b.x),Math.round(b.y),Math.round(b.width),Math.round(b.height))):F.apply(this,arguments)};var G=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(a,b){var c=this.graph.getModel(),d=c.getParent(this.state.cell),e=this.graph.getCellGeometry(this.state.cell);(this.getHandleForEvent(b)==mxEvent.ROTATION_HANDLE||!c.isEdge(d)||null==e||!e.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&
|
||||
G.apply(this,arguments)};mxVertexHandler.prototype.isRotationHandleVisible=function(){return this.graph.isEnabled()&&this.rotationEnabled&&this.graph.isCellRotatable(this.state.cell)&&(0>=mxGraphHandler.prototype.maxCells||this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells)};mxVertexHandler.prototype.rotateClick=function(){this.state.view.graph.turnShapes([this.state.cell])};var H=mxVertexHandler.prototype.mouseMove;mxVertexHandler.prototype.mouseMove=function(a,b){H.apply(this,arguments);
|
||||
null!=this.graph.graphHandler.first&&(null!=this.rotationShape&&null!=this.rotationShape.node)&&(this.rotationShape.node.style.display="none")};var L=mxVertexHandler.prototype.mouseUp;mxVertexHandler.prototype.mouseUp=function(a,b){L.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none")};var K=mxVertexHandler.prototype.init;mxVertexHandler.prototype.init=function(){K.apply(this,arguments);
|
||||
var a=!1;null!=this.rotationShape&&this.rotationShape.node.setAttribute("title",mxResources.get("rotateTooltip"));var b=mxUtils.bind(this,function(){null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.specialHandle&&(this.specialHandle.node.style.display=this.graph.isEnabled()&&this.graph.getSelectionCount()<this.graph.graphHandler.maxCells?"":"none");this.redrawHandles()});this.selectionHandler=mxUtils.bind(this,
|
||||
function(a,c){b()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionHandler);this.changeHandler=mxUtils.bind(this,function(a,c){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell));b()});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);this.editingHandler=mxUtils.bind(this,function(a,b){this.redrawHandles()});this.graph.addListener(mxEvent.EDITING_STOPPED,this.editingHandler);var c=this.graph.getLinkForCell(this.state.cell);this.updateLinkHint(c);
|
||||
null!=c&&(a=!0);a&&this.redrawHandles()};mxVertexHandler.prototype.updateLinkHint=function(b){if(null==b||1<this.graph.getSelectionCount())null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);else if(null!=b){null==this.linkHint&&(this.linkHint=a(),this.linkHint.style.padding="4px 10px 6px 10px",this.linkHint.style.fontSize="90%",this.linkHint.style.opacity="1",this.linkHint.style.filter="",this.updateLinkHint(b),this.graph.container.appendChild(this.linkHint));
|
||||
var c=b;60<c.length&&(c=c.substring(0,36)+"..."+c.substring(c.length-20));var d=document.createElement("a");d.setAttribute("href",this.graph.getLinkUrl(b));d.setAttribute("title",b);null!=this.graph.linkTarget&&d.setAttribute("target",this.graph.linkTarget);mxUtils.write(d,c);this.linkHint.innerHTML="";this.linkHint.appendChild(d);this.graph.isEnabled()&&"function"===typeof this.graph.editLink&&(b=document.createElement("img"),b.setAttribute("src",IMAGE_PATH+"/edit.gif"),b.setAttribute("title",mxResources.get("editLink")),
|
||||
b.setAttribute("width","11"),b.setAttribute("height","11"),b.style.marginLeft="10px",b.style.marginBottom="-1px",b.style.cursor="pointer",this.linkHint.appendChild(b),mxEvent.addListener(b,"click",mxUtils.bind(this,function(a){this.graph.setSelectionCell(this.state.cell);this.graph.editLink();mxEvent.consume(a)})))}};mxEdgeHandler.prototype.updateLinkHint=mxVertexHandler.prototype.updateLinkHint;var R=mxEdgeHandler.prototype.init;mxEdgeHandler.prototype.init=function(){R.apply(this,arguments);this.constraintHandler.isEnabled=
|
||||
mxUtils.bind(this,function(){return this.state.view.graph.connectionHandler.isEnabled()});var a=mxUtils.bind(this,function(){null!=this.linkHint&&(this.linkHint.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.labelShape&&(this.labelShape.node.style.display=this.graph.isEnabled()&&this.graph.getSelectionCount()<this.graph.graphHandler.maxCells?"":"none")});this.selectionHandler=mxUtils.bind(this,function(b,c){a()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionHandler);
|
||||
this.changeHandler=mxUtils.bind(this,function(b,c){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell));a();this.redrawHandles()});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);var b=this.graph.getLinkForCell(this.state.cell);null!=b&&(this.updateLinkHint(b),this.redrawHandles())};var T=mxConnectionHandler.prototype.init;mxConnectionHandler.prototype.init=function(){T.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.graph.connectionHandler.isEnabled()})};
|
||||
var aa=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){aa.apply(this);if(null!=this.state&&null!=this.linkHint){var a=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),b=new mxRectangle(this.state.x,this.state.y-22,this.state.width+24,this.state.height+22),a=mxUtils.getBoundingBox(b,this.state.style[mxConstants.STYLE_ROTATION]||"0",a),b=null!=a?mxUtils.getBoundingBox(this.state,this.state.style[mxConstants.STYLE_ROTATION]||"0"):this.state;null==
|
||||
a&&(a=this.state);this.linkHint.style.left=Math.round(b.x+(b.width-this.linkHint.clientWidth)/2)+"px";this.linkHint.style.top=Math.round(a.y+a.height+this.verticalOffset/2+6+this.state.view.graph.tolerance)+"px"}};var V=mxVertexHandler.prototype.reset;mxVertexHandler.prototype.reset=function(){V.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none")};var B=mxVertexHandler.prototype.destroy;
|
||||
mxVertexHandler.prototype.destroy=function(){B.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.selectionHandler&&(this.graph.getSelectionModel().removeListener(this.selectionHandler),this.selectionHandler=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null);null!=this.editingHandler&&(this.graph.removeListener(this.editingHandler),this.editingHandler=null)};
|
||||
var Y=mxEdgeHandler.prototype.redrawHandles;mxEdgeHandler.prototype.redrawHandles=function(){if(null!=this.marker&&(Y.apply(this),null!=this.state&&null!=this.linkHint)){var a=this.state;null!=this.state.text&&null!=this.state.text.bounds&&(a=new mxRectangle(a.x,a.y,a.width,a.height),a.add(this.state.text.bounds));this.linkHint.style.left=Math.round(a.x+(a.width-this.linkHint.clientWidth)/2)+"px";this.linkHint.style.top=Math.round(a.y+a.height+6+this.state.view.graph.tolerance)+"px"}};var N=mxEdgeHandler.prototype.reset;
|
||||
mxEdgeHandler.prototype.reset=function(){N.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.visibility="")};var J=mxEdgeHandler.prototype.destroy;mxEdgeHandler.prototype.destroy=function(){J.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.selectionHandler&&(this.graph.getSelectionModel().removeListener(this.selectionHandler),this.selectionHandler=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),
|
||||
this.changeHandler=null)}}();(function(){function a(){mxCylinder.call(this)}function b(){mxActor.call(this)}function c(){mxCylinder.call(this)}function d(){mxCylinder.call(this)}function e(){mxCylinder.call(this)}function f(){mxActor.call(this)}function g(){mxCylinder.call(this)}function k(){mxActor.call(this)}function l(){mxActor.call(this)}function n(){mxActor.call(this)}function m(){mxActor.call(this)}function p(){mxActor.call(this)}function s(){mxActor.call(this)}function r(){mxActor.call(this)}function q(a,b){this.canvas=
|
||||
a;this.canvas.setLineJoin("round");this.canvas.setLineCap("round");this.defaultVariation=b;this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,q.prototype.lineTo);this.originalMoveTo=this.canvas.moveTo;this.canvas.moveTo=mxUtils.bind(this,q.prototype.moveTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(this,q.prototype.close);this.originalQuadTo=this.canvas.quadTo;this.canvas.quadTo=mxUtils.bind(this,q.prototype.quadTo);this.originalCurveTo=this.canvas.curveTo;
|
||||
this.canvas.curveTo=mxUtils.bind(this,q.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,q.prototype.arcTo)}function t(){mxRectangleShape.call(this)}function x(){mxActor.call(this)}function u(){mxActor.call(this)}function A(){mxRectangleShape.call(this)}function z(){mxRectangleShape.call(this)}function v(){mxCylinder.call(this)}function D(){mxShape.call(this)}function y(){mxShape.call(this)}function E(){mxEllipse.call(this)}function C(){mxShape.call(this)}
|
||||
function F(){mxShape.call(this)}function G(){mxRectangleShape.call(this)}function H(){mxShape.call(this)}function L(){mxShape.call(this)}function K(){mxShape.call(this)}function R(){mxCylinder.call(this)}function T(){mxDoubleEllipse.call(this)}function aa(){mxDoubleEllipse.call(this)}function V(){mxArrowConnector.call(this);this.spacing=0}function B(){mxArrowConnector.call(this);this.spacing=0}function Y(){mxActor.call(this)}function N(){mxRectangleShape.call(this)}function J(){mxActor.call(this)}
|
||||
|
@ -2437,14 +2437,14 @@ mxCellRenderer.prototype.defaultShapes.partialRectangle=W;mxUtils.extend(ga,mxEl
|
|||
e/2);a.moveTo(0,0);a.lineTo(d-b,0);a.quadTo(d,0,d,e/2);a.quadTo(d,e,d-b,e);a.lineTo(0,e);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.delay=ka;mxUtils.extend(ca,mxActor);ca.prototype.size=0.2;ca.prototype.redrawPath=function(a,b,c,d,e){b=Math.min(e,d);var f=Math.max(0,Math.min(b,b*parseFloat(mxUtils.getValue(this.style,"size",this.size))));b=(e-f)/2;c=b+f;var g=(d-f)/2,f=g+f;a.moveTo(0,b);a.lineTo(g,b);a.lineTo(g,0);a.lineTo(f,0);a.lineTo(f,b);a.lineTo(d,b);a.lineTo(d,c);a.lineTo(f,c);
|
||||
a.lineTo(f,e);a.lineTo(g,e);a.lineTo(g,c);a.lineTo(0,c);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.cross=ca;mxUtils.extend(na,mxActor);na.prototype.size=0.25;na.prototype.redrawPath=function(a,b,c,d,e){b=Math.min(d,e/2);c=Math.min(d-b,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*d);a.moveTo(0,e/2);a.lineTo(c,0);a.lineTo(d-b,0);a.quadTo(d,0,d,e/2);a.quadTo(d,e,d-b,e);a.lineTo(c,e);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.display=na;mxMarker.addMarker("dash",
|
||||
function(a,b,c,d,e,f,g,k,l,n){var m=e*(g+l+1),q=f*(g+l+1);return function(){a.begin();a.moveTo(d.x-m/2-q/2,d.y-q/2+m/2);a.lineTo(d.x+q/2-3*m/2,d.y-3*q/2-m/2);a.stroke()}});mxMarker.addMarker("cross",function(a,b,c,d,e,f,g,k,l,n){var m=e*(g+l+1),q=f*(g+l+1);return function(){a.begin();a.moveTo(d.x-m/2-q/2,d.y-q/2+m/2);a.lineTo(d.x+q/2-3*m/2,d.y-3*q/2-m/2);a.moveTo(d.x-m/2+q/2,d.y-q/2-m/2);a.lineTo(d.x-q/2-3*m/2,d.y-3*q/2+m/2);a.stroke()}});mxMarker.addMarker("circle",va);mxMarker.addMarker("circlePlus",
|
||||
function(a,b,c,d,e,f,g,k,l,n){var m=d.clone(),q=va.apply(this,arguments),t=e*(g+2*l),p=f*(g+2*l);return function(){q.apply(this,arguments);a.begin();a.moveTo(m.x-e*l,m.y-f*l);a.lineTo(m.x-2*t+e*l,m.y-2*p+f*l);a.moveTo(m.x-t-p+f*l,m.y-p+t-e*l);a.lineTo(m.x+p-t-f*l,m.y-p-t+e*l);a.stroke()}});mxMarker.addMarker("async",function(a,b,c,d,e,f,g,k,l,m){b=1.118*e*l;c=1.118*f*l;e*=g+l;f*=g+l;var n=d.clone();n.x-=b;n.y-=c;d.x+=1*-e-b;d.y+=1*-f-c;return function(){a.begin();a.moveTo(n.x,n.y);k?a.lineTo(n.x-
|
||||
e-f/2,n.y-f+e/2):a.lineTo(n.x+f/2-e,n.y-f-e/2);a.lineTo(n.x-e,n.y-f);a.close();m?a.fillAndStroke():a.stroke()}});mxMarker.addMarker("openAsync",function(a){a=null!=a?a:2;return function(b,c,d,e,f,g,k,l,n,m){f*=k+n;g*=k+n;var q=e.clone();return function(){b.begin();b.moveTo(q.x,q.y);l?b.lineTo(q.x-f-g/a,q.y-g+f/a):b.lineTo(q.x+g/a-f,q.y-g-f/a);b.stroke()}}}(2));if("undefined"!==typeof mxVertexHandler){var fa=function(a,b,c,d,e){a=new mxHandle(a,null,mxVertexHandler.prototype.secondaryHandleImage);
|
||||
function(a,b,c,d,e,f,g,k,l,n){var m=d.clone(),q=va.apply(this,arguments),t=e*(g+2*l),p=f*(g+2*l);return function(){q.apply(this,arguments);a.begin();a.moveTo(m.x-e*l,m.y-f*l);a.lineTo(m.x-2*t+e*l,m.y-2*p+f*l);a.moveTo(m.x-t-p+f*l,m.y-p+t-e*l);a.lineTo(m.x+p-t-f*l,m.y-p-t+e*l);a.stroke()}});mxMarker.addMarker("async",function(a,b,c,d,e,f,g,k,l,n){b=1.118*e*l;c=1.118*f*l;e*=g+l;f*=g+l;var m=d.clone();m.x-=b;m.y-=c;d.x+=1*-e-b;d.y+=1*-f-c;return function(){a.begin();a.moveTo(m.x,m.y);k?a.lineTo(m.x-
|
||||
e-f/2,m.y-f+e/2):a.lineTo(m.x+f/2-e,m.y-f-e/2);a.lineTo(m.x-e,m.y-f);a.close();n?a.fillAndStroke():a.stroke()}});mxMarker.addMarker("openAsync",function(a){a=null!=a?a:2;return function(b,c,d,e,f,g,k,l,m,n){f*=k+m;g*=k+m;var q=e.clone();return function(){b.begin();b.moveTo(q.x,q.y);l?b.lineTo(q.x-f-g/a,q.y-g+f/a):b.lineTo(q.x+g/a-f,q.y-g-f/a);b.stroke()}}}(2));if("undefined"!==typeof mxVertexHandler){var fa=function(a,b,c,d,e){a=new mxHandle(a,null,mxVertexHandler.prototype.secondaryHandleImage);
|
||||
a.execute=function(){for(var a=0;a<b.length;a++)this.copyStyle(b[a])};a.getPosition=c;a.setPosition=d;a.ignoreGrid=null!=e?e:!0;return a},la=function(a,b){return fa(a,[mxConstants.STYLE_ARCSIZE],function(c){var d=Math.max(0,parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/100,e=null!=b?b:c.height/8;return new mxPoint(c.x+c.width-Math.min(Math.max(c.width/2,c.height/2),Math.min(c.width,c.height)*d),c.y+e)},function(a,b,c){a=Math.min(50,Math.max(0,
|
||||
100*(a.width-b.x+a.x)/Math.min(a.width,a.height)));this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(a)})},ja=function(){return function(a){var b=[];mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED,!1)&&b.push(la(a));return b}},ia=function(a){return function(b){var c=[fa(b,["size"],function(b){var c=Math.max(0,Math.min(a,parseFloat(mxUtils.getValue(this.state.style,"size",p.prototype.size))));return new mxPoint(b.x+0.75*c*b.width,b.y+b.height/4)},function(b,c){this.state.style.size=Math.max(0,
|
||||
Math.min(a,(c.x-b.x)/(0.75*b.width)))})];mxUtils.getValue(b.style,mxConstants.STYLE_ROUNDED,!1)&&c.push(la(b));return c}},pa=function(a,b,c){c=null!=c?c:1;return function(d){var e=[fa(d,["size"],function(b){var c=parseFloat(mxUtils.getValue(this.state.style,"size",a));return new mxPoint(b.x+c*b.width,b.getCenterY())},function(a,b){this.state.style.size=Math.max(0,Math.min(c,(b.x-a.x)/a.width))})];b&&mxUtils.getValue(d.style,mxConstants.STYLE_ROUNDED,!1)&&e.push(la(d));return e}},ta=function(a,b,c){return function(d){var e=
|
||||
[fa(d,["size"],function(c){var d=Math.max(0,Math.min(c.width,Math.min(c.height,parseFloat(mxUtils.getValue(this.state.style,"size",b)))))*a;return new mxPoint(c.x+d,c.y+d)},function(b,c){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(b.width,c.x-b.x),Math.min(b.height,c.y-b.y)))/a)})];c&&mxUtils.getValue(d.style,mxConstants.STYLE_ROUNDED,!1)&&e.push(la(d));return e}},xa=function(a){return function(b){return[fa(b,["arrowWidth","arrowSize"],function(b){var c=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,
|
||||
"arrowWidth",M.prototype.arrowWidth))),d=Math.max(0,Math.min(a,mxUtils.getValue(this.state.style,"arrowSize",M.prototype.arrowSize)));return new mxPoint(b.x+(1-d)*b.width,b.y+(1-c)*b.height/2)},function(b,c){this.state.style.arrowWidth=Math.max(0,Math.min(1,2*(Math.abs(b.y+b.height/2-c.y)/b.height)));this.state.style.arrowSize=Math.max(0,Math.min(a,(b.x+b.width-c.x)/b.width))})]}},oa=function(a,b,c,d,e){var f=a.absolutePoints,g=f.length-1,k=a.view.translate,l=a.view.scale,n=c?f[0]:f[g],m=c?f[1]:f[g-
|
||||
1],q=m.x-n.x,t=m.y-n.y,p=Math.sqrt(q*q+t*t);return fa(a,b,function(a){a=d.call(this,p,q/p,t/p,n,m);return new mxPoint(a.x/l-k.x,a.y/l-k.y)},function(a,b,c){a=Math.sqrt(q*q+t*t);b.x=(b.x+k.x)*l;b.y=(b.y+k.y)*l;e.call(this,a,q/a,t/a,n,m,b,c)})},ya=function(a,b,c){return oa(a,["width"],b,function(b,d,e,f,g){g=a.shape.getEdgeWidth()*a.view.scale+c;return new mxPoint(f.x+d*b/4+e*g/2,f.y+e*b/4-d*g/2)},function(b,d,e,f,g,k){b=Math.sqrt(mxUtils.ptSegDistSq(f.x,f.y,g.x,g.y,k.x,k.y));a.style.width=Math.round(2*
|
||||
"arrowWidth",M.prototype.arrowWidth))),d=Math.max(0,Math.min(a,mxUtils.getValue(this.state.style,"arrowSize",M.prototype.arrowSize)));return new mxPoint(b.x+(1-d)*b.width,b.y+(1-c)*b.height/2)},function(b,c){this.state.style.arrowWidth=Math.max(0,Math.min(1,2*(Math.abs(b.y+b.height/2-c.y)/b.height)));this.state.style.arrowSize=Math.max(0,Math.min(a,(b.x+b.width-c.x)/b.width))})]}},oa=function(a,b,c,d,e){var f=a.absolutePoints,g=f.length-1,k=a.view.translate,l=a.view.scale,m=c?f[0]:f[g],n=c?f[1]:f[g-
|
||||
1],q=n.x-m.x,t=n.y-m.y,p=Math.sqrt(q*q+t*t);return fa(a,b,function(a){a=d.call(this,p,q/p,t/p,m,n);return new mxPoint(a.x/l-k.x,a.y/l-k.y)},function(a,b,c){a=Math.sqrt(q*q+t*t);b.x=(b.x+k.x)*l;b.y=(b.y+k.y)*l;e.call(this,a,q/a,t/a,m,n,b,c)})},ya=function(a,b,c){return oa(a,["width"],b,function(b,d,e,f,g){g=a.shape.getEdgeWidth()*a.view.scale+c;return new mxPoint(f.x+d*b/4+e*g/2,f.y+e*b/4-d*g/2)},function(b,d,e,f,g,k){b=Math.sqrt(mxUtils.ptSegDistSq(f.x,f.y,g.x,g.y,k.x,k.y));a.style.width=Math.round(2*
|
||||
b)/a.view.scale-c})},ua={link:function(a){return[ya(a,!0,10),ya(a,!1,10)]},flexArrow:function(a){var b=a.view.graph.gridSize/a.view.scale,c=[];mxUtils.getValue(a.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE&&(c.push(oa(a,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(b,c,d,e,f){b=(a.shape.getEdgeWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(e.x+
|
||||
c*(f+a.shape.strokewidth*a.view.scale)+d*b/2,e.y+d*(f+a.shape.strokewidth*a.view.scale)-c*b/2)},function(c,d,e,f,g,k,l){c=Math.sqrt(mxUtils.ptSegDistSq(f.x,f.y,g.x,g.y,k.x,k.y));d=mxUtils.ptLineDist(f.x,f.y,f.x+e,f.y-d,k.x,k.y);a.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(d-a.shape.strokewidth)/3)/100/a.view.scale;a.style.width=Math.round(2*c)/a.view.scale;mxEvent.isControlDown(l.getEvent())&&(a.style[mxConstants.STYLE_ENDSIZE]=a.style[mxConstants.STYLE_STARTSIZE]);mxEvent.isAltDown(l.getEvent())||
|
||||
Math.abs(parseFloat(a.style[mxConstants.STYLE_STARTSIZE])-parseFloat(a.style[mxConstants.STYLE_ENDSIZE]))<b/6&&(a.style[mxConstants.STYLE_STARTSIZE]=a.style[mxConstants.STYLE_ENDSIZE])})),c.push(oa(a,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(b,c,d,e,f){b=(a.shape.getStartArrowWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(e.x+c*(f+a.shape.strokewidth*
|
||||
|
@ -2469,8 +2469,8 @@ mxConstants.ALIGN_RIGHT&&(c=a.width-c);this.state.style.tabWidth=Math.round(c);t
|
|||
function(a){var b=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",l.prototype.size))));return new mxPoint(a.getCenterX(),a.y+b*a.height/2)},function(a,b){this.state.style.size=Math.max(0,Math.min(1,2*((b.y-a.y)/a.height)))})]},offPageConnector:function(a){return[fa(a,["size"],function(a){var b=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",P.prototype.size))));return new mxPoint(a.getCenterX(),a.y+(1-b)*a.height)},function(a,b){this.state.style.size=
|
||||
Math.max(0,Math.min(1,(a.y+a.height-b.y)/a.height))})]},step:pa(x.prototype.size,!0),hexagon:pa(u.prototype.size,!0,0.5),curlyBracket:pa(s.prototype.size,!1),display:pa(na.prototype.size,!1),cube:ta(1,a.prototype.size,!1),card:ta(0.5,k.prototype.size,!0),loopLimit:ta(0.5,ba.prototype.size,!0),trapezoid:ia(0.5),parallelogram:ia(1)};Graph.createHandle=fa;Graph.handleFactory=ua;mxVertexHandler.prototype.createCustomHandles=function(){if(1==this.state.view.graph.getSelectionCount()&&this.graph.isCellRotatable(this.state.cell)){var a=
|
||||
ua[this.state.style.shape];if(null!=a)return a(this.state)}return null};mxEdgeHandler.prototype.createCustomHandles=function(){if(1==this.state.view.graph.getSelectionCount()){var a=ua[this.state.style.shape];if(null!=a)return a(this.state)}return null}}else Graph.createHandle=function(){},Graph.handleFactory={};var qa=new mxPoint(1,0),ra=new mxPoint(1,0),ia=mxUtils.toRadians(-30),ja=Math.cos(ia),ia=Math.sin(ia),qa=mxUtils.getRotatedPoint(qa,ja,ia),ia=mxUtils.toRadians(-150),ja=Math.cos(ia),ia=Math.sin(ia),
|
||||
ra=mxUtils.getRotatedPoint(ra,ja,ia);mxEdgeStyle.IsometricConnector=function(a,b,c,d,e){var f=a.view;d=null!=d&&0<d.length?d[0]:null;var g=a.absolutePoints,k=g[0],g=g[g.length-1];null!=d&&(d=f.transformControlPoint(a,d));null==k&&null!=b&&(k=new mxPoint(b.getCenterX(),b.getCenterY()));null==g&&null!=c&&(g=new mxPoint(c.getCenterX(),c.getCenterY()));var l=qa.x,n=qa.y,m=ra.x,q=ra.y,t="horizontal"==mxUtils.getValue(a.style,"elbow","horizontal");if(null!=g&&null!=k){var p=k;a=function(a,b,c){a-=p.x;var d=
|
||||
b-p.y;b=(q*a-m*d)/(l*q-n*m);a=(n*a-l*d)/(n*m-l*q);t?(c&&(p=new mxPoint(p.x+l*b,p.y+n*b),e.push(p)),p=new mxPoint(p.x+m*a,p.y+q*a)):(c&&(p=new mxPoint(p.x+m*a,p.y+q*a),e.push(p)),p=new mxPoint(p.x+l*b,p.y+n*b));e.push(p)};null==d&&(d=new mxPoint(k.x+(g.x-k.x)/2,k.y+(g.y-k.y)/2));a(d.x,d.y,!0);a(g.x,g.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);var Da=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(a,b){if(b==mxEdgeStyle.IsometricConnector){var c=
|
||||
ra=mxUtils.getRotatedPoint(ra,ja,ia);mxEdgeStyle.IsometricConnector=function(a,b,c,d,e){var f=a.view;d=null!=d&&0<d.length?d[0]:null;var g=a.absolutePoints,k=g[0],g=g[g.length-1];null!=d&&(d=f.transformControlPoint(a,d));null==k&&null!=b&&(k=new mxPoint(b.getCenterX(),b.getCenterY()));null==g&&null!=c&&(g=new mxPoint(c.getCenterX(),c.getCenterY()));var l=qa.x,m=qa.y,n=ra.x,q=ra.y,t="horizontal"==mxUtils.getValue(a.style,"elbow","horizontal");if(null!=g&&null!=k){var p=k;a=function(a,b,c){a-=p.x;var d=
|
||||
b-p.y;b=(q*a-n*d)/(l*q-m*n);a=(m*a-l*d)/(m*n-l*q);t?(c&&(p=new mxPoint(p.x+l*b,p.y+m*b),e.push(p)),p=new mxPoint(p.x+n*a,p.y+q*a)):(c&&(p=new mxPoint(p.x+n*a,p.y+q*a),e.push(p)),p=new mxPoint(p.x+l*b,p.y+m*b));e.push(p)};null==d&&(d=new mxPoint(k.x+(g.x-k.x)/2,k.y+(g.y-k.y)/2));a(d.x,d.y,!0);a(g.x,g.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);var Da=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(a,b){if(b==mxEdgeStyle.IsometricConnector){var c=
|
||||
new mxElbowEdgeHandler(a);c.snapToTerminals=!1;return c}return Da.apply(this,arguments)};b.prototype.constraints=[];c.prototype.constraints=[];mxRectangleShape.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,0.75),!0),new mxConnectionConstraint(new mxPoint(1,
|
||||
0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];mxEllipse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0.5,
|
||||
0),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.5))];mxLabel.prototype.constraints=mxRectangleShape.prototype.constraints;mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=mxRectangleShape.prototype.constraints;A.prototype.constraints=mxRectangleShape.prototype.constraints;e.prototype.constraints=mxRectangleShape.prototype.constraints;k.prototype.constraints=
|
||||
|
@ -2554,11 +2554,11 @@ mxUtils.bind(this,function(a){null!=d&&d(a)}))}else null!=c&&c(null)}),a)};Drawi
|
|||
DrawioFile.prototype.close=function(a){this.isAutosave()&&this.isModified()&&this.save(this.isAutosaveRevision(),null,null,a);this.destroy()};DrawioFile.prototype.hasSameExtension=function(a,b){if(null!=a&&null!=b){var c=a.lastIndexOf("."),d=0<c?a.substring(c):"",c=b.lastIndexOf(".");return d===(0<c?b.substring(c):"")}return a==b};
|
||||
DrawioFile.prototype.destroy=function(){this.clearAutosave();null!=this.changeListener&&(this.ui.editor.graph.model.removeListener(this.changeListener),this.ui.editor.graph.removeListener(this.changeListener),this.ui.removeListener(this.changeListener),this.changeListener=null)};LocalFile=function(a,b,c){DrawioFile.call(this,a,b);this.title=c};mxUtils.extend(LocalFile,DrawioFile);LocalFile.prototype.isAutosave=function(){return!1};LocalFile.prototype.getMode=function(){return App.MODE_DEVICE};LocalFile.prototype.getTitle=function(){return this.title};LocalFile.prototype.isRenamable=function(){return!0};LocalFile.prototype.save=function(a,b,c){this.saveAs(this.title,b,c)};LocalFile.prototype.saveAs=function(a,b,c){this.saveFile(a,!1,b,c)};
|
||||
LocalFile.prototype.saveFile=function(a,b,c,d){this.title=a;this.updateFileData();var e=this.getData();this.ui.isOfflineApp()||this.ui.isLocalFileSave()?this.ui.doSaveLocalFile(e,a,"text/xml"):e.length<MAX_REQUEST_SIZE?(b=a.lastIndexOf("."),b=0<b?a.substring(b+1):"xml",(new mxXmlRequest(SAVE_URL,"format\x3d"+b+"\x26filename\x3d"+encodeURIComponent(a)+"\x26xml\x3d"+encodeURIComponent(e))).simulate(document,"_blank")):this.ui.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),
|
||||
mxUtils.bind(this,function(){mxUtils.popup(e)}));this.setModified(!1);this.contentChanged();null!=c&&c()};LocalFile.prototype.rename=function(a,b,c){this.title=a;this.descriptorChanged();null!=b&&b()};LocalFile.prototype.open=function(){this.ui.setFileData(this.getData());this.changeListener=mxUtils.bind(this,function(a,b){this.setModified(!0);this.addUnsavedStatus()});this.ui.editor.graph.model.addListener(mxEvent.CHANGE,this.changeListener)};(function(){EditorUi.VERSION="@DRAWIO-VERSION@";EditorUi.compactUi="atlas"!=uiTheme;"1"==urlParams.dev&&(Editor.prototype.editBlankUrl+="\x26dev\x3d1",Editor.prototype.editBlankFallbackUrl+="\x26dev\x3d1");(function(){EditorUi.prototype.useCanvasForExport=!1;try{var a=document.createElement("canvas"),b=new Image;b.onload=function(){try{a.getContext("2d").drawImage(b,0,0);var c=a.toDataURL("image/png");EditorUi.prototype.useCanvasForExport=null!=c&&6<c.length}catch(d){}};b.src="data:image/svg+xml;base64,"+
|
||||
btoa(unescape(encodeURIComponent('\x3csvg xmlns\x3d"http://www.w3.org/2000/svg" xmlns:xlink\x3d"http://www.w3.org/1999/xlink" width\x3d"1px" height\x3d"1px" version\x3d"1.1"\x3e\x3cforeignObject pointer-events\x3d"all" width\x3d"1" height\x3d"1"\x3e\x3cdiv xmlns\x3d"http://www.w3.org/1999/xhtml"\x3e\x3c/div\x3e\x3c/foreignObject\x3e\x3c/svg\x3e')))}catch(c){}})();Editor.initMath=function(a,b){a=null!=a?a:"https://cdn.mathjax.org/mathjax/2.6-latest/MathJax.js?config\x3dTeX-MML-AM_HTMLorMML";Editor.mathJaxQueue=
|
||||
[];Editor.doMathJaxRender=function(a){MathJax.Hub.Queue(["Typeset",MathJax.Hub,a])};window.MathJax={skipStartupTypeset:!0,showMathMenu:!1,messageStyle:"none",AuthorInit:function(){MathJax.Hub.Config(b||{jax:["input/TeX","input/MathML","input/AsciiMath","output/HTML-CSS"],extensions:["tex2jax.js","mml2jax.js","asciimath2jax.js"],TeX:{extensions:["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]},tex2jax:{ignoreClass:"mxCellEditor"},asciimath2jax:{ignoreClass:"mxCellEditor"}});MathJax.Hub.Register.StartupHook("Begin",
|
||||
function(){for(var a=0;a<Editor.mathJaxQueue.length;a++)Editor.doMathJaxRender(Editor.mathJaxQueue[a])})}};Editor.MathJaxRender=function(a){"undefined"!==typeof MathJax&&"undefined"!==typeof MathJax.Hub?Editor.doMathJaxRender(a):Editor.mathJaxQueue.push(a)};Editor.MathJaxClear=function(){Editor.mathJaxQueue=[]};Editor.prototype.init=function(){this.graph.addListener(mxEvent.SIZE,mxUtils.bind(this,function(a,b){this.graph.mathEnabled&&Editor.MathJaxRender(this.graph.container)}))};var c=document.getElementsByTagName("script");
|
||||
if(null!=c&&0<c.length){var d=document.createElement("script");d.type="text/javascript";d.src=a;c[0].parentNode.appendChild(d)}};Editor.closeImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAMAAADzN3VRAAAApVBMVEUAAAD////k5OT///8AAAB1dXXMzMz9/f39/f37+/v5+fn+/v7///9iYmJaWlqFhYWnp6ejo6OHh4f////////////////7+/v5+fnx8fH///8AAAD///8bGxv7+/v5+fkoKCghISFDQ0MYGBjh4eHY2Njb29tQUFBvb29HR0c/Pz82NjYrKyu/v78SEhLu7u7s7OzV1dVVVVU7OzsVFRXAv78QEBBzqehMAAAAG3RSTlMAA/7p/vz5xZlrTiPL/v78+/v7+OXd2TYQDs8L70ZbAAABKUlEQVQoz3VS13LCMBBUXHChd8iukDslQChJ/v/TchaG4cXS+OSb1c7trU7V60OpdRz2ZtNZL4zXNlcN8BEtSG6+NxIXkeRPoBuQ1cjvZ31/VJFB10ISli6diYfH8iYO3WUNCcNlB0gTrXOtkxTo0O1aKKiBBMhhv2MNBQKoiA5wxlZo0JDzD3AYKbWacyj3fs01wxey0pyEP+R8pWKWXoqtIZ0DDg5pbki9krEKOa6LVDQsdoXEsi46Zqh69KFz7B1u7Hb2yDV8firXDKBlZ4UFiswKGRhXTS93/ECK7yxnJ3+S3y/ThpO+cfSD017nqa18aasabU0/t7d+tk0/1oMEJ1NaD67iwdF68OabFSLn+eHb0+vjy+uk8br9fdrftH0O2menfd7+AQfYM/lNjoDHAAAAAElFTkSuQmCC":
|
||||
mxUtils.bind(this,function(){mxUtils.popup(e)}));this.setModified(!1);this.contentChanged();null!=c&&c()};LocalFile.prototype.rename=function(a,b,c){this.title=a;this.descriptorChanged();null!=b&&b()};LocalFile.prototype.open=function(){this.ui.setFileData(this.getData());this.changeListener=mxUtils.bind(this,function(a,b){this.setModified(!0);this.addUnsavedStatus()});this.ui.editor.graph.model.addListener(mxEvent.CHANGE,this.changeListener)};(function(){EditorUi.VERSION="@DRAWIO-VERSION@";EditorUi.compactUi="atlas"!=uiTheme;EditorUi.isElectronApp=window&&window.process&&window.process.type;"1"==urlParams.dev&&(Editor.prototype.editBlankUrl+="\x26dev\x3d1",Editor.prototype.editBlankFallbackUrl+="\x26dev\x3d1");(function(){EditorUi.prototype.useCanvasForExport=!1;try{var a=document.createElement("canvas"),b=new Image;b.onload=function(){try{a.getContext("2d").drawImage(b,0,0);var c=a.toDataURL("image/png");EditorUi.prototype.useCanvasForExport=
|
||||
null!=c&&6<c.length}catch(d){}};b.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent('\x3csvg xmlns\x3d"http://www.w3.org/2000/svg" xmlns:xlink\x3d"http://www.w3.org/1999/xlink" width\x3d"1px" height\x3d"1px" version\x3d"1.1"\x3e\x3cforeignObject pointer-events\x3d"all" width\x3d"1" height\x3d"1"\x3e\x3cdiv xmlns\x3d"http://www.w3.org/1999/xhtml"\x3e\x3c/div\x3e\x3c/foreignObject\x3e\x3c/svg\x3e')))}catch(c){}})();Editor.initMath=function(a,b){a=null!=a?a:"https://cdn.mathjax.org/mathjax/2.6-latest/MathJax.js?config\x3dTeX-MML-AM_HTMLorMML";
|
||||
Editor.mathJaxQueue=[];Editor.doMathJaxRender=function(a){MathJax.Hub.Queue(["Typeset",MathJax.Hub,a])};window.MathJax={skipStartupTypeset:!0,showMathMenu:!1,messageStyle:"none",AuthorInit:function(){MathJax.Hub.Config(b||{jax:["input/TeX","input/MathML","input/AsciiMath","output/HTML-CSS"],extensions:["tex2jax.js","mml2jax.js","asciimath2jax.js"],TeX:{extensions:["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]},tex2jax:{ignoreClass:"mxCellEditor"},asciimath2jax:{ignoreClass:"mxCellEditor"}});
|
||||
MathJax.Hub.Register.StartupHook("Begin",function(){for(var a=0;a<Editor.mathJaxQueue.length;a++)Editor.doMathJaxRender(Editor.mathJaxQueue[a])})}};Editor.MathJaxRender=function(a){"undefined"!==typeof MathJax&&"undefined"!==typeof MathJax.Hub?Editor.doMathJaxRender(a):Editor.mathJaxQueue.push(a)};Editor.MathJaxClear=function(){Editor.mathJaxQueue=[]};Editor.prototype.init=function(){this.graph.addListener(mxEvent.SIZE,mxUtils.bind(this,function(a,b){this.graph.mathEnabled&&Editor.MathJaxRender(this.graph.container)}))};
|
||||
var c=document.getElementsByTagName("script");if(null!=c&&0<c.length){var d=document.createElement("script");d.type="text/javascript";d.src=a;c[0].parentNode.appendChild(d)}};Editor.closeImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAMAAADzN3VRAAAApVBMVEUAAAD////k5OT///8AAAB1dXXMzMz9/f39/f37+/v5+fn+/v7///9iYmJaWlqFhYWnp6ejo6OHh4f////////////////7+/v5+fnx8fH///8AAAD///8bGxv7+/v5+fkoKCghISFDQ0MYGBjh4eHY2Njb29tQUFBvb29HR0c/Pz82NjYrKyu/v78SEhLu7u7s7OzV1dVVVVU7OzsVFRXAv78QEBBzqehMAAAAG3RSTlMAA/7p/vz5xZlrTiPL/v78+/v7+OXd2TYQDs8L70ZbAAABKUlEQVQoz3VS13LCMBBUXHChd8iukDslQChJ/v/TchaG4cXS+OSb1c7trU7V60OpdRz2ZtNZL4zXNlcN8BEtSG6+NxIXkeRPoBuQ1cjvZ31/VJFB10ISli6diYfH8iYO3WUNCcNlB0gTrXOtkxTo0O1aKKiBBMhhv2MNBQKoiA5wxlZo0JDzD3AYKbWacyj3fs01wxey0pyEP+R8pWKWXoqtIZ0DDg5pbki9krEKOa6LVDQsdoXEsi46Zqh69KFz7B1u7Hb2yDV8firXDKBlZ4UFiswKGRhXTS93/ECK7yxnJ3+S3y/ThpO+cfSD017nqa18aasabU0/t7d+tk0/1oMEJ1NaD67iwdF68OabFSLn+eHb0+vjy+uk8br9fdrftH0O2menfd7+AQfYM/lNjoDHAAAAAElFTkSuQmCC":
|
||||
IMAGE_PATH+"/delete.png";Editor.prototype.addSvgShadow=function(a,b,c){c=null!=c?c:!1;var d=a.ownerDocument,e=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"filter"):d.createElement("filter");e.setAttribute("id","dropShadow");var f=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"feGaussianBlur"):d.createElement("feGaussianBlur");f.setAttribute("in","SourceAlpha");f.setAttribute("stdDeviation","1.7");f.setAttribute("result","blur");e.appendChild(f);f=null!=d.createElementNS?
|
||||
d.createElementNS(mxConstants.NS_SVG,"feOffset"):d.createElement("feOffset");f.setAttribute("in","blur");f.setAttribute("dx","3");f.setAttribute("dy","3");f.setAttribute("result","offsetBlur");e.appendChild(f);f=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"feFlood"):d.createElement("feFlood");f.setAttribute("flood-color","#3D4574");f.setAttribute("flood-opacity","0.4");f.setAttribute("result","offsetColor");e.appendChild(f);f=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,
|
||||
"feComposite"):d.createElement("feComposite");f.setAttribute("in","offsetColor");f.setAttribute("in2","offsetBlur");f.setAttribute("operator","in");f.setAttribute("result","offsetBlur");e.appendChild(f);f=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"feBlend"):d.createElement("feBlend");f.setAttribute("in","SourceGraphic");f.setAttribute("in2","offsetBlur");e.appendChild(f);var f=a.getElementsByTagName("defs"),g=null;0==f.length?(g=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,
|
||||
|
|
253
war/js/atlas.min.js
vendored
253
war/js/atlas.min.js
vendored
|
@ -2506,7 +2506,7 @@ return null!=b&&1==b.style.html};mxCellEditor.prototype.saveSelection=function()
|
|||
d;++a)sel.addRange(b[a])}else document.selection&&b.select&&b.select()};var b=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=function(a){null!=a.text&&(a.text.replaceLinefeeds="0"!=mxUtils.getValue(a.style,"nl2Br","1"));b.apply(this,arguments)};var e=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(b,a){this.isKeepFocusEvent(b)||!mxEvent.isAltDown(b.getEvent())?e.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=
|
||||
function(b){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=!1;var g=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(b,a){g.apply(this,arguments);var d=this.graph.view.getState(b);this.textarea.className=null!=d&&1==d.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(b);var d=this.graph.getModel().getParent(b),
|
||||
e=this.graph.getCellGeometry(b);this.graph.getModel().isEdge(d)&&null!=e&&e.relative||this.graph.getModel().isEdge(b)?mxClient.IS_QUIRKS?this.textarea.style.border="gray dotted 1px":this.textarea.style.outline=mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_FF&&mxClient.IS_WIN?"gray dotted 1px":"":mxClient.IS_QUIRKS&&(this.textarea.style.outline="none",this.textarea.style.border="")};var k=mxCellEditor.prototype.installListeners;mxCellEditor.prototype.installListeners=function(b){function a(b,d){d.originalNode=
|
||||
b;b=b.firstChild;for(var e=d.firstChild;null!=b&&null!=e;)a(b,e),b=b.nextSibling,e=e.nextSibling;return d}function d(b,a){if(a.originalNode!=b)e(b);else if(null!=b){b=b.firstChild;for(a=a.firstChild;null!=b;){var c=b.nextSibling;null==a?e(b):(d(b,a),a=a.nextSibling);b=c}}}function e(b){for(var a=b.firstChild;null!=a;){var d=a.nextSibling;e(a);a=d}(1!=b.nodeType||"BR"!==b.nodeName&&null==b.firstChild)&&(3!=b.nodeType||0==mxUtils.trim(mxUtils.getTextContent(b)).length)?b.parentNode.removeChild(b):(3==
|
||||
b;b=b.firstChild;for(var e=d.firstChild;null!=b&&null!=e;)a(b,e),b=b.nextSibling,e=e.nextSibling;return d}function d(b,a){if(null!=b)if(a.originalNode!=b)e(b);else{b=b.firstChild;for(a=a.firstChild;null!=b;){var c=b.nextSibling;null==a?e(b):(d(b,a),a=a.nextSibling);b=c}}}function e(b){for(var a=b.firstChild;null!=a;){var d=a.nextSibling;e(a);a=d}(1!=b.nodeType||"BR"!==b.nodeName&&null==b.firstChild)&&(3!=b.nodeType||0==mxUtils.trim(mxUtils.getTextContent(b)).length)?b.parentNode.removeChild(b):(3==
|
||||
b.nodeType&&mxUtils.setTextContent(b,mxUtils.getTextContent(b).replace(/\n|\r/g,"")),1==b.nodeType&&(b.removeAttribute("style"),b.removeAttribute("class"),b.removeAttribute("width"),b.removeAttribute("cellpadding"),b.removeAttribute("cellspacing"),b.removeAttribute("border")))}k.apply(this,arguments);!mxClient.IS_QUIRKS&&7!==document.documentMode&&8!==document.documentMode&&mxEvent.addListener(this.textarea,"paste",mxUtils.bind(this,function(b){var e=a(this.textarea,this.textarea.cloneNode(!0));window.setTimeout(mxUtils.bind(this,
|
||||
function(){d(this.textarea,e)}),0)}))};mxCellEditor.prototype.toggleViewMode=function(){var b=this.graph.view.getState(this.editingCell),a=null!=b&&"0"!=mxUtils.getValue(b.style,"nl2Br","1"),d=this.saveSelection();if(this.codeViewMode){k=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<k.length&&"\n"==k.charAt(k.length-1)&&(k=k.substring(0,k.length-1));k=this.graph.sanitizeHtml(a?k.replace(/\n/g,"\x3cbr/\x3e"):k);this.textarea.className="mxCellEditor geContentEditable";var e=mxUtils.getValue(b.style,
|
||||
mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE),a=mxUtils.getValue(b.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY),c=mxUtils.getValue(b.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),f=(mxUtils.getValue(b.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,g=(mxUtils.getValue(b.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,b=(mxUtils.getValue(b.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==
|
||||
|
@ -2539,32 +2539,32 @@ HoverIcons.prototype.triangleDown,Sidebar.prototype.triangleLeft=HoverIcons.prot
|
|||
if(Graph.touchStyle){if(mxClient.IS_TOUCH||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints)mxShape.prototype.svgStrokeTolerance=18,mxVertexHandler.prototype.tolerance=12,mxEdgeHandler.prototype.tolerance=12,Graph.prototype.tolerance=12,mxVertexHandler.prototype.rotationHandleVSpacing=-24,mxConstraintHandler.prototype.getTolerance=function(b){return mxEvent.isMouseEvent(b.getEvent())?4:this.graph.getTolerance()};mxPanningHandler.prototype.isPanningTrigger=function(b){var a=b.getEvent();return null==
|
||||
b.getState()&&!mxEvent.isMouseEvent(a)||mxEvent.isPopupTrigger(a)&&(null==b.getState()||mxEvent.isControlDown(a)||mxEvent.isShiftDown(a))};var v=mxGraphHandler.prototype.mouseDown;mxGraphHandler.prototype.mouseDown=function(b,a){v.apply(this,arguments);mxEvent.isTouchEvent(a.getEvent())&&this.graph.isCellSelected(a.getCell())&&1<this.graph.getSelectionCount()&&(this.delayedSelection=!1)}}else mxPanningHandler.prototype.isPanningTrigger=function(b){var a=b.getEvent();return mxEvent.isLeftMouseButton(a)&&
|
||||
(this.useLeftButtonForPanning&&null==b.getState()||mxEvent.isControlDown(a)&&!mxEvent.isShiftDown(a))||this.usePopupTrigger&&mxEvent.isPopupTrigger(a)};mxRubberband.prototype.isSpaceEvent=function(b){return this.graph.isEnabled()&&!this.graph.isCellLocked(this.graph.getDefaultParent())&&mxEvent.isControlDown(b.getEvent())&&mxEvent.isShiftDown(b.getEvent())};mxRubberband.prototype.mouseUp=function(b,a){var d=null!=this.div&&"none"!=this.div.style.display,e=null,c=null,f=null,g=null;null!=this.first&&
|
||||
null!=this.currentX&&null!=this.currentY&&(e=this.first.x,c=this.first.y,f=(this.currentX-e)/this.graph.view.scale,g=(this.currentY-c)/this.graph.view.scale,mxEvent.isAltDown(a.getEvent())||(f=this.graph.snap(f),g=this.graph.snap(g)));this.reset();if(d){if(this.isSpaceEvent(a)){this.graph.model.beginUpdate();try{for(var k=this.graph.getCellsBeyond(e,c,this.graph.getDefaultParent(),!0,!1),l=this.graph.getCellsBeyond(e,c,this.graph.getDefaultParent(),!1,!0),d=0;d<k.length;d++)if(this.graph.isCellMovable(k[d])){var m=
|
||||
this.graph.view.getState(k[d]),n=this.graph.getCellGeometry(k[d]);null!=m&&null!=n&&(n=n.clone(),n.translate(f,0),this.graph.model.setGeometry(k[d],n))}for(d=0;d<l.length;d++)this.graph.isCellMovable(l[d])&&(m=this.graph.view.getState(l[d]),n=this.graph.getCellGeometry(l[d]),null!=m&&null!=n&&(n=n.clone(),n.translate(0,g),this.graph.model.setGeometry(l[d],n)))}catch(q){null!=window.console&&console.log("Error in rubberband: "+q)}finally{this.graph.model.endUpdate()}}else f=new mxRectangle(this.x,
|
||||
this.y,this.width,this.height),this.graph.selectRegion(f,a.getEvent());a.consume()}};mxRubberband.prototype.mouseMove=function(b,a){if(!a.isConsumed()&&null!=this.first){var d=mxUtils.getScrollOrigin(this.graph.container),e=mxUtils.getOffset(this.graph.container);d.x-=e.x;d.y-=e.y;var c=a.getX()+d.x,f=a.getY()+d.y,g=this.first.x-c,k=this.first.y-f,l=this.graph.tolerance;if(null!=this.div||Math.abs(g)>l||Math.abs(k)>l)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(c,
|
||||
f),this.isSpaceEvent(a)?(c=this.x+this.width,f=this.y+this.height,g=this.graph.view.scale,mxEvent.isAltDown(a.getEvent())||(this.width=this.graph.snap(this.width/g)*g,this.height=this.graph.snap(this.height/g)*g,this.x<this.first.x&&(this.x=c-this.width),this.y<this.first.y&&(this.y=f-this.height)),this.div.style.left=this.x+"px",this.div.style.top=d.y+e.y+"px",this.div.style.width=Math.max(0,this.width)+"px",this.div.style.height=Math.max(0,this.graph.container.clientHeight)+"px",this.div.style.backgroundColor=
|
||||
"white",this.div.style.borderWidth="0px 1px 0px 1px",this.div.style.borderStyle="dashed",null==this.secondDiv&&(this.secondDiv=this.div.cloneNode(!0),this.div.parentNode.appendChild(this.secondDiv)),this.secondDiv.style.left=d.x+e.x+"px",this.secondDiv.style.top=this.y+"px",this.secondDiv.style.width=Math.max(0,this.graph.container.clientWidth)+"px",this.secondDiv.style.height=Math.max(0,this.height)+"px",this.secondDiv.style.borderWidth="1px 0px 1px 0px"):(this.div.style.backgroundColor="",this.div.style.borderWidth=
|
||||
"",this.div.style.borderStyle="",null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),a.consume()}};var z=mxRubberband.prototype.reset;mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);z.apply(this,arguments)};var y=(new Date).getTime(),x=0,C=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(b,a,d,e){C.apply(this,arguments);
|
||||
d!=this.currentTerminalState?(y=(new Date).getTime(),x=0):x=(new Date).getTime()-y;this.currentTerminalState=d};var A=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=function(b){return null!=this.currentTerminalState&&b.getState()==this.currentTerminalState&&2E3<x||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,"outlineConnect","1"))&&A.apply(this,arguments)};mxVertexHandler.prototype.isCustomHandleEvent=function(b){return!mxEvent.isShiftDown(b.getEvent())};
|
||||
mxEdgeHandler.prototype.createHandleShape=function(b,a){var d=null!=b&&0==b,e=this.state.getVisibleTerminalState(d),c=null!=b&&(0==b||b>=this.state.absolutePoints.length-1||this.constructor==mxElbowEdgeHandler&&2==b)?this.graph.getConnectionConstraint(this.state,e,d):null,d=null!=(null!=c?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(d),c):null)?this.fixedHandleImage:null!=c&&null!=e?this.terminalHandleImage:this.handleImage;if(null!=d)return d=new mxImageShape(new mxRectangle(0,
|
||||
0,d.width,d.height),d.src),d.preserveImageAspect=!1,d;d=mxConstants.HANDLE_SIZE;this.preferHtml&&(d-=1);return new mxRectangleShape(new mxRectangle(0,0,d,d),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};var B=mxVertexHandler.prototype.createSizerShape;mxVertexHandler.prototype.createSizerShape=function(b,a,d){this.handleImage=a==mxEvent.ROTATION_HANDLE?u:a==mxEvent.LABEL_HANDLE?this.secondaryHandleImage:this.handleImage;return B.apply(this,arguments)};var E=mxGraphHandler.prototype.getBoundingBox;
|
||||
mxGraphHandler.prototype.getBoundingBox=function(b){if(null!=b&&1==b.length){var a=this.graph.getModel(),d=a.getParent(b[0]),e=this.graph.getCellGeometry(b[0]);if(a.isEdge(d)&&null!=e&&e.relative&&(a=this.graph.view.getState(b[0]),null!=a&&2>a.width&&2>a.height&&null!=a.text&&null!=a.text.boundingBox))return mxRectangle.fromRectangle(a.text.boundingBox)}return E.apply(this,arguments)};var G=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(b){var a=
|
||||
this.graph.getModel(),d=a.getParent(b.cell),e=this.graph.getCellGeometry(b.cell);return a.isEdge(d)&&null!=e&&e.relative&&2>b.width&&2>b.height&&null!=b.text&&null!=b.text.boundingBox?(a=b.text.unrotatedBoundingBox||b.text.boundingBox,new mxRectangle(Math.round(a.x),Math.round(a.y),Math.round(a.width),Math.round(a.height))):G.apply(this,arguments)};var F=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(b,a){var d=this.graph.getModel(),e=d.getParent(this.state.cell),
|
||||
c=this.graph.getCellGeometry(this.state.cell);(this.getHandleForEvent(a)==mxEvent.ROTATION_HANDLE||!d.isEdge(e)||null==c||!c.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&F.apply(this,arguments)};mxVertexHandler.prototype.isRotationHandleVisible=function(){return this.graph.isEnabled()&&this.rotationEnabled&&this.graph.isCellRotatable(this.state.cell)&&(0>=mxGraphHandler.prototype.maxCells||this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells)};mxVertexHandler.prototype.rotateClick=
|
||||
function(){this.state.view.graph.turnShapes([this.state.cell])};var H=mxVertexHandler.prototype.mouseMove;mxVertexHandler.prototype.mouseMove=function(b,a){H.apply(this,arguments);null!=this.graph.graphHandler.first&&null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display="none")};var I=mxVertexHandler.prototype.mouseUp;mxVertexHandler.prototype.mouseUp=function(b,a){I.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=
|
||||
1==this.graph.getSelectionCount()?"":"none")};var L=mxVertexHandler.prototype.init;mxVertexHandler.prototype.init=function(){L.apply(this,arguments);var b=!1;null!=this.rotationShape&&this.rotationShape.node.setAttribute("title",mxResources.get("rotateTooltip"));var a=mxUtils.bind(this,function(){null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.specialHandle&&(this.specialHandle.node.style.display=
|
||||
this.graph.isEnabled()&&this.graph.getSelectionCount()<this.graph.graphHandler.maxCells?"":"none");this.redrawHandles()});this.selectionHandler=mxUtils.bind(this,function(b,d){a()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionHandler);this.changeHandler=mxUtils.bind(this,function(b,d){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell));a()});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);this.editingHandler=mxUtils.bind(this,function(b,
|
||||
a){this.redrawHandles()});this.graph.addListener(mxEvent.EDITING_STOPPED,this.editingHandler);var d=this.graph.getLinkForCell(this.state.cell);this.updateLinkHint(d);null!=d&&(b=!0);b&&this.redrawHandles()};mxVertexHandler.prototype.updateLinkHint=function(b){if(null==b||1<this.graph.getSelectionCount())null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);else if(null!=b){null==this.linkHint&&(this.linkHint=a(),this.linkHint.style.padding="4px 10px 6px 10px",
|
||||
this.linkHint.style.fontSize="90%",this.linkHint.style.opacity="1",this.linkHint.style.filter="",this.updateLinkHint(b),this.graph.container.appendChild(this.linkHint));var d=b;60<d.length&&(d=d.substring(0,36)+"..."+d.substring(d.length-20));var e=document.createElement("a");e.setAttribute("href",this.graph.getLinkUrl(b));e.setAttribute("title",b);null!=this.graph.linkTarget&&e.setAttribute("target",this.graph.linkTarget);mxUtils.write(e,d);this.linkHint.innerHTML="";this.linkHint.appendChild(e);
|
||||
this.graph.isEnabled()&&"function"===typeof this.graph.editLink&&(b=document.createElement("img"),b.setAttribute("src",IMAGE_PATH+"/edit.gif"),b.setAttribute("title",mxResources.get("editLink")),b.setAttribute("width","11"),b.setAttribute("height","11"),b.style.marginLeft="10px",b.style.marginBottom="-1px",b.style.cursor="pointer",this.linkHint.appendChild(b),mxEvent.addListener(b,"click",mxUtils.bind(this,function(b){this.graph.setSelectionCell(this.state.cell);this.graph.editLink();mxEvent.consume(b)})))}};
|
||||
mxEdgeHandler.prototype.updateLinkHint=mxVertexHandler.prototype.updateLinkHint;var N=mxEdgeHandler.prototype.init;mxEdgeHandler.prototype.init=function(){N.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.state.view.graph.connectionHandler.isEnabled()});var b=mxUtils.bind(this,function(){null!=this.linkHint&&(this.linkHint.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.labelShape&&(this.labelShape.node.style.display=this.graph.isEnabled()&&
|
||||
this.graph.getSelectionCount()<this.graph.graphHandler.maxCells?"":"none")});this.selectionHandler=mxUtils.bind(this,function(a,d){b()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionHandler);this.changeHandler=mxUtils.bind(this,function(a,d){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell));b();this.redrawHandles()});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);var a=this.graph.getLinkForCell(this.state.cell);null!=a&&(this.updateLinkHint(a),
|
||||
this.redrawHandles())};var S=mxConnectionHandler.prototype.init;mxConnectionHandler.prototype.init=function(){S.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.graph.connectionHandler.isEnabled()})};var W=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){W.apply(this);if(null!=this.state&&null!=this.linkHint){var b=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),a=new mxRectangle(this.state.x,this.state.y-
|
||||
22,this.state.width+24,this.state.height+22),b=mxUtils.getBoundingBox(a,this.state.style[mxConstants.STYLE_ROTATION]||"0",b),a=null!=b?mxUtils.getBoundingBox(this.state,this.state.style[mxConstants.STYLE_ROTATION]||"0"):this.state;null==b&&(b=this.state);this.linkHint.style.left=Math.round(a.x+(a.width-this.linkHint.clientWidth)/2)+"px";this.linkHint.style.top=Math.round(b.y+b.height+this.verticalOffset/2+6+this.state.view.graph.tolerance)+"px"}};var P=mxVertexHandler.prototype.reset;mxVertexHandler.prototype.reset=
|
||||
function(){P.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none")};var D=mxVertexHandler.prototype.destroy;mxVertexHandler.prototype.destroy=function(){D.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.selectionHandler&&(this.graph.getSelectionModel().removeListener(this.selectionHandler),this.selectionHandler=
|
||||
null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null);null!=this.editingHandler&&(this.graph.removeListener(this.editingHandler),this.editingHandler=null)};var O=mxEdgeHandler.prototype.redrawHandles;mxEdgeHandler.prototype.redrawHandles=function(){if(null!=this.marker&&(O.apply(this),null!=this.state&&null!=this.linkHint)){var b=this.state;null!=this.state.text&&null!=this.state.text.bounds&&(b=new mxRectangle(b.x,b.y,b.width,b.height),
|
||||
b.add(this.state.text.bounds));this.linkHint.style.left=Math.round(b.x+(b.width-this.linkHint.clientWidth)/2)+"px";this.linkHint.style.top=Math.round(b.y+b.height+6+this.state.view.graph.tolerance)+"px"}};var Q=mxEdgeHandler.prototype.reset;mxEdgeHandler.prototype.reset=function(){Q.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.visibility="")};var M=mxEdgeHandler.prototype.destroy;mxEdgeHandler.prototype.destroy=function(){M.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),
|
||||
this.linkHint=null);null!=this.selectionHandler&&(this.graph.getSelectionModel().removeListener(this.selectionHandler),this.selectionHandler=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null)}}();
|
||||
null!=this.currentX&&null!=this.currentY&&(e=this.first.x,c=this.first.y,f=(this.currentX-e)/this.graph.view.scale,g=(this.currentY-c)/this.graph.view.scale,mxEvent.isAltDown(a.getEvent())||(f=this.graph.snap(f),g=this.graph.snap(g)));this.reset();if(d){if(this.isSpaceEvent(a)){this.graph.model.beginUpdate();try{for(var k=this.graph.getCellsBeyond(e,c,this.graph.getDefaultParent(),!0,!0),d=0;d<k.length;d++)if(this.graph.isCellMovable(k[d])){var l=this.graph.view.getState(k[d]),m=this.graph.getCellGeometry(k[d]);
|
||||
null!=l&&null!=m&&(m=m.clone(),m.translate(f,g),this.graph.model.setGeometry(k[d],m))}}finally{this.graph.model.endUpdate()}}else f=new mxRectangle(this.x,this.y,this.width,this.height),this.graph.selectRegion(f,a.getEvent());a.consume()}};mxRubberband.prototype.mouseMove=function(b,a){if(!a.isConsumed()&&null!=this.first){var d=mxUtils.getScrollOrigin(this.graph.container),e=mxUtils.getOffset(this.graph.container);d.x-=e.x;d.y-=e.y;var e=a.getX()+d.x,d=a.getY()+d.y,c=this.first.x-e,f=this.first.y-
|
||||
d,g=this.graph.tolerance;if(null!=this.div||Math.abs(c)>g||Math.abs(f)>g)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(e,d),this.isSpaceEvent(a)?(e=this.x+this.width,d=this.y+this.height,c=this.graph.view.scale,mxEvent.isAltDown(a.getEvent())||(this.width=this.graph.snap(this.width/c)*c,this.height=this.graph.snap(this.height/c)*c,this.graph.isGridEnabled()||(this.width<this.graph.tolerance&&(this.width=0),this.height<this.graph.tolerance&&(this.height=0)),this.x<
|
||||
this.first.x&&(this.x=e-this.width),this.y<this.first.y&&(this.y=d-this.height)),this.div.style.borderStyle="dashed",this.div.style.backgroundColor="white",this.div.style.left=this.x+"px",this.div.style.top=this.y+"px",this.div.style.width=Math.max(0,this.width)+"px",this.div.style.height=this.graph.container.clientHeight+"px",this.div.style.borderWidth=0>=this.width?"0px 1px 0px 0px":"0px 1px 0px 1px",null==this.secondDiv&&(this.secondDiv=this.div.cloneNode(!0),this.div.parentNode.appendChild(this.secondDiv)),
|
||||
this.secondDiv.style.left=this.x+"px",this.secondDiv.style.top=this.y+"px",this.secondDiv.style.width=this.graph.container.clientWidth+"px",this.secondDiv.style.height=Math.max(0,this.height)+"px",this.secondDiv.style.borderWidth=0>=this.height?"1px 0px 0px 0px":"1px 0px 1px 0px"):(this.div.style.backgroundColor="",this.div.style.borderWidth="",this.div.style.borderStyle="",null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),a.consume()}};var z=mxRubberband.prototype.reset;
|
||||
mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);z.apply(this,arguments)};var y=(new Date).getTime(),x=0,C=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(b,a,d,e){C.apply(this,arguments);d!=this.currentTerminalState?(y=(new Date).getTime(),x=0):x=(new Date).getTime()-y;this.currentTerminalState=d};var A=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=
|
||||
function(b){return null!=this.currentTerminalState&&b.getState()==this.currentTerminalState&&2E3<x||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,"outlineConnect","1"))&&A.apply(this,arguments)};mxVertexHandler.prototype.isCustomHandleEvent=function(b){return!mxEvent.isShiftDown(b.getEvent())};mxEdgeHandler.prototype.createHandleShape=function(b,a){var d=null!=b&&0==b,e=this.state.getVisibleTerminalState(d),c=null!=b&&(0==b||b>=this.state.absolutePoints.length-
|
||||
1||this.constructor==mxElbowEdgeHandler&&2==b)?this.graph.getConnectionConstraint(this.state,e,d):null,d=null!=(null!=c?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(d),c):null)?this.fixedHandleImage:null!=c&&null!=e?this.terminalHandleImage:this.handleImage;if(null!=d)return d=new mxImageShape(new mxRectangle(0,0,d.width,d.height),d.src),d.preserveImageAspect=!1,d;d=mxConstants.HANDLE_SIZE;this.preferHtml&&(d-=1);return new mxRectangleShape(new mxRectangle(0,0,d,d),mxConstants.HANDLE_FILLCOLOR,
|
||||
mxConstants.HANDLE_STROKECOLOR)};var B=mxVertexHandler.prototype.createSizerShape;mxVertexHandler.prototype.createSizerShape=function(b,a,d){this.handleImage=a==mxEvent.ROTATION_HANDLE?u:a==mxEvent.LABEL_HANDLE?this.secondaryHandleImage:this.handleImage;return B.apply(this,arguments)};var E=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=function(b){if(null!=b&&1==b.length){var a=this.graph.getModel(),d=a.getParent(b[0]),e=this.graph.getCellGeometry(b[0]);if(a.isEdge(d)&&
|
||||
null!=e&&e.relative&&(a=this.graph.view.getState(b[0]),null!=a&&2>a.width&&2>a.height&&null!=a.text&&null!=a.text.boundingBox))return mxRectangle.fromRectangle(a.text.boundingBox)}return E.apply(this,arguments)};var G=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(b){var a=this.graph.getModel(),d=a.getParent(b.cell),e=this.graph.getCellGeometry(b.cell);return a.isEdge(d)&&null!=e&&e.relative&&2>b.width&&2>b.height&&null!=b.text&&null!=b.text.boundingBox?
|
||||
(a=b.text.unrotatedBoundingBox||b.text.boundingBox,new mxRectangle(Math.round(a.x),Math.round(a.y),Math.round(a.width),Math.round(a.height))):G.apply(this,arguments)};var F=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(b,a){var d=this.graph.getModel(),e=d.getParent(this.state.cell),c=this.graph.getCellGeometry(this.state.cell);(this.getHandleForEvent(a)==mxEvent.ROTATION_HANDLE||!d.isEdge(e)||null==c||!c.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&
|
||||
F.apply(this,arguments)};mxVertexHandler.prototype.isRotationHandleVisible=function(){return this.graph.isEnabled()&&this.rotationEnabled&&this.graph.isCellRotatable(this.state.cell)&&(0>=mxGraphHandler.prototype.maxCells||this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells)};mxVertexHandler.prototype.rotateClick=function(){this.state.view.graph.turnShapes([this.state.cell])};var H=mxVertexHandler.prototype.mouseMove;mxVertexHandler.prototype.mouseMove=function(b,a){H.apply(this,arguments);
|
||||
null!=this.graph.graphHandler.first&&null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display="none")};var I=mxVertexHandler.prototype.mouseUp;mxVertexHandler.prototype.mouseUp=function(b,a){I.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none")};var L=mxVertexHandler.prototype.init;mxVertexHandler.prototype.init=function(){L.apply(this,arguments);var b=
|
||||
!1;null!=this.rotationShape&&this.rotationShape.node.setAttribute("title",mxResources.get("rotateTooltip"));var a=mxUtils.bind(this,function(){null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.specialHandle&&(this.specialHandle.node.style.display=this.graph.isEnabled()&&this.graph.getSelectionCount()<this.graph.graphHandler.maxCells?"":"none");this.redrawHandles()});this.selectionHandler=mxUtils.bind(this,
|
||||
function(b,d){a()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionHandler);this.changeHandler=mxUtils.bind(this,function(b,d){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell));a()});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);this.editingHandler=mxUtils.bind(this,function(b,a){this.redrawHandles()});this.graph.addListener(mxEvent.EDITING_STOPPED,this.editingHandler);var d=this.graph.getLinkForCell(this.state.cell);this.updateLinkHint(d);
|
||||
null!=d&&(b=!0);b&&this.redrawHandles()};mxVertexHandler.prototype.updateLinkHint=function(b){if(null==b||1<this.graph.getSelectionCount())null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);else if(null!=b){null==this.linkHint&&(this.linkHint=a(),this.linkHint.style.padding="4px 10px 6px 10px",this.linkHint.style.fontSize="90%",this.linkHint.style.opacity="1",this.linkHint.style.filter="",this.updateLinkHint(b),this.graph.container.appendChild(this.linkHint));
|
||||
var d=b;60<d.length&&(d=d.substring(0,36)+"..."+d.substring(d.length-20));var e=document.createElement("a");e.setAttribute("href",this.graph.getLinkUrl(b));e.setAttribute("title",b);null!=this.graph.linkTarget&&e.setAttribute("target",this.graph.linkTarget);mxUtils.write(e,d);this.linkHint.innerHTML="";this.linkHint.appendChild(e);this.graph.isEnabled()&&"function"===typeof this.graph.editLink&&(b=document.createElement("img"),b.setAttribute("src",IMAGE_PATH+"/edit.gif"),b.setAttribute("title",mxResources.get("editLink")),
|
||||
b.setAttribute("width","11"),b.setAttribute("height","11"),b.style.marginLeft="10px",b.style.marginBottom="-1px",b.style.cursor="pointer",this.linkHint.appendChild(b),mxEvent.addListener(b,"click",mxUtils.bind(this,function(b){this.graph.setSelectionCell(this.state.cell);this.graph.editLink();mxEvent.consume(b)})))}};mxEdgeHandler.prototype.updateLinkHint=mxVertexHandler.prototype.updateLinkHint;var N=mxEdgeHandler.prototype.init;mxEdgeHandler.prototype.init=function(){N.apply(this,arguments);this.constraintHandler.isEnabled=
|
||||
mxUtils.bind(this,function(){return this.state.view.graph.connectionHandler.isEnabled()});var b=mxUtils.bind(this,function(){null!=this.linkHint&&(this.linkHint.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.labelShape&&(this.labelShape.node.style.display=this.graph.isEnabled()&&this.graph.getSelectionCount()<this.graph.graphHandler.maxCells?"":"none")});this.selectionHandler=mxUtils.bind(this,function(a,d){b()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionHandler);
|
||||
this.changeHandler=mxUtils.bind(this,function(a,d){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell));b();this.redrawHandles()});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);var a=this.graph.getLinkForCell(this.state.cell);null!=a&&(this.updateLinkHint(a),this.redrawHandles())};var S=mxConnectionHandler.prototype.init;mxConnectionHandler.prototype.init=function(){S.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.graph.connectionHandler.isEnabled()})};
|
||||
var W=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){W.apply(this);if(null!=this.state&&null!=this.linkHint){var b=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),a=new mxRectangle(this.state.x,this.state.y-22,this.state.width+24,this.state.height+22),b=mxUtils.getBoundingBox(a,this.state.style[mxConstants.STYLE_ROTATION]||"0",b),a=null!=b?mxUtils.getBoundingBox(this.state,this.state.style[mxConstants.STYLE_ROTATION]||"0"):this.state;null==
|
||||
b&&(b=this.state);this.linkHint.style.left=Math.round(a.x+(a.width-this.linkHint.clientWidth)/2)+"px";this.linkHint.style.top=Math.round(b.y+b.height+this.verticalOffset/2+6+this.state.view.graph.tolerance)+"px"}};var P=mxVertexHandler.prototype.reset;mxVertexHandler.prototype.reset=function(){P.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none")};var D=mxVertexHandler.prototype.destroy;
|
||||
mxVertexHandler.prototype.destroy=function(){D.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.selectionHandler&&(this.graph.getSelectionModel().removeListener(this.selectionHandler),this.selectionHandler=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null);null!=this.editingHandler&&(this.graph.removeListener(this.editingHandler),this.editingHandler=null)};
|
||||
var O=mxEdgeHandler.prototype.redrawHandles;mxEdgeHandler.prototype.redrawHandles=function(){if(null!=this.marker&&(O.apply(this),null!=this.state&&null!=this.linkHint)){var b=this.state;null!=this.state.text&&null!=this.state.text.bounds&&(b=new mxRectangle(b.x,b.y,b.width,b.height),b.add(this.state.text.bounds));this.linkHint.style.left=Math.round(b.x+(b.width-this.linkHint.clientWidth)/2)+"px";this.linkHint.style.top=Math.round(b.y+b.height+6+this.state.view.graph.tolerance)+"px"}};var Q=mxEdgeHandler.prototype.reset;
|
||||
mxEdgeHandler.prototype.reset=function(){Q.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.visibility="")};var M=mxEdgeHandler.prototype.destroy;mxEdgeHandler.prototype.destroy=function(){M.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.selectionHandler&&(this.graph.getSelectionModel().removeListener(this.selectionHandler),this.selectionHandler=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),
|
||||
this.changeHandler=null)}}();
|
||||
(function(){function a(){mxCylinder.call(this)}function c(){mxActor.call(this)}function f(){mxCylinder.call(this)}function d(){mxCylinder.call(this)}function b(){mxCylinder.call(this)}function e(){mxActor.call(this)}function g(){mxCylinder.call(this)}function k(){mxActor.call(this)}function l(){mxActor.call(this)}function m(){mxActor.call(this)}function n(){mxActor.call(this)}function p(){mxActor.call(this)}function r(){mxActor.call(this)}function s(){mxActor.call(this)}function q(b,a){this.canvas=
|
||||
b;this.canvas.setLineJoin("round");this.canvas.setLineCap("round");this.defaultVariation=a;this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,q.prototype.lineTo);this.originalMoveTo=this.canvas.moveTo;this.canvas.moveTo=mxUtils.bind(this,q.prototype.moveTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(this,q.prototype.close);this.originalQuadTo=this.canvas.quadTo;this.canvas.quadTo=mxUtils.bind(this,q.prototype.quadTo);this.originalCurveTo=this.canvas.curveTo;
|
||||
this.canvas.curveTo=mxUtils.bind(this,q.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,q.prototype.arcTo)}function t(){mxRectangleShape.call(this)}function u(){mxActor.call(this)}function v(){mxActor.call(this)}function z(){mxRectangleShape.call(this)}function y(){mxRectangleShape.call(this)}function x(){mxCylinder.call(this)}function C(){mxShape.call(this)}function A(){mxShape.call(this)}function B(){mxEllipse.call(this)}function E(){mxShape.call(this)}
|
||||
|
@ -3141,29 +3141,30 @@ b);a=Math.max(0,a);mxWindow.prototype.setLocation.apply(this,arguments)};mxEvent
|
|||
"search.xml";Sidebar.prototype.gearImage=GRAPH_IMAGE_PATH+"/clipart/Gear_128x128.png";Sidebar.prototype.defaultEntries="general;images;uml;er;bpmn;flowchart;basic;arrows2";Sidebar.prototype.signs="Animals Food Healthcare Nature People Safety Science Sports Tech Transportation Travel".split(" ");Sidebar.prototype.rack="General APC Cisco Dell F5 HP IBM Oracle".split(" ");Sidebar.prototype.pids="Agitators;Apparatus Elements;Centrifuges;Compressors;Compressors ISO;Crushers Grinding;Driers;Engines;Feeders;Filters;Fittings;Flow Sensors;Heat Exchangers;Instruments;Misc;Mixers;Piping;Pumps;Pumps DIN;Pumps ISO;Separators;Shaping Machines;Valves;Vessels".split(";");
|
||||
Sidebar.prototype.cisco="Buildings;Computers and Peripherals;Controllers and Modules;Directors;Hubs and Gateways;Misc;Modems and Phones;People;Routers;Security;Servers;Storage;Switches;Wireless".split(";");Sidebar.prototype.sysml="Model Elements;Blocks;Ports and Flows;Constraint Blocks;Activities;Interactions;State Machines;Use Cases;Allocations;Requirements;Profiles;Stereotypes".split(";");Sidebar.prototype.eip="Message Construction;Message Routing;Message Transformation;Messaging Channels;Messaging Endpoints;Messaging Systems;System Management".split(";");
|
||||
Sidebar.prototype.gmdl="Bottom Navigation;Bottom Sheets;Buttons;Cards;Chips;Dialogs;Dividers;Grid Lists;Icons;Lists;Menus;Misc;Pickers;Selection Controls;Sliders;Steppers;Tabs;Text Fields".split(";");Sidebar.prototype.aws2="Analytics;Application Services;Compute;Database;Developer Tools;Enterprise Applications;Game Development;General;Internet of Things;Management Tools;Mobile Services;Networking;On-Demand Workforce;SDKs;Security and Identity;Storage and Content Delivery;Groups".split(";");Sidebar.prototype.office=
|
||||
"Clouds Communications Concepts Databases Devices Security Servers Services Sites Users".split(" ");Sidebar.prototype.archimate3="Application;Business;Composite;Implementation and Migration;Motivation;Physical;Relationships;Strategy;Technology".split(";");Sidebar.prototype.configuration=[{id:"general",libs:["general","misc","advanced"]},{id:"uml"},{id:"search"},{id:"er"},{id:"ios",prefix:"ios",libs:["","7icons","7ui"]},{id:"android",prefix:"android",libs:[""]},{id:"aws3d"},{id:"flowchart"},{id:"basic"},
|
||||
{id:"arrows"},{id:"arrows2"},{id:"lean_mapping"},{id:"citrix"},{id:"azure"},{id:"network"},{id:"mscae",prefix:"mscae",libs:"Cloud;Enterprise;General;Intune;Other;System Center;Deprecated".split(";")},{id:"bpmn",prefix:"bpmn",libs:["","Gateways","Events"]},{id:"clipart",prefix:null,libs:"computer finance clipart networking people telco".split(" ")},{id:"eip",prefix:"eip",libs:Sidebar.prototype.eip},{id:"mockups",prefix:"mockup",libs:"Buttons Containers Forms Graphics Markup Misc Navigation Text".split(" ")},
|
||||
"Clouds Communications Concepts Databases Devices Security Servers Services Sites Users".split(" ");Sidebar.prototype.veeam=["2D","3D"];Sidebar.prototype.archimate3="Application;Business;Composite;Implementation and Migration;Motivation;Physical;Relationships;Strategy;Technology".split(";");Sidebar.prototype.configuration=[{id:"general",libs:["general","misc","advanced"]},{id:"uml"},{id:"search"},{id:"er"},{id:"ios",prefix:"ios",libs:["","7icons","7ui"]},{id:"android",prefix:"android",libs:[""]},
|
||||
{id:"aws3d"},{id:"flowchart"},{id:"basic"},{id:"arrows"},{id:"arrows2"},{id:"lean_mapping"},{id:"citrix"},{id:"azure"},{id:"network"},{id:"mscae",prefix:"mscae",libs:"Cloud;Enterprise;General;Intune;Other;System Center;Deprecated".split(";")},{id:"bpmn",prefix:"bpmn",libs:["","Gateways","Events"]},{id:"clipart",prefix:null,libs:"computer finance clipart networking people telco".split(" ")},{id:"eip",prefix:"eip",libs:Sidebar.prototype.eip},{id:"mockups",prefix:"mockup",libs:"Buttons Containers Forms Graphics Markup Misc Navigation Text".split(" ")},
|
||||
{id:"pid2",prefix:"pid2",libs:"Agitators;Apparatus Elements;Centrifuges;Compressors;Compressors ISO;Crushers Grinding;Driers;Engines;Feeders;Filters;Fittings;Flow Sensors;Heat Exchangers;Instruments;Misc;Mixers;Piping;Pumps;Pumps DIN;Pumps ISO;Separators;Shaping Machines;Valves;Vessels".split(";")},{id:"signs",prefix:"signs",libs:Sidebar.prototype.signs},{id:"rack",prefix:"rack",libs:Sidebar.prototype.rack},{id:"electrical",prefix:"ee",libs:"LogicGates Resistors Capacitors Inductors SwitchesRelays Diodes Sources Transistors Misc Audio PlcLadder Abstract Optical VacuumTubes Waveforms Instruments".split(" ")},
|
||||
{id:"aws2",prefix:"aws2",libs:Sidebar.prototype.aws2},{id:"pid",prefix:"pid",libs:Sidebar.prototype.pids},{id:"cisco",prefix:"cisco",libs:Sidebar.prototype.cisco},{id:"office",prefix:"office",libs:Sidebar.prototype.office},{id:"cabinets",libs:["cabinets"]},{id:"floorplan",libs:["floorplan"]},{id:"bootstrap",libs:["bootstrap"]},{id:"gmdl",prefix:"gmdl",libs:Sidebar.prototype.gmdl},{id:"archimate3",prefix:"archimate3",libs:Sidebar.prototype.archimate3},{id:"archimate",libs:["archimate"]},{id:"sysml",
|
||||
prefix:"sysml",libs:Sidebar.prototype.sysml}];var a=Sidebar.prototype.insertSearchHint;Sidebar.prototype.insertSearchHint=function(b,d,c,f,m,n,p,r){if(null!=r&&1==f){var s=null;if(0<=mxUtils.indexOf(r,"text"))s="Double click anywhere in the diagram to insert text.";else for(var q="line lines arrow arrows connect connection connections connector connectors curve curves link links".split(" "),t=0;t<q.length;t++)if(0<=mxUtils.indexOf(r,q[t])){s="Need help with connections?";break}null!=s&&(q=document.createElement("a"),
|
||||
q.setAttribute("href","https://www.youtube.com/watch?v\x3d8OaMWa4R1SE\x26t\x3d1"),q.setAttribute("target","_blank"),q.className="geTitle",q.style.cssText="background-color:#ffd350;border-radius:6px;color:black;border:1px solid black !important;text-align:center;white-space:normal;padding:6px 0px 6px 0px !important;margin:4px 4px 8px 2px;",mxUtils.write(q,s),b.appendChild(q))}a.apply(this,arguments)};Sidebar.prototype.togglePalettes=function(b,a){this.showPalettes(b,a)};Sidebar.prototype.togglePalette=
|
||||
function(b){this.showPalette(b)};Sidebar.prototype.showPalettes=function(b,a,d){for(var c=0;c<a.length;c++)this.showPalette(b+a[c],d)};Sidebar.prototype.showPalette=function(b,a){var d=this.palettes[b];if(null!=d)for(var c=null!=a?a?"block":"none":"none"==d[0].style.display?"block":"none",f=0;f<d.length;f++)d[f].style.display=c};Sidebar.prototype.isEntryVisible=function(b){for(var a=0;a<this.configuration.length;a++)if(this.configuration[a].id==b){var d=this.palettes[null!=this.configuration[a].libs?
|
||||
(this.configuration[a].prefix||"")+this.configuration[a].libs[0]:b];if(null!=d)return"none"!=d[0].style.display}return!1};Sidebar.prototype.showEntries=function(b,a,d){this.libs=null!=b&&(d||0<b.length)?b:null!=urlParams.libs&&0<urlParams.libs.length?decodeURIComponent(urlParams.libs):mxSettings.getLibraries();d=this.libs.split(";");for(var c=0;c<this.configuration.length;c++)"search"!=this.configuration[c].id&&this.showPalettes(this.configuration[c].prefix||"",this.configuration[c].libs||[this.configuration[c].id],
|
||||
0<=mxUtils.indexOf(d,this.configuration[c].id));a&&(mxSettings.setLibraries(b),mxSettings.save())};Sidebar.prototype.init=function(){this.entries=[{title:mxResources.get("standard"),entries:[{title:mxResources.get("general"),id:"general",image:IMAGE_PATH+"/sidebar-general.png"},{title:mxResources.get("arrows"),id:"arrows2",image:IMAGE_PATH+"/sidebar-arrows2.png"},{title:mxResources.get("basic"),id:"basic",image:IMAGE_PATH+"/sidebar-basic.png"},{title:mxResources.get("clipart"),id:"clipart",image:IMAGE_PATH+
|
||||
"/sidebar-clipart.jpg"},{title:mxResources.get("flowchart"),id:"flowchart",image:IMAGE_PATH+"/sidebar-flowchart.png"}]},{title:mxResources.get("software"),entries:[{title:mxResources.get("android"),id:"android",image:IMAGE_PATH+"/sidebar-android.png"},{title:mxResources.get("bootstrap"),id:"bootstrap",image:IMAGE_PATH+"/sidebar-bootstrap.png"},{title:mxResources.get("entityRelation"),id:"er",image:IMAGE_PATH+"/sidebar-er.png"},{title:mxResources.get("ios"),id:"ios",image:IMAGE_PATH+"/sidebar-ios.png"},
|
||||
{title:mxResources.get("mockups"),id:"mockups",image:IMAGE_PATH+"/sidebar-mockups.png"},{title:mxResources.get("uml"),id:"uml",image:IMAGE_PATH+"/sidebar-uml.png"}]},{title:mxResources.get("networking"),entries:[{title:mxResources.get("aws"),id:"aws2",image:IMAGE_PATH+"/sidebar-aws.png"},{title:mxResources.get("aws3d"),id:"aws3d",image:IMAGE_PATH+"/sidebar-aws3d.png"},{title:mxResources.get("azure"),id:"azure",image:IMAGE_PATH+"/sidebar-azure.png"},{title:"Cloud \x26 Enterprise",id:"mscae",image:IMAGE_PATH+
|
||||
"/sidebar-mscae.png"},{title:mxResources.get("cisco"),id:"cisco",image:IMAGE_PATH+"/sidebar-cisco.png"},{title:"Citrix",id:"citrix",image:IMAGE_PATH+"/sidebar-citrix.png"},{title:"Network",id:"network",image:IMAGE_PATH+"/sidebar-network.png"},{title:"Office",id:"office",image:IMAGE_PATH+"/sidebar-office.png"},{title:mxResources.get("rack"),id:"rack",image:IMAGE_PATH+"/sidebar-rack.png"}]},{title:mxResources.get("business"),entries:[{title:"ArchiMate 3.0",id:"archimate3",image:IMAGE_PATH+"/sidebar-archimate3.png"},
|
||||
{title:mxResources.get("archiMate21"),id:"archimate",image:IMAGE_PATH+"/sidebar-archimate.png"},{title:mxResources.get("bpmn"),id:"bpmn",image:IMAGE_PATH+"/sidebar-bpmn.png"},{title:mxResources.get("leanMapping"),id:"lean_mapping",image:IMAGE_PATH+"/sidebar-leanmapping.png"},{title:mxResources.get("sysml"),id:"sysml",image:IMAGE_PATH+"/sidebar-sysml.png"}]},{title:mxResources.get("other"),entries:[{title:mxResources.get("cabinets"),id:"cabinets",image:IMAGE_PATH+"/sidebar-cabinets.png"},{title:mxResources.get("eip"),
|
||||
id:"eip",image:IMAGE_PATH+"/sidebar-eip.png"},{title:mxResources.get("electrical"),id:"electrical",image:IMAGE_PATH+"/sidebar-electrical.png"},{title:mxResources.get("floorplans"),id:"floorplan",image:IMAGE_PATH+"/sidebar-floorplans.png"},{title:mxResources.get("gmdl"),id:"gmdl",image:IMAGE_PATH+"/sidebar-gmdl.png"},{title:mxResources.get("procEng"),id:"pid",image:IMAGE_PATH+"/sidebar-pid.png"},{title:mxResources.get("signs"),id:"signs",image:IMAGE_PATH+"/sidebar-signs.png"}]}];this.addStencilsToIndex=
|
||||
this.editorUi.isOffline();this.shapetags={};if(null!=this.tagIndex)for(var b=this.editorUi.editor.graph.decompress(this.tagIndex).split("\n"),a=0;a<b.length;a++)if(null!=b[a]){var d=b[a].split("\t");if(1<d.length){var c=d[0].toLowerCase().replace(" ","_"),d=mxUtils.trim(d.slice(1,d.length).join(" ").toLowerCase());0<d.length&&(this.shapetags[c]=d)}}this.initPalettes();this.editorUi.isOffline()||mxUtils.get(this.searchFileUrl,mxUtils.bind(this,function(b){b=b.getDocumentElement();if(null!=b){b=b.getElementsByTagName("shape");
|
||||
for(var a=0;a<b.length;a++){var d=b[a].getAttribute("style"),e=this.extractShapeStyle(d);if(null!=d&&null!=e){var c=e.lastIndexOf(".");if(0<c){var f=e.substring(0,c),e=e.substring(c+1,e.length),c=this.getTagsForStencil(f,e,b[a].getAttribute("tags"));if(null!=c){var g=d.indexOf(";"),d="shape\x3d"+f+"."+e.toLowerCase()+";"+(0>g?"":d.substring(g+1));this.createVertexTemplateEntry(d,parseInt(b[a].getAttribute("w")),parseInt(b[a].getAttribute("h")),"",e.replace(/_/g," "),null,null,this.filterTags(c.join(" ")))}}}}}}))};
|
||||
"1"==urlParams.savesidebar&&(Sidebar.prototype.addFoldingHandler=function(b,a,d){var c=!1;if(!mxClient.IS_IE||8<=document.documentMode)b.style.backgroundImage="none"==a.style.display?"url('"+this.collapsedImage+"')":"url('"+this.expandedImage+"')";b.style.backgroundRepeat="no-repeat";b.style.backgroundPosition="0% 50%";var f=document.createElement("button");f.style.marginLeft="4px";mxUtils.write(f,"Save");mxEvent.addListener(b,"click",mxUtils.bind(this,function(n){if("BUTTON"==mxEvent.getSource(n).nodeName){var p=
|
||||
b.cloneNode(!0);p.style.backgroundImage="";p.style.textDecoration="none";p.style.fontWeight="bold";p.style.fontSize="14px";p.style.color="rgb(80, 80, 80)";p.style.width="456px";p.style.backgroundColor="#ffffff";p.style.paddingLeft="6px";n=p.getElementsByTagName("button")[0];n.parentNode.removeChild(n);n=a.cloneNode(!0);n.style.backgroundColor="#ffffff";n.style.borderColor="transparent";n.style.width="456px";p='\x3c!DOCTYPE html\x3e\x3chtml\x3e\x3chead\x3e\x3clink rel\x3d"stylesheet" type\x3d"text/css" href\x3d"https://www.draw.io/styles/grapheditor.css"\x3e\x3c/head\x3e\x3cbody style\x3d"background:#ffffff;font-family:Helvetica,Arial;"\x3e'+
|
||||
p.outerHTML+n.outerHTML+"\x3c/body\x3e\x3c/html\x3e";n.style.position="absolute";window.document.body.appendChild(n);var r=n.clientHeight+18;n.parentNode.removeChild(n);(new mxXmlRequest(EXPORT_URL,"w\x3d456\x26h\x3d"+r+"\x26html\x3d"+encodeURIComponent(this.editorUi.editor.compress(p)))).simulate(document,"_blank")}else{if("none"==a.style.display){if(c)b.appendChild(f);else if(c=!0,null!=d){null!=f.parentNode&&f.parentNode.removeChild(f);b.style.cursor="wait";var s=b.innerHTML;b.innerHTML=mxResources.get("loading")+
|
||||
"...";window.setTimeout(function(){d(a);b.style.cursor="";b.innerHTML=s;b.appendChild(f)},0)}else b.appendChild(f);b.style.backgroundImage="url('"+this.expandedImage+"')";a.style.display="block"}else b.style.backgroundImage="url('"+this.collapsedImage+"')",a.style.display="none",null!=f.parentNode&&f.parentNode.removeChild(f);mxEvent.consume(n)}}))});Sidebar.prototype.extractShapeStyle=function(b){if(null!=b&&"shape\x3d"==b.substring(0,6)){var a=b.indexOf(";");0>a&&(a=b.length);return b.substring(6,
|
||||
a)}return null};var c=Sidebar.prototype.getTagsForStencil;Sidebar.prototype.getTagsForStencil=function(b,a,d){var f=c.apply(this,arguments);null!=this.shapetags&&(b=b.toLowerCase(),a=a.toLowerCase(),null!=this.shapetags[b]&&f.push(this.shapetags[b]),a=b+"."+a,null!=this.shapetags[a]&&f.push(this.shapetags[a]));return f};Sidebar.prototype.initPalettes=function(){var b=GRAPH_IMAGE_PATH,a=STENCIL_PATH,d=this.signs,c=this.rack,f=this.pids,n=this.cisco,p=this.sysml,r=this.eip,s=this.gmdl;"1"==urlParams.createindex&&
|
||||
(mxLog.textarea.value="");this.addSearchPalette(!0);this.addGeneralPalette(!0);this.addMiscPalette(!1);this.addAdvancedPalette(!1);this.addUmlPalette(!1);this.addErPalette();this.addBasicPalette();this.addFlowchartPalette();this.addNetworkPalette();this.addAzurePalette();this.addCitrixPalette();this.addMSCAEPalette();this.addBpmnPalette(a,!1);this.addAWSPalette();this.addAWS3DPalette();this.addLeanMappingPalette();this.addIos7Palette();this.addIosPalette();this.addAndroidPalette();this.addMockupPalette();
|
||||
this.addElectricalPalette();this.addOfficePalette();this.addStencilPalette("arrows",mxResources.get("arrows"),a+"/arrows.xml",";html\x3d1;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;"+mxConstants.STYLE_STROKEWIDTH+"\x3d2;strokeColor\x3d#000000;");this.addArrows2Palette();this.addImagePalette("computer","Clipart / Computer",b+"/lib/clip_art/computers/","_128x128.png","Antivirus Data_Filtering Database Database_Add Database_Minus Database_Move_Stack Database_Remove Fujitsu_Tablet Harddrive IBM_Tablet iMac iPad Laptop MacBook Mainframe Monitor Monitor_Tower Monitor_Tower_Behind Netbook Network Network_2 Printer Printer_Commercial Secure_System Server Server_Rack Server_Rack_Empty Server_Rack_Partial Server_Tower Software Stylus Touch USB_Hub Virtual_Application Virtual_Machine Virus Workstation".split(" "),
|
||||
{id:"aws2",prefix:"aws2",libs:Sidebar.prototype.aws2},{id:"pid",prefix:"pid",libs:Sidebar.prototype.pids},{id:"cisco",prefix:"cisco",libs:Sidebar.prototype.cisco},{id:"office",prefix:"office",libs:Sidebar.prototype.office},{id:"veeam",prefix:"veeam",libs:Sidebar.prototype.veeam},{id:"cabinets",libs:["cabinets"]},{id:"floorplan",libs:["floorplan"]},{id:"bootstrap",libs:["bootstrap"]},{id:"gmdl",prefix:"gmdl",libs:Sidebar.prototype.gmdl},{id:"archimate3",prefix:"archimate3",libs:Sidebar.prototype.archimate3},
|
||||
{id:"archimate",libs:["archimate"]},{id:"sysml",prefix:"sysml",libs:Sidebar.prototype.sysml}];var a=Sidebar.prototype.insertSearchHint;Sidebar.prototype.insertSearchHint=function(b,d,c,f,m,n,p,r){if(null!=r&&1==f){var s=null;if(0<=mxUtils.indexOf(r,"text"))s="Double click anywhere in the diagram to insert text.";else for(var q="line lines arrow arrows connect connection connections connector connectors curve curves link links".split(" "),t=0;t<q.length;t++)if(0<=mxUtils.indexOf(r,q[t])){s="Need help with connections?";
|
||||
break}null!=s&&(q=document.createElement("a"),q.setAttribute("href","https://www.youtube.com/watch?v\x3d8OaMWa4R1SE\x26t\x3d1"),q.setAttribute("target","_blank"),q.className="geTitle",q.style.cssText="background-color:#ffd350;border-radius:6px;color:black;border:1px solid black !important;text-align:center;white-space:normal;padding:6px 0px 6px 0px !important;margin:4px 4px 8px 2px;",mxUtils.write(q,s),b.appendChild(q))}a.apply(this,arguments)};Sidebar.prototype.togglePalettes=function(b,a){this.showPalettes(b,
|
||||
a)};Sidebar.prototype.togglePalette=function(b){this.showPalette(b)};Sidebar.prototype.showPalettes=function(b,a,d){for(var c=0;c<a.length;c++)this.showPalette(b+a[c],d)};Sidebar.prototype.showPalette=function(b,a){var d=this.palettes[b];if(null!=d)for(var c=null!=a?a?"block":"none":"none"==d[0].style.display?"block":"none",f=0;f<d.length;f++)d[f].style.display=c};Sidebar.prototype.isEntryVisible=function(b){for(var a=0;a<this.configuration.length;a++)if(this.configuration[a].id==b){var d=this.palettes[null!=
|
||||
this.configuration[a].libs?(this.configuration[a].prefix||"")+this.configuration[a].libs[0]:b];if(null!=d)return"none"!=d[0].style.display}return!1};Sidebar.prototype.showEntries=function(b,a,d){this.libs=null!=b&&(d||0<b.length)?b:null!=urlParams.libs&&0<urlParams.libs.length?decodeURIComponent(urlParams.libs):mxSettings.getLibraries();d=this.libs.split(";");for(var c=0;c<this.configuration.length;c++)"search"!=this.configuration[c].id&&this.showPalettes(this.configuration[c].prefix||"",this.configuration[c].libs||
|
||||
[this.configuration[c].id],0<=mxUtils.indexOf(d,this.configuration[c].id));a&&(mxSettings.setLibraries(b),mxSettings.save())};Sidebar.prototype.init=function(){this.entries=[{title:mxResources.get("standard"),entries:[{title:mxResources.get("general"),id:"general",image:IMAGE_PATH+"/sidebar-general.png"},{title:mxResources.get("arrows"),id:"arrows2",image:IMAGE_PATH+"/sidebar-arrows2.png"},{title:mxResources.get("basic"),id:"basic",image:IMAGE_PATH+"/sidebar-basic.png"},{title:mxResources.get("clipart"),
|
||||
id:"clipart",image:IMAGE_PATH+"/sidebar-clipart.jpg"},{title:mxResources.get("flowchart"),id:"flowchart",image:IMAGE_PATH+"/sidebar-flowchart.png"}]},{title:mxResources.get("software"),entries:[{title:mxResources.get("android"),id:"android",image:IMAGE_PATH+"/sidebar-android.png"},{title:mxResources.get("bootstrap"),id:"bootstrap",image:IMAGE_PATH+"/sidebar-bootstrap.png"},{title:mxResources.get("entityRelation"),id:"er",image:IMAGE_PATH+"/sidebar-er.png"},{title:mxResources.get("ios"),id:"ios",image:IMAGE_PATH+
|
||||
"/sidebar-ios.png"},{title:mxResources.get("mockups"),id:"mockups",image:IMAGE_PATH+"/sidebar-mockups.png"},{title:mxResources.get("uml"),id:"uml",image:IMAGE_PATH+"/sidebar-uml.png"}]},{title:mxResources.get("networking"),entries:[{title:mxResources.get("aws"),id:"aws2",image:IMAGE_PATH+"/sidebar-aws.png"},{title:mxResources.get("aws3d"),id:"aws3d",image:IMAGE_PATH+"/sidebar-aws3d.png"},{title:mxResources.get("azure"),id:"azure",image:IMAGE_PATH+"/sidebar-azure.png"},{title:"Cloud \x26 Enterprise",
|
||||
id:"mscae",image:IMAGE_PATH+"/sidebar-mscae.png"},{title:mxResources.get("cisco"),id:"cisco",image:IMAGE_PATH+"/sidebar-cisco.png"},{title:"Citrix",id:"citrix",image:IMAGE_PATH+"/sidebar-citrix.png"},{title:"Network",id:"network",image:IMAGE_PATH+"/sidebar-network.png"},{title:"Office",id:"office",image:IMAGE_PATH+"/sidebar-office.png"},{title:mxResources.get("rack"),id:"rack",image:IMAGE_PATH+"/sidebar-rack.png"},{title:"Veeam",id:"veeam",image:IMAGE_PATH+"/sidebar-veeam.png"}]},{title:mxResources.get("business"),
|
||||
entries:[{title:"ArchiMate 3.0",id:"archimate3",image:IMAGE_PATH+"/sidebar-archimate3.png"},{title:mxResources.get("archiMate21"),id:"archimate",image:IMAGE_PATH+"/sidebar-archimate.png"},{title:mxResources.get("bpmn"),id:"bpmn",image:IMAGE_PATH+"/sidebar-bpmn.png"},{title:mxResources.get("leanMapping"),id:"lean_mapping",image:IMAGE_PATH+"/sidebar-leanmapping.png"},{title:mxResources.get("sysml"),id:"sysml",image:IMAGE_PATH+"/sidebar-sysml.png"}]},{title:mxResources.get("other"),entries:[{title:mxResources.get("cabinets"),
|
||||
id:"cabinets",image:IMAGE_PATH+"/sidebar-cabinets.png"},{title:mxResources.get("eip"),id:"eip",image:IMAGE_PATH+"/sidebar-eip.png"},{title:mxResources.get("electrical"),id:"electrical",image:IMAGE_PATH+"/sidebar-electrical.png"},{title:mxResources.get("floorplans"),id:"floorplan",image:IMAGE_PATH+"/sidebar-floorplans.png"},{title:mxResources.get("gmdl"),id:"gmdl",image:IMAGE_PATH+"/sidebar-gmdl.png"},{title:mxResources.get("procEng"),id:"pid",image:IMAGE_PATH+"/sidebar-pid.png"},{title:mxResources.get("signs"),
|
||||
id:"signs",image:IMAGE_PATH+"/sidebar-signs.png"}]}];this.addStencilsToIndex=this.editorUi.isOffline();this.shapetags={};if(null!=this.tagIndex)for(var b=this.editorUi.editor.graph.decompress(this.tagIndex).split("\n"),a=0;a<b.length;a++)if(null!=b[a]){var d=b[a].split("\t");if(1<d.length){var c=d[0].toLowerCase().replace(" ","_"),d=mxUtils.trim(d.slice(1,d.length).join(" ").toLowerCase());0<d.length&&(this.shapetags[c]=d)}}this.initPalettes();this.editorUi.isOffline()||mxUtils.get(this.searchFileUrl,
|
||||
mxUtils.bind(this,function(b){b=b.getDocumentElement();if(null!=b){b=b.getElementsByTagName("shape");for(var a=0;a<b.length;a++){var d=b[a].getAttribute("style"),e=this.extractShapeStyle(d);if(null!=d&&null!=e){var c=e.lastIndexOf(".");if(0<c){var f=e.substring(0,c),e=e.substring(c+1,e.length),c=this.getTagsForStencil(f,e,b[a].getAttribute("tags"));if(null!=c){var g=d.indexOf(";"),d="shape\x3d"+f+"."+e.toLowerCase()+";"+(0>g?"":d.substring(g+1));this.createVertexTemplateEntry(d,parseInt(b[a].getAttribute("w")),
|
||||
parseInt(b[a].getAttribute("h")),"",e.replace(/_/g," "),null,null,this.filterTags(c.join(" ")))}}}}}}))};"1"==urlParams.savesidebar&&(Sidebar.prototype.addFoldingHandler=function(b,a,d){var c=!1;if(!mxClient.IS_IE||8<=document.documentMode)b.style.backgroundImage="none"==a.style.display?"url('"+this.collapsedImage+"')":"url('"+this.expandedImage+"')";b.style.backgroundRepeat="no-repeat";b.style.backgroundPosition="0% 50%";var f=document.createElement("button");f.style.marginLeft="4px";mxUtils.write(f,
|
||||
"Save");mxEvent.addListener(b,"click",mxUtils.bind(this,function(n){if("BUTTON"==mxEvent.getSource(n).nodeName){var p=b.cloneNode(!0);p.style.backgroundImage="";p.style.textDecoration="none";p.style.fontWeight="bold";p.style.fontSize="14px";p.style.color="rgb(80, 80, 80)";p.style.width="456px";p.style.backgroundColor="#ffffff";p.style.paddingLeft="6px";n=p.getElementsByTagName("button")[0];n.parentNode.removeChild(n);n=a.cloneNode(!0);n.style.backgroundColor="#ffffff";n.style.borderColor="transparent";
|
||||
n.style.width="456px";p='\x3c!DOCTYPE html\x3e\x3chtml\x3e\x3chead\x3e\x3clink rel\x3d"stylesheet" type\x3d"text/css" href\x3d"https://www.draw.io/styles/grapheditor.css"\x3e\x3c/head\x3e\x3cbody style\x3d"background:#ffffff;font-family:Helvetica,Arial;"\x3e'+p.outerHTML+n.outerHTML+"\x3c/body\x3e\x3c/html\x3e";n.style.position="absolute";window.document.body.appendChild(n);var r=n.clientHeight+18;n.parentNode.removeChild(n);(new mxXmlRequest(EXPORT_URL,"w\x3d456\x26h\x3d"+r+"\x26html\x3d"+encodeURIComponent(this.editorUi.editor.graph.compress(p)))).simulate(document,
|
||||
"_blank")}else{if("none"==a.style.display){if(c)b.appendChild(f);else if(c=!0,null!=d){null!=f.parentNode&&f.parentNode.removeChild(f);b.style.cursor="wait";var s=b.innerHTML;b.innerHTML=mxResources.get("loading")+"...";window.setTimeout(function(){d(a);b.style.cursor="";b.innerHTML=s;b.appendChild(f)},0)}else b.appendChild(f);b.style.backgroundImage="url('"+this.expandedImage+"')";a.style.display="block"}else b.style.backgroundImage="url('"+this.collapsedImage+"')",a.style.display="none",null!=f.parentNode&&
|
||||
f.parentNode.removeChild(f);mxEvent.consume(n)}}))});Sidebar.prototype.extractShapeStyle=function(b){if(null!=b&&"shape\x3d"==b.substring(0,6)){var a=b.indexOf(";");0>a&&(a=b.length);return b.substring(6,a)}return null};var c=Sidebar.prototype.getTagsForStencil;Sidebar.prototype.getTagsForStencil=function(b,a,d){var f=c.apply(this,arguments);null!=this.shapetags&&(b=b.toLowerCase(),a=a.toLowerCase(),null!=this.shapetags[b]&&f.push(this.shapetags[b]),a=b+"."+a,null!=this.shapetags[a]&&f.push(this.shapetags[a]));
|
||||
return f};Sidebar.prototype.initPalettes=function(){var b=GRAPH_IMAGE_PATH,a=STENCIL_PATH,d=this.signs,c=this.rack,f=this.pids,n=this.cisco,p=this.sysml,r=this.eip,s=this.gmdl;"1"==urlParams.createindex&&(mxLog.textarea.value="");this.addSearchPalette(!0);this.addGeneralPalette(!0);this.addMiscPalette(!1);this.addAdvancedPalette(!1);this.addUmlPalette(!1);this.addErPalette();this.addBasicPalette();this.addFlowchartPalette();this.addNetworkPalette();this.addAzurePalette();this.addCitrixPalette();this.addMSCAEPalette();
|
||||
this.addBpmnPalette(a,!1);this.addAWSPalette();this.addAWS3DPalette();this.addLeanMappingPalette();this.addIos7Palette();this.addIosPalette();this.addAndroidPalette();this.addMockupPalette();this.addElectricalPalette();this.addOfficePalette();this.addVeeamPalette();this.addStencilPalette("arrows",mxResources.get("arrows"),a+"/arrows.xml",";html\x3d1;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;"+mxConstants.STYLE_STROKEWIDTH+"\x3d2;strokeColor\x3d#000000;");
|
||||
this.addArrows2Palette();this.addImagePalette("computer","Clipart / Computer",b+"/lib/clip_art/computers/","_128x128.png","Antivirus Data_Filtering Database Database_Add Database_Minus Database_Move_Stack Database_Remove Fujitsu_Tablet Harddrive IBM_Tablet iMac iPad Laptop MacBook Mainframe Monitor Monitor_Tower Monitor_Tower_Behind Netbook Network Network_2 Printer Printer_Commercial Secure_System Server Server_Rack Server_Rack_Empty Server_Rack_Partial Server_Tower Software Stylus Touch USB_Hub Virtual_Application Virtual_Machine Virus Workstation".split(" "),
|
||||
"Antivirus;Data Filtering;Database;Database Add;Database Minus;Database Move Stack;Database Remove;Fujitsu Tablet;Harddrive;IBMTablet;iMac;iPad;Laptop;MacBook;Mainframe;Monitor;Monitor Tower;Monitor Tower Behind;Netbook;Network;Network 2;Printer;Printer Commercial;Secure System;Server;Server Rack;Server Rack Empty;Server Rack Partial;Server Tower;Software;Stylus;Touch;USB Hub;Virtual Application;Virtual Machine;Virus;Workstation".split(";"));this.addImagePalette("finance","Clipart / Finance",b+"/lib/clip_art/finance/",
|
||||
"_128x128.png","Arrow_Down Arrow_Up Coins Credit_Card Dollar Graph Pie_Chart Piggy_Bank Safe Shopping_Cart Stock_Down Stock_Up".split(" "),"Arrow_Down;Arrow Up;Coins;Credit Card;Dollar;Graph;Pie Chart;Piggy Bank;Safe;Shopping Basket;Stock Down;Stock Up".split(";"));this.addImagePalette("clipart","Clipart / Various",b+"/lib/clip_art/general/","_128x128.png","Battery_0 Battery_100 Battery_50 Battery_75 Battery_allstates Bluetooth Earth_globe Empty_Folder Full_Folder Gear Keys Lock Mouse_Pointer Plug Ships_Wheel Star Tire".split(" "),
|
||||
"Battery 0%;Battery 100%;Battery 50%;Battery 75%;Battery;Bluetooth;Globe;Empty Folder;Full Folder;Gear;Keys;Lock;Mousepointer;Plug;Ships Wheel;Star;Tire".split(";"));this.addImagePalette("networking","Clipart / Networking",b+"/lib/clip_art/networking/","_128x128.png","Bridge Certificate Certificate_Off Cloud Cloud_Computer Cloud_Computer_Private Cloud_Rack Cloud_Rack_Private Cloud_Server Cloud_Server_Private Cloud_Storage Concentrator Email Firewall_02 Firewall Firewall-page1 Ip_Camera Modem power_distribution_unit Print_Server Print_Server_Wireless Repeater Router Router_Icon Switch UPS Wireless_Router Wireless_Router_N".split(" "),
|
||||
|
@ -6878,11 +6879,145 @@ new mxGeometry(40,0,280,80),"shape\x3dnote;size\x3d15;spacingLeft\x3d5;html\x3d1
|
|||
'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3eNodeName\x3c/b\x3e\x3chr/\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:10px;text-align:left;"\x3e\x26lt;\x26lt;stereotypeName\x26gt;\x26gt;{PropertyName\x3dValueString}ElementName\x3cbr/\x3e\x26lt;\x26lt;stereotypeName\x26gt;\x26gt;{PropertyName\x3dValueString};\x3cbr/\x3eBooleanPropertyName\x3cbr/\x3eElementName\x3c/p\x3e',"Stereotype (Compartment)",null,null,this.getTagsForStencil("","","sysml stereotype compartment").join(" ")),
|
||||
this.addEntry("sysml stereotype edge",function(){var a=new mxCell("Element\nName",new mxGeometry(0,0,120,60),"shape\x3drect;fontStyle\x3d1;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var b=new mxCell("Element\nName",new mxGeometry(0,120,120,60),"shape\x3drect;fontStyle\x3d1;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var e=new mxCell("\x26lt;\x26lt;steretyoeName\x26gt;\x26gt;\n{PropertyName\x3dValueString;\nBooleanPropertyName}PathName",new mxGeometry(0,0,0,0),"endArrow\x3dnone;html\x3d1;edgeStyle\x3dnone;labelBackgroundColor\x3dnone;align\x3dleft;fontStyle\x3d1;fontSize\x3d10;");
|
||||
e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!1);b.insertEdge(e,!0);return c.createVertexTemplateFromCells([a,b,e],200,180,"Stereotype (Edge)")}),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;align\x3dcenter;",300,120,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3e\x26lt;\x26lt;stereotypeName\x26gt;\x26gt;\x3c/br\x3eNodeName\x3c/b\x3e\x3chr/\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:10px;text-align:left;"\x3e\x26lt;\x26lt;stereotypeName\x26gt;\x26gt;\x3cbr/\x3ePropertyName\x3dValueString\x3cbr/\x3eMultiPropertyName\x3dValueString, ValueString\x3cbr/\x3eBooleanPropertyName\x3cbr/\x3e\x3c/p\x3e',
|
||||
"Stereotype (Compartment)",null,null,this.getTagsForStencil("","","sysml stereotype compartment").join(" "))];this.addPalette("sysmlStereotypes","SysML / Stereotypes",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<f.length;b++)a.appendChild(f[b](a))}))}})();DrawioFile=function(a,c){mxEventSource.call(this);this.ui=a;this.data=c||""};mxUtils.extend(DrawioFile,mxEventSource);DrawioFile.prototype.autosaveDelay=1500;DrawioFile.prototype.maxAutosaveDelay=3E4;DrawioFile.prototype.autosaveThread=null;
|
||||
DrawioFile.prototype.lastAutosave=null;DrawioFile.prototype.modified=!1;DrawioFile.prototype.changeListenerEnabled=!0;DrawioFile.prototype.lastAutosaveRevision=null;DrawioFile.prototype.maxAutosaveRevisionDelay=18E5;DrawioFile.prototype.descriptorChanged=function(){this.fireEvent(new mxEventObject("descriptorChanged"))};DrawioFile.prototype.contentChanged=function(){this.fireEvent(new mxEventObject("contentChanged"))};DrawioFile.prototype.save=function(a,c,f,d){this.updateFileData();this.clearAutosave()};
|
||||
DrawioFile.prototype.updateFileData=function(){this.setData(this.ui.getFileData())};DrawioFile.prototype.saveAs=function(a,c,f){};DrawioFile.prototype.saveFile=function(a,c,f,d){};DrawioFile.prototype.isRestricted=function(){return!1};DrawioFile.prototype.isModified=function(){return this.modified};DrawioFile.prototype.setModified=function(a){this.modified=a};DrawioFile.prototype.isAutosaveOptional=function(){return!1};DrawioFile.prototype.isAutosave=function(){return this.ui.editor.autosave};
|
||||
DrawioFile.prototype.isRenamable=function(){return!1};DrawioFile.prototype.rename=function(a,c,f){};DrawioFile.prototype.isMovable=function(){return!1};DrawioFile.prototype.move=function(a,c,f){};DrawioFile.prototype.getHash=function(){return""};DrawioFile.prototype.getId=function(){return""};DrawioFile.prototype.isEditable=function(){return!this.ui.editor.chromeless};DrawioFile.prototype.getUi=function(){return this.ui};DrawioFile.prototype.getTitle=function(){return""};
|
||||
DrawioFile.prototype.setData=function(a){this.data=a};DrawioFile.prototype.getData=function(){return this.data};
|
||||
"Stereotype (Compartment)",null,null,this.getTagsForStencil("","","sysml stereotype compartment").join(" "))];this.addPalette("sysmlStereotypes","SysML / Stereotypes",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<f.length;b++)a.appendChild(f[b](a))}))}})();
|
||||
(function(){Sidebar.prototype.addVeeamPalette=function(){this.addVeeam2DPalette();this.addVeeam3DPalette()};Sidebar.prototype.addVeeam2DPalette=function(){var a=[this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.1ftvm;",70,70,"","1FTVM",null,null,this.getTagsForStencil("mxgraph.veeam.2d","1ftvm","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.1ftvm_error;",70,78,"","1FTVM Error",null,null,this.getTagsForStencil("mxgraph.veeam.2d","1ftvm error","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.1ftvm_running;",
|
||||
70,78,"","1FTVM Running",null,null,this.getTagsForStencil("mxgraph.veeam.2d","1frvm running","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.1ftvm_unavailable;",70,78,"","1FTVM Unavailable",null,null,this.getTagsForStencil("mxgraph.veeam.2d","1ftvm unavailable","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.1ftvm_warning;",70,78,"","1FTVM Warning",null,null,this.getTagsForStencil("mxgraph.veeam.2d","1ftvm warning","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.1_click_failover_orchestration;",
|
||||
44,44,"","1 Click Failover Orchestration",null,null,this.getTagsForStencil("mxgraph.veeam.2d","one click failover orchestration","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.2ftvm;",70,70,"","2FTVM",null,null,this.getTagsForStencil("mxgraph.veeam.2d","2ftvm","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.2ftvm_error;",70,78,"","2FTVM Error",null,null,this.getTagsForStencil("mxgraph.veeam.2d","2ftvm error","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.2ftvm_running;",
|
||||
70,78,"","2FTVM Running",null,null,this.getTagsForStencil("mxgraph.veeam.2d","2ftvm running","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.2ftvm_unavailable;",70,78,"","2FTVM Unavailable",null,null,this.getTagsForStencil("mxgraph.veeam.2d","2ftvm unavailable","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.2ftvm_warning;",70,78,"","2FTVM Warning",null,null,this.getTagsForStencil("mxgraph.veeam.2d","2ftvm warning","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.agent;",
|
||||
38,38,"","Agent",null,null,this.getTagsForStencil("mxgraph.veeam.2d","agent","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.alarm;",62,46,"","Alarm",null,null,this.getTagsForStencil("mxgraph.veeam.2d","alarm","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.alert;",
|
||||
30,30,"","Alert",null,null,this.getTagsForStencil("mxgraph.veeam.2d","alert","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.assisted_failover_and_failback;",46,46,"","Assisted Failover and Failback",null,null,this.getTagsForStencil("mxgraph.veeam.2d","assisted failover and failback",
|
||||
"veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.backup_browser;",46,46,"","Backup Browser",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup browser","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.backup_from_storage_snapshots;",
|
||||
46,46,"","Backup from Storage Snapshots",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup from storage snapshots","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.backup_repository;",52,48,"","Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup repository",
|
||||
"veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.backup_repository_2;",58,50,"","Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup repository","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.built_in_wan_acceleration;",
|
||||
46,46,"","Built-in WAN Acceleration",null,null,this.getTagsForStencil("mxgraph.veeam.2d","built in wan acceleration wireless area network","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.cd;",46,46,"","CD",null,null,this.getTagsForStencil("mxgraph.veeam.2d","cd compact disc","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.cloud;",66,46,"","Cloud",null,null,this.getTagsForStencil("mxgraph.veeam.2d","cloud","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.cloud_gateway;",
|
||||
46,46,"","Cloud Gateway",null,null,this.getTagsForStencil("mxgraph.veeam.2d","cloud gateway","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.database;",58,50,"","Database",null,null,this.getTagsForStencil("mxgraph.veeam.2d","database db","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.datastore;",44,44,"","Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.2d","datastore","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.datastore_snapshot;",
|
||||
46,12,"","Datastore Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam.2d","datastore snapshot","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.datastore_volume;",46,12,"","Datastore Volume",null,null,this.getTagsForStencil("mxgraph.veeam.2d","datastore volume","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.data_mover;",38,38,"","Data Mover",null,null,this.getTagsForStencil("mxgraph.veeam.2d","data mover","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.disaster_recovery;",
|
||||
46,46,"","Disaster Recovery",null,null,this.getTagsForStencil("mxgraph.veeam.2d","disaster recovery","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.download;",46,46,"","Download",null,null,this.getTagsForStencil("mxgraph.veeam.2d","download","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.emc_data_domain_boost;",46,46,"","EMC Data Domain Boost",null,null,this.getTagsForStencil("mxgraph.veeam.2d","emc data domain boost","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.encryption_object;",
|
||||
46,46,"","Encryption Object",null,null,this.getTagsForStencil("mxgraph.veeam.2d","encryption object","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.end_to_end_encryption;",46,46,"","End to end Encryption",null,null,this.getTagsForStencil("mxgraph.veeam.2d","end to end encryption",
|
||||
"veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.esx_esxi;",30,46,"","ESX/ESXi",null,null,this.getTagsForStencil("mxgraph.veeam.2d","esx esxi","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.exagrid;",
|
||||
46,46,"","ExaGrid",null,null,this.getTagsForStencil("mxgraph.veeam.2d","exagrid","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.failover_protective_snapshot;",46,46,"","Failover Protective Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam.2d","failover protective snapshot",
|
||||
"veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.failover_protective_snapshot_locked;",54,50,"","Failover Protective Snapshot Locked",null,null,this.getTagsForStencil("mxgraph.veeam.2d","failover protective snapshot locked","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.failover_protective_snapshot_running;",56,50,"","Failover Protective Snapshot Running",null,null,this.getTagsForStencil("mxgraph.veeam.2d","failover protective snapshot running","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.file;",
|
||||
34,46,"","File",null,null,this.getTagsForStencil("mxgraph.veeam.2d","file","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.file_system_browser;",46,46,"","File System Browser",null,null,this.getTagsForStencil("mxgraph.veeam.2d","file system browser","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.folder;",48,46,"","Folder",null,null,this.getTagsForStencil("mxgraph.veeam.2d","folder","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.forward_incremental_backup_increment;fillColor\x3d#999A98;",
|
||||
34,24,"","Forward Incremental Backup - Increment (grey)",null,null,this.getTagsForStencil("mxgraph.veeam.2d","forward incremental backup increment","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.forward_incremental_backup_increment;",34,24,"","Forward Incremental Backup - Increment (blue)",
|
||||
null,null,this.getTagsForStencil("mxgraph.veeam.2d","forward incremental backup increment","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.free_datastore;",46,46,"","Free Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.2d","free datastore","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.full_datastore;",46,46,"","Full Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.2d","full datastore","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.full_veeam_backup;fillColor\x3d#999A98;",
|
||||
26,42,"","Full Veeam Backup (grey)",null,null,this.getTagsForStencil("mxgraph.veeam.2d","full veeam backup","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.full_veeam_backup;fillColor\x3d#24B14B;",26,42,"","Full Veeam Backup (green)",null,null,this.getTagsForStencil("mxgraph.veeam.2d","full veeam backup",
|
||||
"veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.full_veeam_backup;fillColor\x3d#EF8F21;",26,42,"","Full Veeam Backup (orange)",null,null,this.getTagsForStencil("mxgraph.veeam.2d","full veeam backup","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.full_veeam_backup;fillColor\x3d#FBB715;",
|
||||
26,42,"","Full Veeam Backup (yellow)",null,null,this.getTagsForStencil("mxgraph.veeam.2d","full veeam backup","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.group;",40,46,"","Group",null,null,this.getTagsForStencil("mxgraph.veeam.2d","group","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.hard_drive;",38,46,"","Hard Drive",null,null,this.getTagsForStencil("mxgraph.veeam.2d","hard drive","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.hp_storeonce;",
|
||||
46,46,"","HP StoreOnce",null,null,this.getTagsForStencil("mxgraph.veeam.2d","hp storeonce","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.hyper_v_host;",124,120,"","Hyper-V Host",null,null,this.getTagsForStencil("mxgraph.veeam.2d","hyper host","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.hyper_v_vmware_host;",124,120,"","VMware/Hyper-V Host",null,null,this.getTagsForStencil("mxgraph.veeam.2d","hyper vmware host","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.letter;",
|
||||
46,36,"","Letter",null,null,this.getTagsForStencil("mxgraph.veeam.2d","letter","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.license;",46,46,"","License",null,null,this.getTagsForStencil("mxgraph.veeam.2d","license","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.lost_space;",46,46,"","Lost Space",null,null,this.getTagsForStencil("mxgraph.veeam.2d","lost space","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.lun;",
|
||||
58,22,"","LUN",null,null,this.getTagsForStencil("mxgraph.veeam.2d","lun","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.medium_datastore;",46,46,"","Medium Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.2d","medium datastore","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.monitoring_console;",46,46,"","Monitoring Console",null,null,this.getTagsForStencil("mxgraph.veeam.2d","monitoring console","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.native_tape_support;",
|
||||
46,46,"","Native Tape Support",null,null,this.getTagsForStencil("mxgraph.veeam.2d","native tape support","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.network_card;",46,32,"","Network Card",null,null,this.getTagsForStencil("mxgraph.veeam.2d","network card","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.on_demand_sandbox;",46,46,"","On Demand Sandbox",null,null,this.getTagsForStencil("mxgraph.veeam.2d","on demand sandbox","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.physical_storage;",
|
||||
76,26,"","Physical Storage",null,null,this.getTagsForStencil("mxgraph.veeam.2d","physical storage","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.powershell_extension;",46,46,"","PowerShell Extension",null,null,this.getTagsForStencil("mxgraph.veeam.2d","powershell extension","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.private_key;",56,52,"","Private Key",null,null,this.getTagsForStencil("mxgraph.veeam.2d","private key","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.privilege;",
|
||||
50,48,"","Privilege",null,null,this.getTagsForStencil("mxgraph.veeam.2d","privilege","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.proxy;",46,46,"","Proxy",null,null,this.getTagsForStencil("mxgraph.veeam.2d","proxy","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.proxy_appliance;",46,46,"","Proxy Appliance",null,null,this.getTagsForStencil("mxgraph.veeam.2d","proxy appliance","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.quick_migration;",
|
||||
46,46,"","Quick Migration",null,null,this.getTagsForStencil("mxgraph.veeam.2d","quick migration","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.remote_site;",42,44,"","Remote Site",null,null,this.getTagsForStencil("mxgraph.veeam.2d","remote site","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.remote_storage;",46,46,"","Remote Storage",null,null,this.getTagsForStencil("mxgraph.veeam.2d","remote storage","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.replication_from_a_backup;",
|
||||
46,46,"","Replication from a Backup",null,null,this.getTagsForStencil("mxgraph.veeam.2d","replication from a backup","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.report;",34,46,"","Report",null,null,this.getTagsForStencil("mxgraph.veeam.2d","report","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.resource_pool;",46,46,"","Resource Pool",null,null,this.getTagsForStencil("mxgraph.veeam.2d","resource pool","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.restful_apis;",
|
||||
46,46,"","RESTful APIs",null,null,this.getTagsForStencil("mxgraph.veeam.2d","restful apis api","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.restore_data_from_the_vm_backup;",46,46,"","Restore Data from the VM Backup",null,null,this.getTagsForStencil("mxgraph.veeam.2d","restore data from the vm backup",
|
||||
"veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.reversed_incremental_backup_increment;fillColor\x3d#999A98;",34,24,"","Reversed Incremental Backup - Increment (grey)",null,null,this.getTagsForStencil("mxgraph.veeam.2d","reversed incremental backup increment","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.reversed_incremental_backup_increment;fillColor\x3d#6E5CA7;",34,24,"","Reversed Incremental Backup - Increment (purple)",null,null,this.getTagsForStencil("mxgraph.veeam.2d","reversed incremental backup increment","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.role;",
|
||||
34,46,"","Role",null,null,this.getTagsForStencil("mxgraph.veeam.2d","role","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.scheduled_backups;",46,46,"","Scheduled Backups",null,null,this.getTagsForStencil("mxgraph.veeam.2d","Scheduled Backups","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.search;",46,46,"","Search",null,null,this.getTagsForStencil("mxgraph.veeam.2d","search","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.self_service_recovery;",
|
||||
46,46,"","Self-Service Recovery",null,null,this.getTagsForStencil("mxgraph.veeam.2d","self service recovery","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.service;",46,46,"","Service",null,null,this.getTagsForStencil("mxgraph.veeam.2d","service","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.service_console;",46,46,"","Service Console",null,null,this.getTagsForStencil("mxgraph.veeam.2d","service console","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.service_vnic;",
|
||||
60,54,"","Service vNIC",null,null,this.getTagsForStencil("mxgraph.veeam.2d","service vnic","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.sure_backup;",46,46,"","SureBackup",null,null,this.getTagsForStencil("mxgraph.veeam.2d","sure backup","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.sure_replica;",46,46,"","SureReplica",null,null,this.getTagsForStencil("mxgraph.veeam.2d","sure replica","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.switch;",
|
||||
74,12,"","Switch",null,null,this.getTagsForStencil("mxgraph.veeam.2d","switch","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.tape;",60,32,"","Tape",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.tape_checked;",
|
||||
70,42,"","Tape Checked",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape checked","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.tape_device;",52,52,"","Tape Device",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape device","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.tape_ejecting;",70,42,"","Tape Ejecting",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape ejecting","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.tape_library;",
|
||||
40,46,"","Tape Library",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape library","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.tape_licensed;",68,38,"","Tape Licensed",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape licensed","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.tape_recording;",70,42,"","Tape Recording",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape recording","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.tape_server;",
|
||||
74,72,"","Tape Server",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape server","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.transport_service;",38,38,"","Transport Service",null,null,this.getTagsForStencil("mxgraph.veeam.2d","transport service","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.user;",26,46,"","User",null,null,this.getTagsForStencil("mxgraph.veeam.2d","user","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.u_air;",
|
||||
46,46,"","U-AIR",null,null,this.getTagsForStencil("mxgraph.veeam.2d","air","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vapp;",48,48,"","vApp",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vapp","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vapp_started;",
|
||||
60,54,"","vApp Started",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vapp started","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeamzip;",46,46,"","VeeamZIP",null,null,this.getTagsForStencil("mxgraph.veeam.2d","veeamzip zip","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_availability_suite;",46,46,"","Veeam Availability Suite",null,null,this.getTagsForStencil("mxgraph.veeam.2d","availability suite","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_backup_and_replication_server;",
|
||||
74,72,"","Veeam Backup and Replication Server",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup and replication server","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_backup_enterprise_manager_server;",74,72,"","Veeam Backup Enterprise Manager Server",null,null,
|
||||
this.getTagsForStencil("mxgraph.veeam.2d","backup enterprise manager server","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_backup_search_server;",74,72,"","Veeam Backup Search Server",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup search server","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_backup_shell;",46,46,"","Veeam Backup Shell",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup shell","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_cloud_connect;",
|
||||
46,46,"","Veeam Cloud Connect",null,null,this.getTagsForStencil("mxgraph.veeam.2d","cloud connect","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_explorer;",46,46,"","Veeam Explorer",null,null,this.getTagsForStencil("mxgraph.veeam.2d","explorer","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_explorer_for_active_directory;",46,46,"","Veeam Explorer for Active Directory",null,null,this.getTagsForStencil("mxgraph.veeam.2d","explorer for active directory","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_explorer_for_exchange;",
|
||||
46,46,"","Veeam Explorer for Exchange",null,null,this.getTagsForStencil("mxgraph.veeam.2d","explorer for exchange","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_explorer_for_sharepoint;",46,46,"","Veeam Explorer for SharePoint",null,null,this.getTagsForStencil("mxgraph.veeam.2d",
|
||||
"explorer for sharepoint","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_explorer_for_sql;",46,46,"","Veeam Explorer for SQL",null,null,this.getTagsForStencil("mxgraph.veeam.2d","explorer for sql","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_logo;fillColor\x3d#232020;",
|
||||
144,38,"","Veeam Logo",null,null,this.getTagsForStencil("mxgraph.veeam.2d","logo","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_one_business_view;",46,46,"","Veeam ONE Business View",null,null,this.getTagsForStencil("mxgraph.veeam.2d","one business view","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_one_monitor;",46,46,"","Veeam ONE Monitor",null,null,this.getTagsForStencil("mxgraph.veeam.2d","one monitor","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_one_reporter;",
|
||||
46,46,"","Veeam ONE Reporter",null,null,this.getTagsForStencil("mxgraph.veeam.2d","one reporter","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.veeam_one_server;",46,46,"","Veeam ONE Server",null,null,this.getTagsForStencil("mxgraph.veeam.2d","one server","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#EF8F21;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.virtual_lab;",46,46,"","Virtual Lab",null,null,this.getTagsForStencil("mxgraph.veeam.2d","virtual lab","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.virtual_machine;",
|
||||
46,46,"","Virtual Machine",null,null,this.getTagsForStencil("mxgraph.veeam.2d","","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.virtual_switch;",46,46,"","Virtual Switch",null,null,this.getTagsForStencil("mxgraph.veeam.2d","switch","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vmware_host;",124,120,"","VMware Host",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vmware host","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_backup;",
|
||||
50,46,"","VM Backup",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm backup","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_failed;",56,54,"","VM Failed",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm failed","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_image_full_backup;",38,52,"","VM Image Full Backup",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm image full backup","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_image_incremental_backup;",
|
||||
38,52,"","VM Image Incremental Backup",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm image incremental backup","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_linux;",46,84,"","VM Linux",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm linux","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_locked;",56,52,"","VM Locked",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm locked","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_no_network;",
|
||||
54,52,"","VM No Network",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm no network","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_problem;",56,52,"","VM Problem",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm problem","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_running;",56,54,"","VM Running",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm running","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_saved_state;",
|
||||
56,54,"","VM Saved State",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm saved state","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vm_windows;",46,84,"","VM Windows",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm windows","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vnic;",46,46,"","vNIC",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vnic","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.vsb_file;",
|
||||
34,46,"",".vsb File",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vsb file","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.wan_accelerator;",46,46,"","WAN Accelerator",null,null,this.getTagsForStencil("mxgraph.veeam.2d","wan accelerator wireless area network","veeam 2d two dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.web_console;",46,46,"","Web Console",null,null,this.getTagsForStencil("mxgraph.veeam.2d","web console","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.web_ui;",
|
||||
46,46,"","Web UI",null,null,this.getTagsForStencil("mxgraph.veeam.2d","web ui user interface","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#4495D1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.2d.workstation;",68,46,"","Workstation",null,null,this.getTagsForStencil("mxgraph.veeam.2d","workstation","veeam 2d two dimension vmware virtual machine ").join(" "))];
|
||||
this.addPalette("veeam2D","Veeam / 2D",!1,mxUtils.bind(this,function(c){for(var f=0;f<a.length;f++)c.appendChild(a[f](c))}))};Sidebar.prototype.addVeeam3DPalette=function(){var a=[this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.1ftvm;",68,62,"","1FTVM",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.1ftvm_error;",
|
||||
68,62,"","1FTVM Error",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm error","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.1ftvm_running;",68,62,"","1FTVM Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm running","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.1ftvm_unavailable;",
|
||||
68,62,"","1FTVM Unavailable",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm unavailable","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.1ftvm_warning;",68,62,"","1FTVM Warning",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm warning","veeam 3d three dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.2ftvm;",68,62,"","2FTVM",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.2ftvm_error;",68,
|
||||
62,"","2FTVM Error",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm error","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.2ftvm_running;",68,62,"","2FTVM Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm running","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.2ftvm_unavailable;",
|
||||
68,62,"","2FTVM Unavailable",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm unavailable","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.2ftvm_warning;",68,62,"","2FTVM Warning",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm warning","veeam 3d three dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.backup_repository;",62,62,"","Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam.3d","backup repository","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.backup_repository_2;",
|
||||
62,62,"","Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam.3d","backup repository","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.cd;",68,26,"","CD",null,null,this.getTagsForStencil("mxgraph.veeam.3d","cd","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.database;",
|
||||
58,62,"","Database",null,null,this.getTagsForStencil("mxgraph.veeam.3d","database","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.datastore;",44,60,"","Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","datastore","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.datastore_snapshot;",
|
||||
54,34,"","Datastore Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam.3d","datastore snapshot","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.datastore_volume;",54,34,"","Datastore Volume",null,null,this.getTagsForStencil("mxgraph.veeam.3d","datastore volume","veeam 3d three dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.esx_esxi;",38,52,"","ESX ESXi",null,null,this.getTagsForStencil("mxgraph.veeam.3d","esx esxi","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.failover_protective_snapshot;",
|
||||
46,46,"","Failover Protective Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam.3d","failover protective snapshot","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.failover_protective_snapshot_locked;",56,46,"","Failover Protective Snapshot Locked",null,null,this.getTagsForStencil("mxgraph.veeam.3d","failover protective snapshot locked",
|
||||
"veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.failover_protective_snapshot_running;",58,46,"","Failover Protective Snapshot Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","failover protective snapshot running","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.free_datastore;",
|
||||
44,60,"","Free Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","free datastore","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.full_datastore;",44,60,"","Full Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","full datastore","veeam 3d three dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.hard_drive;fillColor\x3d#637D8A;gradientColor\x3d#324752;strokeColor\x3dnone;",62,28,"","Hard Drive",null,null,this.getTagsForStencil("mxgraph.veeam.3d","hard drive","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.hyper_v_host;",
|
||||
110,98,"","Hyper-V Host",null,null,this.getTagsForStencil("mxgraph.veeam.3d","hyper-v host","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.lost_space;",44,60,"","Lost Space",null,null,this.getTagsForStencil("mxgraph.veeam.3d","lost space","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.lun;",
|
||||
72,40,"","LUN",null,null,this.getTagsForStencil("mxgraph.veeam.3d","lun","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.medium_datastore;",44,60,"","Medium Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","medium datastore","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.network_card;",
|
||||
38,40,"","Network Card",null,null,this.getTagsForStencil("mxgraph.veeam.3d","network card","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.physical_storage;",108,60,"","Physical Storage",null,null,this.getTagsForStencil("mxgraph.veeam.3d","physical_storage","veeam 3d three dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.proxy;",46,46,"","Proxy",null,null,this.getTagsForStencil("mxgraph.veeam.3d","proxy","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.proxy_appliance;",
|
||||
46,46,"","Proxy Appliance",null,null,this.getTagsForStencil("mxgraph.veeam.3d","proxy appliance","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.remote_site;",46,60,"","Remote Site",null,null,this.getTagsForStencil("mxgraph.veeam.3d","remote site","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.remote_storage;",
|
||||
52,62,"","Remote Storage",null,null,this.getTagsForStencil("mxgraph.veeam.3d","remote storage","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.resource_pool;",56,32,"","Resource Pool",null,null,this.getTagsForStencil("mxgraph.veeam.3d","resource pool","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.service_vnic;",
|
||||
72,64,"","Service vNIC",null,null,this.getTagsForStencil("mxgraph.veeam.3d","service vnic","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.switch;",110,58,"","Switch",null,null,this.getTagsForStencil("mxgraph.veeam.3d","switch","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.tape;",
|
||||
58,58,"","Tape",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.tape_checked;",70,58,"","Tape Checked",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape checked","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.tape_ejecting;",
|
||||
70,58,"","Tape Ejecting",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape ejecting","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.tape_library;",62,74,"","Tape Library",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape library","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.tape_licensed;",
|
||||
70,58,"","Tape Licensed",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape licensed","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.tape_recording;",70,58,"","Tape Recording",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape recording","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.tape_server;",
|
||||
46,46,"","Tape Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape server","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vapp;",92,62,"","vApp",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vapp","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vapp_started;",
|
||||
92,62,"","vApp Started",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vapp started","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.veeam_availability_suite;",46,46,"","Veeam Availability Suite",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam availability suite","veeam 3d three dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.veeam_backup_and_replication_server;",46,46,"","Veeam Backup and Replication Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam backup and replication server","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.veeam_backup_enterprise_manager_server;",
|
||||
46,46,"","Veeam Backup Enterprise Manager Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam backup enterprise manager server","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.veeam_backup_enterprise_manager_server_2d;",40,40,"","Veeam Backup Enterprise Manager Server 2D",null,null,this.getTagsForStencil("mxgraph.veeam.3d",
|
||||
"veeam backup enterprise manager derver 2d two dimensional","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.veeam_backup_search_server;",46,46,"","Veeam Backup Search Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam backup search server","veeam 3d three dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.veeam_one_business_view;",46,46,"","Veeam ONE Business View",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one business view","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.veeam_one_monitor;",
|
||||
46,46,"","Veeam ONE Monitor",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one monitor","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.veeam_one_reporter;",46,46,"","Veeam ONE Reporter",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one reporter","veeam 3d three dimension vmware virtual machine ").join(" ")),
|
||||
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.veeam_one_server;",46,46,"","Veeam ONE Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one server","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.virtual_machine;",
|
||||
46,46,"","Virtual Machine",null,null,this.getTagsForStencil("mxgraph.veeam.3d","virtual machine","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vmware_host;",110,98,"","VMware Host",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vmware host","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vm_failed;",
|
||||
56,46,"","VM Failed",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm failed","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vm_linux;",46,60,"","VM Linux",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm linux","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vm_no_network;",
|
||||
58,46,"","VM No Network",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm no network","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vm_problem;",56,46,"","VM Problem",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm problem","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vm_running;",
|
||||
56,46,"","VM Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm running","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vm_saved_state;",58,48,"","VM Saved State",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm saved state","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vm_windows;",
|
||||
46,60,"","VM Windows",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm windows","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.vnic;",62,62,"","vNIC",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vnic","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.wan_accelerator;",
|
||||
46,46,"","WAN Accelerator",null,null,this.getTagsForStencil("mxgraph.veeam.3d","wan accelerator","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.veeam.3d.workstation;",76,62,"","Workstation",null,null,this.getTagsForStencil("mxgraph.veeam.3d","workstation","veeam 3d three dimension vmware virtual machine ").join(" "))];this.addPalette("veeam3D",
|
||||
"Veeam / 3D",!1,mxUtils.bind(this,function(c){for(var f=0;f<a.length;f++)c.appendChild(a[f](c))}))}})();DrawioFile=function(a,c){mxEventSource.call(this);this.ui=a;this.data=c||""};mxUtils.extend(DrawioFile,mxEventSource);DrawioFile.prototype.autosaveDelay=1500;DrawioFile.prototype.maxAutosaveDelay=3E4;DrawioFile.prototype.autosaveThread=null;DrawioFile.prototype.lastAutosave=null;DrawioFile.prototype.modified=!1;DrawioFile.prototype.changeListenerEnabled=!0;
|
||||
DrawioFile.prototype.lastAutosaveRevision=null;DrawioFile.prototype.maxAutosaveRevisionDelay=18E5;DrawioFile.prototype.descriptorChanged=function(){this.fireEvent(new mxEventObject("descriptorChanged"))};DrawioFile.prototype.contentChanged=function(){this.fireEvent(new mxEventObject("contentChanged"))};DrawioFile.prototype.save=function(a,c,f,d){this.updateFileData();this.clearAutosave()};DrawioFile.prototype.updateFileData=function(){this.setData(this.ui.getFileData())};
|
||||
DrawioFile.prototype.saveAs=function(a,c,f){};DrawioFile.prototype.saveFile=function(a,c,f,d){};DrawioFile.prototype.isRestricted=function(){return!1};DrawioFile.prototype.isModified=function(){return this.modified};DrawioFile.prototype.setModified=function(a){this.modified=a};DrawioFile.prototype.isAutosaveOptional=function(){return!1};DrawioFile.prototype.isAutosave=function(){return this.ui.editor.autosave};DrawioFile.prototype.isRenamable=function(){return!1};
|
||||
DrawioFile.prototype.rename=function(a,c,f){};DrawioFile.prototype.isMovable=function(){return!1};DrawioFile.prototype.move=function(a,c,f){};DrawioFile.prototype.getHash=function(){return""};DrawioFile.prototype.getId=function(){return""};DrawioFile.prototype.isEditable=function(){return!this.ui.editor.chromeless};DrawioFile.prototype.getUi=function(){return this.ui};DrawioFile.prototype.getTitle=function(){return""};DrawioFile.prototype.setData=function(a){this.data=a};
|
||||
DrawioFile.prototype.getData=function(){return this.data};
|
||||
DrawioFile.prototype.open=function(){this.ui.setFileData(this.getData());this.changeListener=mxUtils.bind(this,function(a,c){var f=null!=c?c.getProperty("edit"):null;if(this.changeListenerEnabled&&this.isEditable()&&(null==f||!f.ignoreEdit))this.setModified(!0),this.isAutosave()?(this.ui.editor.setStatus(mxResources.get("saving")+"..."),this.autosave(this.autosaveDelay,this.maxAutosaveDelay,mxUtils.bind(this,function(a){null==this.autosaveThread&&this.ui.getCurrentFile()==this&&!this.isModified()&&
|
||||
this.ui.editor.setStatus(mxResources.get("allChangesSaved"))}),mxUtils.bind(this,function(a){this.ui.getCurrentFile()==this&&this.addUnsavedStatus(a)}))):this.addUnsavedStatus()});this.ui.editor.graph.model.addListener(mxEvent.CHANGE,this.changeListener);this.ui.editor.graph.addListener("gridSizeChanged",this.changeListener);this.ui.editor.graph.addListener("shadowVisibleChanged",this.changeListener);this.ui.addListener("pageFormatChanged",this.changeListener);this.ui.addListener("pageScaleChanged",
|
||||
this.changeListener);this.ui.addListener("backgroundColorChanged",this.changeListener);this.ui.addListener("backgroundImageChanged",this.changeListener);this.ui.addListener("foldingEnabledChanged",this.changeListener);this.ui.addListener("mathEnabledChanged",this.changeListener);this.ui.addListener("gridEnabledChanged",this.changeListener);this.ui.addListener("guidesEnabledChanged",this.changeListener);this.ui.addListener("pageViewChanged",this.changeListener)};
|
||||
|
@ -7138,11 +7273,11 @@ a.editor.cancelFirst&&g.appendChild(b);a.isOffline()||(f=mxUtils.button(mxResour
|
|||
a.hideDialog(),f=!b.model.contains(c),!d||f||e!=r){e=a.editor.graph.compress(e);b.getModel().beginUpdate();try{if(f){var g=a.editor.graph.getInsertPoint();c.geometry.x=g.x;c.geometry.y=g.y;b.addCell(c)}b.setCellStyles(mxConstants.STYLE_SHAPE,"stencil("+e+")",[c])}catch(k){throw k;}finally{b.getModel().endUpdate()}f&&b.setSelectionCell(c)}};f=mxUtils.button(mxResources.get("preview"),function(){s(n,p,!1)});f.className="geBtn";g.appendChild(f);f=mxUtils.button(mxResources.get("apply"),function(){s(a.editor.graph,
|
||||
c,!0)});f.className="geBtn gePrimaryBtn";g.appendChild(f);a.editor.cancelFirst||g.appendChild(b);e.appendChild(g);l.appendChild(e);k.appendChild(l);this.container=k},CustomDialog=function(a,c,f,d,b,e){var g=document.createElement("div");g.appendChild(c);c=document.createElement("div");c.style.marginTop="16px";c.style.textAlign="center";var k=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=d&&d()});k.className="geBtn";a.editor.cancelFirst&&c.appendChild(k);if(!a.isOffline()&&
|
||||
null!=e){var l=mxUtils.button(mxResources.get("help"),function(){window.open(e)});l.className="geBtn";c.appendChild(l)}b=mxUtils.button(b||mxResources.get("ok"),function(){a.hideDialog();null!=f&&f()});c.appendChild(b);b.className="geBtn gePrimaryBtn";a.editor.cancelFirst||c.appendChild(k);g.appendChild(c);this.container=g};
|
||||
(function(){EditorUi.VERSION="5.7.0.7";EditorUi.compactUi="atlas"!=uiTheme;"1"==urlParams.dev&&(Editor.prototype.editBlankUrl+="\x26dev\x3d1",Editor.prototype.editBlankFallbackUrl+="\x26dev\x3d1");(function(){EditorUi.prototype.useCanvasForExport=!1;try{var a=document.createElement("canvas"),b=new Image;b.onload=function(){try{a.getContext("2d").drawImage(b,0,0);var c=a.toDataURL("image/png");EditorUi.prototype.useCanvasForExport=null!=c&&6<c.length}catch(d){}};b.src="data:image/svg+xml;base64,"+
|
||||
btoa(unescape(encodeURIComponent('\x3csvg xmlns\x3d"http://www.w3.org/2000/svg" xmlns:xlink\x3d"http://www.w3.org/1999/xlink" width\x3d"1px" height\x3d"1px" version\x3d"1.1"\x3e\x3cforeignObject pointer-events\x3d"all" width\x3d"1" height\x3d"1"\x3e\x3cdiv xmlns\x3d"http://www.w3.org/1999/xhtml"\x3e\x3c/div\x3e\x3c/foreignObject\x3e\x3c/svg\x3e')))}catch(c){}})();Editor.initMath=function(a,b){a=null!=a?a:"https://cdn.mathjax.org/mathjax/2.6-latest/MathJax.js?config\x3dTeX-MML-AM_HTMLorMML";Editor.mathJaxQueue=
|
||||
[];Editor.doMathJaxRender=function(a){MathJax.Hub.Queue(["Typeset",MathJax.Hub,a])};window.MathJax={skipStartupTypeset:!0,showMathMenu:!1,messageStyle:"none",AuthorInit:function(){MathJax.Hub.Config(b||{jax:["input/TeX","input/MathML","input/AsciiMath","output/HTML-CSS"],extensions:["tex2jax.js","mml2jax.js","asciimath2jax.js"],TeX:{extensions:["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]},tex2jax:{ignoreClass:"mxCellEditor"},asciimath2jax:{ignoreClass:"mxCellEditor"}});MathJax.Hub.Register.StartupHook("Begin",
|
||||
function(){for(var a=0;a<Editor.mathJaxQueue.length;a++)Editor.doMathJaxRender(Editor.mathJaxQueue[a])})}};Editor.MathJaxRender=function(a){"undefined"!==typeof MathJax&&"undefined"!==typeof MathJax.Hub?Editor.doMathJaxRender(a):Editor.mathJaxQueue.push(a)};Editor.MathJaxClear=function(){Editor.mathJaxQueue=[]};Editor.prototype.init=function(){this.graph.addListener(mxEvent.SIZE,mxUtils.bind(this,function(a,b){this.graph.mathEnabled&&Editor.MathJaxRender(this.graph.container)}))};var c=document.getElementsByTagName("script");
|
||||
if(null!=c&&0<c.length){var d=document.createElement("script");d.type="text/javascript";d.src=a;c[0].parentNode.appendChild(d)}};Editor.closeImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAMAAADzN3VRAAAApVBMVEUAAAD////k5OT///8AAAB1dXXMzMz9/f39/f37+/v5+fn+/v7///9iYmJaWlqFhYWnp6ejo6OHh4f////////////////7+/v5+fnx8fH///8AAAD///8bGxv7+/v5+fkoKCghISFDQ0MYGBjh4eHY2Njb29tQUFBvb29HR0c/Pz82NjYrKyu/v78SEhLu7u7s7OzV1dVVVVU7OzsVFRXAv78QEBBzqehMAAAAG3RSTlMAA/7p/vz5xZlrTiPL/v78+/v7+OXd2TYQDs8L70ZbAAABKUlEQVQoz3VS13LCMBBUXHChd8iukDslQChJ/v/TchaG4cXS+OSb1c7trU7V60OpdRz2ZtNZL4zXNlcN8BEtSG6+NxIXkeRPoBuQ1cjvZ31/VJFB10ISli6diYfH8iYO3WUNCcNlB0gTrXOtkxTo0O1aKKiBBMhhv2MNBQKoiA5wxlZo0JDzD3AYKbWacyj3fs01wxey0pyEP+R8pWKWXoqtIZ0DDg5pbki9krEKOa6LVDQsdoXEsi46Zqh69KFz7B1u7Hb2yDV8firXDKBlZ4UFiswKGRhXTS93/ECK7yxnJ3+S3y/ThpO+cfSD017nqa18aasabU0/t7d+tk0/1oMEJ1NaD67iwdF68OabFSLn+eHb0+vjy+uk8br9fdrftH0O2menfd7+AQfYM/lNjoDHAAAAAElFTkSuQmCC":
|
||||
(function(){EditorUi.VERSION="5.7.0.8.1";EditorUi.compactUi="atlas"!=uiTheme;EditorUi.isElectronApp=window&&window.process&&window.process.type;"1"==urlParams.dev&&(Editor.prototype.editBlankUrl+="\x26dev\x3d1",Editor.prototype.editBlankFallbackUrl+="\x26dev\x3d1");(function(){EditorUi.prototype.useCanvasForExport=!1;try{var a=document.createElement("canvas"),b=new Image;b.onload=function(){try{a.getContext("2d").drawImage(b,0,0);var c=a.toDataURL("image/png");EditorUi.prototype.useCanvasForExport=
|
||||
null!=c&&6<c.length}catch(d){}};b.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent('\x3csvg xmlns\x3d"http://www.w3.org/2000/svg" xmlns:xlink\x3d"http://www.w3.org/1999/xlink" width\x3d"1px" height\x3d"1px" version\x3d"1.1"\x3e\x3cforeignObject pointer-events\x3d"all" width\x3d"1" height\x3d"1"\x3e\x3cdiv xmlns\x3d"http://www.w3.org/1999/xhtml"\x3e\x3c/div\x3e\x3c/foreignObject\x3e\x3c/svg\x3e')))}catch(c){}})();Editor.initMath=function(a,b){a=null!=a?a:"https://cdn.mathjax.org/mathjax/2.6-latest/MathJax.js?config\x3dTeX-MML-AM_HTMLorMML";
|
||||
Editor.mathJaxQueue=[];Editor.doMathJaxRender=function(a){MathJax.Hub.Queue(["Typeset",MathJax.Hub,a])};window.MathJax={skipStartupTypeset:!0,showMathMenu:!1,messageStyle:"none",AuthorInit:function(){MathJax.Hub.Config(b||{jax:["input/TeX","input/MathML","input/AsciiMath","output/HTML-CSS"],extensions:["tex2jax.js","mml2jax.js","asciimath2jax.js"],TeX:{extensions:["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]},tex2jax:{ignoreClass:"mxCellEditor"},asciimath2jax:{ignoreClass:"mxCellEditor"}});
|
||||
MathJax.Hub.Register.StartupHook("Begin",function(){for(var a=0;a<Editor.mathJaxQueue.length;a++)Editor.doMathJaxRender(Editor.mathJaxQueue[a])})}};Editor.MathJaxRender=function(a){"undefined"!==typeof MathJax&&"undefined"!==typeof MathJax.Hub?Editor.doMathJaxRender(a):Editor.mathJaxQueue.push(a)};Editor.MathJaxClear=function(){Editor.mathJaxQueue=[]};Editor.prototype.init=function(){this.graph.addListener(mxEvent.SIZE,mxUtils.bind(this,function(a,b){this.graph.mathEnabled&&Editor.MathJaxRender(this.graph.container)}))};
|
||||
var c=document.getElementsByTagName("script");if(null!=c&&0<c.length){var d=document.createElement("script");d.type="text/javascript";d.src=a;c[0].parentNode.appendChild(d)}};Editor.closeImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAMAAADzN3VRAAAApVBMVEUAAAD////k5OT///8AAAB1dXXMzMz9/f39/f37+/v5+fn+/v7///9iYmJaWlqFhYWnp6ejo6OHh4f////////////////7+/v5+fnx8fH///8AAAD///8bGxv7+/v5+fkoKCghISFDQ0MYGBjh4eHY2Njb29tQUFBvb29HR0c/Pz82NjYrKyu/v78SEhLu7u7s7OzV1dVVVVU7OzsVFRXAv78QEBBzqehMAAAAG3RSTlMAA/7p/vz5xZlrTiPL/v78+/v7+OXd2TYQDs8L70ZbAAABKUlEQVQoz3VS13LCMBBUXHChd8iukDslQChJ/v/TchaG4cXS+OSb1c7trU7V60OpdRz2ZtNZL4zXNlcN8BEtSG6+NxIXkeRPoBuQ1cjvZ31/VJFB10ISli6diYfH8iYO3WUNCcNlB0gTrXOtkxTo0O1aKKiBBMhhv2MNBQKoiA5wxlZo0JDzD3AYKbWacyj3fs01wxey0pyEP+R8pWKWXoqtIZ0DDg5pbki9krEKOa6LVDQsdoXEsi46Zqh69KFz7B1u7Hb2yDV8firXDKBlZ4UFiswKGRhXTS93/ECK7yxnJ3+S3y/ThpO+cfSD017nqa18aasabU0/t7d+tk0/1oMEJ1NaD67iwdF68OabFSLn+eHb0+vjy+uk8br9fdrftH0O2menfd7+AQfYM/lNjoDHAAAAAElFTkSuQmCC":
|
||||
IMAGE_PATH+"/delete.png";Editor.prototype.addSvgShadow=function(a,b,c){c=null!=c?c:!1;var d=a.ownerDocument,e=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"filter"):d.createElement("filter");e.setAttribute("id","dropShadow");var f=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"feGaussianBlur"):d.createElement("feGaussianBlur");f.setAttribute("in","SourceAlpha");f.setAttribute("stdDeviation","1.7");f.setAttribute("result","blur");e.appendChild(f);f=null!=d.createElementNS?
|
||||
d.createElementNS(mxConstants.NS_SVG,"feOffset"):d.createElement("feOffset");f.setAttribute("in","blur");f.setAttribute("dx","3");f.setAttribute("dy","3");f.setAttribute("result","offsetBlur");e.appendChild(f);f=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"feFlood"):d.createElement("feFlood");f.setAttribute("flood-color","#3D4574");f.setAttribute("flood-opacity","0.4");f.setAttribute("result","offsetColor");e.appendChild(f);f=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,
|
||||
"feComposite"):d.createElement("feComposite");f.setAttribute("in","offsetColor");f.setAttribute("in2","offsetBlur");f.setAttribute("operator","in");f.setAttribute("result","offsetBlur");e.appendChild(f);f=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"feBlend"):d.createElement("feBlend");f.setAttribute("in","SourceGraphic");f.setAttribute("in2","offsetBlur");e.appendChild(f);var f=a.getElementsByTagName("defs"),g=null;0==f.length?(g=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,
|
||||
|
|
|
@ -56,6 +56,7 @@ mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-Office.js');
|
|||
mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-PID.js');
|
||||
mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-Rack.js');
|
||||
mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-Sysml.js');
|
||||
mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-Veeam.js');
|
||||
|
||||
mxscript(drawDevUrl + 'js/diagramly/DrawioUser.js');
|
||||
mxscript(drawDevUrl + 'js/diagramly/DrawioFile.js');
|
||||
|
|
|
@ -14,6 +14,11 @@
|
|||
*/
|
||||
EditorUi.compactUi = uiTheme != 'atlas';
|
||||
|
||||
/**
|
||||
* Overrides compact UI setting.
|
||||
*/
|
||||
EditorUi.isElectronApp = window && window.process && window.process.type; // https://github.com/electron/electron/issues/2288
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
|
448
war/js/diagramly/ElectronApp.js
Normal file
448
war/js/diagramly/ElectronApp.js
Normal file
|
@ -0,0 +1,448 @@
|
|||
window.TEMPLATE_PATH = 'templates';
|
||||
|
||||
(function()
|
||||
{
|
||||
// Overrides default mode
|
||||
App.mode = App.MODE_DEVICE;
|
||||
|
||||
// Redirects printing to iframe to avoid document.write
|
||||
PrintDialog.showPreview = function(preview, print)
|
||||
{
|
||||
var iframe = document.createElement('iframe');
|
||||
document.body.appendChild(iframe);
|
||||
|
||||
// Workaround for lost gradients in print output
|
||||
var getBaseUrl = mxSvgCanvas2D.prototype.getBaseUrl;
|
||||
|
||||
mxSvgCanvas2D.prototype.getBaseUrl = function()
|
||||
{
|
||||
return '';
|
||||
};
|
||||
|
||||
// Renders print output into iframe and prints
|
||||
var result = preview.open(null, iframe.contentWindow);
|
||||
iframe.contentWindow.print();
|
||||
iframe.parentNode.removeChild(iframe);
|
||||
|
||||
mxSvgCanvas2D.prototype.getBaseUrl = getBaseUrl;
|
||||
|
||||
return result;
|
||||
};
|
||||
|
||||
var menusInit = Menus.prototype.init;
|
||||
Menus.prototype.init = function()
|
||||
{
|
||||
menusInit.apply(this, arguments);
|
||||
|
||||
var editorUi = this.editorUi;
|
||||
|
||||
editorUi.actions.addAction('online...', function()
|
||||
{
|
||||
window.open('https://www.draw.io/');
|
||||
});
|
||||
|
||||
// Replaces file menu to replace openFrom menu with open and rename downloadAs to export
|
||||
this.put('file', new Menu(mxUtils.bind(this, function(menu, parent)
|
||||
{
|
||||
this.addMenuItems(menu, ['new', 'open', '-', 'save', 'saveAs', '-', 'import'], parent);
|
||||
this.addSubmenu('exportAs', menu, parent);
|
||||
this.addSubmenu('embed', menu, parent);
|
||||
this.addMenuItems(menu, ['-', 'newLibrary', 'openLibrary', '-', 'documentProperties', 'print'], parent);
|
||||
})));
|
||||
|
||||
this.put('extras', new Menu(mxUtils.bind(this, function(menu, parent)
|
||||
{
|
||||
this.addMenuItems(menu, ['copyConnect', 'collapseExpand', '-', 'gridColor', 'autosave', '-',
|
||||
'createShape', 'editDiagram', '-', 'online'], parent);
|
||||
})));
|
||||
};
|
||||
|
||||
// Uses local picker
|
||||
App.prototype.pickFile = function()
|
||||
{
|
||||
this.chooseFileEntry(mxUtils.bind(this, function(fileEntry, data)
|
||||
{
|
||||
var file = new LocalFile(this, data, '');
|
||||
file.fileObject = fileEntry;
|
||||
this.fileLoaded(file);
|
||||
}));
|
||||
};
|
||||
|
||||
/**
|
||||
* Selects a library to load from a picker
|
||||
*
|
||||
* @param mode the device mode, ignored in this case
|
||||
*/
|
||||
App.prototype.pickLibrary = function(mode)
|
||||
{
|
||||
this.chooseFileEntry(mxUtils.bind(this, function(fileEntry, data)
|
||||
{
|
||||
var library = new LocalLibrary(this, data, fileEntry.name);
|
||||
library.fileObject = fileEntry;
|
||||
this.loadLibrary(library);
|
||||
}));
|
||||
};
|
||||
|
||||
// Uses local picker
|
||||
App.prototype.chooseFileEntry = function(fn)
|
||||
{
|
||||
const electron = require('electron');
|
||||
var remote = electron.remote;
|
||||
var dialog = remote.dialog;
|
||||
|
||||
var paths = dialog.showOpenDialog({properties: [ 'openFile' ] });
|
||||
|
||||
if (paths !== undefined && paths[0] != null)
|
||||
{
|
||||
var fs = require('fs');
|
||||
var path = paths[0];
|
||||
var index = path.lastIndexOf('.png');
|
||||
var isPng = index > -1 && index == path.length - 4;
|
||||
var encoding = isPng ? 'base64' : 'utf-8'
|
||||
|
||||
fs.readFile(path, encoding, mxUtils.bind(this, function (e, data)
|
||||
{
|
||||
if (e)
|
||||
{
|
||||
this.handleError(e);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (isPng)
|
||||
{
|
||||
// Detecting png by extension. Would need https://github.com/mscdex/mmmagic
|
||||
// to do it by inspection
|
||||
data = this.extractGraphModelFromPng(data, true);
|
||||
}
|
||||
|
||||
var fileEntry = new Object();
|
||||
fileEntry.path = path;
|
||||
fileEntry.name = path.replace(/^.*[\\\/]/, '');
|
||||
fileEntry.type = encoding;
|
||||
fn(fileEntry, data);
|
||||
}
|
||||
}));
|
||||
}
|
||||
};
|
||||
|
||||
LocalFile.prototype.isAutosave = function()
|
||||
{
|
||||
return this.ui.editor.autosave;
|
||||
};
|
||||
|
||||
LocalFile.prototype.isAutosaveOptional = function()
|
||||
{
|
||||
return true;
|
||||
};
|
||||
|
||||
LocalLibrary.prototype.isAutosave = function()
|
||||
{
|
||||
return true;
|
||||
};
|
||||
|
||||
LocalFile.prototype.getTitle = function()
|
||||
{
|
||||
return (this.fileObject != null) ? this.fileObject.name : null;
|
||||
};
|
||||
|
||||
LocalFile.prototype.isRenamable = function()
|
||||
{
|
||||
return false;
|
||||
};
|
||||
|
||||
// Restores default implementation of open with autosave
|
||||
LocalFile.prototype.open = DrawioFile.prototype.open;
|
||||
|
||||
LocalFile.prototype.save = function(revision, success, error)
|
||||
{
|
||||
DrawioFile.prototype.save.apply(this, arguments);
|
||||
|
||||
this.saveFile(revision, success, error);
|
||||
};
|
||||
|
||||
LocalLibrary.prototype.save = function(revision, success, error)
|
||||
{
|
||||
this.saveFile(revision, success, error);
|
||||
};
|
||||
|
||||
LocalFile.prototype.saveFile = function(revision, success, error)
|
||||
{
|
||||
var fn = mxUtils.bind(this, function()
|
||||
{
|
||||
var doSave = mxUtils.bind(this, function(data)
|
||||
{
|
||||
if (!this.savingFile)
|
||||
{
|
||||
this.savingFile = true;
|
||||
|
||||
// Makes sure no changes get lost while the file is saved
|
||||
var prevModified = this.isModified;
|
||||
var modified = this.isModified();
|
||||
this.setModified(false);
|
||||
var fs = require('fs');
|
||||
|
||||
fs.writeFile(this.fileObject.path, data, this.fileObject.encoding, mxUtils.bind(this, function (e)
|
||||
{
|
||||
if (e)
|
||||
{
|
||||
this.savingFile = false;
|
||||
this.isModified = prevModified;
|
||||
this.setModified(modified || this.isModified());
|
||||
|
||||
if (error != null)
|
||||
{
|
||||
error();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.savingFile = false;
|
||||
this.isModified = prevModified;
|
||||
|
||||
this.contentChanged();
|
||||
|
||||
if (success != null)
|
||||
{
|
||||
success();
|
||||
}
|
||||
}
|
||||
}));
|
||||
}
|
||||
else
|
||||
{
|
||||
// TODO, already saving. Need a better error
|
||||
error();
|
||||
}
|
||||
});
|
||||
|
||||
if (!/(\.png)$/i.test(this.fileObject.name))
|
||||
{
|
||||
doSave(this.getData());
|
||||
}
|
||||
else
|
||||
{
|
||||
this.ui.exportToCanvas(mxUtils.bind(this, function(canvas)
|
||||
{
|
||||
try
|
||||
{
|
||||
var data = canvas.toDataURL('image/png');
|
||||
data = this.ui.writeGraphModelToPng(data, 'zTXt', 'mxGraphModel',
|
||||
atob(this.ui.editor.graph.compress(mxUtils.getXml(this.ui.editor.getGraphXml()))));
|
||||
doSave(data, 'base64');
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
if (error != null)
|
||||
{
|
||||
error(e);
|
||||
}
|
||||
}
|
||||
}), null, null, null, mxUtils.bind(this, function(e)
|
||||
{
|
||||
if (error != null)
|
||||
{
|
||||
error(e);
|
||||
}
|
||||
}));
|
||||
}
|
||||
});
|
||||
|
||||
if (this.fileObject == null)
|
||||
{
|
||||
const electron = require('electron');
|
||||
var remote = electron.remote;
|
||||
var dialog = remote.dialog;
|
||||
|
||||
var path = dialog.showSaveDialog();
|
||||
|
||||
// chrome.fileSystem.chooseEntry({type: 'saveFile',
|
||||
// accepts: [(this.constructor == LocalFile) ? {description: 'Draw.io Diagram (.xml)',
|
||||
// extensions: ['xml']} : {description: 'Draw.io Library (.xml)',
|
||||
// extensions: ['xml']}]}, mxUtils.bind(this, function(xmlFile)
|
||||
|
||||
if (path != null)
|
||||
{
|
||||
this.fileObject = new Object();
|
||||
this.fileObject.path = path;
|
||||
this.fileObject.name = path.replace(/^.*[\\\/]/, '');
|
||||
this.fileObject.type = 'utf-8';
|
||||
fn();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
fn();
|
||||
}
|
||||
};
|
||||
|
||||
LocalFile.prototype.saveAs = function(title, success, error)
|
||||
{
|
||||
const electron = require('electron');
|
||||
var remote = electron.remote;
|
||||
var dialog = remote.dialog;
|
||||
|
||||
var path = dialog.showSaveDialog();
|
||||
|
||||
// chrome.fileSystem.chooseEntry({type: 'saveFile',
|
||||
// accepts: [(this.constructor == LocalFile) ? {description: 'Draw.io Diagram (.xml)',
|
||||
// extensions: ['xml']} : {description: 'Draw.io Library (.xml)',
|
||||
// extensions: ['xml']}]}, mxUtils.bind(this, function(f)
|
||||
|
||||
if (path != null)
|
||||
{
|
||||
this.fileObject = new Object();
|
||||
this.fileObject.path = path;
|
||||
this.fileObject.name = path.replace(/^.*[\\\/]/, '');
|
||||
this.fileObject.type = 'utf-8';
|
||||
this.save(false, success, error);
|
||||
}
|
||||
};
|
||||
|
||||
App.prototype.saveFile = function(forceDialog)
|
||||
{
|
||||
var file = this.getCurrentFile();
|
||||
|
||||
if (file != null)
|
||||
{
|
||||
if (!forceDialog && file.getTitle() != null)
|
||||
{
|
||||
file.save(true, mxUtils.bind(this, function(resp)
|
||||
{
|
||||
this.spinner.stop();
|
||||
this.editor.setStatus(mxResources.get('allChangesSaved'));
|
||||
}), mxUtils.bind(this, function(resp)
|
||||
{
|
||||
this.editor.setStatus('');
|
||||
this.handleError(resp, (resp != null) ? mxResources.get('errorSavingFile') : null);
|
||||
}));
|
||||
}
|
||||
else
|
||||
{
|
||||
file.saveAs(null, mxUtils.bind(this, function(resp)
|
||||
{
|
||||
this.spinner.stop();
|
||||
this.editor.setStatus(mxResources.get('allChangesSaved'));
|
||||
}), mxUtils.bind(this, function(resp)
|
||||
{
|
||||
this.editor.setStatus('');
|
||||
this.handleError(resp, (resp != null) ? mxResources.get('errorSavingFile') : null);
|
||||
}));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Translates this point by the given vector.
|
||||
*
|
||||
* @param {number} dx X-coordinate of the translation.
|
||||
* @param {number} dy Y-coordinate of the translation.
|
||||
*/
|
||||
App.prototype.saveLibrary = function(name, images, file, mode, noSpin, noReload, fn)
|
||||
{
|
||||
mode = (mode != null) ? mode : this.mode;
|
||||
noSpin = (noSpin != null) ? noSpin : false;
|
||||
noReload = (noReload != null) ? noReload : false;
|
||||
var xml = this.createLibraryDataFromImages(images);
|
||||
|
||||
var error = mxUtils.bind(this, function(resp)
|
||||
{
|
||||
this.spinner.stop();
|
||||
|
||||
if (fn != null)
|
||||
{
|
||||
fn();
|
||||
}
|
||||
|
||||
// Null means cancel by user and is ignored
|
||||
if (resp != null)
|
||||
{
|
||||
this.handleError(resp, mxResources.get('errorSavingFile'));
|
||||
}
|
||||
});
|
||||
|
||||
// Handles special case for local libraries
|
||||
if (file == null)
|
||||
{
|
||||
file = new LocalLibrary(this, xml, name);
|
||||
}
|
||||
|
||||
if (noSpin || this.spinner.spin(document.body, mxResources.get('saving')))
|
||||
{
|
||||
file.setData(xml);
|
||||
|
||||
var doSave = mxUtils.bind(this, function()
|
||||
{
|
||||
file.save(true, mxUtils.bind(this, function(resp)
|
||||
{
|
||||
this.spinner.stop();
|
||||
this.hideDialog(true);
|
||||
|
||||
if (!noReload)
|
||||
{
|
||||
this.libraryLoaded(file, images)
|
||||
}
|
||||
|
||||
if (fn != null)
|
||||
{
|
||||
fn();
|
||||
}
|
||||
}), error);
|
||||
});
|
||||
|
||||
if (name != file.getTitle())
|
||||
{
|
||||
var oldHash = file.getHash();
|
||||
|
||||
file.rename(name, mxUtils.bind(this, function(resp)
|
||||
{
|
||||
// Change hash in stored settings
|
||||
if (file.constructor != LocalLibrary && oldHash != file.getHash())
|
||||
{
|
||||
mxSettings.removeCustomLibrary(oldHash);
|
||||
mxSettings.addCustomLibrary(file.getHash());
|
||||
}
|
||||
|
||||
// Workaround for library files changing hash so
|
||||
// the old library cannot be removed from the
|
||||
// sidebar using the updated file in libraryLoaded
|
||||
this.removeLibrarySidebar(oldHash);
|
||||
|
||||
doSave();
|
||||
}), error)
|
||||
}
|
||||
else
|
||||
{
|
||||
doSave();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
App.prototype.doSaveLocalFile = function(data, filename, mimeType, base64Encoded)
|
||||
{
|
||||
chrome.fileSystem.chooseEntry({type: 'saveFile', suggestedName: filename, acceptsAllTypes: true}, mxUtils.bind(this, function(fileEntry)
|
||||
{
|
||||
if (!chrome.runtime.lastError)
|
||||
{
|
||||
fileEntry.createWriter(mxUtils.bind(this, function(writer)
|
||||
{
|
||||
writer.onwriteend = mxUtils.bind(this, function()
|
||||
{
|
||||
writer.onwriteend = null;
|
||||
writer.write((base64Encoded) ? this.base64ToBlob(data, mimeType) : new Blob([data], {type: mimeType}));
|
||||
});
|
||||
|
||||
writer.onerror = mxUtils.bind(this, function(e)
|
||||
{
|
||||
this.handleError(e);
|
||||
});
|
||||
|
||||
writer.truncate(0);
|
||||
}));
|
||||
}
|
||||
else if (chrome.runtime.lastError.message != 'User cancelled')
|
||||
{
|
||||
this.handleError(chrome.runtime.lastError);
|
||||
}
|
||||
}));
|
||||
};
|
||||
})();
|
486
war/js/diagramly/sidebar/Sidebar-Veeam.js
Normal file
486
war/js/diagramly/sidebar/Sidebar-Veeam.js
Normal file
|
@ -0,0 +1,486 @@
|
|||
(function()
|
||||
{
|
||||
// Adds mockup shapes
|
||||
Sidebar.prototype.addVeeamPalette = function()
|
||||
{
|
||||
this.addVeeam2DPalette();
|
||||
this.addVeeam3DPalette();
|
||||
};
|
||||
|
||||
Sidebar.prototype.addVeeam2DPalette = function()
|
||||
{
|
||||
var sn = 'shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.';
|
||||
var s = 'shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.';
|
||||
var s2 = 'shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.';
|
||||
|
||||
// Space savers
|
||||
var sb = this;
|
||||
var gn = 'mxgraph.veeam.2d';
|
||||
var dt = 'veeam 2d two dimension vmware virtual machine ';
|
||||
|
||||
var w = 2.0;
|
||||
var h = 2.0;
|
||||
|
||||
var fns =
|
||||
[
|
||||
this.createVertexTemplateEntry(s + '1ftvm;',
|
||||
w * 35, h * 35, '', '1FTVM', null, null, this.getTagsForStencil(gn, '1ftvm', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + '1ftvm_error;',
|
||||
w * 35, h * 39, '', '1FTVM Error', null, null, this.getTagsForStencil(gn, '1ftvm error', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + '1ftvm_running;',
|
||||
w * 35, h * 39, '', '1FTVM Running', null, null, this.getTagsForStencil(gn, '1frvm running', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + '1ftvm_unavailable;',
|
||||
w * 35, h * 39, '', '1FTVM Unavailable', null, null, this.getTagsForStencil(gn, '1ftvm unavailable', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + '1ftvm_warning;',
|
||||
w * 35, h * 39, '', '1FTVM Warning', null, null, this.getTagsForStencil(gn, '1ftvm warning', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + '1_click_failover_orchestration;',
|
||||
w * 22, h * 22, '', '1 Click Failover Orchestration', null, null, this.getTagsForStencil(gn, 'one click failover orchestration', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + '2ftvm;',
|
||||
w * 35, h * 35, '', '2FTVM', null, null, this.getTagsForStencil(gn, '2ftvm', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + '2ftvm_error;',
|
||||
w * 35, h * 39, '', '2FTVM Error', null, null, this.getTagsForStencil(gn, '2ftvm error', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + '2ftvm_running;',
|
||||
w * 35, h * 39, '', '2FTVM Running', null, null, this.getTagsForStencil(gn, '2ftvm running', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + '2ftvm_unavailable;',
|
||||
w * 35, h * 39, '', '2FTVM Unavailable', null, null, this.getTagsForStencil(gn, '2ftvm unavailable', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + '2ftvm_warning;',
|
||||
w * 35, h * 39, '', '2FTVM Warning', null, null, this.getTagsForStencil(gn, '2ftvm warning', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'agent;',
|
||||
w * 19, h * 19, '', 'Agent', null, null, this.getTagsForStencil(gn, 'agent', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'alarm;',
|
||||
w * 31, h * 23, '', 'Alarm', null, null, this.getTagsForStencil(gn, 'alarm', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'alert;',
|
||||
w * 15, h * 15, '', 'Alert', null, null, this.getTagsForStencil(gn, 'alert', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'assisted_failover_and_failback;',
|
||||
w * 23, h * 23, '', 'Assisted Failover and Failback', null, null, this.getTagsForStencil(gn, 'assisted failover and failback', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'backup_browser;',
|
||||
w * 23, h * 23, '', 'Backup Browser', null, null, this.getTagsForStencil(gn, 'backup browser', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'backup_from_storage_snapshots;',
|
||||
w * 23, h * 23, '', 'Backup from Storage Snapshots', null, null, this.getTagsForStencil(gn, 'backup from storage snapshots', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'backup_repository;',
|
||||
w * 26, h * 24, '', 'Backup Repository', null, null, this.getTagsForStencil(gn, 'backup repository', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'backup_repository_2;',
|
||||
w * 29, h * 25, '', 'Backup Repository', null, null, this.getTagsForStencil(gn, 'backup repository', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'built_in_wan_acceleration;',
|
||||
w * 23, h * 23, '', 'Built-in WAN Acceleration', null, null, this.getTagsForStencil(gn, 'built in wan acceleration wireless area network', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'cd;',
|
||||
w * 23, h * 23, '', 'CD', null, null, this.getTagsForStencil(gn, 'cd compact disc', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'cloud;',
|
||||
w * 33, h * 23, '', 'Cloud', null, null, this.getTagsForStencil(gn, 'cloud', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'cloud_gateway;',
|
||||
w * 23, h * 23, '', 'Cloud Gateway', null, null, this.getTagsForStencil(gn, 'cloud gateway', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'database;',
|
||||
w * 29, h * 25, '', 'Database', null, null, this.getTagsForStencil(gn, 'database db', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'datastore;',
|
||||
w * 22, h * 22, '', 'Datastore', null, null, this.getTagsForStencil(gn, 'datastore', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'datastore_snapshot;',
|
||||
w * 23, h * 6, '', 'Datastore Snapshot', null, null, this.getTagsForStencil(gn, 'datastore snapshot', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'datastore_volume;',
|
||||
w * 23, h * 6, '', 'Datastore Volume', null, null, this.getTagsForStencil(gn, 'datastore volume', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'data_mover;',
|
||||
w * 19, h * 19, '', 'Data Mover', null, null, this.getTagsForStencil(gn, 'data mover', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'disaster_recovery;',
|
||||
w * 23, h * 23, '', 'Disaster Recovery', null, null, this.getTagsForStencil(gn, 'disaster recovery', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'download;',
|
||||
w * 23, h * 23, '', 'Download', null, null, this.getTagsForStencil(gn, 'download', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'emc_data_domain_boost;',
|
||||
w * 23, h * 23, '', 'EMC Data Domain Boost', null, null, this.getTagsForStencil(gn, 'emc data domain boost', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'encryption_object;',
|
||||
w * 23, h * 23, '', 'Encryption Object', null, null, this.getTagsForStencil(gn, 'encryption object', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'end_to_end_encryption;',
|
||||
w * 23, h * 23, '', 'End to end Encryption', null, null, this.getTagsForStencil(gn, 'end to end encryption', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'esx_esxi;',
|
||||
w * 15, h * 23, '', 'ESX/ESXi', null, null, this.getTagsForStencil(gn, 'esx esxi', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'exagrid;',
|
||||
w * 23, h * 23, '', 'ExaGrid', null, null, this.getTagsForStencil(gn, 'exagrid', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'failover_protective_snapshot;',
|
||||
w * 23, h * 23, '', 'Failover Protective Snapshot', null, null, this.getTagsForStencil(gn, 'failover protective snapshot', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'failover_protective_snapshot_locked;',
|
||||
w * 27, h * 25, '', 'Failover Protective Snapshot Locked', null, null, this.getTagsForStencil(gn, 'failover protective snapshot locked', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'failover_protective_snapshot_running;',
|
||||
w * 28, h * 25, '', 'Failover Protective Snapshot Running', null, null, this.getTagsForStencil(gn, 'failover protective snapshot running', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'file;',
|
||||
w * 17, h * 23, '', 'File', null, null, this.getTagsForStencil(gn, 'file', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'file_system_browser;',
|
||||
w * 23, h * 23, '', 'File System Browser', null, null, this.getTagsForStencil(gn, 'file system browser', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'folder;',
|
||||
w * 24, h * 23, '', 'Folder', null, null, this.getTagsForStencil(gn, 'folder', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'forward_incremental_backup_increment;fillColor=#999A98;',
|
||||
w * 17, h * 12, '', 'Forward Incremental Backup - Increment (grey)', null, null, this.getTagsForStencil(gn, 'forward incremental backup increment', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'forward_incremental_backup_increment;',
|
||||
w * 17, h * 12, '', 'Forward Incremental Backup - Increment (blue)', null, null, this.getTagsForStencil(gn, 'forward incremental backup increment', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'free_datastore;',
|
||||
w * 23, h * 23, '', 'Free Datastore', null, null, this.getTagsForStencil(gn, 'free datastore', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'full_datastore;',
|
||||
w * 23, h * 23, '', 'Full Datastore', null, null, this.getTagsForStencil(gn, 'full datastore', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'full_veeam_backup;fillColor=#999A98;',
|
||||
w * 13, h * 21, '', 'Full Veeam Backup (grey)', null, null, this.getTagsForStencil(gn, 'full veeam backup', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'full_veeam_backup;fillColor=#24B14B;',
|
||||
w * 13, h * 21, '', 'Full Veeam Backup (green)', null, null, this.getTagsForStencil(gn, 'full veeam backup', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'full_veeam_backup;fillColor=#EF8F21;',
|
||||
w * 13, h * 21, '', 'Full Veeam Backup (orange)', null, null, this.getTagsForStencil(gn, 'full veeam backup', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'full_veeam_backup;fillColor=#FBB715;',
|
||||
w * 13, h * 21, '', 'Full Veeam Backup (yellow)', null, null, this.getTagsForStencil(gn, 'full veeam backup', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'group;',
|
||||
w * 20, h * 23, '', 'Group', null, null, this.getTagsForStencil(gn, 'group', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'hard_drive;',
|
||||
w * 19, h * 23, '', 'Hard Drive', null, null, this.getTagsForStencil(gn, 'hard drive', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'hp_storeonce;',
|
||||
w * 23, h * 23, '', 'HP StoreOnce', null, null, this.getTagsForStencil(gn, 'hp storeonce', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'hyper_v_host;',
|
||||
w * 62, h * 60, '', 'Hyper-V Host', null, null, this.getTagsForStencil(gn, 'hyper host', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'hyper_v_vmware_host;',
|
||||
w * 62, h * 60, '', 'VMware/Hyper-V Host', null, null, this.getTagsForStencil(gn, 'hyper vmware host', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'letter;',
|
||||
w * 23, h * 18, '', 'Letter', null, null, this.getTagsForStencil(gn, 'letter', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'license;',
|
||||
w * 23, h * 23, '', 'License', null, null, this.getTagsForStencil(gn, 'license', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'lost_space;',
|
||||
w * 23, h * 23, '', 'Lost Space', null, null, this.getTagsForStencil(gn, 'lost space', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'lun;',
|
||||
w * 29, h * 11, '', 'LUN', null, null, this.getTagsForStencil(gn, 'lun', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'medium_datastore;',
|
||||
w * 23, h * 23, '', 'Medium Datastore', null, null, this.getTagsForStencil(gn, 'medium datastore', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'monitoring_console;',
|
||||
w * 23, h * 23, '', 'Monitoring Console', null, null, this.getTagsForStencil(gn, 'monitoring console', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'native_tape_support;',
|
||||
w * 23, h * 23, '', 'Native Tape Support', null, null, this.getTagsForStencil(gn, 'native tape support', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'network_card;',
|
||||
w * 23, h * 16, '', 'Network Card', null, null, this.getTagsForStencil(gn, 'network card', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'on_demand_sandbox;',
|
||||
w * 23, h * 23, '', 'On Demand Sandbox', null, null, this.getTagsForStencil(gn, 'on demand sandbox', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'physical_storage;',
|
||||
w * 38, h * 13, '', 'Physical Storage', null, null, this.getTagsForStencil(gn, 'physical storage', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'powershell_extension;',
|
||||
w * 23, h * 23, '', 'PowerShell Extension', null, null, this.getTagsForStencil(gn, 'powershell extension', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'private_key;',
|
||||
w * 28, h * 26, '', 'Private Key', null, null, this.getTagsForStencil(gn, 'private key', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'privilege;',
|
||||
w * 25, h * 24, '', 'Privilege', null, null, this.getTagsForStencil(gn, 'privilege', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'proxy;',
|
||||
w * 23, h * 23, '', 'Proxy', null, null, this.getTagsForStencil(gn, 'proxy', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'proxy_appliance;',
|
||||
w * 23, h * 23, '', 'Proxy Appliance', null, null, this.getTagsForStencil(gn, 'proxy appliance', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'quick_migration;',
|
||||
w * 23, h * 23, '', 'Quick Migration', null, null, this.getTagsForStencil(gn, 'quick migration', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'remote_site;',
|
||||
w * 21, h * 22, '', 'Remote Site', null, null, this.getTagsForStencil(gn, 'remote site', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'remote_storage;',
|
||||
w * 23, h * 23, '', 'Remote Storage', null, null, this.getTagsForStencil(gn, 'remote storage', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'replication_from_a_backup;',
|
||||
w * 23, h * 23, '', 'Replication from a Backup', null, null, this.getTagsForStencil(gn, 'replication from a backup', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'report;',
|
||||
w * 17, h * 23, '', 'Report', null, null, this.getTagsForStencil(gn, 'report', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'resource_pool;',
|
||||
w * 23, h * 23, '', 'Resource Pool', null, null, this.getTagsForStencil(gn, 'resource pool', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'restful_apis;',
|
||||
w * 23, h * 23, '', 'RESTful APIs', null, null, this.getTagsForStencil(gn, 'restful apis api', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'restore_data_from_the_vm_backup;',
|
||||
w * 23, h * 23, '', 'Restore Data from the VM Backup', null, null, this.getTagsForStencil(gn, 'restore data from the vm backup', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'reversed_incremental_backup_increment;fillColor=#999A98;',
|
||||
w * 17, h * 12, '', 'Reversed Incremental Backup - Increment (grey)', null, null, this.getTagsForStencil(gn, 'reversed incremental backup increment', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'reversed_incremental_backup_increment;fillColor=#6E5CA7;',
|
||||
w * 17, h * 12, '', 'Reversed Incremental Backup - Increment (purple)', null, null, this.getTagsForStencil(gn, 'reversed incremental backup increment', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'role;',
|
||||
w * 17, h * 23, '', 'Role', null, null, this.getTagsForStencil(gn, 'role', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'scheduled_backups;',
|
||||
w * 23, h * 23, '', 'Scheduled Backups', null, null, this.getTagsForStencil(gn, 'Scheduled Backups', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'search;',
|
||||
w * 23, h * 23, '', 'Search', null, null, this.getTagsForStencil(gn, 'search', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'self_service_recovery;',
|
||||
w * 23, h * 23, '', 'Self-Service Recovery', null, null, this.getTagsForStencil(gn, 'self service recovery', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'service;',
|
||||
w * 23, h * 23, '', 'Service', null, null, this.getTagsForStencil(gn, 'service', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'service_console;',
|
||||
w * 23, h * 23, '', 'Service Console', null, null, this.getTagsForStencil(gn, 'service console', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'service_vnic;',
|
||||
w * 30, h * 27, '', 'Service vNIC', null, null, this.getTagsForStencil(gn, 'service vnic', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'sure_backup;',
|
||||
w * 23, h * 23, '', 'SureBackup', null, null, this.getTagsForStencil(gn, 'sure backup', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'sure_replica;',
|
||||
w * 23, h * 23, '', 'SureReplica', null, null, this.getTagsForStencil(gn, 'sure replica', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'switch;',
|
||||
w * 37, h * 6, '', 'Switch', null, null, this.getTagsForStencil(gn, 'switch', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'tape;',
|
||||
w * 30, h * 16, '', 'Tape', null, null, this.getTagsForStencil(gn, 'tape', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'tape_checked;',
|
||||
w * 35, h * 21, '', 'Tape Checked', null, null, this.getTagsForStencil(gn, 'tape checked', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'tape_device;',
|
||||
w * 26, h * 26, '', 'Tape Device', null, null, this.getTagsForStencil(gn, 'tape device', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'tape_ejecting;',
|
||||
w * 35, h * 21, '', 'Tape Ejecting', null, null, this.getTagsForStencil(gn, 'tape ejecting', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'tape_library;',
|
||||
w * 20, h * 23, '', 'Tape Library', null, null, this.getTagsForStencil(gn, 'tape library', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'tape_licensed;',
|
||||
w * 34, h * 19, '', 'Tape Licensed', null, null, this.getTagsForStencil(gn, 'tape licensed', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'tape_recording;',
|
||||
w * 35, h * 21, '', 'Tape Recording', null, null, this.getTagsForStencil(gn, 'tape recording', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'tape_server;',
|
||||
w * 37, h * 36, '', 'Tape Server', null, null, this.getTagsForStencil(gn, 'tape server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'transport_service;',
|
||||
w * 19, h * 19, '', 'Transport Service', null, null, this.getTagsForStencil(gn, 'transport service', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'user;',
|
||||
w * 13, h * 23, '', 'User', null, null, this.getTagsForStencil(gn, 'user', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'u_air;',
|
||||
w * 23, h * 23, '', 'U-AIR', null, null, this.getTagsForStencil(gn, 'air', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vapp;',
|
||||
w * 24, h * 24, '', 'vApp', null, null, this.getTagsForStencil(gn, 'vapp', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vapp_started;',
|
||||
w * 30, h * 27, '', 'vApp Started', null, null, this.getTagsForStencil(gn, 'vapp started', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeamzip;',
|
||||
w * 23, h * 23, '', 'VeeamZIP', null, null, this.getTagsForStencil(gn, 'veeamzip zip', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_availability_suite;',
|
||||
w * 23, h * 23, '', 'Veeam Availability Suite', null, null, this.getTagsForStencil(gn, 'availability suite', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'veeam_backup_and_replication_server;',
|
||||
w * 37, h * 36, '', 'Veeam Backup and Replication Server', null, null, this.getTagsForStencil(gn, 'backup and replication server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'veeam_backup_enterprise_manager_server;',
|
||||
w * 37, h * 36, '', 'Veeam Backup Enterprise Manager Server', null, null, this.getTagsForStencil(gn, 'backup enterprise manager server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'veeam_backup_search_server;',
|
||||
w * 37, h * 36, '', 'Veeam Backup Search Server', null, null, this.getTagsForStencil(gn, 'backup search server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'veeam_backup_shell;',
|
||||
w * 23, h * 23, '', 'Veeam Backup Shell', null, null, this.getTagsForStencil(gn, 'backup shell', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_cloud_connect;',
|
||||
w * 23, h * 23, '', 'Veeam Cloud Connect', null, null, this.getTagsForStencil(gn, 'cloud connect', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_explorer;',
|
||||
w * 23, h * 23, '', 'Veeam Explorer', null, null, this.getTagsForStencil(gn, 'explorer', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_explorer_for_active_directory;',
|
||||
w * 23, h * 23, '', 'Veeam Explorer for Active Directory', null, null, this.getTagsForStencil(gn, 'explorer for active directory', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_explorer_for_exchange;',
|
||||
w * 23, h * 23, '', 'Veeam Explorer for Exchange', null, null, this.getTagsForStencil(gn, 'explorer for exchange', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_explorer_for_sharepoint;',
|
||||
w * 23, h * 23, '', 'Veeam Explorer for SharePoint', null, null, this.getTagsForStencil(gn, 'explorer for sharepoint', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_explorer_for_sql;',
|
||||
w * 23, h * 23, '', 'Veeam Explorer for SQL', null, null, this.getTagsForStencil(gn, 'explorer for sql', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'veeam_logo;fillColor=#232020;',
|
||||
w * 72, h * 19, '', 'Veeam Logo', null, null, this.getTagsForStencil(gn, 'logo', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_one_business_view;',
|
||||
w * 23, h * 23, '', 'Veeam ONE Business View', null, null, this.getTagsForStencil(gn, 'one business view', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_one_monitor;',
|
||||
w * 23, h * 23, '', 'Veeam ONE Monitor', null, null, this.getTagsForStencil(gn, 'one monitor', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_one_reporter;',
|
||||
w * 23, h * 23, '', 'Veeam ONE Reporter', null, null, this.getTagsForStencil(gn, 'one reporter', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'veeam_one_server;',
|
||||
w * 23, h * 23, '', 'Veeam ONE Server', null, null, this.getTagsForStencil(gn, 'one server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s2 + 'virtual_lab;',
|
||||
w * 23, h * 23, '', 'Virtual Lab', null, null, this.getTagsForStencil(gn, 'virtual lab', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'virtual_machine;',
|
||||
w * 23, h * 23, '', 'Virtual Machine', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'virtual_switch;',
|
||||
w * 23, h * 23, '', 'Virtual Switch', null, null, this.getTagsForStencil(gn, 'switch', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vmware_host;',
|
||||
w * 62, h * 60, '', 'VMware Host', null, null, this.getTagsForStencil(gn, 'vmware host', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vm_backup;',
|
||||
w * 25, h * 23, '', 'VM Backup', null, null, this.getTagsForStencil(gn, 'vm backup', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vm_failed;',
|
||||
w * 28, h * 27, '', 'VM Failed', null, null, this.getTagsForStencil(gn, 'vm failed', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vm_image_full_backup;',
|
||||
w * 19, h * 26, '', 'VM Image Full Backup', null, null, this.getTagsForStencil(gn, 'vm image full backup', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vm_image_incremental_backup;',
|
||||
w * 19, h * 26, '', 'VM Image Incremental Backup', null, null, this.getTagsForStencil(gn, 'vm image incremental backup', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vm_linux;',
|
||||
w * 23, h * 42, '', 'VM Linux', null, null, this.getTagsForStencil(gn, 'vm linux', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vm_locked;',
|
||||
w * 28, h * 26, '', 'VM Locked', null, null, this.getTagsForStencil(gn, 'vm locked', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vm_no_network;',
|
||||
w * 27, h * 26, '', 'VM No Network', null, null, this.getTagsForStencil(gn, 'vm no network', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vm_problem;',
|
||||
w * 28, h * 26, '', 'VM Problem', null, null, this.getTagsForStencil(gn, 'vm problem', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vm_running;',
|
||||
w * 28, h * 27, '', 'VM Running', null, null, this.getTagsForStencil(gn, 'vm running', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vm_saved_state;',
|
||||
w * 28, h * 27, '', 'VM Saved State', null, null, this.getTagsForStencil(gn, 'vm saved state', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vm_windows;',
|
||||
w * 23, h * 42, '', 'VM Windows', null, null, this.getTagsForStencil(gn, 'vm windows', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vnic;',
|
||||
w * 23, h * 23, '', 'vNIC', null, null, this.getTagsForStencil(gn, 'vnic', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'vsb_file;',
|
||||
w * 17, h * 23, '', '.vsb File', null, null, this.getTagsForStencil(gn, 'vsb file', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'wan_accelerator;',
|
||||
w * 23, h * 23, '', 'WAN Accelerator', null, null, this.getTagsForStencil(gn, 'wan accelerator wireless area network', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'web_console;',
|
||||
w * 23, h * 23, '', 'Web Console', null, null, this.getTagsForStencil(gn, 'web console', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'web_ui;',
|
||||
w * 23, h * 23, '', 'Web UI', null, null, this.getTagsForStencil(gn, 'web ui user interface', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(s + 'workstation;',
|
||||
w * 34, h * 23, '', 'Workstation', null, null, this.getTagsForStencil(gn, 'workstation', dt).join(' '))
|
||||
];
|
||||
|
||||
this.addPalette('veeam2D', 'Veeam / 2D', false, mxUtils.bind(this, function(content)
|
||||
{
|
||||
for (var i = 0; i < fns.length; i++)
|
||||
{
|
||||
content.appendChild(fns[i](content));
|
||||
}
|
||||
}));
|
||||
};
|
||||
|
||||
Sidebar.prototype.addVeeam3DPalette = function()
|
||||
{
|
||||
var sn = 'shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.';
|
||||
var s = 'shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.';
|
||||
var s2 = 'shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.';
|
||||
|
||||
// Space savers
|
||||
var sb = this;
|
||||
var gn = 'mxgraph.veeam.3d';
|
||||
var dt = 'veeam 3d three dimension vmware virtual machine ';
|
||||
|
||||
var w = 2.0;
|
||||
var h = 2.0;
|
||||
|
||||
var fns =
|
||||
[
|
||||
this.createVertexTemplateEntry(sn + '1ftvm;',
|
||||
w * 34, h * 31, '', '1FTVM', null, null, this.getTagsForStencil(gn, '1ftvm', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + '1ftvm_error;',
|
||||
w * 34, h * 31, '', '1FTVM Error', null, null, this.getTagsForStencil(gn, '1ftvm error', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + '1ftvm_running;',
|
||||
w * 34, h * 31, '', '1FTVM Running', null, null, this.getTagsForStencil(gn, '1ftvm running', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + '1ftvm_unavailable;',
|
||||
w * 34, h * 31, '', '1FTVM Unavailable', null, null, this.getTagsForStencil(gn, '1ftvm unavailable', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + '1ftvm_warning;',
|
||||
w * 34, h * 31, '', '1FTVM Warning', null, null, this.getTagsForStencil(gn, '1ftvm warning', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + '2ftvm;',
|
||||
w * 34, h * 31, '', '2FTVM', null, null, this.getTagsForStencil(gn, '2ftvm', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + '2ftvm_error;',
|
||||
w * 34, h * 31, '', '2FTVM Error', null, null, this.getTagsForStencil(gn, '2ftvm error', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + '2ftvm_running;',
|
||||
w * 34, h * 31, '', '2FTVM Running', null, null, this.getTagsForStencil(gn, '2ftvm running', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + '2ftvm_unavailable;',
|
||||
w * 34, h * 31, '', '2FTVM Unavailable', null, null, this.getTagsForStencil(gn, '2ftvm unavailable', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + '2ftvm_warning;',
|
||||
w * 34, h * 31, '', '2FTVM Warning', null, null, this.getTagsForStencil(gn, '2ftvm warning', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'backup_repository;',
|
||||
w * 31, h * 31, '', 'Backup Repository', null, null, this.getTagsForStencil(gn, 'backup repository', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'backup_repository_2;',
|
||||
w * 31, h * 31, '', 'Backup Repository', null, null, this.getTagsForStencil(gn, 'backup repository', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'cd;',
|
||||
w * 34, h * 13, '', 'CD', null, null, this.getTagsForStencil(gn, 'cd', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'database;',
|
||||
w * 29, h * 31, '', 'Database', null, null, this.getTagsForStencil(gn, 'database', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'datastore;',
|
||||
w * 22, h * 30, '', 'Datastore', null, null, this.getTagsForStencil(gn, 'datastore', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'datastore_snapshot;',
|
||||
w * 27, h * 17, '', 'Datastore Snapshot', null, null, this.getTagsForStencil(gn, 'datastore snapshot', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'datastore_volume;',
|
||||
w * 27, h * 17, '', 'Datastore Volume', null, null, this.getTagsForStencil(gn, 'datastore volume', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'esx_esxi;',
|
||||
w * 19, h * 26, '', 'ESX ESXi', null, null, this.getTagsForStencil(gn, 'esx esxi', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'failover_protective_snapshot;',
|
||||
w * 23, h * 23, '', 'Failover Protective Snapshot', null, null, this.getTagsForStencil(gn, 'failover protective snapshot', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'failover_protective_snapshot_locked;',
|
||||
w * 28, h * 23, '', 'Failover Protective Snapshot Locked', null, null, this.getTagsForStencil(gn, 'failover protective snapshot locked', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'failover_protective_snapshot_running;',
|
||||
w * 29, h * 23, '', 'Failover Protective Snapshot Running', null, null, this.getTagsForStencil(gn, 'failover protective snapshot running', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'free_datastore;',
|
||||
w * 22, h * 30, '', 'Free Datastore', null, null, this.getTagsForStencil(gn, 'free datastore', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'full_datastore;',
|
||||
w * 22, h * 30, '', 'Full Datastore', null, null, this.getTagsForStencil(gn, 'full datastore', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'hard_drive;fillColor=#637D8A;gradientColor=#324752;strokeColor=none;',
|
||||
w * 31, h * 14, '', 'Hard Drive', null, null, this.getTagsForStencil(gn, 'hard drive', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'hyper_v_host;',
|
||||
w * 55, h * 49, '', 'Hyper-V Host', null, null, this.getTagsForStencil(gn, 'hyper-v host', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'lost_space;',
|
||||
w * 22, h * 30, '', 'Lost Space', null, null, this.getTagsForStencil(gn, 'lost space', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'lun;',
|
||||
w * 36, h * 20, '', 'LUN', null, null, this.getTagsForStencil(gn, 'lun', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'medium_datastore;',
|
||||
w * 22, h * 30, '', 'Medium Datastore', null, null, this.getTagsForStencil(gn, 'medium datastore', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'network_card;',
|
||||
w * 19, h * 20, '', 'Network Card', null, null, this.getTagsForStencil(gn, 'network card', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'physical_storage;',
|
||||
w * 54, h * 30, '', 'Physical Storage', null, null, this.getTagsForStencil(gn, 'physical_storage', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'proxy;',
|
||||
w * 23, h * 23, '', 'Proxy', null, null, this.getTagsForStencil(gn, 'proxy', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'proxy_appliance;',
|
||||
w * 23, h * 23, '', 'Proxy Appliance', null, null, this.getTagsForStencil(gn, 'proxy appliance', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'remote_site;',
|
||||
w * 23, h * 30, '', 'Remote Site', null, null, this.getTagsForStencil(gn, 'remote site', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'remote_storage;',
|
||||
w * 26, h * 31, '', 'Remote Storage', null, null, this.getTagsForStencil(gn, 'remote storage', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'resource_pool;',
|
||||
w * 28, h * 16, '', 'Resource Pool', null, null, this.getTagsForStencil(gn, 'resource pool', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'service_vnic;',
|
||||
w * 36, h * 32, '', 'Service vNIC', null, null, this.getTagsForStencil(gn, 'service vnic', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'switch;',
|
||||
w * 55, h * 29, '', 'Switch', null, null, this.getTagsForStencil(gn, 'switch', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'tape;',
|
||||
w * 29, h * 29, '', 'Tape', null, null, this.getTagsForStencil(gn, 'tape', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'tape_checked;',
|
||||
w * 35, h * 29, '', 'Tape Checked', null, null, this.getTagsForStencil(gn, 'tape checked', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'tape_ejecting;',
|
||||
w * 35, h * 29, '', 'Tape Ejecting', null, null, this.getTagsForStencil(gn, 'tape ejecting', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'tape_library;',
|
||||
w * 31, h * 37, '', 'Tape Library', null, null, this.getTagsForStencil(gn, 'tape library', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'tape_licensed;',
|
||||
w * 35, h * 29, '', 'Tape Licensed', null, null, this.getTagsForStencil(gn, 'tape licensed', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'tape_recording;',
|
||||
w * 35, h * 29, '', 'Tape Recording', null, null, this.getTagsForStencil(gn, 'tape recording', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'tape_server;',
|
||||
w * 23, h * 23, '', 'Tape Server', null, null, this.getTagsForStencil(gn, 'tape server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vapp;',
|
||||
w * 46, h * 31, '', 'vApp', null, null, this.getTagsForStencil(gn, 'vapp', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vapp_started;',
|
||||
w * 46, h * 31, '', 'vApp Started', null, null, this.getTagsForStencil(gn, 'vapp started', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'veeam_availability_suite;',
|
||||
w * 23, h * 23, '', 'Veeam Availability Suite', null, null, this.getTagsForStencil(gn, 'veeam availability suite', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'veeam_backup_and_replication_server;',
|
||||
w * 23, h * 23, '', 'Veeam Backup and Replication Server', null, null, this.getTagsForStencil(gn, 'veeam backup and replication server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'veeam_backup_enterprise_manager_server;',
|
||||
w * 23, h * 23, '', 'Veeam Backup Enterprise Manager Server', null, null, this.getTagsForStencil(gn, 'veeam backup enterprise manager server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'veeam_backup_enterprise_manager_server_2d;',
|
||||
w * 20, h * 20, '', 'Veeam Backup Enterprise Manager Server 2D', null, null, this.getTagsForStencil(gn, 'veeam backup enterprise manager derver 2d two dimensional', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'veeam_backup_search_server;',
|
||||
w * 23, h * 23, '', 'Veeam Backup Search Server', null, null, this.getTagsForStencil(gn, 'veeam backup search server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'veeam_one_business_view;',
|
||||
w * 23, h * 23, '', 'Veeam ONE Business View', null, null, this.getTagsForStencil(gn, 'veeam one business view', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'veeam_one_monitor;',
|
||||
w * 23, h * 23, '', 'Veeam ONE Monitor', null, null, this.getTagsForStencil(gn, 'veeam one monitor', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'veeam_one_reporter;',
|
||||
w * 23, h * 23, '', 'Veeam ONE Reporter', null, null, this.getTagsForStencil(gn, 'veeam one reporter', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'veeam_one_server;',
|
||||
w * 23, h * 23, '', 'Veeam ONE Server', null, null, this.getTagsForStencil(gn, 'veeam one server', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'virtual_machine;',
|
||||
w * 23, h * 23, '', 'Virtual Machine', null, null, this.getTagsForStencil(gn, 'virtual machine', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vmware_host;',
|
||||
w * 55, h * 49, '', 'VMware Host', null, null, this.getTagsForStencil(gn, 'vmware host', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vm_failed;',
|
||||
w * 28, h * 23, '', 'VM Failed', null, null, this.getTagsForStencil(gn, 'vm failed', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vm_linux;',
|
||||
w * 23, h * 30, '', 'VM Linux', null, null, this.getTagsForStencil(gn, 'vm linux', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vm_no_network;',
|
||||
w * 29, h * 23, '', 'VM No Network', null, null, this.getTagsForStencil(gn, 'vm no network', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vm_problem;',
|
||||
w * 28, h * 23, '', 'VM Problem', null, null, this.getTagsForStencil(gn, 'vm problem', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vm_running;',
|
||||
w * 28, h * 23, '', 'VM Running', null, null, this.getTagsForStencil(gn, 'vm running', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vm_saved_state;',
|
||||
w * 29, h * 24, '', 'VM Saved State', null, null, this.getTagsForStencil(gn, 'vm saved state', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vm_windows;',
|
||||
w * 23, h * 30, '', 'VM Windows', null, null, this.getTagsForStencil(gn, 'vm windows', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'vnic;',
|
||||
w * 31, h * 31, '', 'vNIC', null, null, this.getTagsForStencil(gn, 'vnic', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'wan_accelerator;',
|
||||
w * 23, h * 23, '', 'WAN Accelerator', null, null, this.getTagsForStencil(gn, 'wan accelerator', dt).join(' ')),
|
||||
this.createVertexTemplateEntry(sn + 'workstation;',
|
||||
w * 38, h * 31, '', 'Workstation', null, null, this.getTagsForStencil(gn, 'workstation', dt).join(' '))
|
||||
];
|
||||
|
||||
this.addPalette('veeam3D', 'Veeam / 3D', false, mxUtils.bind(this, function(content)
|
||||
{
|
||||
for (var i = 0; i < fns.length; i++)
|
||||
{
|
||||
content.appendChild(fns[i](content));
|
||||
}
|
||||
}));
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
})();
|
|
@ -74,6 +74,11 @@
|
|||
*/
|
||||
Sidebar.prototype.office = ['Clouds', 'Communications', 'Concepts', 'Databases', 'Devices', 'Security', 'Servers', 'Services', 'Sites', 'Users'];
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
Sidebar.prototype.veeam = ['2D', '3D'];
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
@ -105,6 +110,7 @@
|
|||
{id: 'pid', prefix: 'pid', libs: Sidebar.prototype.pids},
|
||||
{id: 'cisco', prefix: 'cisco', libs: Sidebar.prototype.cisco},
|
||||
{id: 'office', prefix: 'office', libs: Sidebar.prototype.office},
|
||||
{id: 'veeam', prefix: 'veeam', libs: Sidebar.prototype.veeam},
|
||||
{id: 'cabinets', libs: ['cabinets']},
|
||||
{id: 'floorplan', libs: ['floorplan']},
|
||||
{id: 'bootstrap', libs: ['bootstrap']},
|
||||
|
@ -286,7 +292,8 @@
|
|||
{title: 'Citrix', id: 'citrix', image: IMAGE_PATH + '/sidebar-citrix.png'},
|
||||
{title: 'Network', id: 'network', image: IMAGE_PATH + '/sidebar-network.png'},
|
||||
{title: 'Office', id: 'office', image: IMAGE_PATH + '/sidebar-office.png'},
|
||||
{title: mxResources.get('rack'), id: 'rack', image: IMAGE_PATH + '/sidebar-rack.png'}]},
|
||||
{title: mxResources.get('rack'), id: 'rack', image: IMAGE_PATH + '/sidebar-rack.png'},
|
||||
{title: 'Veeam', id: 'veeam', image: IMAGE_PATH + '/sidebar-veeam.png'}]},
|
||||
{title: mxResources.get('business'),
|
||||
entries: [{title: 'ArchiMate 3.0', id: 'archimate3', image: IMAGE_PATH + '/sidebar-archimate3.png'},
|
||||
{title: mxResources.get('archiMate21'), id: 'archimate', image: IMAGE_PATH + '/sidebar-archimate.png'},
|
||||
|
@ -437,8 +444,8 @@
|
|||
var h = clone.clientHeight + 18;
|
||||
clone.parentNode.removeChild(clone);
|
||||
|
||||
new mxXmlRequest(EXPORT_URL, 'w=456&h=' + h + '&html=' +
|
||||
encodeURIComponent(this.editorUi.editor.compress(html))).simulate(document, '_blank');
|
||||
new mxXmlRequest(EXPORT_URL, 'w=456&h=' + h + '&html=' + encodeURIComponent(
|
||||
this.editorUi.editor.graph.compress(html))).simulate(document, '_blank');
|
||||
|
||||
return;
|
||||
}
|
||||
|
@ -564,6 +571,7 @@
|
|||
var eip = this.eip;
|
||||
var gmdl = this.gmdl;
|
||||
var office = this.office;
|
||||
var veeam = this.veeam;
|
||||
var archimate3 = this.archimate3;
|
||||
|
||||
if (urlParams['createindex'] == '1')
|
||||
|
@ -593,6 +601,7 @@
|
|||
this.addMockupPalette();
|
||||
this.addElectricalPalette();
|
||||
this.addOfficePalette();
|
||||
this.addVeeamPalette();
|
||||
|
||||
this.addStencilPalette('arrows', mxResources.get('arrows'), dir + '/arrows.xml',
|
||||
';html=1;' + mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;' + mxConstants.STYLE_STROKEWIDTH + '=2;strokeColor=#000000;');
|
||||
|
|
752
war/js/embed-static.min.js
vendored
752
war/js/embed-static.min.js
vendored
File diff suppressed because it is too large
Load diff
|
@ -5371,30 +5371,33 @@ if (typeof mxVertexHandler != 'undefined')
|
|||
// Checks the given node for new nodes, recursively
|
||||
function checkNode(node, clone)
|
||||
{
|
||||
if (clone.originalNode != node)
|
||||
if (node != null)
|
||||
{
|
||||
cleanNode(node);
|
||||
}
|
||||
else if (node != null)
|
||||
{
|
||||
node = node.firstChild;
|
||||
clone = clone.firstChild;
|
||||
|
||||
while (node != null)
|
||||
if (clone.originalNode != node)
|
||||
{
|
||||
var nextNode = node.nextSibling;
|
||||
cleanNode(node);
|
||||
}
|
||||
else
|
||||
{
|
||||
node = node.firstChild;
|
||||
clone = clone.firstChild;
|
||||
|
||||
if (clone == null)
|
||||
while (node != null)
|
||||
{
|
||||
cleanNode(node);
|
||||
var nextNode = node.nextSibling;
|
||||
|
||||
if (clone == null)
|
||||
{
|
||||
cleanNode(node);
|
||||
}
|
||||
else
|
||||
{
|
||||
checkNode(node, clone);
|
||||
clone = clone.nextSibling;
|
||||
}
|
||||
|
||||
node = nextNode;
|
||||
}
|
||||
else
|
||||
{
|
||||
checkNode(node, clone);
|
||||
clone = clone.nextSibling;
|
||||
}
|
||||
|
||||
node = nextNode;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -6085,7 +6088,7 @@ if (typeof mxVertexHandler != 'undefined')
|
|||
};
|
||||
}
|
||||
|
||||
// Overrides/extends rubberband for space handling with Ctrl+Shift(+Alt) drag
|
||||
// Overrides/extends rubberband for space handling with Ctrl+Shift(+Alt) drag ("scissors tool")
|
||||
mxRubberband.prototype.isSpaceEvent = function(me)
|
||||
{
|
||||
return this.graph.isEnabled() && !this.graph.isCellLocked(this.graph.getDefaultParent()) &&
|
||||
|
@ -6125,47 +6128,23 @@ if (typeof mxVertexHandler != 'undefined')
|
|||
this.graph.model.beginUpdate();
|
||||
try
|
||||
{
|
||||
var right = this.graph.getCellsBeyond(x0, y0, this.graph.getDefaultParent(), true, false);
|
||||
var bottom = this.graph.getCellsBeyond(x0, y0, this.graph.getDefaultParent(), false, true);
|
||||
|
||||
for (var i = 0; i < right.length; i++)
|
||||
var cells = this.graph.getCellsBeyond(x0, y0, this.graph.getDefaultParent(), true, true);
|
||||
|
||||
for (var i = 0; i < cells.length; i++)
|
||||
{
|
||||
if (this.graph.isCellMovable(right[i]))
|
||||
if (this.graph.isCellMovable(cells[i]))
|
||||
{
|
||||
var tmp = this.graph.view.getState(right[i]);
|
||||
var geo = this.graph.getCellGeometry(right[i]);
|
||||
var tmp = this.graph.view.getState(cells[i]);
|
||||
var geo = this.graph.getCellGeometry(cells[i]);
|
||||
|
||||
if (tmp != null && geo != null)
|
||||
{
|
||||
geo = geo.clone();
|
||||
geo.translate(dx, 0);
|
||||
this.graph.model.setGeometry(right[i], geo);
|
||||
geo.translate(dx, dy);
|
||||
this.graph.model.setGeometry(cells[i], geo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (var i = 0; i < bottom.length; i++)
|
||||
{
|
||||
if (this.graph.isCellMovable(bottom[i]))
|
||||
{
|
||||
var tmp = this.graph.view.getState(bottom[i]);
|
||||
var geo = this.graph.getCellGeometry(bottom[i]);
|
||||
|
||||
if (tmp != null && geo != null)
|
||||
{
|
||||
geo = geo.clone();
|
||||
geo.translate(0, dy);
|
||||
this.graph.model.setGeometry(bottom[i], geo);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
if (window.console != null)
|
||||
{
|
||||
console.log('Error in rubberband: ' + e);
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -6211,7 +6190,6 @@ if (typeof mxVertexHandler != 'undefined')
|
|||
|
||||
if (this.isSpaceEvent(me))
|
||||
{
|
||||
// TODO: Check locked state
|
||||
var right = this.x + this.width;
|
||||
var bottom = this.y + this.height;
|
||||
var scale = this.graph.view.scale;
|
||||
|
@ -6221,6 +6199,19 @@ if (typeof mxVertexHandler != 'undefined')
|
|||
this.width = this.graph.snap(this.width / scale) * scale;
|
||||
this.height = this.graph.snap(this.height / scale) * scale;
|
||||
|
||||
if (!this.graph.isGridEnabled())
|
||||
{
|
||||
if (this.width < this.graph.tolerance)
|
||||
{
|
||||
this.width = 0;
|
||||
}
|
||||
|
||||
if (this.height < this.graph.tolerance)
|
||||
{
|
||||
this.height = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (this.x < this.first.x)
|
||||
{
|
||||
this.x = right - this.width;
|
||||
|
@ -6232,13 +6223,13 @@ if (typeof mxVertexHandler != 'undefined')
|
|||
}
|
||||
}
|
||||
|
||||
this.div.style.left = this.x + 'px';
|
||||
this.div.style.top = (origin.y + offset.y) + 'px';
|
||||
this.div.style.width = Math.max(0, this.width) + 'px';
|
||||
this.div.style.height = Math.max(0, this.graph.container.clientHeight) + 'px';
|
||||
this.div.style.backgroundColor = 'white';
|
||||
this.div.style.borderWidth = '0px 1px 0px 1px';
|
||||
this.div.style.borderStyle = 'dashed';
|
||||
this.div.style.backgroundColor = 'white';
|
||||
this.div.style.left = this.x + 'px';
|
||||
this.div.style.top = this.y + 'px';
|
||||
this.div.style.width = Math.max(0, this.width) + 'px';
|
||||
this.div.style.height = this.graph.container.clientHeight + 'px';
|
||||
this.div.style.borderWidth = (this.width <= 0) ? '0px 1px 0px 0px' : '0px 1px 0px 1px';
|
||||
|
||||
if (this.secondDiv == null)
|
||||
{
|
||||
|
@ -6246,11 +6237,11 @@ if (typeof mxVertexHandler != 'undefined')
|
|||
this.div.parentNode.appendChild(this.secondDiv);
|
||||
}
|
||||
|
||||
this.secondDiv.style.left = (origin.x + offset.x) + 'px';
|
||||
this.secondDiv.style.left = this.x + 'px';
|
||||
this.secondDiv.style.top = this.y + 'px';
|
||||
this.secondDiv.style.width = Math.max(0, this.graph.container.clientWidth) + 'px';
|
||||
this.secondDiv.style.width = this.graph.container.clientWidth + 'px';
|
||||
this.secondDiv.style.height = Math.max(0, this.height) + 'px';
|
||||
this.secondDiv.style.borderWidth = '1px 0px 1px 0px';
|
||||
this.secondDiv.style.borderWidth = (this.height <= 0) ? '1px 0px 0px 0px' : '1px 0px 1px 0px';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
752
war/js/reader.min.js
vendored
752
war/js/reader.min.js
vendored
File diff suppressed because it is too large
Load diff
76
war/js/viewer.min.js
vendored
76
war/js/viewer.min.js
vendored
|
@ -2318,7 +2318,7 @@ return null!=a&&1==a.style.html};mxCellEditor.prototype.saveSelection=function()
|
|||
c;++b)sel.addRange(a[b])}else document.selection&&a.select&&a.select()};var e=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=function(a){null!=a.text&&(a.text.replaceLinefeeds="0"!=mxUtils.getValue(a.style,"nl2Br","1"));e.apply(this,arguments)};var f=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(a,b){this.isKeepFocusEvent(a)||!mxEvent.isAltDown(a.getEvent())?f.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=
|
||||
function(a){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=!1;var g=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(a,b){g.apply(this,arguments);var c=this.graph.view.getState(a);this.textarea.className=null!=c&&1==c.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(a);var c=this.graph.getModel().getParent(a),
|
||||
d=this.graph.getCellGeometry(a);this.graph.getModel().isEdge(c)&&null!=d&&d.relative||this.graph.getModel().isEdge(a)?mxClient.IS_QUIRKS?this.textarea.style.border="gray dotted 1px":this.textarea.style.outline=mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_FF&&mxClient.IS_WIN?"gray dotted 1px":"":mxClient.IS_QUIRKS&&(this.textarea.style.outline="none",this.textarea.style.border="")};var k=mxCellEditor.prototype.installListeners;mxCellEditor.prototype.installListeners=function(a){function b(a,c){c.originalNode=
|
||||
a;a=a.firstChild;for(var d=c.firstChild;null!=a&&null!=d;)b(a,d),a=a.nextSibling,d=d.nextSibling;return c}function c(a,b){if(b.originalNode!=a)d(a);else if(null!=a){a=a.firstChild;for(b=b.firstChild;null!=a;){var e=a.nextSibling;null==b?d(a):(c(a,b),b=b.nextSibling);a=e}}}function d(a){for(var b=a.firstChild;null!=b;){var c=b.nextSibling;d(b);b=c}(1!=a.nodeType||"BR"!==a.nodeName&&null==a.firstChild)&&(3!=a.nodeType||0==mxUtils.trim(mxUtils.getTextContent(a)).length)?a.parentNode.removeChild(a):(3==
|
||||
a;a=a.firstChild;for(var d=c.firstChild;null!=a&&null!=d;)b(a,d),a=a.nextSibling,d=d.nextSibling;return c}function c(a,b){if(null!=a)if(b.originalNode!=a)d(a);else{a=a.firstChild;for(b=b.firstChild;null!=a;){var e=a.nextSibling;null==b?d(a):(c(a,b),b=b.nextSibling);a=e}}}function d(a){for(var b=a.firstChild;null!=b;){var c=b.nextSibling;d(b);b=c}(1!=a.nodeType||"BR"!==a.nodeName&&null==a.firstChild)&&(3!=a.nodeType||0==mxUtils.trim(mxUtils.getTextContent(a)).length)?a.parentNode.removeChild(a):(3==
|
||||
a.nodeType&&mxUtils.setTextContent(a,mxUtils.getTextContent(a).replace(/\n|\r/g,"")),1==a.nodeType&&(a.removeAttribute("style"),a.removeAttribute("class"),a.removeAttribute("width"),a.removeAttribute("cellpadding"),a.removeAttribute("cellspacing"),a.removeAttribute("border")))}k.apply(this,arguments);!mxClient.IS_QUIRKS&&7!==document.documentMode&&8!==document.documentMode&&mxEvent.addListener(this.textarea,"paste",mxUtils.bind(this,function(a){var d=b(this.textarea,this.textarea.cloneNode(!0));window.setTimeout(mxUtils.bind(this,
|
||||
function(){c(this.textarea,d)}),0)}))};mxCellEditor.prototype.toggleViewMode=function(){var a=this.graph.view.getState(this.editingCell),b=null!=a&&"0"!=mxUtils.getValue(a.style,"nl2Br","1"),c=this.saveSelection();if(this.codeViewMode){k=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<k.length&&"\n"==k.charAt(k.length-1)&&(k=k.substring(0,k.length-1));k=this.graph.sanitizeHtml(b?k.replace(/\n/g,"\x3cbr/\x3e"):k);this.textarea.className="mxCellEditor geContentEditable";var d=mxUtils.getValue(a.style,
|
||||
mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE),b=mxUtils.getValue(a.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY),e=mxUtils.getValue(a.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),f=(mxUtils.getValue(a.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,g=(mxUtils.getValue(a.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,a=(mxUtils.getValue(a.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==
|
||||
|
@ -2351,32 +2351,32 @@ HoverIcons.prototype.triangleDown,Sidebar.prototype.triangleLeft=HoverIcons.prot
|
|||
if(Graph.touchStyle){if(mxClient.IS_TOUCH||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints)mxShape.prototype.svgStrokeTolerance=18,mxVertexHandler.prototype.tolerance=12,mxEdgeHandler.prototype.tolerance=12,Graph.prototype.tolerance=12,mxVertexHandler.prototype.rotationHandleVSpacing=-24,mxConstraintHandler.prototype.getTolerance=function(a){return mxEvent.isMouseEvent(a.getEvent())?4:this.graph.getTolerance()};mxPanningHandler.prototype.isPanningTrigger=function(a){var b=a.getEvent();return null==
|
||||
a.getState()&&!mxEvent.isMouseEvent(b)||mxEvent.isPopupTrigger(b)&&(null==a.getState()||mxEvent.isControlDown(b)||mxEvent.isShiftDown(b))};var u=mxGraphHandler.prototype.mouseDown;mxGraphHandler.prototype.mouseDown=function(a,b){u.apply(this,arguments);mxEvent.isTouchEvent(b.getEvent())&&this.graph.isCellSelected(b.getCell())&&1<this.graph.getSelectionCount()&&(this.delayedSelection=!1)}}else mxPanningHandler.prototype.isPanningTrigger=function(a){var b=a.getEvent();return mxEvent.isLeftMouseButton(b)&&
|
||||
(this.useLeftButtonForPanning&&null==a.getState()||mxEvent.isControlDown(b)&&!mxEvent.isShiftDown(b))||this.usePopupTrigger&&mxEvent.isPopupTrigger(b)};mxRubberband.prototype.isSpaceEvent=function(a){return this.graph.isEnabled()&&!this.graph.isCellLocked(this.graph.getDefaultParent())&&mxEvent.isControlDown(a.getEvent())&&mxEvent.isShiftDown(a.getEvent())};mxRubberband.prototype.mouseUp=function(a,b){var c=null!=this.div&&"none"!=this.div.style.display,d=null,e=null,f=null,g=null;null!=this.first&&
|
||||
null!=this.currentX&&null!=this.currentY&&(d=this.first.x,e=this.first.y,f=(this.currentX-d)/this.graph.view.scale,g=(this.currentY-e)/this.graph.view.scale,mxEvent.isAltDown(b.getEvent())||(f=this.graph.snap(f),g=this.graph.snap(g)));this.reset();if(c){if(this.isSpaceEvent(b)){this.graph.model.beginUpdate();try{for(var k=this.graph.getCellsBeyond(d,e,this.graph.getDefaultParent(),!0,!1),l=this.graph.getCellsBeyond(d,e,this.graph.getDefaultParent(),!1,!0),c=0;c<k.length;c++)if(this.graph.isCellMovable(k[c])){var n=
|
||||
this.graph.view.getState(k[c]),m=this.graph.getCellGeometry(k[c]);null!=n&&null!=m&&(m=m.clone(),m.translate(f,0),this.graph.model.setGeometry(k[c],m))}for(c=0;c<l.length;c++)this.graph.isCellMovable(l[c])&&(n=this.graph.view.getState(l[c]),m=this.graph.getCellGeometry(l[c]),null!=n&&null!=m&&(m=m.clone(),m.translate(0,g),this.graph.model.setGeometry(l[c],m)))}catch(q){null!=window.console&&console.log("Error in rubberband: "+q)}finally{this.graph.model.endUpdate()}}else f=new mxRectangle(this.x,
|
||||
this.y,this.width,this.height),this.graph.selectRegion(f,b.getEvent());b.consume()}};mxRubberband.prototype.mouseMove=function(a,b){if(!b.isConsumed()&&null!=this.first){var c=mxUtils.getScrollOrigin(this.graph.container),d=mxUtils.getOffset(this.graph.container);c.x-=d.x;c.y-=d.y;var e=b.getX()+c.x,f=b.getY()+c.y,g=this.first.x-e,k=this.first.y-f,l=this.graph.tolerance;if(null!=this.div||Math.abs(g)>l||Math.abs(k)>l)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(e,
|
||||
f),this.isSpaceEvent(b)?(e=this.x+this.width,f=this.y+this.height,g=this.graph.view.scale,mxEvent.isAltDown(b.getEvent())||(this.width=this.graph.snap(this.width/g)*g,this.height=this.graph.snap(this.height/g)*g,this.x<this.first.x&&(this.x=e-this.width),this.y<this.first.y&&(this.y=f-this.height)),this.div.style.left=this.x+"px",this.div.style.top=c.y+d.y+"px",this.div.style.width=Math.max(0,this.width)+"px",this.div.style.height=Math.max(0,this.graph.container.clientHeight)+"px",this.div.style.backgroundColor=
|
||||
"white",this.div.style.borderWidth="0px 1px 0px 1px",this.div.style.borderStyle="dashed",null==this.secondDiv&&(this.secondDiv=this.div.cloneNode(!0),this.div.parentNode.appendChild(this.secondDiv)),this.secondDiv.style.left=c.x+d.x+"px",this.secondDiv.style.top=this.y+"px",this.secondDiv.style.width=Math.max(0,this.graph.container.clientWidth)+"px",this.secondDiv.style.height=Math.max(0,this.height)+"px",this.secondDiv.style.borderWidth="1px 0px 1px 0px"):(this.div.style.backgroundColor="",this.div.style.borderWidth=
|
||||
"",this.div.style.borderStyle="",null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),b.consume()}};var A=mxRubberband.prototype.reset;mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);A.apply(this,arguments)};var z=(new Date).getTime(),v=0,D=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(a,b,c,d){D.apply(this,arguments);
|
||||
c!=this.currentTerminalState?(z=(new Date).getTime(),v=0):v=(new Date).getTime()-z;this.currentTerminalState=c};var y=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=function(a){return null!=this.currentTerminalState&&a.getState()==this.currentTerminalState&&2E3<v||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,"outlineConnect","1"))&&y.apply(this,arguments)};mxVertexHandler.prototype.isCustomHandleEvent=function(a){return!mxEvent.isShiftDown(a.getEvent())};
|
||||
mxEdgeHandler.prototype.createHandleShape=function(a,b){var c=null!=a&&0==a,d=this.state.getVisibleTerminalState(c),e=null!=a&&(0==a||a>=this.state.absolutePoints.length-1||this.constructor==mxElbowEdgeHandler&&2==a)?this.graph.getConnectionConstraint(this.state,d,c):null,c=null!=(null!=e?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(c),e):null)?this.fixedHandleImage:null!=e&&null!=d?this.terminalHandleImage:this.handleImage;if(null!=c)return c=new mxImageShape(new mxRectangle(0,
|
||||
0,c.width,c.height),c.src),c.preserveImageAspect=!1,c;c=mxConstants.HANDLE_SIZE;this.preferHtml&&(c-=1);return new mxRectangleShape(new mxRectangle(0,0,c,c),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};var E=mxVertexHandler.prototype.createSizerShape;mxVertexHandler.prototype.createSizerShape=function(a,b,c){this.handleImage=b==mxEvent.ROTATION_HANDLE?x:b==mxEvent.LABEL_HANDLE?this.secondaryHandleImage:this.handleImage;return E.apply(this,arguments)};var C=mxGraphHandler.prototype.getBoundingBox;
|
||||
mxGraphHandler.prototype.getBoundingBox=function(a){if(null!=a&&1==a.length){var b=this.graph.getModel(),c=b.getParent(a[0]),d=this.graph.getCellGeometry(a[0]);if(b.isEdge(c)&&null!=d&&d.relative&&(b=this.graph.view.getState(a[0]),null!=b&&2>b.width&&2>b.height&&null!=b.text&&null!=b.text.boundingBox))return mxRectangle.fromRectangle(b.text.boundingBox)}return C.apply(this,arguments)};var F=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(a){var b=
|
||||
this.graph.getModel(),c=b.getParent(a.cell),d=this.graph.getCellGeometry(a.cell);return b.isEdge(c)&&null!=d&&d.relative&&2>a.width&&2>a.height&&null!=a.text&&null!=a.text.boundingBox?(b=a.text.unrotatedBoundingBox||a.text.boundingBox,new mxRectangle(Math.round(b.x),Math.round(b.y),Math.round(b.width),Math.round(b.height))):F.apply(this,arguments)};var G=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(a,b){var c=this.graph.getModel(),d=c.getParent(this.state.cell),
|
||||
e=this.graph.getCellGeometry(this.state.cell);(this.getHandleForEvent(b)==mxEvent.ROTATION_HANDLE||!c.isEdge(d)||null==e||!e.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&G.apply(this,arguments)};mxVertexHandler.prototype.isRotationHandleVisible=function(){return this.graph.isEnabled()&&this.rotationEnabled&&this.graph.isCellRotatable(this.state.cell)&&(0>=mxGraphHandler.prototype.maxCells||this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells)};mxVertexHandler.prototype.rotateClick=
|
||||
function(){this.state.view.graph.turnShapes([this.state.cell])};var H=mxVertexHandler.prototype.mouseMove;mxVertexHandler.prototype.mouseMove=function(a,b){H.apply(this,arguments);null!=this.graph.graphHandler.first&&null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display="none")};var L=mxVertexHandler.prototype.mouseUp;mxVertexHandler.prototype.mouseUp=function(a,b){L.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=
|
||||
1==this.graph.getSelectionCount()?"":"none")};var K=mxVertexHandler.prototype.init;mxVertexHandler.prototype.init=function(){K.apply(this,arguments);var a=!1;null!=this.rotationShape&&this.rotationShape.node.setAttribute("title",mxResources.get("rotateTooltip"));var b=mxUtils.bind(this,function(){null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.specialHandle&&(this.specialHandle.node.style.display=
|
||||
this.graph.isEnabled()&&this.graph.getSelectionCount()<this.graph.graphHandler.maxCells?"":"none");this.redrawHandles()});this.selectionHandler=mxUtils.bind(this,function(a,c){b()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionHandler);this.changeHandler=mxUtils.bind(this,function(a,c){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell));b()});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);this.editingHandler=mxUtils.bind(this,function(a,
|
||||
b){this.redrawHandles()});this.graph.addListener(mxEvent.EDITING_STOPPED,this.editingHandler);var c=this.graph.getLinkForCell(this.state.cell);this.updateLinkHint(c);null!=c&&(a=!0);a&&this.redrawHandles()};mxVertexHandler.prototype.updateLinkHint=function(b){if(null==b||1<this.graph.getSelectionCount())null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);else if(null!=b){null==this.linkHint&&(this.linkHint=a(),this.linkHint.style.padding="4px 10px 6px 10px",
|
||||
this.linkHint.style.fontSize="90%",this.linkHint.style.opacity="1",this.linkHint.style.filter="",this.updateLinkHint(b),this.graph.container.appendChild(this.linkHint));var c=b;60<c.length&&(c=c.substring(0,36)+"..."+c.substring(c.length-20));var d=document.createElement("a");d.setAttribute("href",this.graph.getLinkUrl(b));d.setAttribute("title",b);null!=this.graph.linkTarget&&d.setAttribute("target",this.graph.linkTarget);mxUtils.write(d,c);this.linkHint.innerHTML="";this.linkHint.appendChild(d);
|
||||
this.graph.isEnabled()&&"function"===typeof this.graph.editLink&&(b=document.createElement("img"),b.setAttribute("src",IMAGE_PATH+"/edit.gif"),b.setAttribute("title",mxResources.get("editLink")),b.setAttribute("width","11"),b.setAttribute("height","11"),b.style.marginLeft="10px",b.style.marginBottom="-1px",b.style.cursor="pointer",this.linkHint.appendChild(b),mxEvent.addListener(b,"click",mxUtils.bind(this,function(a){this.graph.setSelectionCell(this.state.cell);this.graph.editLink();mxEvent.consume(a)})))}};
|
||||
mxEdgeHandler.prototype.updateLinkHint=mxVertexHandler.prototype.updateLinkHint;var R=mxEdgeHandler.prototype.init;mxEdgeHandler.prototype.init=function(){R.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.state.view.graph.connectionHandler.isEnabled()});var a=mxUtils.bind(this,function(){null!=this.linkHint&&(this.linkHint.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.labelShape&&(this.labelShape.node.style.display=this.graph.isEnabled()&&
|
||||
this.graph.getSelectionCount()<this.graph.graphHandler.maxCells?"":"none")});this.selectionHandler=mxUtils.bind(this,function(b,c){a()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionHandler);this.changeHandler=mxUtils.bind(this,function(b,c){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell));a();this.redrawHandles()});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);var b=this.graph.getLinkForCell(this.state.cell);null!=b&&(this.updateLinkHint(b),
|
||||
this.redrawHandles())};var T=mxConnectionHandler.prototype.init;mxConnectionHandler.prototype.init=function(){T.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.graph.connectionHandler.isEnabled()})};var aa=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){aa.apply(this);if(null!=this.state&&null!=this.linkHint){var a=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),b=new mxRectangle(this.state.x,this.state.y-
|
||||
22,this.state.width+24,this.state.height+22),a=mxUtils.getBoundingBox(b,this.state.style[mxConstants.STYLE_ROTATION]||"0",a),b=null!=a?mxUtils.getBoundingBox(this.state,this.state.style[mxConstants.STYLE_ROTATION]||"0"):this.state;null==a&&(a=this.state);this.linkHint.style.left=Math.round(b.x+(b.width-this.linkHint.clientWidth)/2)+"px";this.linkHint.style.top=Math.round(a.y+a.height+this.verticalOffset/2+6+this.state.view.graph.tolerance)+"px"}};var V=mxVertexHandler.prototype.reset;mxVertexHandler.prototype.reset=
|
||||
function(){V.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none")};var B=mxVertexHandler.prototype.destroy;mxVertexHandler.prototype.destroy=function(){B.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.selectionHandler&&(this.graph.getSelectionModel().removeListener(this.selectionHandler),this.selectionHandler=
|
||||
null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null);null!=this.editingHandler&&(this.graph.removeListener(this.editingHandler),this.editingHandler=null)};var Y=mxEdgeHandler.prototype.redrawHandles;mxEdgeHandler.prototype.redrawHandles=function(){if(null!=this.marker&&(Y.apply(this),null!=this.state&&null!=this.linkHint)){var a=this.state;null!=this.state.text&&null!=this.state.text.bounds&&(a=new mxRectangle(a.x,a.y,a.width,a.height),
|
||||
a.add(this.state.text.bounds));this.linkHint.style.left=Math.round(a.x+(a.width-this.linkHint.clientWidth)/2)+"px";this.linkHint.style.top=Math.round(a.y+a.height+6+this.state.view.graph.tolerance)+"px"}};var N=mxEdgeHandler.prototype.reset;mxEdgeHandler.prototype.reset=function(){N.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.visibility="")};var J=mxEdgeHandler.prototype.destroy;mxEdgeHandler.prototype.destroy=function(){J.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),
|
||||
this.linkHint=null);null!=this.selectionHandler&&(this.graph.getSelectionModel().removeListener(this.selectionHandler),this.selectionHandler=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null)}}();
|
||||
null!=this.currentX&&null!=this.currentY&&(d=this.first.x,e=this.first.y,f=(this.currentX-d)/this.graph.view.scale,g=(this.currentY-e)/this.graph.view.scale,mxEvent.isAltDown(b.getEvent())||(f=this.graph.snap(f),g=this.graph.snap(g)));this.reset();if(c){if(this.isSpaceEvent(b)){this.graph.model.beginUpdate();try{for(var k=this.graph.getCellsBeyond(d,e,this.graph.getDefaultParent(),!0,!0),c=0;c<k.length;c++)if(this.graph.isCellMovable(k[c])){var l=this.graph.view.getState(k[c]),n=this.graph.getCellGeometry(k[c]);
|
||||
null!=l&&null!=n&&(n=n.clone(),n.translate(f,g),this.graph.model.setGeometry(k[c],n))}}finally{this.graph.model.endUpdate()}}else f=new mxRectangle(this.x,this.y,this.width,this.height),this.graph.selectRegion(f,b.getEvent());b.consume()}};mxRubberband.prototype.mouseMove=function(a,b){if(!b.isConsumed()&&null!=this.first){var c=mxUtils.getScrollOrigin(this.graph.container),d=mxUtils.getOffset(this.graph.container);c.x-=d.x;c.y-=d.y;var d=b.getX()+c.x,c=b.getY()+c.y,e=this.first.x-d,f=this.first.y-
|
||||
c,g=this.graph.tolerance;if(null!=this.div||Math.abs(e)>g||Math.abs(f)>g)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(d,c),this.isSpaceEvent(b)?(d=this.x+this.width,c=this.y+this.height,e=this.graph.view.scale,mxEvent.isAltDown(b.getEvent())||(this.width=this.graph.snap(this.width/e)*e,this.height=this.graph.snap(this.height/e)*e,this.graph.isGridEnabled()||(this.width<this.graph.tolerance&&(this.width=0),this.height<this.graph.tolerance&&(this.height=0)),this.x<
|
||||
this.first.x&&(this.x=d-this.width),this.y<this.first.y&&(this.y=c-this.height)),this.div.style.borderStyle="dashed",this.div.style.backgroundColor="white",this.div.style.left=this.x+"px",this.div.style.top=this.y+"px",this.div.style.width=Math.max(0,this.width)+"px",this.div.style.height=this.graph.container.clientHeight+"px",this.div.style.borderWidth=0>=this.width?"0px 1px 0px 0px":"0px 1px 0px 1px",null==this.secondDiv&&(this.secondDiv=this.div.cloneNode(!0),this.div.parentNode.appendChild(this.secondDiv)),
|
||||
this.secondDiv.style.left=this.x+"px",this.secondDiv.style.top=this.y+"px",this.secondDiv.style.width=this.graph.container.clientWidth+"px",this.secondDiv.style.height=Math.max(0,this.height)+"px",this.secondDiv.style.borderWidth=0>=this.height?"1px 0px 0px 0px":"1px 0px 1px 0px"):(this.div.style.backgroundColor="",this.div.style.borderWidth="",this.div.style.borderStyle="",null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),b.consume()}};var A=mxRubberband.prototype.reset;
|
||||
mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);A.apply(this,arguments)};var z=(new Date).getTime(),v=0,D=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(a,b,c,d){D.apply(this,arguments);c!=this.currentTerminalState?(z=(new Date).getTime(),v=0):v=(new Date).getTime()-z;this.currentTerminalState=c};var y=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=
|
||||
function(a){return null!=this.currentTerminalState&&a.getState()==this.currentTerminalState&&2E3<v||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,"outlineConnect","1"))&&y.apply(this,arguments)};mxVertexHandler.prototype.isCustomHandleEvent=function(a){return!mxEvent.isShiftDown(a.getEvent())};mxEdgeHandler.prototype.createHandleShape=function(a,b){var c=null!=a&&0==a,d=this.state.getVisibleTerminalState(c),e=null!=a&&(0==a||a>=this.state.absolutePoints.length-
|
||||
1||this.constructor==mxElbowEdgeHandler&&2==a)?this.graph.getConnectionConstraint(this.state,d,c):null,c=null!=(null!=e?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(c),e):null)?this.fixedHandleImage:null!=e&&null!=d?this.terminalHandleImage:this.handleImage;if(null!=c)return c=new mxImageShape(new mxRectangle(0,0,c.width,c.height),c.src),c.preserveImageAspect=!1,c;c=mxConstants.HANDLE_SIZE;this.preferHtml&&(c-=1);return new mxRectangleShape(new mxRectangle(0,0,c,c),mxConstants.HANDLE_FILLCOLOR,
|
||||
mxConstants.HANDLE_STROKECOLOR)};var E=mxVertexHandler.prototype.createSizerShape;mxVertexHandler.prototype.createSizerShape=function(a,b,c){this.handleImage=b==mxEvent.ROTATION_HANDLE?x:b==mxEvent.LABEL_HANDLE?this.secondaryHandleImage:this.handleImage;return E.apply(this,arguments)};var C=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=function(a){if(null!=a&&1==a.length){var b=this.graph.getModel(),c=b.getParent(a[0]),d=this.graph.getCellGeometry(a[0]);if(b.isEdge(c)&&
|
||||
null!=d&&d.relative&&(b=this.graph.view.getState(a[0]),null!=b&&2>b.width&&2>b.height&&null!=b.text&&null!=b.text.boundingBox))return mxRectangle.fromRectangle(b.text.boundingBox)}return C.apply(this,arguments)};var F=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(a){var b=this.graph.getModel(),c=b.getParent(a.cell),d=this.graph.getCellGeometry(a.cell);return b.isEdge(c)&&null!=d&&d.relative&&2>a.width&&2>a.height&&null!=a.text&&null!=a.text.boundingBox?
|
||||
(b=a.text.unrotatedBoundingBox||a.text.boundingBox,new mxRectangle(Math.round(b.x),Math.round(b.y),Math.round(b.width),Math.round(b.height))):F.apply(this,arguments)};var G=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(a,b){var c=this.graph.getModel(),d=c.getParent(this.state.cell),e=this.graph.getCellGeometry(this.state.cell);(this.getHandleForEvent(b)==mxEvent.ROTATION_HANDLE||!c.isEdge(d)||null==e||!e.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&
|
||||
G.apply(this,arguments)};mxVertexHandler.prototype.isRotationHandleVisible=function(){return this.graph.isEnabled()&&this.rotationEnabled&&this.graph.isCellRotatable(this.state.cell)&&(0>=mxGraphHandler.prototype.maxCells||this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells)};mxVertexHandler.prototype.rotateClick=function(){this.state.view.graph.turnShapes([this.state.cell])};var H=mxVertexHandler.prototype.mouseMove;mxVertexHandler.prototype.mouseMove=function(a,b){H.apply(this,arguments);
|
||||
null!=this.graph.graphHandler.first&&null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display="none")};var L=mxVertexHandler.prototype.mouseUp;mxVertexHandler.prototype.mouseUp=function(a,b){L.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none")};var K=mxVertexHandler.prototype.init;mxVertexHandler.prototype.init=function(){K.apply(this,arguments);var a=
|
||||
!1;null!=this.rotationShape&&this.rotationShape.node.setAttribute("title",mxResources.get("rotateTooltip"));var b=mxUtils.bind(this,function(){null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.specialHandle&&(this.specialHandle.node.style.display=this.graph.isEnabled()&&this.graph.getSelectionCount()<this.graph.graphHandler.maxCells?"":"none");this.redrawHandles()});this.selectionHandler=mxUtils.bind(this,
|
||||
function(a,c){b()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionHandler);this.changeHandler=mxUtils.bind(this,function(a,c){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell));b()});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);this.editingHandler=mxUtils.bind(this,function(a,b){this.redrawHandles()});this.graph.addListener(mxEvent.EDITING_STOPPED,this.editingHandler);var c=this.graph.getLinkForCell(this.state.cell);this.updateLinkHint(c);
|
||||
null!=c&&(a=!0);a&&this.redrawHandles()};mxVertexHandler.prototype.updateLinkHint=function(b){if(null==b||1<this.graph.getSelectionCount())null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);else if(null!=b){null==this.linkHint&&(this.linkHint=a(),this.linkHint.style.padding="4px 10px 6px 10px",this.linkHint.style.fontSize="90%",this.linkHint.style.opacity="1",this.linkHint.style.filter="",this.updateLinkHint(b),this.graph.container.appendChild(this.linkHint));
|
||||
var c=b;60<c.length&&(c=c.substring(0,36)+"..."+c.substring(c.length-20));var d=document.createElement("a");d.setAttribute("href",this.graph.getLinkUrl(b));d.setAttribute("title",b);null!=this.graph.linkTarget&&d.setAttribute("target",this.graph.linkTarget);mxUtils.write(d,c);this.linkHint.innerHTML="";this.linkHint.appendChild(d);this.graph.isEnabled()&&"function"===typeof this.graph.editLink&&(b=document.createElement("img"),b.setAttribute("src",IMAGE_PATH+"/edit.gif"),b.setAttribute("title",mxResources.get("editLink")),
|
||||
b.setAttribute("width","11"),b.setAttribute("height","11"),b.style.marginLeft="10px",b.style.marginBottom="-1px",b.style.cursor="pointer",this.linkHint.appendChild(b),mxEvent.addListener(b,"click",mxUtils.bind(this,function(a){this.graph.setSelectionCell(this.state.cell);this.graph.editLink();mxEvent.consume(a)})))}};mxEdgeHandler.prototype.updateLinkHint=mxVertexHandler.prototype.updateLinkHint;var R=mxEdgeHandler.prototype.init;mxEdgeHandler.prototype.init=function(){R.apply(this,arguments);this.constraintHandler.isEnabled=
|
||||
mxUtils.bind(this,function(){return this.state.view.graph.connectionHandler.isEnabled()});var a=mxUtils.bind(this,function(){null!=this.linkHint&&(this.linkHint.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.labelShape&&(this.labelShape.node.style.display=this.graph.isEnabled()&&this.graph.getSelectionCount()<this.graph.graphHandler.maxCells?"":"none")});this.selectionHandler=mxUtils.bind(this,function(b,c){a()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionHandler);
|
||||
this.changeHandler=mxUtils.bind(this,function(b,c){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell));a();this.redrawHandles()});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);var b=this.graph.getLinkForCell(this.state.cell);null!=b&&(this.updateLinkHint(b),this.redrawHandles())};var T=mxConnectionHandler.prototype.init;mxConnectionHandler.prototype.init=function(){T.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.graph.connectionHandler.isEnabled()})};
|
||||
var aa=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){aa.apply(this);if(null!=this.state&&null!=this.linkHint){var a=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),b=new mxRectangle(this.state.x,this.state.y-22,this.state.width+24,this.state.height+22),a=mxUtils.getBoundingBox(b,this.state.style[mxConstants.STYLE_ROTATION]||"0",a),b=null!=a?mxUtils.getBoundingBox(this.state,this.state.style[mxConstants.STYLE_ROTATION]||"0"):this.state;null==
|
||||
a&&(a=this.state);this.linkHint.style.left=Math.round(b.x+(b.width-this.linkHint.clientWidth)/2)+"px";this.linkHint.style.top=Math.round(a.y+a.height+this.verticalOffset/2+6+this.state.view.graph.tolerance)+"px"}};var V=mxVertexHandler.prototype.reset;mxVertexHandler.prototype.reset=function(){V.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none")};var B=mxVertexHandler.prototype.destroy;
|
||||
mxVertexHandler.prototype.destroy=function(){B.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.selectionHandler&&(this.graph.getSelectionModel().removeListener(this.selectionHandler),this.selectionHandler=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null);null!=this.editingHandler&&(this.graph.removeListener(this.editingHandler),this.editingHandler=null)};
|
||||
var Y=mxEdgeHandler.prototype.redrawHandles;mxEdgeHandler.prototype.redrawHandles=function(){if(null!=this.marker&&(Y.apply(this),null!=this.state&&null!=this.linkHint)){var a=this.state;null!=this.state.text&&null!=this.state.text.bounds&&(a=new mxRectangle(a.x,a.y,a.width,a.height),a.add(this.state.text.bounds));this.linkHint.style.left=Math.round(a.x+(a.width-this.linkHint.clientWidth)/2)+"px";this.linkHint.style.top=Math.round(a.y+a.height+6+this.state.view.graph.tolerance)+"px"}};var N=mxEdgeHandler.prototype.reset;
|
||||
mxEdgeHandler.prototype.reset=function(){N.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.visibility="")};var J=mxEdgeHandler.prototype.destroy;mxEdgeHandler.prototype.destroy=function(){J.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.selectionHandler&&(this.graph.getSelectionModel().removeListener(this.selectionHandler),this.selectionHandler=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),
|
||||
this.changeHandler=null)}}();
|
||||
(function(){function a(){mxCylinder.call(this)}function b(){mxActor.call(this)}function c(){mxCylinder.call(this)}function d(){mxCylinder.call(this)}function e(){mxCylinder.call(this)}function f(){mxActor.call(this)}function g(){mxCylinder.call(this)}function k(){mxActor.call(this)}function l(){mxActor.call(this)}function n(){mxActor.call(this)}function m(){mxActor.call(this)}function p(){mxActor.call(this)}function s(){mxActor.call(this)}function r(){mxActor.call(this)}function q(a,b){this.canvas=
|
||||
a;this.canvas.setLineJoin("round");this.canvas.setLineCap("round");this.defaultVariation=b;this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,q.prototype.lineTo);this.originalMoveTo=this.canvas.moveTo;this.canvas.moveTo=mxUtils.bind(this,q.prototype.moveTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(this,q.prototype.close);this.originalQuadTo=this.canvas.quadTo;this.canvas.quadTo=mxUtils.bind(this,q.prototype.quadTo);this.originalCurveTo=this.canvas.curveTo;
|
||||
this.canvas.curveTo=mxUtils.bind(this,q.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,q.prototype.arcTo)}function t(){mxRectangleShape.call(this)}function x(){mxActor.call(this)}function u(){mxActor.call(this)}function A(){mxRectangleShape.call(this)}function z(){mxRectangleShape.call(this)}function v(){mxCylinder.call(this)}function D(){mxShape.call(this)}function y(){mxShape.call(this)}function E(){mxEllipse.call(this)}function C(){mxShape.call(this)}
|
||||
|
@ -2447,14 +2447,14 @@ mxCellRenderer.prototype.defaultShapes.partialRectangle=W;mxUtils.extend(ga,mxEl
|
|||
e/2);a.moveTo(0,0);a.lineTo(d-b,0);a.quadTo(d,0,d,e/2);a.quadTo(d,e,d-b,e);a.lineTo(0,e);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.delay=ka;mxUtils.extend(ca,mxActor);ca.prototype.size=0.2;ca.prototype.redrawPath=function(a,b,c,d,e){b=Math.min(e,d);var f=Math.max(0,Math.min(b,b*parseFloat(mxUtils.getValue(this.style,"size",this.size))));b=(e-f)/2;c=b+f;var g=(d-f)/2,f=g+f;a.moveTo(0,b);a.lineTo(g,b);a.lineTo(g,0);a.lineTo(f,0);a.lineTo(f,b);a.lineTo(d,b);a.lineTo(d,c);a.lineTo(f,c);
|
||||
a.lineTo(f,e);a.lineTo(g,e);a.lineTo(g,c);a.lineTo(0,c);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.cross=ca;mxUtils.extend(na,mxActor);na.prototype.size=0.25;na.prototype.redrawPath=function(a,b,c,d,e){b=Math.min(d,e/2);c=Math.min(d-b,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*d);a.moveTo(0,e/2);a.lineTo(c,0);a.lineTo(d-b,0);a.quadTo(d,0,d,e/2);a.quadTo(d,e,d-b,e);a.lineTo(c,e);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.display=na;mxMarker.addMarker("dash",
|
||||
function(a,b,c,d,e,f,g,k,l,n){var m=e*(g+l+1),q=f*(g+l+1);return function(){a.begin();a.moveTo(d.x-m/2-q/2,d.y-q/2+m/2);a.lineTo(d.x+q/2-3*m/2,d.y-3*q/2-m/2);a.stroke()}});mxMarker.addMarker("cross",function(a,b,c,d,e,f,g,k,l,n){var m=e*(g+l+1),q=f*(g+l+1);return function(){a.begin();a.moveTo(d.x-m/2-q/2,d.y-q/2+m/2);a.lineTo(d.x+q/2-3*m/2,d.y-3*q/2-m/2);a.moveTo(d.x-m/2+q/2,d.y-q/2-m/2);a.lineTo(d.x-q/2-3*m/2,d.y-3*q/2+m/2);a.stroke()}});mxMarker.addMarker("circle",va);mxMarker.addMarker("circlePlus",
|
||||
function(a,b,c,d,e,f,g,k,l,n){var m=d.clone(),q=va.apply(this,arguments),t=e*(g+2*l),p=f*(g+2*l);return function(){q.apply(this,arguments);a.begin();a.moveTo(m.x-e*l,m.y-f*l);a.lineTo(m.x-2*t+e*l,m.y-2*p+f*l);a.moveTo(m.x-t-p+f*l,m.y-p+t-e*l);a.lineTo(m.x+p-t-f*l,m.y-p-t+e*l);a.stroke()}});mxMarker.addMarker("async",function(a,b,c,d,e,f,g,k,l,m){b=1.118*e*l;c=1.118*f*l;e*=g+l;f*=g+l;var n=d.clone();n.x-=b;n.y-=c;d.x+=1*-e-b;d.y+=1*-f-c;return function(){a.begin();a.moveTo(n.x,n.y);k?a.lineTo(n.x-
|
||||
e-f/2,n.y-f+e/2):a.lineTo(n.x+f/2-e,n.y-f-e/2);a.lineTo(n.x-e,n.y-f);a.close();m?a.fillAndStroke():a.stroke()}});mxMarker.addMarker("openAsync",function(a){a=null!=a?a:2;return function(b,c,d,e,f,g,k,l,n,m){f*=k+n;g*=k+n;var q=e.clone();return function(){b.begin();b.moveTo(q.x,q.y);l?b.lineTo(q.x-f-g/a,q.y-g+f/a):b.lineTo(q.x+g/a-f,q.y-g-f/a);b.stroke()}}}(2));if("undefined"!==typeof mxVertexHandler){var fa=function(a,b,c,d,e){a=new mxHandle(a,null,mxVertexHandler.prototype.secondaryHandleImage);
|
||||
function(a,b,c,d,e,f,g,k,l,n){var m=d.clone(),q=va.apply(this,arguments),t=e*(g+2*l),p=f*(g+2*l);return function(){q.apply(this,arguments);a.begin();a.moveTo(m.x-e*l,m.y-f*l);a.lineTo(m.x-2*t+e*l,m.y-2*p+f*l);a.moveTo(m.x-t-p+f*l,m.y-p+t-e*l);a.lineTo(m.x+p-t-f*l,m.y-p-t+e*l);a.stroke()}});mxMarker.addMarker("async",function(a,b,c,d,e,f,g,k,l,n){b=1.118*e*l;c=1.118*f*l;e*=g+l;f*=g+l;var m=d.clone();m.x-=b;m.y-=c;d.x+=1*-e-b;d.y+=1*-f-c;return function(){a.begin();a.moveTo(m.x,m.y);k?a.lineTo(m.x-
|
||||
e-f/2,m.y-f+e/2):a.lineTo(m.x+f/2-e,m.y-f-e/2);a.lineTo(m.x-e,m.y-f);a.close();n?a.fillAndStroke():a.stroke()}});mxMarker.addMarker("openAsync",function(a){a=null!=a?a:2;return function(b,c,d,e,f,g,k,l,m,n){f*=k+m;g*=k+m;var q=e.clone();return function(){b.begin();b.moveTo(q.x,q.y);l?b.lineTo(q.x-f-g/a,q.y-g+f/a):b.lineTo(q.x+g/a-f,q.y-g-f/a);b.stroke()}}}(2));if("undefined"!==typeof mxVertexHandler){var fa=function(a,b,c,d,e){a=new mxHandle(a,null,mxVertexHandler.prototype.secondaryHandleImage);
|
||||
a.execute=function(){for(var a=0;a<b.length;a++)this.copyStyle(b[a])};a.getPosition=c;a.setPosition=d;a.ignoreGrid=null!=e?e:!0;return a},la=function(a,b){return fa(a,[mxConstants.STYLE_ARCSIZE],function(c){var d=Math.max(0,parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/100,e=null!=b?b:c.height/8;return new mxPoint(c.x+c.width-Math.min(Math.max(c.width/2,c.height/2),Math.min(c.width,c.height)*d),c.y+e)},function(a,b,c){a=Math.min(50,Math.max(0,
|
||||
100*(a.width-b.x+a.x)/Math.min(a.width,a.height)));this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(a)})},ja=function(){return function(a){var b=[];mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED,!1)&&b.push(la(a));return b}},ia=function(a){return function(b){var c=[fa(b,["size"],function(b){var c=Math.max(0,Math.min(a,parseFloat(mxUtils.getValue(this.state.style,"size",p.prototype.size))));return new mxPoint(b.x+0.75*c*b.width,b.y+b.height/4)},function(b,c){this.state.style.size=Math.max(0,
|
||||
Math.min(a,(c.x-b.x)/(0.75*b.width)))})];mxUtils.getValue(b.style,mxConstants.STYLE_ROUNDED,!1)&&c.push(la(b));return c}},pa=function(a,b,c){c=null!=c?c:1;return function(d){var e=[fa(d,["size"],function(b){var c=parseFloat(mxUtils.getValue(this.state.style,"size",a));return new mxPoint(b.x+c*b.width,b.getCenterY())},function(a,b){this.state.style.size=Math.max(0,Math.min(c,(b.x-a.x)/a.width))})];b&&mxUtils.getValue(d.style,mxConstants.STYLE_ROUNDED,!1)&&e.push(la(d));return e}},ta=function(a,b,c){return function(d){var e=
|
||||
[fa(d,["size"],function(c){var d=Math.max(0,Math.min(c.width,Math.min(c.height,parseFloat(mxUtils.getValue(this.state.style,"size",b)))))*a;return new mxPoint(c.x+d,c.y+d)},function(b,c){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(b.width,c.x-b.x),Math.min(b.height,c.y-b.y)))/a)})];c&&mxUtils.getValue(d.style,mxConstants.STYLE_ROUNDED,!1)&&e.push(la(d));return e}},xa=function(a){return function(b){return[fa(b,["arrowWidth","arrowSize"],function(b){var c=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,
|
||||
"arrowWidth",M.prototype.arrowWidth))),d=Math.max(0,Math.min(a,mxUtils.getValue(this.state.style,"arrowSize",M.prototype.arrowSize)));return new mxPoint(b.x+(1-d)*b.width,b.y+(1-c)*b.height/2)},function(b,c){this.state.style.arrowWidth=Math.max(0,Math.min(1,2*(Math.abs(b.y+b.height/2-c.y)/b.height)));this.state.style.arrowSize=Math.max(0,Math.min(a,(b.x+b.width-c.x)/b.width))})]}},oa=function(a,b,c,d,e){var f=a.absolutePoints,g=f.length-1,k=a.view.translate,l=a.view.scale,n=c?f[0]:f[g],m=c?f[1]:f[g-
|
||||
1],q=m.x-n.x,t=m.y-n.y,p=Math.sqrt(q*q+t*t);return fa(a,b,function(a){a=d.call(this,p,q/p,t/p,n,m);return new mxPoint(a.x/l-k.x,a.y/l-k.y)},function(a,b,c){a=Math.sqrt(q*q+t*t);b.x=(b.x+k.x)*l;b.y=(b.y+k.y)*l;e.call(this,a,q/a,t/a,n,m,b,c)})},ya=function(a,b,c){return oa(a,["width"],b,function(b,d,e,f,g){g=a.shape.getEdgeWidth()*a.view.scale+c;return new mxPoint(f.x+d*b/4+e*g/2,f.y+e*b/4-d*g/2)},function(b,d,e,f,g,k){b=Math.sqrt(mxUtils.ptSegDistSq(f.x,f.y,g.x,g.y,k.x,k.y));a.style.width=Math.round(2*
|
||||
"arrowWidth",M.prototype.arrowWidth))),d=Math.max(0,Math.min(a,mxUtils.getValue(this.state.style,"arrowSize",M.prototype.arrowSize)));return new mxPoint(b.x+(1-d)*b.width,b.y+(1-c)*b.height/2)},function(b,c){this.state.style.arrowWidth=Math.max(0,Math.min(1,2*(Math.abs(b.y+b.height/2-c.y)/b.height)));this.state.style.arrowSize=Math.max(0,Math.min(a,(b.x+b.width-c.x)/b.width))})]}},oa=function(a,b,c,d,e){var f=a.absolutePoints,g=f.length-1,k=a.view.translate,l=a.view.scale,m=c?f[0]:f[g],n=c?f[1]:f[g-
|
||||
1],q=n.x-m.x,t=n.y-m.y,p=Math.sqrt(q*q+t*t);return fa(a,b,function(a){a=d.call(this,p,q/p,t/p,m,n);return new mxPoint(a.x/l-k.x,a.y/l-k.y)},function(a,b,c){a=Math.sqrt(q*q+t*t);b.x=(b.x+k.x)*l;b.y=(b.y+k.y)*l;e.call(this,a,q/a,t/a,m,n,b,c)})},ya=function(a,b,c){return oa(a,["width"],b,function(b,d,e,f,g){g=a.shape.getEdgeWidth()*a.view.scale+c;return new mxPoint(f.x+d*b/4+e*g/2,f.y+e*b/4-d*g/2)},function(b,d,e,f,g,k){b=Math.sqrt(mxUtils.ptSegDistSq(f.x,f.y,g.x,g.y,k.x,k.y));a.style.width=Math.round(2*
|
||||
b)/a.view.scale-c})},ua={link:function(a){return[ya(a,!0,10),ya(a,!1,10)]},flexArrow:function(a){var b=a.view.graph.gridSize/a.view.scale,c=[];mxUtils.getValue(a.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE&&(c.push(oa(a,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(b,c,d,e,f){b=(a.shape.getEdgeWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(e.x+
|
||||
c*(f+a.shape.strokewidth*a.view.scale)+d*b/2,e.y+d*(f+a.shape.strokewidth*a.view.scale)-c*b/2)},function(c,d,e,f,g,k,l){c=Math.sqrt(mxUtils.ptSegDistSq(f.x,f.y,g.x,g.y,k.x,k.y));d=mxUtils.ptLineDist(f.x,f.y,f.x+e,f.y-d,k.x,k.y);a.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(d-a.shape.strokewidth)/3)/100/a.view.scale;a.style.width=Math.round(2*c)/a.view.scale;mxEvent.isControlDown(l.getEvent())&&(a.style[mxConstants.STYLE_ENDSIZE]=a.style[mxConstants.STYLE_STARTSIZE]);mxEvent.isAltDown(l.getEvent())||
|
||||
Math.abs(parseFloat(a.style[mxConstants.STYLE_STARTSIZE])-parseFloat(a.style[mxConstants.STYLE_ENDSIZE]))<b/6&&(a.style[mxConstants.STYLE_STARTSIZE]=a.style[mxConstants.STYLE_ENDSIZE])})),c.push(oa(a,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(b,c,d,e,f){b=(a.shape.getStartArrowWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(e.x+c*(f+a.shape.strokewidth*
|
||||
|
@ -2479,8 +2479,8 @@ mxConstants.ALIGN_RIGHT&&(c=a.width-c);this.state.style.tabWidth=Math.round(c);t
|
|||
function(a){var b=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",l.prototype.size))));return new mxPoint(a.getCenterX(),a.y+b*a.height/2)},function(a,b){this.state.style.size=Math.max(0,Math.min(1,2*((b.y-a.y)/a.height)))})]},offPageConnector:function(a){return[fa(a,["size"],function(a){var b=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",P.prototype.size))));return new mxPoint(a.getCenterX(),a.y+(1-b)*a.height)},function(a,b){this.state.style.size=
|
||||
Math.max(0,Math.min(1,(a.y+a.height-b.y)/a.height))})]},step:pa(x.prototype.size,!0),hexagon:pa(u.prototype.size,!0,0.5),curlyBracket:pa(s.prototype.size,!1),display:pa(na.prototype.size,!1),cube:ta(1,a.prototype.size,!1),card:ta(0.5,k.prototype.size,!0),loopLimit:ta(0.5,ba.prototype.size,!0),trapezoid:ia(0.5),parallelogram:ia(1)};Graph.createHandle=fa;Graph.handleFactory=ua;mxVertexHandler.prototype.createCustomHandles=function(){if(1==this.state.view.graph.getSelectionCount()&&this.graph.isCellRotatable(this.state.cell)){var a=
|
||||
ua[this.state.style.shape];if(null!=a)return a(this.state)}return null};mxEdgeHandler.prototype.createCustomHandles=function(){if(1==this.state.view.graph.getSelectionCount()){var a=ua[this.state.style.shape];if(null!=a)return a(this.state)}return null}}else Graph.createHandle=function(){},Graph.handleFactory={};var qa=new mxPoint(1,0),ra=new mxPoint(1,0),ia=mxUtils.toRadians(-30),ja=Math.cos(ia),ia=Math.sin(ia),qa=mxUtils.getRotatedPoint(qa,ja,ia),ia=mxUtils.toRadians(-150),ja=Math.cos(ia),ia=Math.sin(ia),
|
||||
ra=mxUtils.getRotatedPoint(ra,ja,ia);mxEdgeStyle.IsometricConnector=function(a,b,c,d,e){var f=a.view;d=null!=d&&0<d.length?d[0]:null;var g=a.absolutePoints,k=g[0],g=g[g.length-1];null!=d&&(d=f.transformControlPoint(a,d));null==k&&null!=b&&(k=new mxPoint(b.getCenterX(),b.getCenterY()));null==g&&null!=c&&(g=new mxPoint(c.getCenterX(),c.getCenterY()));var l=qa.x,n=qa.y,m=ra.x,q=ra.y,t="horizontal"==mxUtils.getValue(a.style,"elbow","horizontal");if(null!=g&&null!=k){var p=k;a=function(a,b,c){a-=p.x;var d=
|
||||
b-p.y;b=(q*a-m*d)/(l*q-n*m);a=(n*a-l*d)/(n*m-l*q);t?(c&&(p=new mxPoint(p.x+l*b,p.y+n*b),e.push(p)),p=new mxPoint(p.x+m*a,p.y+q*a)):(c&&(p=new mxPoint(p.x+m*a,p.y+q*a),e.push(p)),p=new mxPoint(p.x+l*b,p.y+n*b));e.push(p)};null==d&&(d=new mxPoint(k.x+(g.x-k.x)/2,k.y+(g.y-k.y)/2));a(d.x,d.y,!0);a(g.x,g.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);var Da=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(a,b){if(b==mxEdgeStyle.IsometricConnector){var c=
|
||||
ra=mxUtils.getRotatedPoint(ra,ja,ia);mxEdgeStyle.IsometricConnector=function(a,b,c,d,e){var f=a.view;d=null!=d&&0<d.length?d[0]:null;var g=a.absolutePoints,k=g[0],g=g[g.length-1];null!=d&&(d=f.transformControlPoint(a,d));null==k&&null!=b&&(k=new mxPoint(b.getCenterX(),b.getCenterY()));null==g&&null!=c&&(g=new mxPoint(c.getCenterX(),c.getCenterY()));var l=qa.x,m=qa.y,n=ra.x,q=ra.y,t="horizontal"==mxUtils.getValue(a.style,"elbow","horizontal");if(null!=g&&null!=k){var p=k;a=function(a,b,c){a-=p.x;var d=
|
||||
b-p.y;b=(q*a-n*d)/(l*q-m*n);a=(m*a-l*d)/(m*n-l*q);t?(c&&(p=new mxPoint(p.x+l*b,p.y+m*b),e.push(p)),p=new mxPoint(p.x+n*a,p.y+q*a)):(c&&(p=new mxPoint(p.x+n*a,p.y+q*a),e.push(p)),p=new mxPoint(p.x+l*b,p.y+m*b));e.push(p)};null==d&&(d=new mxPoint(k.x+(g.x-k.x)/2,k.y+(g.y-k.y)/2));a(d.x,d.y,!0);a(g.x,g.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);var Da=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(a,b){if(b==mxEdgeStyle.IsometricConnector){var c=
|
||||
new mxElbowEdgeHandler(a);c.snapToTerminals=!1;return c}return Da.apply(this,arguments)};b.prototype.constraints=[];c.prototype.constraints=[];mxRectangleShape.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,0.75),!0),new mxConnectionConstraint(new mxPoint(1,
|
||||
0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];mxEllipse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0.5,
|
||||
0),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.5))];mxLabel.prototype.constraints=mxRectangleShape.prototype.constraints;mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=mxRectangleShape.prototype.constraints;A.prototype.constraints=mxRectangleShape.prototype.constraints;e.prototype.constraints=mxRectangleShape.prototype.constraints;k.prototype.constraints=
|
||||
|
@ -2567,11 +2567,11 @@ DrawioFile.prototype.destroy=function(){this.clearAutosave();null!=this.changeLi
|
|||
LocalFile.prototype.getTitle=function(){return this.title};LocalFile.prototype.isRenamable=function(){return!0};LocalFile.prototype.save=function(a,b,c){this.saveAs(this.title,b,c)};LocalFile.prototype.saveAs=function(a,b,c){this.saveFile(a,!1,b,c)};
|
||||
LocalFile.prototype.saveFile=function(a,b,c,d){this.title=a;this.updateFileData();var e=this.getData();this.ui.isOfflineApp()||this.ui.isLocalFileSave()?this.ui.doSaveLocalFile(e,a,"text/xml"):e.length<MAX_REQUEST_SIZE?(b=a.lastIndexOf("."),b=0<b?a.substring(b+1):"xml",(new mxXmlRequest(SAVE_URL,"format\x3d"+b+"\x26filename\x3d"+encodeURIComponent(a)+"\x26xml\x3d"+encodeURIComponent(e))).simulate(document,"_blank")):this.ui.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),
|
||||
mxUtils.bind(this,function(){mxUtils.popup(e)}));this.setModified(!1);this.contentChanged();null!=c&&c()};LocalFile.prototype.rename=function(a,b,c){this.title=a;this.descriptorChanged();null!=b&&b()};LocalFile.prototype.open=function(){this.ui.setFileData(this.getData());this.changeListener=mxUtils.bind(this,function(a,b){this.setModified(!0);this.addUnsavedStatus()});this.ui.editor.graph.model.addListener(mxEvent.CHANGE,this.changeListener)};
|
||||
(function(){EditorUi.VERSION="@DRAWIO-VERSION@";EditorUi.compactUi="atlas"!=uiTheme;"1"==urlParams.dev&&(Editor.prototype.editBlankUrl+="\x26dev\x3d1",Editor.prototype.editBlankFallbackUrl+="\x26dev\x3d1");(function(){EditorUi.prototype.useCanvasForExport=!1;try{var a=document.createElement("canvas"),b=new Image;b.onload=function(){try{a.getContext("2d").drawImage(b,0,0);var c=a.toDataURL("image/png");EditorUi.prototype.useCanvasForExport=null!=c&&6<c.length}catch(d){}};b.src="data:image/svg+xml;base64,"+
|
||||
btoa(unescape(encodeURIComponent('\x3csvg xmlns\x3d"http://www.w3.org/2000/svg" xmlns:xlink\x3d"http://www.w3.org/1999/xlink" width\x3d"1px" height\x3d"1px" version\x3d"1.1"\x3e\x3cforeignObject pointer-events\x3d"all" width\x3d"1" height\x3d"1"\x3e\x3cdiv xmlns\x3d"http://www.w3.org/1999/xhtml"\x3e\x3c/div\x3e\x3c/foreignObject\x3e\x3c/svg\x3e')))}catch(c){}})();Editor.initMath=function(a,b){a=null!=a?a:"https://cdn.mathjax.org/mathjax/2.6-latest/MathJax.js?config\x3dTeX-MML-AM_HTMLorMML";Editor.mathJaxQueue=
|
||||
[];Editor.doMathJaxRender=function(a){MathJax.Hub.Queue(["Typeset",MathJax.Hub,a])};window.MathJax={skipStartupTypeset:!0,showMathMenu:!1,messageStyle:"none",AuthorInit:function(){MathJax.Hub.Config(b||{jax:["input/TeX","input/MathML","input/AsciiMath","output/HTML-CSS"],extensions:["tex2jax.js","mml2jax.js","asciimath2jax.js"],TeX:{extensions:["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]},tex2jax:{ignoreClass:"mxCellEditor"},asciimath2jax:{ignoreClass:"mxCellEditor"}});MathJax.Hub.Register.StartupHook("Begin",
|
||||
function(){for(var a=0;a<Editor.mathJaxQueue.length;a++)Editor.doMathJaxRender(Editor.mathJaxQueue[a])})}};Editor.MathJaxRender=function(a){"undefined"!==typeof MathJax&&"undefined"!==typeof MathJax.Hub?Editor.doMathJaxRender(a):Editor.mathJaxQueue.push(a)};Editor.MathJaxClear=function(){Editor.mathJaxQueue=[]};Editor.prototype.init=function(){this.graph.addListener(mxEvent.SIZE,mxUtils.bind(this,function(a,b){this.graph.mathEnabled&&Editor.MathJaxRender(this.graph.container)}))};var c=document.getElementsByTagName("script");
|
||||
if(null!=c&&0<c.length){var d=document.createElement("script");d.type="text/javascript";d.src=a;c[0].parentNode.appendChild(d)}};Editor.closeImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAMAAADzN3VRAAAApVBMVEUAAAD////k5OT///8AAAB1dXXMzMz9/f39/f37+/v5+fn+/v7///9iYmJaWlqFhYWnp6ejo6OHh4f////////////////7+/v5+fnx8fH///8AAAD///8bGxv7+/v5+fkoKCghISFDQ0MYGBjh4eHY2Njb29tQUFBvb29HR0c/Pz82NjYrKyu/v78SEhLu7u7s7OzV1dVVVVU7OzsVFRXAv78QEBBzqehMAAAAG3RSTlMAA/7p/vz5xZlrTiPL/v78+/v7+OXd2TYQDs8L70ZbAAABKUlEQVQoz3VS13LCMBBUXHChd8iukDslQChJ/v/TchaG4cXS+OSb1c7trU7V60OpdRz2ZtNZL4zXNlcN8BEtSG6+NxIXkeRPoBuQ1cjvZ31/VJFB10ISli6diYfH8iYO3WUNCcNlB0gTrXOtkxTo0O1aKKiBBMhhv2MNBQKoiA5wxlZo0JDzD3AYKbWacyj3fs01wxey0pyEP+R8pWKWXoqtIZ0DDg5pbki9krEKOa6LVDQsdoXEsi46Zqh69KFz7B1u7Hb2yDV8firXDKBlZ4UFiswKGRhXTS93/ECK7yxnJ3+S3y/ThpO+cfSD017nqa18aasabU0/t7d+tk0/1oMEJ1NaD67iwdF68OabFSLn+eHb0+vjy+uk8br9fdrftH0O2menfd7+AQfYM/lNjoDHAAAAAElFTkSuQmCC":
|
||||
(function(){EditorUi.VERSION="@DRAWIO-VERSION@";EditorUi.compactUi="atlas"!=uiTheme;EditorUi.isElectronApp=window&&window.process&&window.process.type;"1"==urlParams.dev&&(Editor.prototype.editBlankUrl+="\x26dev\x3d1",Editor.prototype.editBlankFallbackUrl+="\x26dev\x3d1");(function(){EditorUi.prototype.useCanvasForExport=!1;try{var a=document.createElement("canvas"),b=new Image;b.onload=function(){try{a.getContext("2d").drawImage(b,0,0);var c=a.toDataURL("image/png");EditorUi.prototype.useCanvasForExport=
|
||||
null!=c&&6<c.length}catch(d){}};b.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent('\x3csvg xmlns\x3d"http://www.w3.org/2000/svg" xmlns:xlink\x3d"http://www.w3.org/1999/xlink" width\x3d"1px" height\x3d"1px" version\x3d"1.1"\x3e\x3cforeignObject pointer-events\x3d"all" width\x3d"1" height\x3d"1"\x3e\x3cdiv xmlns\x3d"http://www.w3.org/1999/xhtml"\x3e\x3c/div\x3e\x3c/foreignObject\x3e\x3c/svg\x3e')))}catch(c){}})();Editor.initMath=function(a,b){a=null!=a?a:"https://cdn.mathjax.org/mathjax/2.6-latest/MathJax.js?config\x3dTeX-MML-AM_HTMLorMML";
|
||||
Editor.mathJaxQueue=[];Editor.doMathJaxRender=function(a){MathJax.Hub.Queue(["Typeset",MathJax.Hub,a])};window.MathJax={skipStartupTypeset:!0,showMathMenu:!1,messageStyle:"none",AuthorInit:function(){MathJax.Hub.Config(b||{jax:["input/TeX","input/MathML","input/AsciiMath","output/HTML-CSS"],extensions:["tex2jax.js","mml2jax.js","asciimath2jax.js"],TeX:{extensions:["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]},tex2jax:{ignoreClass:"mxCellEditor"},asciimath2jax:{ignoreClass:"mxCellEditor"}});
|
||||
MathJax.Hub.Register.StartupHook("Begin",function(){for(var a=0;a<Editor.mathJaxQueue.length;a++)Editor.doMathJaxRender(Editor.mathJaxQueue[a])})}};Editor.MathJaxRender=function(a){"undefined"!==typeof MathJax&&"undefined"!==typeof MathJax.Hub?Editor.doMathJaxRender(a):Editor.mathJaxQueue.push(a)};Editor.MathJaxClear=function(){Editor.mathJaxQueue=[]};Editor.prototype.init=function(){this.graph.addListener(mxEvent.SIZE,mxUtils.bind(this,function(a,b){this.graph.mathEnabled&&Editor.MathJaxRender(this.graph.container)}))};
|
||||
var c=document.getElementsByTagName("script");if(null!=c&&0<c.length){var d=document.createElement("script");d.type="text/javascript";d.src=a;c[0].parentNode.appendChild(d)}};Editor.closeImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAMAAADzN3VRAAAApVBMVEUAAAD////k5OT///8AAAB1dXXMzMz9/f39/f37+/v5+fn+/v7///9iYmJaWlqFhYWnp6ejo6OHh4f////////////////7+/v5+fnx8fH///8AAAD///8bGxv7+/v5+fkoKCghISFDQ0MYGBjh4eHY2Njb29tQUFBvb29HR0c/Pz82NjYrKyu/v78SEhLu7u7s7OzV1dVVVVU7OzsVFRXAv78QEBBzqehMAAAAG3RSTlMAA/7p/vz5xZlrTiPL/v78+/v7+OXd2TYQDs8L70ZbAAABKUlEQVQoz3VS13LCMBBUXHChd8iukDslQChJ/v/TchaG4cXS+OSb1c7trU7V60OpdRz2ZtNZL4zXNlcN8BEtSG6+NxIXkeRPoBuQ1cjvZ31/VJFB10ISli6diYfH8iYO3WUNCcNlB0gTrXOtkxTo0O1aKKiBBMhhv2MNBQKoiA5wxlZo0JDzD3AYKbWacyj3fs01wxey0pyEP+R8pWKWXoqtIZ0DDg5pbki9krEKOa6LVDQsdoXEsi46Zqh69KFz7B1u7Hb2yDV8firXDKBlZ4UFiswKGRhXTS93/ECK7yxnJ3+S3y/ThpO+cfSD017nqa18aasabU0/t7d+tk0/1oMEJ1NaD67iwdF68OabFSLn+eHb0+vjy+uk8br9fdrftH0O2menfd7+AQfYM/lNjoDHAAAAAElFTkSuQmCC":
|
||||
IMAGE_PATH+"/delete.png";Editor.prototype.addSvgShadow=function(a,b,c){c=null!=c?c:!1;var d=a.ownerDocument,e=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"filter"):d.createElement("filter");e.setAttribute("id","dropShadow");var f=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"feGaussianBlur"):d.createElement("feGaussianBlur");f.setAttribute("in","SourceAlpha");f.setAttribute("stdDeviation","1.7");f.setAttribute("result","blur");e.appendChild(f);f=null!=d.createElementNS?
|
||||
d.createElementNS(mxConstants.NS_SVG,"feOffset"):d.createElement("feOffset");f.setAttribute("in","blur");f.setAttribute("dx","3");f.setAttribute("dy","3");f.setAttribute("result","offsetBlur");e.appendChild(f);f=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"feFlood"):d.createElement("feFlood");f.setAttribute("flood-color","#3D4574");f.setAttribute("flood-opacity","0.4");f.setAttribute("result","offsetColor");e.appendChild(f);f=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,
|
||||
"feComposite"):d.createElement("feComposite");f.setAttribute("in","offsetColor");f.setAttribute("in2","offsetBlur");f.setAttribute("operator","in");f.setAttribute("result","offsetBlur");e.appendChild(f);f=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"feBlend"):d.createElement("feBlend");f.setAttribute("in","SourceGraphic");f.setAttribute("in2","offsetBlur");e.appendChild(f);var f=a.getElementsByTagName("defs"),g=null;0==f.length?(g=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,
|
||||
|
|
23016
war/stencils.xml
23016
war/stencils.xml
File diff suppressed because it is too large
Load diff
11861
war/stencils/veeam/2d.xml
Normal file
11861
war/stencils/veeam/2d.xml
Normal file
File diff suppressed because it is too large
Load diff
11155
war/stencils/veeam/3d.xml
Normal file
11155
war/stencils/veeam/3d.xml
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue