Lines Matching refs:Graph

248 			this.clippedSvg = Graph.clipSvgDataUri(src);
268 Graph = function(container, model, renderHint, stylesheet, themes, standalone) class
1234 if (Graph.touchStyle)
1263 Graph.touchStyle = mxClient.IS_TOUCH || (mxClient.IS_FF && mxClient.IS_WIN) || navigator.maxTouchPo…
1269 Graph.fileSupport = window.File != null && window.FileReader != null && window.FileList != null &&
1275 Graph.translateDiagram = urlParams['translate-diagram'] == '1';
1280 Graph.diagramLanguage = (urlParams['diagram-language'] != null) ? urlParams['diagram-language'] : m…
1285 Graph.lineJumpsEnabled = true;
1290 Graph.defaultJumpSize = 6;
1295 Graph.zoomWheel = false;
1300 Graph.minTableColumnWidth = 20;
1305 Graph.minTableRowHeight = 20;
1310 Graph.foreignObjectWarningText = 'Viewer does not support full SVG 1.1';
1315 Graph.foreignObjectWarningLink = 'https://www.diagrams.net/doc/faq/svg-export-text-problems';
1320 Graph.xmlDeclaration = '<?xml version="1.0" encoding="UTF-8"?>';
1325 Graph.svgDoctype = '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" ' +
1331 Graph.svgFileComment = '<!-- Do not edit this file with editors other than diagrams.net -->'
1336 Graph.pasteStyles = ['rounded', 'shadow', 'dashed', 'dashPattern', 'fontFamily', 'fontSource', 'fon…
1347 Graph.createOffscreenGraph = function(stylesheet)
1349 var graph = new Graph(document.createElement('div'));
1371 Graph.createSvgImage = function(w, h, data, coordWidth, coordHeight)
1373 var tmp = unescape(encodeURIComponent(Graph.svgDoctype +
1385 Graph.zapGremlins = function(text)
1414 Graph.stringToBytes = function(str)
1429 Graph.bytesToString = function(arr)
1444 Graph.base64EncodeUnicode = function(str)
1454 Graph.base64DecodeUnicode = function(str)
1464 Graph.compressNode = function(node, checked)
1468 return Graph.compress((checked) ? xml : Graph.zapGremlins(xml));
1474 Graph.arrayBufferToString = function(buffer)
1491 Graph.stringToArrayBuffer = function(data)
1502 Graph.arrayBufferIndexOfString = function (uint8Array, str, start)
1520 return Graph.arrayBufferIndexOfString(uint8Array, str, p + 1);
1532 Graph.compress = function(data, deflate)
1543 return btoa(Graph.arrayBufferToString(new Uint8Array(tmp)));
1550 Graph.decompress = function(data, inflate, checked)
1558 var tmp = Graph.stringToArrayBuffer(atob(data));
1563 return (checked) ? inflated : Graph.zapGremlins(inflated);
1570 Graph.fadeNodes = function(nodes, start, end, done, delay)
1573 Graph.setTransitionForNodes(nodes, null);
1574 Graph.setOpacityForNodes(nodes, start);
1578 Graph.setTransitionForNodes(nodes,
1580 Graph.setOpacityForNodes(nodes, end);
1584 Graph.setTransitionForNodes(nodes, null);
1597 Graph.setTransitionForNodes = function(nodes, transition)
1608 Graph.setOpacityForNodes = function(nodes, opacity)
1619 Graph.removePasteFormatting = function(elt)
1625 Graph.removePasteFormatting(elt.firstChild);
1645 Graph.sanitizeHtml = function(value, editing)
1668 Graph.sanitizeSvg = function(div)
1706 Graph.clipSvgDataUri = function(dataUri)
1728 Graph.sanitizeSvg(div);
1810 Graph.stripQuotes = function(text)
1841 Graph.createRemoveIcon = function(title, onclick)
1860 Graph.isPageLink = function(text)
1870 Graph.isLink = function(text)
1872 return text != null && Graph.linkPattern.test(text);
1878 Graph.linkPattern = new RegExp('^(https?:\\/\\/)?'+ // protocol
1888 mxUtils.extend(Graph, mxGraph);
1893 Graph.prototype.minFitScale = null;
1898 Graph.prototype.maxFitScale = null;
1904 Graph.prototype.linkPolicy = (urlParams['target'] == 'frame') ? 'blank' : (urlParams['target'] || '…
1909 Graph.prototype.linkTarget = (urlParams['target'] == 'frame') ? '_self' : '_blank';
1916 Graph.prototype.linkRelation = 'nofollow noopener noreferrer';
1922 Graph.prototype.defaultScrollbars = !mxClient.IS_IOS;
1927 Graph.prototype.defaultPageVisible = true;
1932 Graph.prototype.defaultGridEnabled = urlParams['grid'] != '0';
1938 Graph.prototype.lightbox = false;
1943 Graph.prototype.defaultPageBackgroundColor = '#ffffff';
1948 Graph.prototype.defaultPageBorderColor = '#ffffff';
1953 Graph.prototype.shapeForegroundColor = '#000000';
1958 Graph.prototype.shapeBackgroundColor = '#ffffff';
1967 Graph.prototype.scrollTileSize = new mxRectangle(0, 0, 400, 400);
1972 Graph.prototype.transparentBackground = true;
1977 Graph.prototype.selectParentAfterDelete = false;
1982 Graph.prototype.defaultEdgeLength = 80;
1987 Graph.prototype.edgeMode = false;
1992 Graph.prototype.connectionArrowsEnabled = true;
1997 Graph.prototype.placeholderPattern = new RegExp('%(date\{.*\}|[^%^\{^\}^ ^"^ \'^=^;]+)%', 'g');
2002 Graph.prototype.absoluteUrlPattern = new RegExp('^(?:[a-z]+:)?//', 'i');
2007 Graph.prototype.defaultThemeName = 'default';
2012 Graph.prototype.defaultThemes = {};
2017 Graph.prototype.baseUrl = (urlParams['base'] != null) ?
2025 Graph.prototype.editAfterInsert = false;
2030 Graph.prototype.builtInProperties = ['label', 'tooltip', 'placeholders', 'placeholder'];
2037 Graph.prototype.standalone = false;
2042 Graph.prototype.enableFlowAnimation = false;
2047 Graph.prototype.init = function(container)
2158 Graph.prototype.useCssTransforms = false;
2163 Graph.prototype.currentScale = 1;
2168 Graph.prototype.currentTranslate = new mxPoint(0, 0);
2173 Graph.prototype.getVerticesAndEdges = function(vertices, edges)
2188 Graph.prototype.getCommonStyle = function(cells)
2204 Graph.prototype.mergeStyle = function(style, into, initial)
2242 Graph.prototype.getStartEditingCell = function(cell, trigger)
2281 Graph.prototype.copyStyle = function(cell)
2317 Graph.prototype.pasteStyle = function(style, cells, keys)
2319 keys = (keys != null) ? keys : Graph.pasteStyles;
2349 Graph.prototype.isFastZoomEnabled = function()
2361 Graph.prototype.isCssTransformsSupported = function()
2372 Graph.prototype.getCellAt = function(x, y, parent, vertices, edges, ignoreFn)
2388 Graph.prototype.getScaledCellAt = function(x, y, parent, vertices, edges, ignoreFn)
2436 Graph.prototype.isRecursiveVertexResize = function(state)
2446 Graph.prototype.getAbsoluteParent = function(cell)
2463 Graph.prototype.isPart = function(cell)
2472 Graph.prototype.getCompositeParent = function(cell)
2492 Graph.prototype.filterSelectionCells = function(ignoreFn)
2518 Graph.prototype.scrollRectToVisible = function(r)
2623 Graph.prototype.getCellsForGroup = function(cells)
2645 Graph.prototype.getCellsForUngroup = function(cells)
2669 Graph.prototype.updateCssTransform = function()
2750 Graph.prototype.isLightboxView = function()
2758 Graph.prototype.isViewer = function()
2766 Graph.prototype.labelLinkClicked = function(state, elt, evt)
2786 Graph.prototype.openLink = function(href, target, allowOpener)
2836 Graph.prototype.getLinkTitle = function(href)
2844 Graph.prototype.isCustomLink = function(href)
2852 Graph.prototype.customLinkClicked = function(link)
2861 Graph.prototype.isExternalProtocol = function(href)
2870 Graph.prototype.isBlankLink = function(href)
2882 Graph.prototype.isRelativeUrl = function(url)
2892 Graph.prototype.getAbsoluteUrl = function(url)
2916 Graph.prototype.initLayoutManager = function()
3013 Graph.prototype.getDataForCells = function(cells)
3044 Graph.prototype.getNodesForCells = function(cells)
3078 Graph.prototype.createWipeAnimations = function(cells, wipeIn)
3109 Graph.prototype.createEdgeWipeAnimation = function(state, wipeIn)
3152 Graph.setOpacityForNodes(this.getNodesForCells([state.cell]), 1);
3173 Graph.setOpacityForNodes(this.getNodesForCells([state.cell]), (wipeIn) ? 1 : 0);
3182 Graph.prototype.createVertexWipeAnimation = function(state, wipeIn)
3203 Graph.setOpacityForNodes(this.getNodesForCells([state.cell]), 1);
3224 Graph.setOpacityForNodes(this.getNodesForCells([state.cell]), (wipeIn) ? 1 : 0);
3233 Graph.prototype.executeAnimations = function(animations, done, steps, delay)
3274 Graph.prototype.getPageSize = function()
3286 Graph.prototype.getPageLayout = function()
3313 Graph.prototype.sanitizeHtml = function(value, editing)
3315 return Graph.sanitizeHtml(value, editing);
3321 Graph.prototype.updatePlaceholders = function()
3346 Graph.prototype.isReplacePlaceholders = function(cell)
3357 Graph.prototype.isZoomWheelEvent = function(evt)
3359 return (Graph.zoomWheel && !mxEvent.isShiftDown(evt) && !mxEvent.isMetaDown(evt) &&
3361 (!Graph.zoomWheel && (mxEvent.isAltDown(evt) || mxEvent.isControlDown(evt)));
3367 Graph.prototype.isScrollWheelEvent = function(evt)
3375 Graph.prototype.isTransparentClickEvent = function(evt)
3383 Graph.prototype.isIgnoreTerminalEvent = function(evt)
3392 Graph.prototype.isEdgeIgnored = function(cell)
3409 Graph.prototype.isSplitTarget = function(target, cells, evt)
3419 Graph.prototype.getLabel = function(cell)
3434 Graph.prototype.isLabelMovable = function(cell)
3447 Graph.prototype.setGridSize = function(value)
3456 Graph.prototype.setDefaultParent = function(cell)
3471 Graph.prototype.getClickableLinkForCell = function(cell)
3491 Graph.prototype.getGlobalVariable = function(name)
3519 Graph.prototype.formatDate = function(date, mask, utc)
3631 Graph.prototype.getLayerForCells = function(cells)
3660 Graph.prototype.createLayersDialog = function(onchange, inverted)
3739 Graph.prototype.replacePlaceholders = function(cell, str, vars, translate)
3776 if (Graph.translateDiagram && Graph.diagramLanguage != null)
3778 tmp = current.getAttribute(name + '_' + Graph.diagramLanguage);
3817 Graph.prototype.restoreSelection = function(cells)
3844 Graph.prototype.selectCellsForConnectVertex = function(cells, evt, hoverIcons)
3874 Graph.prototype.isCloneConnectSource = function(source)
3891 Graph.prototype.connectVertex = function(source, direction, length, evt, forceClone, ignoreCellAt, …
4158 Graph.prototype.getIndexableText = function()
4195 Graph.prototype.convertValueToString = function(cell)
4223 if (Graph.translateDiagram && Graph.diagramLanguage != null)
4225 result = value.getAttribute('label_' + Graph.diagramLanguage);
4243 Graph.prototype.getLinksForState = function(state)
4256 Graph.prototype.getLinkForCell = function(cell)
4278 Graph.prototype.getLinkTargetForCell = function(cell)
4292 Graph.prototype.getCellStyle = function(cell)
4317 Graph.prototype.updateAlternateBounds = function(cell, geo, willCollapse)
4342 Graph.prototype.isMoveCellsEvent = function(evt, state)
4350 Graph.prototype.foldCells = function(collapse, recurse, cells, checkFoldable, evt)
4419 Graph.prototype.moveSiblings = function(state, parent, dx, dy)
4452 Graph.prototype.resizeParentStacks = function(parent, layout, dx, dy)
4498 Graph.prototype.isContainer = function(cell)
4515 Graph.prototype.isCellConnectable = function(cell)
4526 Graph.prototype.isLabelMovable = function(cell)
4546 Graph.prototype.selectAll = function(parent)
4571 Graph.prototype.selectCells = function(vertices, edges, parent)
4594 Graph.prototype.getSwimlaneAt = function (x, y, parent)
4609 Graph.prototype.isCellFoldable = function(cell)
4624 Graph.prototype.reset = function()
4642 Graph.prototype.zoom = function(factor, center)
4654 Graph.prototype.zoomIn = function()
4674 Graph.prototype.zoomOut = function()
4694 Graph.prototype.fitWindow = function(bounds, border)
4716 Graph.prototype.getTooltipForCell = function(cell)
4724 if (Graph.translateDiagram && Graph.diagramLanguage != null)
4726 tmp = cell.value.getAttribute('tooltip_' + Graph.diagramLanguage);
4809 Graph.prototype.getFlowAnimationStyle = function()
4831 Graph.prototype.getFlowAnimationStyleCss = function(id)
4847 Graph.prototype.stringToBytes = function(str)
4849 return Graph.stringToBytes(str);
4855 Graph.prototype.bytesToString = function(arr)
4857 return Graph.bytesToString(arr);
4863 Graph.prototype.compressNode = function(node)
4865 return Graph.compressNode(node);
4871 Graph.prototype.compress = function(data, deflate)
4873 return Graph.compress(data, deflate);
4879 Graph.prototype.decompress = function(data, inflate)
4881 return Graph.decompress(data, inflate);
4887 Graph.prototype.zapGremlins = function(text)
4889 return Graph.zapGremlins(text);
4955 Graph.createSvgImage(18, 28, '<path d="m 6 26 L 12 26 L 12 12 L 18 12 L 9 1 L 1 12 L 6 12 z" ' +
4962 Graph.createSvgImage(26, 18, '<path d="m 1 6 L 14 6 L 14 1 L 26 9 L 14 18 L 14 12 L 1 12 z" ' +
4969 Graph.createSvgImage(18, 26, '<path d="m 6 1 L 6 14 L 1 14 L 9 26 L 18 14 L 12 14 L 12 1 z" ' +
4976 Graph.createSvgImage(28, 18, '<path d="m 1 9 L 12 1 L 12 6 L 26 6 L 26 12 L 12 12 L 12 18 z" ' +
4983 Graph.createSvgImage(26, 26, '<circle cx="13" cy="13" r="12" ' +
5783 Graph.prototype.createParent = function(parent, child, childCount, dx, dy)
5807 Graph.prototype.createTable = function(rowCount, colCount, w, h, title, startSize, tableStyle, rowS…
5829 Graph.prototype.setTableValues = function(table, values, rowValues)
5860 Graph.prototype.createCrossFunctionalSwimlane = function(rowCount, colCount, w, h, title, tableStyl…
5905 Graph.prototype.isTableCell = function(cell)
5913 Graph.prototype.isTableRow = function(cell)
5921 Graph.prototype.isTable = function(cell)
5931 Graph.prototype.isStack = function(cell)
5941 Graph.prototype.isStackChild = function(cell)
5949 Graph.prototype.setTableRowHeight = function(row, dy, extend)
6024 Graph.prototype.setTableColumnWidth = function(col, dx, extend)
6397 if (resizeLast && tw < sw + Graph.minTableColumnWidth)
6400 table.width = sw + offset.width + offset.x + Graph.minTableColumnWidth;
6522 if (Graph.lineJumpsEnabled)
6673 Graph.defaultJumpSize)) - 2) / 2 + this.strokewidth;
6928 var doc = mxUtils.parseXml(Graph.decompress(stencil));
7357 Graph.prototype.defaultVertexStyle = {};
7362 Graph.prototype.defaultEdgeStyle = {'edgeStyle': 'orthogonalEdgeStyle', 'rounded': '0',
7368 Graph.prototype.createCurrentEdgeStyle = function()
7388 else if (Graph.prototype.defaultEdgeStyle['orthogonalLoop'] != null)
7390 style += 'orthogonalLoop=' + Graph.prototype.defaultEdgeStyle['orthogonalLoop'] + ';';
7398 else if (Graph.prototype.defaultEdgeStyle['jettySize'] != null)
7400 style += 'jettySize=' + Graph.prototype.defaultEdgeStyle['jettySize'] + ';';
7425 Graph.prototype.updateCellStyles = function(key, value, cells)
7454 Graph.prototype.getPagePadding = function()
7462 Graph.prototype.loadStylesheet = function()
7478 Graph.prototype.createCellLookup = function(cells, lookup)
7502 Graph.prototype.createCellMapping = function(mapping, lookup, cellMapping)
7524 Graph.prototype.importGraphModel = function(node, dx, dy, crop)
7618 Graph.prototype.encodeCells = function(cells)
7666 Graph.prototype.isSwimlane = function(cell, ignoreState)
7683 var graphIsExtendParent = Graph.prototype.isExtendParent;
7684 Graph.prototype.isExtendParent = function(cell)
7705 var graphSplitEdge = Graph.prototype.splitEdge;
7706 Graph.prototype.splitEdge = function(edge, cells, newEdge, dx, dy, x, y, parent)
7790 var graphSelectCell = Graph.prototype.selectCell;
7791 Graph.prototype.selectCell = function(isNext, isParent, isChild)
7851 Graph.prototype.swapUmlLifelines = function(cells, target)
7898 var graphMoveCells = Graph.prototype.moveCells;
7899 Graph.prototype.moveCells = function(cells, dx, dy, clone, target, evt, mapping)
8055 var graphRemoveCells = Graph.prototype.removeCells;
8056 Graph.prototype.removeCells = function(cells, includeEdges)
8132 Graph.prototype.updateCustomLinks = function(mapping, cells, graph)
8134 graph = (graph != null) ? graph : new Graph();
8148 Graph.prototype.updateCustomLinksForCell = function(mapping, cell)
8163 Graph.prototype.doUpdateCustomLinksForCell = function(mapping, cell)
8171 Graph.prototype.getAllConnectionConstraints = function(terminal, source)
8239 Graph.prototype.flipEdge = function(edge)
8255 Graph.prototype.isValidRoot = function(cell)
8282 Graph.prototype.isValidDropTarget = function(cell, cells, evt)
8304 Graph.prototype.createGroupCell = function()
8315 Graph.prototype.isExtendParentsOnAdd = function(cell)
8340 Graph.prototype.getPreferredSizeForCell = function(cell)
8363 Graph.prototype.turnShapes = function(cells, backwards)
8473 Graph.prototype.stencilHasPlaceholders = function(stencil)
8497 var graphProcessChange = Graph.prototype.processChange;
8498 Graph.prototype.processChange = function(change)
8539 Graph.prototype.invalidateDescendantsWithPlaceholders = function(cell)
8567 Graph.prototype.replaceElement = function(elt, tagName)
8584 Graph.prototype.processElements = function(elt, fn)
8600 Graph.prototype.updateLabelElements = function(cells, fn, tagName)
8634 Graph.prototype.cellLabelChanged = function(cell, value, autoSize)
8637 value = Graph.zapGremlins(value);
8667 if (Graph.translateDiagram && Graph.diagramLanguage != null &&
8668 tmp.hasAttribute('label_' + Graph.diagramLanguage))
8670 tmp.setAttribute('label_' + Graph.diagramLanguage, value);
8691 Graph.prototype.cellsRemoved = function(cells)
8749 Graph.prototype.removeCellsAfterUngroup = function(cells)
8771 Graph.prototype.setLinkForCell = function(cell, link)
8779 Graph.prototype.setTooltipForCell = function(cell, link)
8783 if (Graph.translateDiagram && Graph.diagramLanguage != null &&
8784 mxUtils.isNode(cell.value) && cell.value.hasAttribute('tooltip_' + Graph.diagramLanguage))
8786 key = 'tooltip_' + Graph.diagramLanguage;
8796 Graph.prototype.getAttributeForCell = function(cell, attributeName, defaultValue)
8807 Graph.prototype.setAttributeForCell = function(cell, attributeName, attributeValue)
8838 var graphGetDropTarget = Graph.prototype.getDropTarget;
8839 Graph.prototype.getDropTarget = function(cells, evt, cell, clone)
8894 Graph.prototype.click = function(me)
8906 Graph.prototype.dblClick = function(evt, cell)
8918 Graph.prototype.insertTextForEvent = function(evt, cell)
8952 Graph.prototype.getInsertPoint = function()
8972 Graph.prototype.getFreeInsertPoint = function()
8990 Graph.prototype.getCenterInsertPoint = function(bbox)
9016 Graph.prototype.isMouseInsertPoint = function()
9026 Graph.prototype.addText = function(x, y, state)
9086 Graph.prototype.addClickHandler = function(highlight, beforeClick, onClick)
9325 Graph.prototype.duplicateCells = function(cells, append)
9409 Graph.prototype.insertImage = function(newValue, w, h)
9450 Graph.prototype.insertLink = function(value)
9517 Graph.prototype.isCellResizable = function(cell)
9538 Graph.prototype.distributeCells = function(horizontal, cells)
9625 Graph.prototype.isCloneEvent = function(evt)
9636 Graph.prototype.createSvgImageExport = function()
9652 Graph.prototype.parseBackgroundImage = function(json)
9668 Graph.prototype.getBackgroundImageObject = function(obj)
9679 Graph.prototype.getSvg = function(background, scale, border, nocrop, crisp,
9942 Graph.prototype.addForeignObjectWarning = function(canvas, root)
9956 a.setAttribute('xlink:href', Graph.foreignObjectWarningLink);
9961 a.setAttributeNS(mxConstants.NS_XLINK, 'xlink:href', Graph.foreignObjectWarningLink);
9970 mxUtils.write(text, Graph.foreignObjectWarningText);
9982 Graph.prototype.updateSvgLinks = function(node, target, removeCustom)
10015 Graph.prototype.createSvgCanvas = function(node)
10027 Graph.prototype.getSelectedElement = function()
10052 Graph.prototype.getSelectedEditingElement = function()
10077 Graph.prototype.getParentByName = function(node, name, stopAt)
10100 Graph.prototype.getParentByNames = function(node, names, stopAt)
10123 Graph.prototype.selectNode = function(node)
10154 Graph.prototype.deleteCells = function(cells, includeEdges)
10213 Graph.prototype.insertTableColumn = function(cell, before)
10247 var dw = Graph.minTableColumnWidth;
10289 Graph.prototype.deleteLane = function(cell)
10334 Graph.prototype.insertLane = function(cell, before)
10370 Graph.prototype.insertTableRow = function(cell, before)
10440 Graph.prototype.deleteTableColumn = function(cell)
10524 Graph.prototype.deleteTableRow = function(cell)
10588 Graph.prototype.insertRow = function(table, index)
10614 Graph.prototype.deleteRow = function(table, index)
10622 Graph.prototype.insertColumn = function(table, index)
10651 Graph.prototype.deleteColumn = function(table, index)
10671 Graph.prototype.pasteHtmlAtCaret = function(html)
10712 Graph.prototype.createLinkForHint = function(link, label)
10770 Graph.prototype.initTouch = function()
11257 Graph.removePasteFormatting(this.textarea);
11968 dx = Math.max(Graph.minTableColumnWidth - g.width,
11974 dx = Math.min(dx, ng.width - Graph.minTableColumnWidth);
12043 dy = Math.max(Graph.minTableRowHeight - bounds.height,
12408Graph.createSvgImage(18, 18, '<circle cx="9" cy="9" r="5" stroke="#fff" fill="' + HoverIcons.proto…
12410Graph.createSvgImage(16, 16, '<path d="m 8 3 L 13 8 L 8 13 L 3 8 z" stroke="#fff" fill="#fca000"/>…
12412Graph.createSvgImage(22, 22, '<circle cx="11" cy="11" r="6" stroke="#fff" fill="#01bd22" stroke-wi…
12414Graph.createSvgImage(22, 22, '<circle cx="11" cy="11" r="6" stroke="#fff" fill="' + HoverIcons.pro…
12416 Graph.createSvgImage(16, 16, '<path stroke="' + HoverIcons.prototype.arrowFill +
12423 mxConstraintHandler.prototype.pointImage = Graph.createSvgImage(5, 5,
12501 if (Graph.touchStyle)
12509 Graph.prototype.tolerance = 12;