Releases: NorthwoodsSoftware/GoJS
Releases · NorthwoodsSoftware/GoJS
1.5.6
Changes for 1.5.6
- Changed default behavior of LayoutNetwork.commitLayout to call LayoutVertex.commit on each vertex in the layout. Previous behavior was to do nothing, but all predefined layouts that used LayoutNetwork already had overrides of this method. The new behavior is convenient for the implementation of simple custom Layouts that use networks. The new behavior does not affect custom layouts that do not use networks.
- Fixed GraphObject.getDocumentAngle sometimes returning 0 when it should return 180.
- Fixed text rendering when both TextBlock.isUnderline and TextBlock.isStrikethrough are true with all values of TextBlock.textAlign.
- Fixed export of LinkReshapingTool.setReshapingBehavior and LinkReshapingTool.getReshapingBehavior.
- Fixed Model.fromJson reading solid color Brushes, when they are not just strings.
1.5.5
Changes for 1.5.5
- Added the CheckBoxes sample, demonstrating how to define a "check box" and how to customize them.
- Added the static method GraphObject.takeBuilderArgument, for use by GraphObject.defineBuilder functions for more easily retrieving builder arguments from the arguments passed to GraphObject.make.
- Added the definitions of the predefined arrowheads to the Arrowheads.js file in the Extensions directory. The predefined arrowheads are still predefined, so you will not need to load this file in order to have those definitions. This file provides information about how each arrowhead is defined, so that you can customize them or copy-and-adapt them.
- Fixed TextBlock.isStrikethrough to work with all values of TextBlock.textAlign.
- Adding a Part is now undoable if its layer has changed without notifying the undo manager, such as with a "layerName":"isSelected" binding.
- Fixed Geometry.scale and Geometry.rotate of PathSegments that are arcs.
1.5.4
Changes for 1.5.4
- Added the Realtime Drag Selecting Tool sample, with the RealtimeDragSelectingTool defined in the RealtimeDragSelectingTool.js in the Extensions directory.
- Added the Hover Buttons sample, demonstrating how an Adornment can be used to show buttons for a node when the mouse is briefly motionless over the node.
- Added the Spiral Layout sample, with the SpiralLayout defined in the SpiralLayout.js file in the Extensions directory.
- Fixed ContextMenuTool so that any click events (Tool.standardMouseClick) in the ContextMenuTool.currentContextMenuoccur on mouse-up, not mouse-down.
1.5.3
Changes for 1.5.3
- The transaction name argument to UndoManager.commitTransaction (or Model.commitTransaction or Diagram.commitTransaction) is now optional, and defaults to the name given at the time of the call to UndoManager.startTransaction.
- The Backspace (Windows) or Delete (Mac) key now invokes CommandHandler.deleteSelection just like the Delete (Windows) or Delete-Forward (Mac) key already does.
1.5.2
Changes for 1.5.2
- Updated the TypeScript definition file, goJS.d.ts, to TypeScript version 1.4.
- Fixed Brush constructor in Debug mode improperly raising error about string argument not being a valid color string.
- Fixed a cross-origin error when using Diagram.makeImageData with SVG images in Internet Explorer.
1.5.1
Changes for 1.5.1:
Added the Kanban Board sample, derived from the Swim Lanes (vertical) sample.
Fixed scrollbar clicking on touch-enabled devices in Chrome on Windows.
More graceful handling of Picture1 image errors.
Fixed bugs with undo of changed state inside Parts whose Part.category was later changed.
Stopped touch events from always calling preventDefault (touch events were impossible to bubble).
1.5.0
1.5.0 is now the latest release of GoJS, with many new samples and features.
1.4.27
Changes for 1.4.27
Fixed TextBlock ellipses when using TextBlock.maxLines