Major and minor changes are logged here.
- Make
zoomextent configurable. - Update
README.md.
- Added
node.coloroption. - Update
README.md
- Change
updatebehavior. Nowdatais not mandatory. It can pass data asnulland will just update options.
- Added
node.onDragevent listener option.
- Added
windowresize event ,and recalculate default simulation when window resizes and custom simulation is not provided. - Added
events.onResizeandevents.onZoomoptions. - Added
node.labelColorandnode.labelFontSizeoption.
- adjust tooltip scale when zoom is triggered.
- fix option
radiusnot updated whenupdatemethod is called.
- add condition to check if 'zoom' enable or not.
- fix typo - replace "||" with "??".
- rename option parameter "stroke" to "border".
- rename option parameter "strokeWidth" to "borderWidth".
- remove dist folder when publishing to npm and thus use "github" raw file instead of cdn link.
New Features
-
added option "link.width" to change link width.
-
It enables the chart to zoom in/out using mouse or touch actions