@neo4j-nvl/base
Advanced tools
Comparing version 0.3.5-a90af4f2 to 0.3.5-aa37c3bf
@@ -0,3 +1,14 @@ | ||
/*! | ||
* The buffer module from node.js, for the browser. | ||
* | ||
* @author Feross Aboukhadijeh <https://feross.org> | ||
* @license MIT | ||
*/ | ||
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ | ||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ | ||
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */ | ||
/** | ||
@@ -4,0 +15,0 @@ * @license |
@@ -10,2 +10,3 @@ import type { ExternalCallbacks } from './modules/ExternalCallbackHandler'; | ||
import type { HitTargetNode, HitTargetRelationship, HitTargets } from './utils/hittest'; | ||
import { nvlResultTransformer } from './utils/jsDriverResultTransformer'; | ||
/** | ||
@@ -189,3 +190,3 @@ * Extends the MouseEvent interface with the {@link HitTargets} property. | ||
*/ | ||
fit(nodeIds: string[], zoomOptions: NvlState['zoomOptions']): void; | ||
fit(nodeIds: string[], zoomOptions?: NvlState['zoomOptions']): void; | ||
/** | ||
@@ -368,2 +369,2 @@ * Resets the zoom of the viewport back to the default zoom level of 0.75 | ||
export type { NvlOptions, Renderer, Node, Relationship, PartialNode, PartialRelationship, Layout, LayoutOptions, ForceDirectedOptions, HierarchicalOptions, ExternalCallbacks, HitTargets, HitTargetNode, HitTargetRelationship, Point, NvlMouseEvent, ZoomOptions, StyledCaption, WebGLRendererType, CanvasRendererType }; | ||
export { NVL, colorMapperFunctions, CompatibilityError, ForceDirectedLayoutType, HierarchicalLayoutType, GridLayoutType, FreeLayoutType, d3ForceLayoutType, drawCircleBand }; | ||
export { NVL, colorMapperFunctions, CompatibilityError, ForceDirectedLayoutType, HierarchicalLayoutType, GridLayoutType, FreeLayoutType, d3ForceLayoutType, drawCircleBand, nvlResultTransformer }; |
@@ -99,3 +99,3 @@ import type { Node, Relationship } from '../types/graph-element'; | ||
setZoomAndPan(zoom: number, panX: number, panY: number): void; | ||
fit(nodeIds: string[], zoomOptions: ZoomOptions): void; | ||
fit(nodeIds: string[], zoomOptions?: ZoomOptions): void; | ||
resetZoom(): void; | ||
@@ -102,0 +102,0 @@ setRenderer(renderer: string): void; |
@@ -199,2 +199,4 @@ import type { LogLevelDesc } from 'loglevel'; | ||
maxZoom?: number; | ||
/** If true, will not animate the zoom/pan transition. */ | ||
animated?: boolean; | ||
}; | ||
@@ -201,0 +203,0 @@ export interface NvlState { |
@@ -68,5 +68,11 @@ import type { StyledCaption } from '../renderers/canvasrenderer/types'; | ||
pinned?: boolean; | ||
/** The x-coordinate for the position of the node.*/ | ||
/** | ||
* @ignore | ||
* The x-coordinate for the position of the node. | ||
*/ | ||
x?: number; | ||
/** The y-coordinate for the position of the node.*/ | ||
/** | ||
* @ignore | ||
* The y-coordinate for the position of the node. | ||
*/ | ||
y?: number; | ||
@@ -73,0 +79,0 @@ /** Whether or not the current node is activated.*/ |
{ | ||
"name": "@neo4j-nvl/base", | ||
"version": "0.3.5-a90af4f2", | ||
"version": "0.3.5-aa37c3bf", | ||
"license": "SEE LICENSE IN 'LICENSE.txt'", | ||
@@ -31,3 +31,3 @@ "homepage": "https://neo4j.com/docs/nvl/current/", | ||
"dependencies": { | ||
"@neo4j-nvl/layout-workers": "0.3.5-a90af4f2", | ||
"@neo4j-nvl/layout-workers": "0.3.5-aa37c3bf", | ||
"@segment/analytics-next": "^1.70.0", | ||
@@ -54,2 +54,3 @@ "color-string": "^1.9.1", | ||
"copy-webpack-plugin": "^11.0.0", | ||
"neo4j-driver": "^5.26.0", | ||
"typedoc": "^0.23.15", | ||
@@ -59,3 +60,6 @@ "webpack": "^5.75.0", | ||
}, | ||
"stableVersion": "0.3.5" | ||
"stableVersion": "0.3.5", | ||
"peerDependencies": { | ||
"neo4j-driver": "*" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
1208907
101
2893
14
11
+ Added@neo4j-nvl/layout-workers@0.3.5-aa37c3bf(transitive)
+ Addedbase64-js@1.5.1(transitive)
+ Addedbuffer@6.0.3(transitive)
+ Addedieee754@1.2.1(transitive)
+ Addedneo4j-driver@5.27.0(transitive)
+ Addedneo4j-driver-bolt-connection@5.27.0(transitive)
+ Addedneo4j-driver-core@5.27.0(transitive)
+ Addedrxjs@7.8.1(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedstring_decoder@1.3.0(transitive)
- Removed@neo4j-nvl/layout-workers@0.3.5-a90af4f2(transitive)