Skip to content

Commit 8da7d14

Browse files
committed
3.5.1.3 release
1 parent cce9776 commit 8da7d14

859 files changed

Lines changed: 6456 additions & 5823 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ChangeLog

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
09-MAY-2016: 3.5.1.3
2+
3+
- Enables floating point numbers for font sizes, removes rounding [JavaScript]
4+
- Fixes inconsistent results in mxGraph.fit, doResizeContainer [JavaScript]
5+
- Changes default border for mxGraph.fit to this.border [JavaScript]
6+
- Adds updateContainerStyle in mxGraphView for older browsers [JavaScript]
7+
- Moves Editor.init hook to after c'tor in grapheditor [JavaScript]
8+
- Adds mxGraph.isIgnoreTerminalEvent hook [JavaScript]
9+
- Adds mxCellRenderer.forceControlClickHandler switch [JavaScript]
10+
- Fires mouseup event for click on folding icon, fixes blurred rendering [JavaScript]
11+
- Fixes ignored scaled for border in mxGraph.sizeDidChange [JavaScript]
12+
- Changes default for margin in mxGraph.fit to 0 [JavaScript]
13+
- Fixes possible NPE in mxConnectionHandler.reset [JavaScript]
14+
- Adds mxConstants.WORD_WRAP global switch for word wrapping [JavaScript]
15+
- Changes type of mxStencilRegistry.stencils from array to object [JavaScript]
16+
- Fixes drawing of edges connected to hidden layers [JavaScript]
17+
- Sets state invalid in mxGraphView.removeState [JavaScript]
18+
- Adds mxUtils.parseCssNumber, fixes mxGraph.getBorderSizes for quirks [JavaScript]
19+
- Adds ignoreWidth/-Height arguments in mxGraph.fit [JavaScript]
20+
- Adds padding, border and margin in mxGraph.fit [JavaScript]
21+
- Adds mxUtils.forEach helper function [JavaScript]
22+
- Remove stylesheet for IE6 in grapheditor [JavaScript]
23+
- Removes tapAndHoldStartsConnection, showConnectorImg in grapheditor [JavaScript]
24+
- Moves useLocalStorage, counter to Editor in grapheditor [JavaScript]
25+
- Moves fileSupport, touchStyle to Graph in grapheditor [JavaScript]
26+
127
15-APR-2016: 3.5.1.2
228

329
- Fixes lazy shape loading in grapheditor [JavaScript]

docs/js-api/files/handler/mxPanningHandler-js.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@
6969

7070
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPanningHandler.isPanningTrigger"></a>isPanningTrigger</h3><div class=CBody><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>mxPanningHandler.prototype.isPanningTrigger = function(</td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given event is a panning trigger for the optional given cell.&nbsp; This returns true if control-shift is pressed or if <a href="#mxPanningHandler.usePopupTrigger" class=LVariable id=link53 onMouseOver="ShowTip(event, 'tt5', 'link53')" onMouseOut="HideTip('tt5')">usePopupTrigger</a> is true and the event is a popup trigger.</p></div></div></div>
7171

72-
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPanningHandler.isForcePanningEvent"></a>isForcePanningEvent</h3><div class=CBody><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>mxPanningHandler.prototype.isForcePanningEvent = function(</td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given <a href="../util/mxMouseEvent-js.html#mxMouseEvent" class=LClass id=link54 onMouseOver="ShowTip(event, 'tt25', 'link54')" onMouseOut="HideTip('tt25')">mxMouseEvent</a> should start panning.&nbsp; This implementation always returns false.</p></div></div></div>
72+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPanningHandler.isForcePanningEvent"></a>isForcePanningEvent</h3><div class=CBody><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>mxPanningHandler.prototype.isForcePanningEvent = function(</td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given <a href="../util/mxMouseEvent-js.html#mxMouseEvent" class=LClass id=link54 onMouseOver="ShowTip(event, 'tt25', 'link54')" onMouseOut="HideTip('tt25')">mxMouseEvent</a> should start panning.&nbsp; This implementation always returns true if <a href="#mxPanningHandler.ignoreCell" class=LVariable id=link55 onMouseOver="ShowTip(event, 'tt7', 'link55')" onMouseOut="HideTip('tt7')">ignoreCell</a> is true or for multi touch events.</p></div></div></div>
7373

7474
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPanningHandler.mouseDown"></a>mouseDown</h3><div class=CBody><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>mxPanningHandler.prototype.mouseDown = function(</td><td class=PParameter nowrap>sender,</td></tr><tr><td></td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Handles the event by initiating the panning.&nbsp; By consuming the event all subsequent events of the gesture are redirected to this handler.</p></div></div></div>
7575

7676
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPanningHandler.start"></a>start</h3><div class=CBody><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>mxPanningHandler.prototype.start = function(</td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Starts panning at the given event.</p></div></div></div>
7777

78-
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPanningHandler.consumePanningTrigger"></a>consumePanningTrigger</h3><div class=CBody><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>mxPanningHandler.prototype.consumePanningTrigger = function(</td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Consumes the given <a href="../util/mxMouseEvent-js.html#mxMouseEvent" class=LClass id=link55 onMouseOver="ShowTip(event, 'tt25', 'link55')" onMouseOut="HideTip('tt25')">mxMouseEvent</a> if it was a panning trigger in <a href="#mxPanningHandler.mouseDown" class=LFunction id=link56 onMouseOver="ShowTip(event, 'tt26', 'link56')" onMouseOut="HideTip('tt26')">mouseDown</a>.&nbsp; The default is to invoke <a href="../util/mxMouseEvent-js.html#mxMouseEvent.consume" class=LFunction id=link57 onMouseOver="ShowTip(event, 'tt35', 'link57')" onMouseOut="HideTip('tt35')">mxMouseEvent.consume</a>.&nbsp; Note that this will block any further event processing.&nbsp; If you haven&rsquo;t disabled built-in context menus and require immediate selection of the cell on mouseDown in Safari and/or on the Mac, then use the following code:</p><blockquote><pre class="prettyprint">mxPanningHandler.prototype.consumePanningTrigger = function(me)
78+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPanningHandler.consumePanningTrigger"></a>consumePanningTrigger</h3><div class=CBody><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>mxPanningHandler.prototype.consumePanningTrigger = function(</td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Consumes the given <a href="../util/mxMouseEvent-js.html#mxMouseEvent" class=LClass id=link56 onMouseOver="ShowTip(event, 'tt25', 'link56')" onMouseOut="HideTip('tt25')">mxMouseEvent</a> if it was a panning trigger in <a href="#mxPanningHandler.mouseDown" class=LFunction id=link57 onMouseOver="ShowTip(event, 'tt26', 'link57')" onMouseOut="HideTip('tt26')">mouseDown</a>.&nbsp; The default is to invoke <a href="../util/mxMouseEvent-js.html#mxMouseEvent.consume" class=LFunction id=link58 onMouseOver="ShowTip(event, 'tt35', 'link58')" onMouseOut="HideTip('tt35')">mxMouseEvent.consume</a>.&nbsp; Note that this will block any further event processing.&nbsp; If you haven&rsquo;t disabled built-in context menus and require immediate selection of the cell on mouseDown in Safari and/or on the Mac, then use the following code:</p><blockquote><pre class="prettyprint">mxPanningHandler.prototype.consumePanningTrigger = function(me)
7979
{
8080
if (me.evt.preventDefault)
8181
{
@@ -96,7 +96,7 @@
9696

9797
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPanningHandler.mouseUp"></a>mouseUp</h3><div class=CBody><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>mxPanningHandler.prototype.mouseUp = function(</td><td class=PParameter nowrap>sender,</td></tr><tr><td></td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Handles the event by setting the translation on the view or showing the popupmenu.</p></div></div></div>
9898

99-
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPanningHandler.panGraph"></a>panGraph</h3><div class=CBody><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>mxPanningHandler.prototype.panGraph = function(</td><td class=PParameter nowrap>dx,</td></tr><tr><td></td><td class=PParameter nowrap>dy</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Pans <a href="#mxPanningHandler.graph" class=LVariable id=link58 onMouseOver="ShowTip(event, 'tt2', 'link58')" onMouseOut="HideTip('tt2')">graph</a> by the given amount.</p></div></div></div>
99+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPanningHandler.panGraph"></a>panGraph</h3><div class=CBody><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>mxPanningHandler.prototype.panGraph = function(</td><td class=PParameter nowrap>dx,</td></tr><tr><td></td><td class=PParameter nowrap>dy</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Pans <a href="#mxPanningHandler.graph" class=LVariable id=link59 onMouseOver="ShowTip(event, 'tt2', 'link59')" onMouseOut="HideTip('tt2')">graph</a> by the given amount.</p></div></div></div>
100100

101101
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPanningHandler.destroy"></a>destroy</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxPanningHandler.prototype.destroy = function()</td></tr></table></blockquote><p>Destroys the handler and all its resources and DOM nodes.</p></div></div></div>
102102

docs/js-api/files/mxClient-js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxClient.Variables"></a>Variables</h3></div></div>
1717

18-
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.VERSION"></a>VERSION</h3><div class=CBody><p>Contains the current version of the mxGraph library.&nbsp; The strings that communicate versions of mxGraph use the following format.</p><p>versionMajor.versionMinor.buildNumber.revisionNumber</p><p>Current version is 3.5.1.2.</p></div></div></div>
18+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.VERSION"></a>VERSION</h3><div class=CBody><p>Contains the current version of the mxGraph library.&nbsp; The strings that communicate versions of mxGraph use the following format.</p><p>versionMajor.versionMinor.buildNumber.revisionNumber</p><p>Current version is 3.5.1.3.</p></div></div></div>
1919

2020
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.IS_IE"></a>IS_IE</h3><div class=CBody><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>IS_IE: navigator.userAgent.indexOf(</td><td class=PParameter nowrap>'MSIE'</td><td class=PAfterParameters nowrap>) &gt;</td></tr></table></td></tr></table></blockquote><p>True if the current browser is Internet Explorer 10 or below.&nbsp; Use <a href="#mxClient.IS_IE11" class=LVariable id=link23 onMouseOver="ShowTip(event, 'tt21', 'link23')" onMouseOut="HideTip('tt21')">mxClient.IS_IE11</a> to detect IE 11.</p></div></div></div>
2121

docs/js-api/files/util/mxConstants-js.html

Lines changed: 3 additions & 1 deletion
Large diffs are not rendered by default.

docs/js-api/files/util/mxUtils-js.html

Lines changed: 44 additions & 40 deletions
Large diffs are not rendered by default.

docs/js-api/files/view/mxCellRenderer-js.html

Lines changed: 40 additions & 38 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)