@neo4j-nvl/base 0.3.6-1ae09e5c → 0.3.6-2761ef48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +112 -0
- package/README.md +1 -0
- package/dist/base.mjs +1 -1
- package/dist/types/index.d.ts +4 -2
- package/dist/types/layouts/animatedlayout/AnimatedLayout.d.ts +1 -1
- package/dist/types/layouts/forcedirectedlayout/cosebilkentlayout/CoseBilkentLayout.d.ts +2 -2
- package/dist/types/layouts/forcedirectedlayout/physlayout/PhysLayout.d.ts +1 -1
- package/dist/types/layouts/freeLayout/FreeLayout.d.ts +1 -1
- package/dist/types/layouts/hierarchicallayout/HierarchicalLayout.d.ts +2 -2
- package/dist/types/layouts/hierarchicallayout/constants.d.ts +1 -1
- package/dist/types/modules/NvlController.d.ts +2 -1
- package/dist/types/modules/ZoomTransitionHandler.d.ts +1 -1
- package/dist/types/modules/state/constants.d.ts +9 -0
- package/dist/types/modules/state/state.d.ts +8 -0
- package/dist/types/modules/{state.d.ts → state/types.d.ts} +64 -15
- package/dist/types/modules/state/utils.d.ts +44 -0
- package/dist/types/modules/state/utils.test.d.ts +1 -0
- package/dist/types/renderers/canvasrenderer/CanvasRenderer.d.ts +2 -1
- package/dist/types/renderers/canvasrenderer/arrows/arrows.d.ts +8 -5
- package/dist/types/renderers/canvasrenderer/arrows/constants.d.ts +1 -6
- package/dist/types/renderers/canvasrenderer/nodes/nodes.d.ts +3 -2
- package/dist/types/renderers/canvasrenderer/util.d.ts +2 -2
- package/dist/types/renderers/canvasrenderer/wordwrap.d.ts +1 -1
- package/dist/types/renderers/webglrenderer/Controller.d.ts +1 -1
- package/dist/types/renderers/webglrenderer/Renderer.d.ts +1 -1
- package/dist/types/renderers/webglrenderer/node-fragment-point.d.ts +1 -1
- package/dist/types/renderers/webglrenderer/node-vertex-point.d.ts +1 -1
- package/dist/types/renderers/webglrenderer/viewport-box-fragment.d.ts +1 -1
- package/dist/types/renderers/webglrenderer/viewport-box-vertex.d.ts +1 -1
- package/dist/types/utils/ariaUtils.d.ts +3 -0
- package/dist/types/utils/ariaUtils.test.d.ts +1 -0
- package/dist/types/utils/colorUtils.d.ts +14 -0
- package/dist/types/utils/colorUtils.test.d.ts +1 -0
- package/dist/types/utils/constants.d.ts +9 -2
- package/dist/types/utils/graphObjectUtils.d.ts +2 -1
- package/dist/types/utils/hittest.d.ts +1 -1
- package/dist/types/utils/webWorkerUtils.d.ts +3 -0
- package/dist/types/utils/webWorkerUtils.test.d.ts +1 -0
- package/package.json +4 -4
- package/dist/types/utils/colorMapperFunctions.d.ts +0 -6
- /package/dist/types/modules/{state.test.d.ts → state/state.test.d.ts} +0 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to NVL will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
4
|
+
|
|
5
|
+
## [0.3.6] - 2025-02-21
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- result transformer for the Neo4j JavaScript Driver
|
|
10
|
+
- option to disable transition when fitting nodes
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- lasso handler issues during initialization
|
|
15
|
+
|
|
16
|
+
## [0.3.5] - 2025-02-20
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Change default value for renderer to canvas
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- Self-referring relationship overlay icon rotation position issue
|
|
25
|
+
- Invalid lasso area calculation when segment from first to last point intersects
|
|
26
|
+
|
|
27
|
+
## [0.3.4] - 2025-02-19
|
|
28
|
+
|
|
29
|
+
### Added
|
|
30
|
+
|
|
31
|
+
- NVL's API documentation and examples on [neo4j.com/docs/api/nvl/current](http://neo4j.com/docs/api/nvl/current).
|
|
32
|
+
- A fallback implementation for web workers when they aren't avilable in the current environment.
|
|
33
|
+
- A new onDrawStarted callback for the draw interaction handler
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
|
|
37
|
+
- Issues with lasso shape when parts of it are close to each other
|
|
38
|
+
- NVL crash when sometimes position map and nodeToBundle are out of sync
|
|
39
|
+
|
|
40
|
+
## [0.3.3] - 2025-02-18
|
|
41
|
+
|
|
42
|
+
### Fixed
|
|
43
|
+
|
|
44
|
+
- Move Segment dependency from dev dependencies
|
|
45
|
+
- Ensure workspace version references point to exact version
|
|
46
|
+
|
|
47
|
+
## [0.3.2] - 2025-02-17
|
|
48
|
+
|
|
49
|
+
### Added
|
|
50
|
+
|
|
51
|
+
- Telemetry
|
|
52
|
+
- Examples in API documentation
|
|
53
|
+
- More information in package.json files
|
|
54
|
+
- Overlay icons for nodes and relationships
|
|
55
|
+
- Links to documentation websites in readme
|
|
56
|
+
|
|
57
|
+
### Fixed
|
|
58
|
+
|
|
59
|
+
- Fixed zoom to fit for self relationships
|
|
60
|
+
- Aalign selected border color
|
|
61
|
+
- Issues with WebGL error propagation
|
|
62
|
+
- Issue with key captures on mouse click in draw-interactions
|
|
63
|
+
- Zoom to fit finishing too early
|
|
64
|
+
- Improve imagecache error handling
|
|
65
|
+
- Minimap viewport box not rendering
|
|
66
|
+
|
|
67
|
+
## [0.3.1] - 2025-02-16
|
|
68
|
+
|
|
69
|
+
### Added
|
|
70
|
+
|
|
71
|
+
- Expose callback types through interactive react wrapper
|
|
72
|
+
- Feature/adv interaction fw drag callbacks amendments
|
|
73
|
+
- Add lasso select interaction module
|
|
74
|
+
- Configurable node ring styles
|
|
75
|
+
- Support React concurrent mode in React wrappers
|
|
76
|
+
- `renderer` and `setRenderer` API option and method
|
|
77
|
+
|
|
78
|
+
### Deprecated
|
|
79
|
+
|
|
80
|
+
- `useWebGL` and `setUseWebGL` (use `renderer` and `setRenderer` instead).
|
|
81
|
+
|
|
82
|
+
### Changed
|
|
83
|
+
|
|
84
|
+
- Core library is now named "base" library
|
|
85
|
+
- Base library is being bundled with Webpack before being published
|
|
86
|
+
- All packages are published publicly
|
|
87
|
+
- Refactor rel validation method to improve performance
|
|
88
|
+
- Convert layout web workers to shared workers
|
|
89
|
+
- Don't check for WebGL availability if WebGL is disabled by NVL option
|
|
90
|
+
|
|
91
|
+
### Removed
|
|
92
|
+
|
|
93
|
+
- Chore/remove deprecated elements
|
|
94
|
+
|
|
95
|
+
### Fixed
|
|
96
|
+
|
|
97
|
+
- Wrong directions in a relationship bundle
|
|
98
|
+
- Issues with node and relationship id handling when strings are not numeric
|
|
99
|
+
- Zoom/pan jitter removal
|
|
100
|
+
- Ensure all interaction handlers return mouse events
|
|
101
|
+
- Cytoscape behaviour fixes
|
|
102
|
+
- Drag triggers too early
|
|
103
|
+
- Fix issue where right clicking sometime also triggers mouseup event
|
|
104
|
+
- Issues in dynamic zoom boundaries
|
|
105
|
+
- Don't trigger panning when mouse down was outside of NVL
|
|
106
|
+
- Only register callbacks if provided
|
|
107
|
+
- Ensure fit operation does not keep going on when zoom limit is reached
|
|
108
|
+
- Only update hover effect of elements when graph is not empty
|
|
109
|
+
- Ensure zoom to fit continues if panning has not finished yet
|
|
110
|
+
- Improve html overlay scaling
|
|
111
|
+
- Ensure Webgl context is released when NVL instance is destroyed
|
|
112
|
+
- Emoji in captions
|
package/README.md
CHANGED
|
@@ -44,3 +44,4 @@ In order to improve the library we are collecting some information about the usa
|
|
|
44
44
|
|
|
45
45
|
- NVL documentation: https://neo4j.com/docs/nvl/current/
|
|
46
46
|
- NVL API docs: https://neo4j.com/docs/api/nvl/current/
|
|
47
|
+
- NVL code examples: https://neo4j.com/docs/api/nvl/current/examples.html
|