You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1093,9 +1093,9 @@ <h1 class="classTitle">GoJS Class Index</h1>
1093
1093
1094
1094
<div><h2><ahref="symbols/RelinkingTool.html" class="linkConstructor">RelinkingTool</a></h2>The RelinkingTool allows the user to reconnect an existing <ahref="symbols/Link.html" class="linkConstructor">Link</a>if the <ahref="symbols/Link.html#relinkableTo" class="linkProperty">Link.relinkableTo</a> and/or <ahref="symbols/Link.html#relinkableFrom" class="linkProperty">Link.relinkableFrom</a> properties are true.<spanclass="nodetails" id="xRelinkingTool"><aonclick="hst('RelinkingTool')"> More...</a></span><spanclass="details" id="RelinkingTool"><pclass="boxread">For a general discussion of validation, see <ahref="../../intro/validation.html">Introduction to Validation</a>.<p>By default an instance of this tool is installed as a mouse-down tool in the<ahref="symbols/Diagram.html#toolManager" class="linkProperty">Diagram.toolManager</a> as the <ahref="symbols/ToolManager.html#relinkingTool" class="linkProperty">ToolManager.relinkingTool</a>.<p>This tool makes use of two <ahref="symbols/Adornment.html" class="linkConstructor">Adornment</a>s,each including a relink handle (potentially one for each end of the link),shown when a link is selected.<p>This tool conducts a transaction while the tool is active.A successful relinking will result in a "LinkRelinked" <ahref="symbols/DiagramEvent.html" class="linkConstructor">DiagramEvent</a> and a "Relinking" transaction.</div>
1095
1095
1096
-
<div><h2><ahref="symbols/ResizingTool.html" class="linkConstructor">ResizingTool</a></h2>The ResizingTool is used to interactively change the size of a <ahref="symbols/GraphObject.html" class="linkConstructor">GraphObject</a>in the selected <ahref="symbols/Part.html" class="linkConstructor">Part</a> or <ahref="symbols/Node.html" class="linkConstructor">Node</a> by setting its <ahref="symbols/GraphObject.html#desiredSize" class="linkProperty">GraphObject.desiredSize</a> property.<spanclass="nodetails" id="xResizingTool"><aonclick="hst('ResizingTool')"> More...</a></span><spanclass="details" id="ResizingTool">You may want to save the size to the model by using a TwoWay <ahref="symbols/Binding.html" class="linkConstructor">Binding</a> on the "desiredSize" propertyof the GraphObject that is named by <ahref="symbols/Part.html#resizeObjectName" class="linkProperty">Part.resizeObjectName</a>.This tool does not operate on <ahref="symbols/Link.html" class="linkConstructor">Link</a>s.<p>You can limit the permitted minimum and maximum dimensions by setting#minSize and #maxSize.The resizing will also respect the <ahref="symbols/GraphObject.html#minSize" class="linkProperty">GraphObject.minSize</a> and<ahref="symbols/GraphObject.html#maxSize" class="linkProperty">GraphObject.maxSize</a> properties.Width or height values that are NaN do not constrain the resizing.<p>You can also limit the width and/or height to be multiples of a particular size bysetting <ahref="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.<p>If either or both of the width and height are still NaN,and if <ahref="symbols/DraggingTool.html#isGridSnapEnabled" class="linkProperty">DraggingTool.isGridSnapEnabled</a> is true,it will use the <ahref="symbols/DraggingTool.html#gridSnapCellSize" class="linkProperty">DraggingTool.gridSnapCellSize</a>.Finally it will consider the <ahref="symbols/Diagram.html#grid" class="linkProperty">Diagram.grid</a>'s <ahref="symbols/Panel.html#gridCellSize" class="linkProperty">Panel.gridCellSize</a>if #isGridSnapEnabled is true.<p>This tool makes use of an <ahref="symbols/Adornment.html" class="linkConstructor">Adornment</a>, shown when the <ahref="symbols/Part.html" class="linkConstructor">Part</a> or <ahref="symbols/Node.html" class="linkConstructor">Node</a> is selected,that includes some number of resize handles.The resize handles are normally copies of <ahref="symbols/ResizingTool.html#handleArchetype" class="linkProperty">ResizingTool.handleArchetype</a>,unless you specify a custom resize Adornment by setting <ahref="symbols/Part.html#resizeAdornmentTemplate" class="linkProperty">Part.resizeAdornmentTemplate</a>.<p>This tool conducts a transaction while the tool is active.A successful resizing will result in a "PartResized" <ahref="symbols/DiagramEvent.html" class="linkConstructor">DiagramEvent</a> and a "Resizing" transaction.</div>
1096
+
<div><h2><ahref="symbols/ResizingTool.html" class="linkConstructor">ResizingTool</a></h2>The ResizingTool is used to interactively change the size of a <ahref="symbols/GraphObject.html" class="linkConstructor">GraphObject</a>in the selected <ahref="symbols/Part.html" class="linkConstructor">Part</a> or <ahref="symbols/Node.html" class="linkConstructor">Node</a> by setting its <ahref="symbols/GraphObject.html#desiredSize" class="linkProperty">GraphObject.desiredSize</a> property.<spanclass="nodetails" id="xResizingTool"><aonclick="hst('ResizingTool')"> More...</a></span><spanclass="details" id="ResizingTool">You may want to save the size to the model by using a TwoWay <ahref="symbols/Binding.html" class="linkConstructor">Binding</a> on the "desiredSize" propertyof the GraphObject that is named by <ahref="symbols/Part.html#resizeObjectName" class="linkProperty">Part.resizeObjectName</a>.This tool does not operate on <ahref="symbols/Link.html" class="linkConstructor">Link</a>s.<p>You can limit the permitted minimum and maximum dimensions by setting#minSize and #maxSize.The resizing will also respect the <ahref="symbols/GraphObject.html#minSize" class="linkProperty">GraphObject.minSize</a> and<ahref="symbols/GraphObject.html#maxSize" class="linkProperty">GraphObject.maxSize</a> properties.Width or height values that are NaN do not constrain the resizing.<p>You can also limit the width and/or height to be multiples of a particular size bysetting <ahref="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.<p>If either or both of the width and height are still NaN,and if <ahref="symbols/DraggingTool.html#isGridSnapEnabled" class="linkProperty">DraggingTool.isGridSnapEnabled</a> is true,it will use the <ahref="symbols/DraggingTool.html#gridSnapCellSize" class="linkProperty">DraggingTool.gridSnapCellSize</a>.Finally it will consider the <ahref="symbols/Diagram.html#grid" class="linkProperty">Diagram.grid</a>'s <ahref="symbols/Panel.html#gridCellSize" class="linkProperty">Panel.gridCellSize</a>if #isGridSnapEnabled is true.<p>Pressing the Shift key or resizing a <ahref="symbols/Shape.html" class="linkConstructor">Shape</a> with a <ahref="symbols/Shape.html#geometryStretch" class="linkProperty">Shape.geometryStretch</a> of<ahref="symbols/GraphObject.html#Uniform" class="linkConstant">GraphObject.Uniform</a> or <ahref="symbols/GraphObject.html#UniformToFill" class="linkConstant">GraphObject.UniformToFill</a> will maintain the aspect ratio during the resize.<p>This tool makes use of an <ahref="symbols/Adornment.html" class="linkConstructor">Adornment</a>, shown when the <ahref="symbols/Part.html" class="linkConstructor">Part</a> or <ahref="symbols/Node.html" class="linkConstructor">Node</a> is selected,that includes some number of resize handles.The resize handles are normally copies of <ahref="symbols/ResizingTool.html#handleArchetype" class="linkProperty">ResizingTool.handleArchetype</a>,unless you specify a custom resize Adornment by setting <ahref="symbols/Part.html#resizeAdornmentTemplate" class="linkProperty">Part.resizeAdornmentTemplate</a>.<p>This tool conducts a transaction while the tool is active.A successful resizing will result in a "PartResized" <ahref="symbols/DiagramEvent.html" class="linkConstructor">DiagramEvent</a> and a "Resizing" transaction.</div>
1097
1097
1098
-
<div><h2><ahref="symbols/RotatingTool.html" class="linkConstructor">RotatingTool</a></h2>The RotatingTool is used to interactively change the <ahref="symbols/GraphObject.html#angle" class="linkProperty">GraphObject.angle</a> of a <ahref="symbols/GraphObject.html" class="linkConstructor">GraphObject</a>by setting its <ahref="symbols/GraphObject.html#angle" class="linkProperty">GraphObject.angle</a> property.<spanclass="nodetails" id="xRotatingTool"><aonclick="hst('RotatingTool')"> More...</a></span><spanclass="details" id="RotatingTool">You may want to save the angle to the model by using a TwoWay <ahref="symbols/Binding.html" class="linkConstructor">Binding</a> on the "angle" propertyof the GraphObject that is named by <ahref="symbols/Part.html#rotateObjectName" class="linkProperty">Part.rotateObjectName</a>.<p>This tool allows the user to rotate the <ahref="symbols/Part.html#rotateObject" class="linkProperty">Part.rotateObject</a> of the selected <ahref="symbols/Part.html" class="linkConstructor">Part</a>.Normally this works with <ahref="symbols/Part.html" class="linkConstructor">Part</a>s or <ahref="symbols/Node.html" class="linkConstructor">Node</a>s; it does not make sense for <ahref="symbols/Link.html" class="linkConstructor">Link</a>s.The <ahref="symbols/Part.html" class="linkConstructor">Part</a> must be <ahref="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.<p>This tool makes use of an <ahref="symbols/Adornment.html" class="linkConstructor">Adornment</a> that includes a rotation handle.It is shown when the selected <ahref="symbols/Part.html" class="linkConstructor">Part</a> is <ahref="symbols/Part.html#rotatable" class="linkProperty">Part.rotatable</a>.The rotate handle is normally a copy of <ahref="symbols/RotatingTool.html#handleArchetype" class="linkProperty">RotatingTool.handleArchetype</a>.unless you specify a custom rotate Adornment by setting <ahref="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" <ahref="symbols/DiagramEvent.html" class="linkConstructor">DiagramEvent</a> and a "Rotating" transaction.</div>
1098
+
<div><h2><ahref="symbols/RotatingTool.html" class="linkConstructor">RotatingTool</a></h2>The RotatingTool is used to interactively change the <ahref="symbols/GraphObject.html#angle" class="linkProperty">GraphObject.angle</a> of a <ahref="symbols/GraphObject.html" class="linkConstructor">GraphObject</a>by setting its <ahref="symbols/GraphObject.html#angle" class="linkProperty">GraphObject.angle</a> property.<spanclass="nodetails" id="xRotatingTool"><aonclick="hst('RotatingTool')"> More...</a></span><spanclass="details" id="RotatingTool">You may want to save the angle to the model by using a TwoWay <ahref="symbols/Binding.html" class="linkConstructor">Binding</a> on the "angle" propertyof the GraphObject that is named by <ahref="symbols/Part.html#rotateObjectName" class="linkProperty">Part.rotateObjectName</a>.<p>This tool allows the user to rotate the <ahref="symbols/Part.html#rotateObject" class="linkProperty">Part.rotateObject</a> of the selected <ahref="symbols/Part.html" class="linkConstructor">Part</a>.Normally this works with <ahref="symbols/Part.html" class="linkConstructor">Part</a>s or <ahref="symbols/Node.html" class="linkConstructor">Node</a>s; it does not make sense for <ahref="symbols/Link.html" class="linkConstructor">Link</a>s.The <ahref="symbols/Part.html" class="linkConstructor">Part</a> must be <ahref="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 <ahref="symbols/Adornment.html" class="linkConstructor">Adornment</a> that includes a rotation handle.It is shown when the selected <ahref="symbols/Part.html" class="linkConstructor">Part</a> is <ahref="symbols/Part.html#rotatable" class="linkProperty">Part.rotatable</a>.The rotate handle is normally a copy of <ahref="symbols/RotatingTool.html#handleArchetype" class="linkProperty">RotatingTool.handleArchetype</a>.unless you specify a custom rotate Adornment by setting <ahref="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" <ahref="symbols/DiagramEvent.html" class="linkConstructor">DiagramEvent</a> and a "Rotating" transaction.</div>
1099
1099
1100
1100
<div><h2><ahref="symbols/RowColumnDefinition.html" class="linkConstructor">RowColumnDefinition</a></h2>The RowColumnDefinition class describes constraints on a row or a columnin a <ahref="symbols/Panel.html" class="linkConstructor">Panel</a> of type <ahref="symbols/Panel.html#Table" class="linkConstant">Panel.Table</a>.<spanclass="nodetails" id="xRowColumnDefinition"><aonclick="hst('RowColumnDefinition')"> More...</a></span><spanclass="details" id="RowColumnDefinition">It also provides information about the actual layout after theTable Panel has been arranged.</div>
0 commit comments