Repository navigation
Tags
Tags
2.1.19 Changes for 2.1.19 - Fixed changing Placeholder.padding to remeasure its Group or Adornment. - Fixed Diagram.initialPosition and Diagram.initialScale sometimes not showing scrollbars on initialization. - Fixed not recording a transaction that was empty until a "CommittingTransaction" Transaction-type ChangedEvent caused some ChangedEvents to made, a regression from 2.1.16.
2.1.18 Changes for 2.1.18 - Added the Belts and Rollers sample, showing belts or chains wending around rollers or gears. -Fixed finding a node by key after undoing a call to Model.setKeyForNodeData. - Fixed Diagram initialization without DIVs or with delayed initialization, where setting some properties like Diagram.scaleComputation would cause measuring errors. - Improved handling of numeric large arc flag values when creating SVG arc PathSegments via PathSegment.constructor. - Fixed the TypeScript declaration for GraphObject.make to handle AnimationTriggers.
2.1.17 Changes for 2.1.17 * Added the Radial Adornment Buttons sample, showing a selection Adornment, only on one node, that is like a context menu with buttons arranged in a circle around the selected node. * Added the Donut Charts sample, showing a simple circular bar chart in each node. * Fixed exporting the Picture.reloadSource and Picture.redraw methods. * Fixed the LinkingBaseTool.temporaryFromPort and LinkingBaseTool.temporaryToPort property setters to replace the port of the corresponding temporary node. This allows customization of a LinkingTool by setting either or both of those two properties. * Fixed Diagram.makeImage with a Picture SVG data URI source, in the same manner as in 2.1.16. * Fixed undo of a Shape.geometry setting, after its GraphObject.desiredSize had been set. This particular sequence of events was discovered in the use of the GeometryReshapingTool extension.
2.1.16 Changes for 2.1.16 - Fixed Diagram.makeImage when a Picture has an SVG source that has a different size than its viewbox. In some browsers the SVGs had been drawn with the incorrect aspect ratio. - Fixed Diagram.delayInitialization incorrectly resetting the Diagram.position when animation is enabled. - Added the Animated Focus sample, which demonstrates how to scroll to a node and really make it obvious where the node is and what it looks like. - Added the Add To Palette sample, which allows the user to add items from the palette by selecting a node, customizing it, and then executing a command to copy it to the palette's model. The user can also remove selected items from the palette via a command, even though Palette.isReadOnly is true.
2.1.15 Changes for 2.1.15 - Added the Single Page Diagram sample, demonstrating how to show a sheet of paper behind the diagram and how to limit dragging and resizing to stay within the margins of the page. - Fixed a bug where label TextBlocks in Graduated Panels were not respecting their assigned GraphObject.angle. The angle will now be used when the label's GraphObject.segmentOrientation is Link.None, Link.OrientAlong, or Link.OrientUpright. - Fixed a bug with expand and collapse animations, where collapsed objects would temporarily receive NaN locations.
2.1.14 Changes for 2.1.14 - Added the Simple Block Editor sample, demonstrating how to let users easily build block diagrams. - Changing Link.fromShortLength or Link.toShortLength no longer invalidates the link's route. - Improved the corner curves of orthogonal links when needing to make consecutive turns within double the corner radius. - Fixed an incorrect optimization introduced in 2.1.13 updating initial scrollbars when animating. - Fixed a bug with undo and redo of ResizingTool operations when the Part.locationSpot is not TopLeft.
2.1.13 Changes for 2.1.13 - Fixed the cursor shown during a drag in an Overview if some external HTML element changed the cursor. - Fixed Diagram.makeSvg when rendering a fill or a stroke that is translucent not to make the opacity too small. - Added wait spinners to three of the "Virtualized" samples: Virtualized, VirtualizedForceDirectedLayout, VirtualizedTreeLayout. These use an image rotated using CSS animation that is positioned in front of the Diagram.
2.1.12 #### Changes for 2.1.12 - Added the Meter and Gauge Controls sample, demonstrating several different kinds of meter and gauge instruments whose values can also be modified by the user by dragging their indicators. - Added the Production process editor sample, which edits diagrams that can be shown by the Production process sample. - Added the SnapLinkReshapingTool.avoidsNodes property.
2.1.11 Changes for 2.1.11 - Fixed "Grid" Panels to ignore the order of shapes in the panel when considering whether a larger Shape.interval shape should suppress a smaller interval shape, or should be suppressed by a larger interval shape. Changed "Grid" Panels to allow multiple shapes with the same Shape.interval to be drawn in the same orientation (horizontal or vertical). - Fixed documentation by undocumenting the useless AnimationManager.animationReasons property that was accidentally documented. See the updated documentation for AnimationManager.canStart. - Fixed a problem with Brush.isDark sometimes using an incorrect ordering of Brush.colorStops when determining darkness near the middle of a Brush.
PreviousNext