Skip to content

Commit

Permalink
1.7.19
Browse files Browse the repository at this point in the history
* Added the Vue.js sample, demonstrating a simple GoJS app in the Vue.js
framework.
* Fixed a bug in DraggingTool.moveParts where it was incorrectly
shifting Nodes when Nodes shifted by differing amounts.
* Extended RotatingTool to work on link labels; the user still cannot
rotate whole Links or the Link.path.
* Restored behavior from 1.6 of Model.fromJson such that linkdata.points
property value is of type List. Version 1.7 had allowed that property to
remain as an Array of numbers.
* When a Group.layout> was a CircularLayout, that layout was not
respecting the implicit Layout.arrangementOrigin provided by the group
by calling and remembering Layout.initialOrigin.
* Fixed Link arrowhead and Link label positioning when the object to be
positioned is scaled.
  • Loading branch information
WalterNorthwoods committed Aug 18, 2017
1 parent 368c55b commit f51b125
Show file tree
Hide file tree
Showing 86 changed files with 2,328 additions and 1,836 deletions.
4 changes: 2 additions & 2 deletions api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@
</div>
<div id="contentBody" class="col-md-10">
<div id="header" class="fineprint">
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.18 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.19 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
</div>
<h1 class="classTitle">GoJS Class Index</h1>
<span class="hideshowall"><span class="nodetails"><button id="buttonShow">Show Details</button></span><span class="details"><button id="buttonHide">Show Summaries</button></span></span>
Expand Down Expand Up @@ -1230,7 +1230,7 @@ <h1 class="classTitle">GoJS Class Index</h1>

<div><h2><a href="symbols/ResizingTool.html" class="linkConstructor">ResizingTool</a></h2><p>The ResizingTool is used to interactively change the size of a <a href="symbols/GraphObject.html" class="linkConstructor">GraphObject</a>in the selected <a href="symbols/Part.html" class="linkConstructor">Part</a> or <a href="symbols/Node.html" class="linkConstructor">Node</a> by setting its <a href="symbols/GraphObject.html#desiredSize" class="linkProperty">GraphObject.desiredSize</a> property.<span class="nodetails" id="xResizingTool"><a class="morelink" onclick="hst('ResizingTool')">More...</a></span> <span class="details" id="ResizingTool">You may want to save the size to the model by using a TwoWay <a href="symbols/Binding.html" class="linkConstructor">Binding</a> on the "desiredSize" propertyof the GraphObject that is named by <a href="symbols/Part.html#resizeObjectName" class="linkProperty">Part.resizeObjectName</a>.This tool does not operate on <a href="symbols/Link.html" class="linkConstructor">Link</a>s.</span><div class="details" id="dResizingTool"><p>You can limit the permitted minimum and maximum dimensions by setting#minSize and #maxSize.The resizing will also respect the <a href="symbols/GraphObject.html#minSize" class="linkProperty">GraphObject.minSize</a> and<a href="symbols/GraphObject.html#maxSize" class="linkProperty">GraphObject.maxSize</a> properties.Width or height values that are NaN do not constrain the resizing.Override #computeMinSize and/or #computeMaxSize to change this behavior.<p>You can also limit the width and/or height to be multiples of a particular size bysetting <a href="symbols/Part.html#resizeCellSize" class="linkProperty">Part.resizeCellSize</a>.If either or both of these values are NaN, as they are by default,it will get the values from this tool's #cellSize.Then if either or both of the width and height are still NaN,and if <a href="symbols/DraggingTool.html#isGridSnapEnabled" class="linkProperty">DraggingTool.isGridSnapEnabled</a> is true,it will use the <a href="symbols/DraggingTool.html#gridSnapCellSize" class="linkProperty">DraggingTool.gridSnapCellSize</a>.Finally it will consider the <a href="symbols/Diagram.html#grid" class="linkProperty">Diagram.grid</a>'s <a href="symbols/Panel.html#gridCellSize" class="linkProperty">Panel.gridCellSize</a>if #isGridSnapEnabled is true.Override #computeCellSize to change this behavior.<p>Pressing the Shift key or resizing a <a href="symbols/Shape.html" class="linkConstructor">Shape</a> with a <a href="symbols/Shape.html#geometryStretch" class="linkProperty">Shape.geometryStretch</a> of<a href="symbols/GraphObject.html#Uniform" class="linkConstant">GraphObject.Uniform</a> or <a href="symbols/GraphObject.html#UniformToFill" class="linkConstant">GraphObject.UniformToFill</a> will maintain the aspect ratio during the resize.Override #computeReshape to change this behavior.<p>This tool makes use of an <a href="symbols/Adornment.html" class="linkConstructor">Adornment</a>, shown when the <a href="symbols/Part.html" class="linkConstructor">Part</a> or <a href="symbols/Node.html" class="linkConstructor">Node</a> is selected,that includes some number of resize handles.The resize handles are normally copies of <a href="symbols/ResizingTool.html#handleArchetype" class="linkProperty">ResizingTool.handleArchetype</a>,unless you specify a custom resize Adornment by setting <a href="symbols/Part.html#resizeAdornmentTemplate" class="linkProperty">Part.resizeAdornmentTemplate</a>.The resize Adornment is normally a "Spot" Panel with eight resize handles,each with <a href="symbols/GraphObject.html#alignment" class="linkProperty">GraphObject.alignment</a> set to one of the eight standard <a href="symbols/Spot.html" class="linkConstructor">Spot</a> values --the four corners and the four side middles.The <a href="symbols/GraphObject.html#alignment" class="linkProperty">GraphObject.alignment</a> is what identifies and distinguishes each of the handles andthe behavior when the user drags the handle.<p>This tool conducts a transaction while the tool is active.A successful resizing will result in a "PartResized" <a href="symbols/DiagramEvent.html" class="linkConstructor">DiagramEvent</a> and a "Resizing" transaction.<p class="boxread">For a general discussion of the sizing of objects, see: <a href="../../intro/sizing.html">Introduction to the sizing of GraphObjects</a>.For customizing the ResizingTool, see <a href="../../intro/tools.html#ResizingTool">Introduction to the ResizingTool</a>.</div></div>

<div><h2><a href="symbols/RotatingTool.html" class="linkConstructor">RotatingTool</a></h2><p>The RotatingTool is used to interactively change the <a href="symbols/GraphObject.html#angle" class="linkProperty">GraphObject.angle</a> of a <a href="symbols/GraphObject.html" class="linkConstructor">GraphObject</a>by setting its <a href="symbols/GraphObject.html#angle" class="linkProperty">GraphObject.angle</a> property.<span class="nodetails" id="xRotatingTool"><a class="morelink" onclick="hst('RotatingTool')">More...</a></span> <span class="details" id="RotatingTool">You may want to save the angle to the model by using a TwoWay <a href="symbols/Binding.html" class="linkConstructor">Binding</a> on the "angle" propertyof the GraphObject that is named by <a href="symbols/Part.html#rotateObjectName" class="linkProperty">Part.rotateObjectName</a>.</span><div class="details" id="dRotatingTool"><p>This tool allows the user to rotate the <a href="symbols/Part.html#rotateObject" class="linkProperty">Part.rotateObject</a> of the selected <a href="symbols/Part.html" class="linkConstructor">Part</a>.Normally this works with <a href="symbols/Part.html" class="linkConstructor">Part</a>s or <a href="symbols/Node.html" class="linkConstructor">Node</a>s; it does not make sense for <a href="symbols/Link.html" class="linkConstructor">Link</a>s.The <a href="symbols/Part.html" class="linkConstructor">Part</a> must be <a href="symbols/Part.html#rotatable" class="linkProperty">Part.rotatable</a>, which is false by default.<p>You can limit the permitted angles by setting #snapAngleMultiple and #snapAngleEpsilon.For example, if you want to permit only angles that are multiples of 90 degrees,set #snapAngleMultiple to 90 and #snapAngleEpsilon to 45. Pressing the Shift key ignores these properties.<p>This tool makes use of an <a href="symbols/Adornment.html" class="linkConstructor">Adornment</a> that includes a rotation handle.It is shown when the selected <a href="symbols/Part.html" class="linkConstructor">Part</a> is <a href="symbols/Part.html#rotatable" class="linkProperty">Part.rotatable</a>.The rotate handle is normally a copy of <a href="symbols/RotatingTool.html#handleArchetype" class="linkProperty">RotatingTool.handleArchetype</a>.unless you specify a custom rotate Adornment by setting <a href="symbols/Part.html#rotateAdornmentTemplate" class="linkProperty">Part.rotateAdornmentTemplate</a>.<p>This tool conducts a transaction while the tool is active.A successful rotation will result in a "PartRotated" <a href="symbols/DiagramEvent.html" class="linkConstructor">DiagramEvent</a> and a "Rotating" transaction.<p class="boxread">For customizing the RotatingTool, see <a href="../../intro/tools.html#RotatingTool">Introduction to the RotatingTool</a>.</div></div>
<div><h2><a href="symbols/RotatingTool.html" class="linkConstructor">RotatingTool</a></h2><p>The RotatingTool is used to interactively change the <a href="symbols/GraphObject.html#angle" class="linkProperty">GraphObject.angle</a> of a <a href="symbols/GraphObject.html" class="linkConstructor">GraphObject</a>by setting its <a href="symbols/GraphObject.html#angle" class="linkProperty">GraphObject.angle</a> property.<span class="nodetails" id="xRotatingTool"><a class="morelink" onclick="hst('RotatingTool')">More...</a></span> <span class="details" id="RotatingTool">You may want to save the angle to the model by using a TwoWay <a href="symbols/Binding.html" class="linkConstructor">Binding</a> on the "angle" propertyof the GraphObject that is named by <a href="symbols/Part.html#rotateObjectName" class="linkProperty">Part.rotateObjectName</a>.</span><div class="details" id="dRotatingTool"><p>This tool allows the user to rotate the <a href="symbols/Part.html#rotateObject" class="linkProperty">Part.rotateObject</a> of the selected <a href="symbols/Part.html" class="linkConstructor">Part</a>.The <a href="symbols/Part.html" class="linkConstructor">Part</a> must be <a href="symbols/Part.html#rotatable" class="linkProperty">Part.rotatable</a>, which is false by default.Normally this works with <a href="symbols/Part.html" class="linkConstructor">Part</a>s or <a href="symbols/Node.html" class="linkConstructor">Node</a>s; it does not make sense for whole <a href="symbols/Link.html" class="linkConstructor">Link</a>sor <a href="symbols/Link.html#path" class="linkProperty">Link.path</a>s, so if you want to rotate a label on a Link, make sure to name that labeland refer to it as the <a href="symbols/Part.html#rotateObjectName" class="linkProperty">Part.rotateObjectName</a>.<p>You can limit the permitted angles by setting #snapAngleMultiple and #snapAngleEpsilon.For example, if you want to permit only angles that are multiples of 90 degrees,set #snapAngleMultiple to 90 and #snapAngleEpsilon to 45. Pressing the Shift key ignores these properties.<p>This tool makes use of an <a href="symbols/Adornment.html" class="linkConstructor">Adornment</a> that includes a rotation handle.It is shown when the selected <a href="symbols/Part.html" class="linkConstructor">Part</a> is <a href="symbols/Part.html#rotatable" class="linkProperty">Part.rotatable</a>.The rotate handle is normally a copy of <a href="symbols/RotatingTool.html#handleArchetype" class="linkProperty">RotatingTool.handleArchetype</a>.unless you specify a custom rotate Adornment by setting <a href="symbols/Part.html#rotateAdornmentTemplate" class="linkProperty">Part.rotateAdornmentTemplate</a>.<p>This tool conducts a transaction while the tool is active.A successful rotation will result in a "PartRotated" <a href="symbols/DiagramEvent.html" class="linkConstructor">DiagramEvent</a> and a "Rotating" transaction.<p class="boxread">For customizing the RotatingTool, see <a href="../../intro/tools.html#RotatingTool">Introduction to the RotatingTool</a>.</div></div>

<div><h2><a href="symbols/RowColumnDefinition.html" class="linkConstructor">RowColumnDefinition</a></h2><p>The RowColumnDefinition class describes constraints on a row or a columnin a <a href="symbols/Panel.html" class="linkConstructor">Panel</a> of type <a href="symbols/Panel.html#Table" class="linkConstant">Panel.Table</a>.<span class="nodetails" id="xRowColumnDefinition"><a class="morelink" onclick="hst('RowColumnDefinition')">More...</a></span> <span class="details" id="RowColumnDefinition">It also provides information about the actual layout after theTable Panel has been arranged.</span></div>

Expand Down
2 changes: 1 addition & 1 deletion api/symbols/ActionTool.html
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@
<div id="contentBody" class="col-md-10">
<!-- ============================== header ================================= -->
<div id="header" class="fineprint mt30">
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.18 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.19 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
</div>

<!-- ============================== class title ============================ -->
Expand Down
2 changes: 1 addition & 1 deletion api/symbols/Adornment.html
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@
<div id="contentBody" class="col-md-10">
<!-- ============================== header ================================= -->
<div id="header" class="fineprint mt30">
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.18 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.19 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
</div>

<!-- ============================== class title ============================ -->
Expand Down
2 changes: 1 addition & 1 deletion api/symbols/AnimationManager.html
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@
<div id="contentBody" class="col-md-10">
<!-- ============================== header ================================= -->
<div id="header" class="fineprint mt30">
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.18 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.19 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
</div>

<!-- ============================== class title ============================ -->
Expand Down
2 changes: 1 addition & 1 deletion api/symbols/Binding.html
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@
<div id="contentBody" class="col-md-10">
<!-- ============================== header ================================= -->
<div id="header" class="fineprint mt30">
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.18 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.19 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
</div>

<!-- ============================== class title ============================ -->
Expand Down
2 changes: 1 addition & 1 deletion api/symbols/Brush.html
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@
<div id="contentBody" class="col-md-10">
<!-- ============================== header ================================= -->
<div id="header" class="fineprint mt30">
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.18 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.19 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
</div>

<!-- ============================== class title ============================ -->
Expand Down
2 changes: 1 addition & 1 deletion api/symbols/ChangedEvent.html
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@
<div id="contentBody" class="col-md-10">
<!-- ============================== header ================================= -->
<div id="header" class="fineprint mt30">
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.18 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.19 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
</div>

<!-- ============================== class title ============================ -->
Expand Down
2 changes: 1 addition & 1 deletion api/symbols/CircularEdge.html
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@
<div id="contentBody" class="col-md-10">
<!-- ============================== header ================================= -->
<div id="header" class="fineprint mt30">
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.18 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.19 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
</div>

<!-- ============================== class title ============================ -->
Expand Down
2 changes: 1 addition & 1 deletion api/symbols/CircularLayout.html
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@
<div id="contentBody" class="col-md-10">
<!-- ============================== header ================================= -->
<div id="header" class="fineprint mt30">
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.18 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.19 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
</div>

<!-- ============================== class title ============================ -->
Expand Down
2 changes: 1 addition & 1 deletion api/symbols/CircularVertex.html
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@
<div id="contentBody" class="col-md-10">
<!-- ============================== header ================================= -->
<div id="header" class="fineprint mt30">
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.18 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.19 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
</div>

<!-- ============================== class title ============================ -->
Expand Down
2 changes: 1 addition & 1 deletion api/symbols/ClickCreatingTool.html
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@
<div id="contentBody" class="col-md-10">
<!-- ============================== header ================================= -->
<div id="header" class="fineprint mt30">
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.18 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.19 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
</div>

<!-- ============================== class title ============================ -->
Expand Down
2 changes: 1 addition & 1 deletion api/symbols/ClickSelectingTool.html
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@
<div id="contentBody" class="col-md-10">
<!-- ============================== header ================================= -->
<div id="header" class="fineprint mt30">
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.18 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.19 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
</div>

<!-- ============================== class title ============================ -->
Expand Down
2 changes: 1 addition & 1 deletion api/symbols/CommandHandler.html
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@
<div id="contentBody" class="col-md-10">
<!-- ============================== header ================================= -->
<div id="header" class="fineprint mt30">
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.18 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.19 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
</div>

<!-- ============================== class title ============================ -->
Expand Down
2 changes: 1 addition & 1 deletion api/symbols/ContextMenuTool.html
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@
<div id="contentBody" class="col-md-10">
<!-- ============================== header ================================= -->
<div id="header" class="fineprint mt30">
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.18 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.19 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
</div>

<!-- ============================== class title ============================ -->
Expand Down
2 changes: 1 addition & 1 deletion api/symbols/Diagram.html
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@
<div id="contentBody" class="col-md-10">
<!-- ============================== header ================================= -->
<div id="header" class="fineprint mt30">
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.18 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
<b>GoJS</b>&reg; Diagramming Components<br/>version 1.7.19 for JavaScript/HTML<br/>by <a href="https://www.nwoods.com/">Northwoods Software&reg;</a>
</div>

<!-- ============================== class title ============================ -->
Expand Down
Loading

0 comments on commit f51b125

Please sign in to comment.