Skip to content

Releases: NorthwoodsSoftware/GoJS

1.5.10

14 Oct 16:08
Compare
Choose a tag to compare

Changes for 1.5.10

  • Fixed the way PathSegment.Arcs are calculated and approximated. This will change computed bounds and hit-testing, which now correctly reflect drawn arcs, but the bounds changes may cause incompatibilities in apps that depend on the old approximations.

1.5.9

30 Sep 19:52
Compare
Choose a tag to compare

Changes for 1.5.9

  • Fixed an undo/redo bug with Part.location and GraphObject.position.
  • Fixed Picture optimizations to work with Picture.sourceRect
  • Fixed the TextEditingTool inserting newlines into TextBlocks with TextBlock.isMultiLine set to false, when a validation function was present.

1.5.8

17 Sep 19:20
Compare
Choose a tag to compare

Changes for 1.5.8

  • Improved the TypeScript definition file, goJS.d.ts, fixing some typos, changing some Object types to be any for easier usage.
  • Fixed DraggingTool when DraggingTool.dragsLink is true and when dragging a Link to respect LinkingBaseTool.isValidLink on the RelinkingTool.
  • Fixed TextBlock rendering in some ellipses cases.

1.5.7

31 Aug 19:40
Compare
Choose a tag to compare

Changes for 1.5.7

  • Added an Introduction page just for Changed Events.
  • Fixed Iterator.next to continue returning false once it has already returned false.
  • Overviews now respect Layer.opacity
  • Successive calls to CommandHandler.editTextBlock now correctly switch the TextBlock.

1.5.6

21 Aug 17:12
Compare
Choose a tag to compare

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

05 Aug 16:59
Compare
Choose a tag to compare

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

30 Jul 20:34
Compare
Choose a tag to compare

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

16 Jul 18:04
Compare
Choose a tag to compare

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

08 Jul 20:19
Compare
Choose a tag to compare

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

06 Jul 19:59
Compare
Choose a tag to compare

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).