This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* $Id: Diagramly.js,v 1.80 2013/05/31 13:17:27 david Exp $ | |
* Copyright (c) 2006-2010, JGraph Ltd | |
*/ | |
// For compatibility with open servlet on GAE | |
function setCurrentXml(data, filename) | |
{ | |
if (window.parent != null && window.parent.openFile != null) | |
{ | |
window.parent.openFile.setData(data, filename); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mxGraph.prototype.getBoundingBoxFromGeometry = function(cells, includeEdges) | |
{ | |
includeEdges = (includeEdges != null) ? includeEdges : false; | |
var result = null; | |
if (cells != null) | |
{ | |
for (var i = 0; i < cells.length; i++) | |
{ | |
if (includeEdges || this.model.isVertex(cells[i])) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* $Id: EditorUi.js,v 1.32 2013/07/19 06:13:37 gaudenz Exp $ | |
* Copyright (c) 2006-2012, JGraph Ltd | |
*/ | |
/** | |
* Constructs a new graph editor | |
*/ | |
EditorUi = function(editor, container) { | |
this.editor = editor || new Editor(); | |
this.container = container || document.body; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* $Id: Actions.js,v 1.12 2013/07/15 13:54:44 gaudenz Exp $ | |
* Copyright (c) 2006-2012, JGraph Ltd | |
*/ | |
/** | |
* Constructs the actions object for the given UI. | |
*/ | |
function Actions(editorUi) | |
{ | |
this.editorUi = editorUi; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]--> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Graph Editor</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<link rel="stylesheet" type="text/css" href="styles/grapheditor.css"> | |
<script type="text/javascript"> | |
// Public global variables | |
var MAX_REQUEST_SIZE = 10485760; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
$Id: images.html,v 1.25 2012/11/20 09:06:07 gaudenz Exp $ | |
Copyright (c) 2006-2010, JGraph Ltd | |
Images example for mxGraph. This example demonstrates using | |
background images and images for for the label- and image-shape. | |
--> | |
<html> | |
<head> | |
<title></title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* $Id: mxSwimlaneLayout.js,v 1.3 2013/09/23 14:11:22 david Exp $ | |
* Copyright (c) 2005-2012, JGraph Ltd | |
*/ | |
/** | |
* Class: mxSwimlaneLayout | |
* | |
* A hierarchical layout algorithm. | |
* | |
* Constructor: mxSwimlaneLayout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* $Id: mxEdgeStyle.js,v 1.3 2013/10/03 14:17:11 david Exp $ | |
* Copyright (c) 2006-2010, JGraph Ltd | |
*/ | |
var mxEdgeStyle = | |
{ | |
/** | |
* Class: mxEdgeStyle | |
* | |
* Provides various edge styles to be used as the values for |