Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@neo4j-nvl/base

Package Overview
Dependencies
Maintainers
0
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neo4j-nvl/base - npm Package Compare versions

Comparing version 0.3.5-6b3df132 to 0.3.5-702bf86d

dist/types/utils/jsDriverResultTransformer.d.ts

11

dist/base.mjs.LICENSE.txt

@@ -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

5

dist/types/index.d.ts

@@ -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 };

4

dist/types/layouts/forcedirectedlayout/cosebilkentlayout/CoseBilkentLayout.d.ts

@@ -18,3 +18,3 @@ import type { NvlState } from '../../../modules/state';

pendingLayoutData: LayoutData;
worker: SharedWorker | any;
worker: SharedWorker;
constructor(config: {

@@ -25,3 +25,3 @@ state: NvlState;

});
setupWorker(): Promise<unknown>;
setupWorker(): Promise<SharedWorker>;
setOptions(): void;

@@ -28,0 +28,0 @@ update(refreshPositions?: boolean, updateMobXNodes?: Node[], updateMobXRelationships?: Relationship[]): void;

@@ -22,3 +22,3 @@ export default class SolarMerger {

nodeSortMap: {};
coarsenBy(level: any): {
coarsenBy(levelToCoarsenBy: any): {
nodes: any[];

@@ -25,0 +25,0 @@ relationships: any[];

@@ -10,3 +10,3 @@ export class GridLayout {

update(refreshPositions?: boolean): void;
layout(nodes: any, nodeIds: any, idToPosition: any, rels: any): void;
layout(mobxNodes: any, nodeIds: any, idToPosition: any, rels: any): void;
getNodePositions(nodeList: any): any[];

@@ -13,0 +13,0 @@ getShouldUpdate(): boolean;

@@ -18,3 +18,3 @@ import { type HierarchicalOptions, type LayoutOptions, type NvlState } from '../../modules/state';

constructor(config: HierarchicalLayoutConfig);
setupWorker(): Promise<unknown>;
setupWorker(): Promise<SharedWorker>;
setOptions(options: LayoutOptions): void;

@@ -21,0 +21,0 @@ update(refreshPositions?: boolean): void;

@@ -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;

@@ -16,6 +16,6 @@ /**

* by a call to endTest(). Tests can be nested.
* @param {String} name String identifying this measurement. Only used for printing, so
* @param {String} measurement String identifying this measurement. Only used for printing, so
* keep it human readable.
*/
startTest(name: string): void;
startTest(measurement: string): void;
/**

@@ -22,0 +22,0 @@ * Ends the last started test, giving it an end time.

@@ -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 {

{
"name": "@neo4j-nvl/base",
"version": "0.3.5-6b3df132",
"version": "0.3.5-702bf86d",
"license": "SEE LICENSE IN 'LICENSE.txt'",

@@ -25,3 +25,3 @@ "homepage": "https://neo4j.com/docs/nvl/current/",

"test": "yarn global:jest",
"eslint": "yarn global:eslint ./src/ --plugin only-warn",
"eslint": "yarn global:eslint ./src/",
"coverage": "yarn test --coverage --silent",

@@ -32,3 +32,3 @@ "prepack": "cp ../../LICENSE.txt ./",

"dependencies": {
"@neo4j-nvl/layout-workers": "0.3.5-6b3df132",
"@neo4j-nvl/layout-workers": "0.3.5-702bf86d",
"@segment/analytics-next": "^1.70.0",

@@ -55,2 +55,3 @@ "color-string": "^1.9.1",

"copy-webpack-plugin": "^11.0.0",
"neo4j-driver": "^5.26.0",
"typedoc": "^0.23.15",

@@ -60,3 +61,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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc