- Fix: Restore versions in package.json to last 4 Angular
- Breaking: Fix issues with load due to asynchronous node dimension handling
- Chore: Updated peer dependencies to support angular 18 and newer dependencies
- Chore: Updated documentation portal to run on Storybook
This release causes possible breaking changes to how ngx-graph displays on load. The changes should make ngx-graph load more reliably.
If you have developed in the repository previously, you may need to delete your node_modules and run yarn after updating to the latest on master. This repository switched from npm to yarn. Multiple development commands in the package.json have moved. See the README.md for an up to date reference.
- Fix: Fixes a styling issue when using ngx-graph and ngx-charts on the same page
- Chore: Updated peer dependencies to support new angular versions
-
Feature: new
ZoomOptions
gives users the ability to force update zoom to fit by omitting internal check and combining auto center to reduce chance of flicker. -
Feature:
enablePreUpdateTransform @Input
allows users to disable extra call toupdateTransform
internally, reducing chance of flicker. -
Feature:
stateChange @Output
emits changes in state, allowing users to check status of the graph. -
Feature:
hasGraphDims
,hasDims
,hasNodeDims
, andhasCompoundNodeDims
allow users to check elements have dimension. -
Chore: Update docs.
-
Bug: Update graph dimensions before zoom because sometimes they were out of sync.
-
Bug: Format README instructions.
- Bug: Position was offset by default (#539)
- Feature:
centerNodesOnPositionChange
Input when set tofalse
will ignore dimensions when positioning nodes. Default is set totrue
to replicate existing behavior.
- Bug: Getting right values for edge midPoints (#511)
- Bug: When using
deferDisplayUntilPosition
compound nodes and clusters may not be displayed (#511)
- Feature: Update Angular 16 as a peer dependency (#499)
- Feature: Use
deferDisplayUntilPosition
Input to display nodes after position returned by layout (#509)
- Feature: Support Elk Compound Nodes (#502) (#506)
- Bug: Fix issues with the build (#507)
- Chore: Bump d3 dependencies (#477)
- Bug: Fix an issue where fixing a node position would not work (#463)
- Chore: Add angular 14 as a peer dependency
- Chore: Add rxjs 7 as a peer dependency
- Chore: Bump msagl tp 0.0.51 and update msagl layout
- Chore; Upgrade to angular 13
- Breaking: Remove dependency on ngx-charts (removes the
legend
input) (#363) - Chore: Update angular to 11
- Chore: Update angular to 10.1
- Bug: Fix center and fit to screen functionality
- Chore: Remove console.log
- Feature: Add Minimap (#324)
- Bug: Remove extra call to update() on initial render (#303)
- Chore: update dependecies
- Bug: Fix pan to node (#288)
- Bug: Set min and max zoom incase zoom is out of bounce and remove EmptyError (#297)
- Chore: Update angular to 9.1
- Enhancement: Implement animation of cluster nodes (#234)
- Enhancement: Support in track pad navigation instead of zoom (#241)
- Bug: Update events in mouse wheel directive (#232)
- Enhancement: Support in output click handler for graph clicks (#229)
- Bug: Fix error when using fullTemplateTypeCheck (#237)
- Docs: Fix custom curve demo
- Enhancement: Update dependencies to Angular 8 (#211)
- Bug: Fix issue with wrong transformation matrix calculated when nodes list is empty (#196)
- Bug: Update midpoint UI to be updated on drag + update org tree example with mid point UI (#202)
- Bug: Add parameter check for update mid point function (#209)
- Docs: add a custom curve demo + create demo components folder (#198)
- Chore: Added panning enum, enforced types and updated docs (#195)
- Fix: Added readme and licence files to npm package
- Breaking: Changed the data format, removed inputs. Please refer to the docs to see what the newly available inputs are.
- Feature: Added support for different layouts, as well as custom layouts
- Feature: Improved animations
- Feature: Added support for clusters
- Feature: Support multiple links between two nodes (#159)
- Enhancement: Update layout to spread orphan nodes in a grid (#161)
- Bug: Fix pan on zoom (#157)
- Bug: Fix flickering problem with the link data UI. (#160)
- Bug: Fixes issue where the node width is ignored when setting a custom width (#151)
- Feature: Adding ability to have custom width and height per each node. (#148)
- Feature: Adds zoomChange output (#141)
- Feature: Adds dagre layout options input (#146)
- Enhancement: Calculates biggest bounding box of tall text fields in node (#84)
- Bug: Fixes issue not being able to zoom if the current zoom goes out of the min/max zoom range (#146)
- Fix: Restore the HTML content inside the component (#140)
- Add new user template in order to show UI data on the link (#138)
- Feature: Adds zoom to node functionality (#133)
- Bug: Fixes panning to a location and centering the graph
- Chore: Update dependencies
- Bug: TouchEvent not defined in dev mode for non-Chrome browsers (#99)
- Feature: Allow panning on touch events (#86)
- Bug: Fix panning speed (#88)
- Chore: Update dagre version
- Chore: Upgrade to Angular 6
- Feature: Add update$, center$, and zoomToFit$ inputs
- Feature: Add autoCenter and autoZoom inputs (#51)
- Feature: Allow enable/disable zooming (#64)
- Feature: Pan to cursor on zoom (#53)
- Docs: Use ng-template instead of template (#48)
- Fix: Error in Firefox when trying to render diagram when it is hidden
- Fix: Fix build for AOT projects.
- Breaking: Renamed the npm package to
@swimlane/ngx-graph
- Breaking: Renamed the module to
NgxGraph
- Breaking: Renamed the component selector to
ngx-graph
- Docs: Updated readme