Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Commit

Permalink
3.5.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
alderg committed Mar 1, 2016
1 parent 38bfe73 commit 7f4867f
Show file tree
Hide file tree
Showing 955 changed files with 6,850 additions and 5,561 deletions.
23 changes: 23 additions & 0 deletions ChangeLog
@@ -1,3 +1,26 @@
01-MAR-2016: 3.5.0.0

- Ctrl+Shift+Drag added for create/remove space in grapheditor [JavaScript]
- Adds mxPrintPreview.writePostfix hook [JavaScript]
- Adds mxSvgCanvas2D.foOffset, textOffset [JavaScript]
- Adds mapping argument for mxGraph.importCells, moveCells, cloneCells [JavaScript]
- Adds mxClient.IS_CHROMEAPP [JavaScript]
- Uses getBoundingClientRect in mxUtils.getOffset [JavaScript]
- Fixes text size for hidden containers in mxText [JavaScript]
- Fixes valid data URIs in mxGraph.postProcessCellStyle [JavaScript]
- Fixes bounding box for special cases of empty strings [JavaScript]
- Fixes label rendering for schema example in IE10/11 [JavaScript]
- Adds mxUtils.getAll asynchronous request barrier [JavaScript]
- Adds asynchronous loading for resources in grapheditor [JavaScript]
- Adds mxResources.loadResources, callback argument in add [JavaScript]
- Changes type of mxClient.IS_EDGE to boolean [JavaScript]
- Adds mxVertexHandler.isCenteredEvent hook [JavaScript]
- Adds enabled parameter in mxGraph.fit [JavaScript]
- Fixes mxGraph.center for scales other than 1 [JavaScript]
- Removes vendor prefix for MS pointer events [JavaScript]
- Adds mxGraph.removeCellsAfterUngroup hook [JavaScript]
- Fixes autopanning acceleration in mxPanningManager [JavaScript]

18-JAN-2016: 3.4.1.3

- Adds mxGraph.translateToScrollPosition switch [JavaScript]
Expand Down
44 changes: 23 additions & 21 deletions docs/js-api/files/handler/mxVertexHandler-js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js-api/files/io/mxCodec-js.html
Expand Up @@ -15,7 +15,7 @@
var result = encoder.encode(graph.getModel());
var xml = mxUtils.getXml(result);</pre></blockquote><h4 class=CHeading>Example</h4><p>Using the code below, an XML document is decoded into an existing model.&nbsp; The document may be obtained using one of the functions in mxUtils for loading an XML file, eg.&nbsp; <a href="../util/mxUtils-js.html#mxUtils.get" class=LFunction id=link25 onMouseOver="ShowTip(event, 'tt22', 'link25')" onMouseOut="HideTip('tt22')">mxUtils.get</a>, or using <a href="../util/mxUtils-js.html#mxUtils.parseXml" class=LFunction id=link26 onMouseOver="ShowTip(event, 'tt23', 'link26')" onMouseOut="HideTip('tt23')">mxUtils.parseXml</a> for parsing an XML string.</p><blockquote><pre class="prettyprint">var doc = mxUtils.parseXml(xmlString);
var codec = new mxCodec(doc);
decoder.decode(doc.documentElement, graph.getModel());</pre></blockquote><h4 class=CHeading>Example</h4><p>This example demonstrates parsing a list of isolated cells into an existing graph model.&nbsp; Note that the cells do not have a parent reference so they can be added anywhere in the cell hierarchy after parsing.</p><blockquote><pre class="prettyprint">var xml = '&lt;root&gt;&lt;mxCell id=&quot;2&quot; value=&quot;Hello,&quot; vertex=&quot;1&quot;&gt;&lt;mxGeometry x=&quot;20&quot; y=&quot;20&quot; width=&quot;80&quot; height=&quot;30&quot; as=&quot;geometry&quot;/&gt;&lt;/mxCell&gt;&lt;mxCell id=&quot;3&quot; value=&quot;World!&quot; vertex=&quot;1&quot;&gt;&lt;mxGeometry x=&quot;200&quot; y=&quot;150&quot; width=&quot;80&quot; height=&quot;30&quot; as=&quot;geometry&quot;/&gt;&lt;/mxCell&gt;&lt;mxCell id=&quot;4&quot; value=&quot;&quot; edge=&quot;1&quot; source=&quot;2&quot; target=&quot;3&quot;&gt;&lt;mxGeometry relative=&quot;1&quot; as=&quot;geometry&quot;/&gt;&lt;/mxCell&gt;&lt;/root&gt;';
codec.decode(doc.documentElement, graph.getModel());</pre></blockquote><h4 class=CHeading>Example</h4><p>This example demonstrates parsing a list of isolated cells into an existing graph model.&nbsp; Note that the cells do not have a parent reference so they can be added anywhere in the cell hierarchy after parsing.</p><blockquote><pre class="prettyprint">var xml = '&lt;root&gt;&lt;mxCell id=&quot;2&quot; value=&quot;Hello,&quot; vertex=&quot;1&quot;&gt;&lt;mxGeometry x=&quot;20&quot; y=&quot;20&quot; width=&quot;80&quot; height=&quot;30&quot; as=&quot;geometry&quot;/&gt;&lt;/mxCell&gt;&lt;mxCell id=&quot;3&quot; value=&quot;World!&quot; vertex=&quot;1&quot;&gt;&lt;mxGeometry x=&quot;200&quot; y=&quot;150&quot; width=&quot;80&quot; height=&quot;30&quot; as=&quot;geometry&quot;/&gt;&lt;/mxCell&gt;&lt;mxCell id=&quot;4&quot; value=&quot;&quot; edge=&quot;1&quot; source=&quot;2&quot; target=&quot;3&quot;&gt;&lt;mxGeometry relative=&quot;1&quot; as=&quot;geometry&quot;/&gt;&lt;/mxCell&gt;&lt;/root&gt;';
var doc = mxUtils.parseXml(xml);
var codec = new mxCodec(doc);
var elt = doc.documentElement.firstChild;
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

42 changes: 25 additions & 17 deletions docs/js-api/files/layout/hierarchical/mxSwimlaneLayout-js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/js-api/files/model/mxGraphModel-js.html

Large diffs are not rendered by default.

24 changes: 13 additions & 11 deletions docs/js-api/files/mxClient-js.html

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions docs/js-api/files/util/mxAbstractCanvas2D-js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js-api/files/util/mxClipboard-js.html
Expand Up @@ -97,7 +97,7 @@


<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Cells are the elements of the graph model. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>setCells: function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the cells in the clipboard. </div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>getCells: function()</td></tr></table></blockquote>Returns the cells in the clipboard.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>isEmpty: function()</td></tr></table></blockquote>Returns true if the clipboard currently has not data stored.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>cut: function(</td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Cuts the given array of mxCells from the specified graph. </div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>removeCells: function(</td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Hook to remove the given cells from the given graph after a cut operation.</div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>copy: function(</td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Copies the given array of mxCells from the specified graph to cells. </div></div><div class=CToolTip id="tt8"><div class=CVariable>Holds the array of mxCells currently in the clipboard.</div></div><div class=CToolTip id="tt9"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>paste: function(</td><td class=PParameter nowrap>graph</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Pastes the cells into the specified graph restoring the relation to parents, if possible. </div></div><div class=CToolTip id="tt10"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.canExportCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell may be exported to the clipboard. </div></div><div class=CToolTip id="tt11"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.canImportCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell may be imported from the clipboard. </div></div><div class=CToolTip id="tt12"><div class=CVariable>Specifies the event name for change.</div></div><div class=CToolTip id="tt13"><div class=CClass>Extends mxEventSource to implement a graph component for the browser. </div></div><div class=CToolTip id="tt14"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.importCells = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>dx,</td></tr><tr><td></td><td class=PParameter nowrap>dy,</td></tr><tr><td></td><td class=PParameter nowrap>target,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Clones and inserts the given cells into the graph using the move method and returns the inserted cells. </div></div><!--END_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Cells are the elements of the graph model. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>setCells: function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the cells in the clipboard. </div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>getCells: function()</td></tr></table></blockquote>Returns the cells in the clipboard.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>isEmpty: function()</td></tr></table></blockquote>Returns true if the clipboard currently has not data stored.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>cut: function(</td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Cuts the given array of mxCells from the specified graph. </div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>removeCells: function(</td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Hook to remove the given cells from the given graph after a cut operation.</div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>copy: function(</td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Copies the given array of mxCells from the specified graph to cells. </div></div><div class=CToolTip id="tt8"><div class=CVariable>Holds the array of mxCells currently in the clipboard.</div></div><div class=CToolTip id="tt9"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>paste: function(</td><td class=PParameter nowrap>graph</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Pastes the cells into the specified graph restoring the relation to parents, if possible. </div></div><div class=CToolTip id="tt10"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.canExportCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell may be exported to the clipboard. </div></div><div class=CToolTip id="tt11"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.canImportCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell may be imported from the clipboard. </div></div><div class=CToolTip id="tt12"><div class=CVariable>Specifies the event name for change.</div></div><div class=CToolTip id="tt13"><div class=CClass>Extends mxEventSource to implement a graph component for the browser. </div></div><div class=CToolTip id="tt14"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.importCells = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>dx,</td></tr><tr><td></td><td class=PParameter nowrap>dy,</td></tr><tr><td></td><td class=PParameter nowrap>target,</td></tr><tr><td></td><td class=PParameter nowrap>evt,</td></tr><tr><td></td><td class=PParameter nowrap>mapping</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Clones and inserts the given cells into the graph using the move method and returns the inserted cells. </div></div><!--END_ND_TOOLTIPS-->



Expand Down
2 changes: 1 addition & 1 deletion docs/js-api/files/util/mxConstants-js.html
Expand Up @@ -269,7 +269,7 @@

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxConstants.STYLE_GLASS"></a>STYLE_GLASS</h3><div class=CBody><p>Defines the key for the glass style.&nbsp; Possible values are 0 (disabled) and 1(enabled).&nbsp; The default value is 0.&nbsp; This is used in <a href="../shape/mxLabel-js.html#mxLabel" class=LClass id=link103 onMouseOver="ShowTip(event, 'tt2', 'link103')" onMouseOut="HideTip('tt2')">mxLabel</a>.&nbsp; Value is &ldquo;glass&rdquo;.</p></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxConstants.STYLE_IMAGE"></a>STYLE_IMAGE</h3><div class=CBody><p>Defines the key for the image style.&nbsp; Possible values are any image URL, the type of the value is String.&nbsp; This is the path to the image to image that is to be displayed within the label of a vertex.&nbsp; Data URLs should use the following format: data:image/png,xyz where xyz is the base64 encoded data (without the &ldquo;base64&rdquo;-prefix).&nbsp; Note that Data URLs are only supported in modern browsers.&nbsp; Value is &ldquo;image&rdquo;.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxConstants.STYLE_IMAGE"></a>STYLE_IMAGE</h3><div class=CBody><p>Defines the key for the image style.&nbsp; Possible values are any image URL, the type of the value is String.&nbsp; This is the path to the image that is to be displayed within the label of a vertex.&nbsp; Data URLs should use the following format: data:image/png,xyz where xyz is the base64 encoded data (without the &ldquo;base64&rdquo;-prefix).&nbsp; Note that Data URLs are only supported in modern browsers.&nbsp; Value is &ldquo;image&rdquo;.</p></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxConstants.STYLE_IMAGE_WIDTH"></a>STYLE_IMAGE_WIDTH</h3><div class=CBody><p>Defines the key for the imageWidth style.&nbsp; The type of this value is int, the value is the image width in pixels and must be greater than 0.&nbsp; Value is &ldquo;imageWidth&rdquo;.</p></div></div></div>

Expand Down

0 comments on commit 7f4867f

Please sign in to comment.