@neo4j-nvl/interaction-handlers
Advanced tools
Comparing version 0.2.25 to 0.2.26
@@ -11,7 +11,7 @@ import type { ClickInteractionCallbacks, ClickInteractionOptions } from './interaction-handlers/click-interaction'; | ||
import { MultiSelectInteraction } from './interaction-handlers/multi-select-interaction'; | ||
import type { PanInteractionCallbacks } from './interaction-handlers/pan-interaction'; | ||
import type { PanInteractionCallbacks, PanInteractionOptions } from './interaction-handlers/pan-interaction'; | ||
import { PanInteraction } from './interaction-handlers/pan-interaction'; | ||
import type { ZoomInteractionCallbacks } from './interaction-handlers/zoom-interaction'; | ||
import { ZoomInteraction } from './interaction-handlers/zoom-interaction'; | ||
export type { MultiSelectInteractionOptions, MultiSelectInteractionCallbacks, ClickInteractionOptions, HoverInteractionOptions, HoverInteractionCallbacks, DragNodeInteractionCallbacks, ClickInteractionCallbacks, PanInteractionCallbacks, ZoomInteractionCallbacks, DrawInteractionCallbacks }; | ||
export type { MultiSelectInteractionOptions, MultiSelectInteractionCallbacks, ClickInteractionOptions, HoverInteractionOptions, HoverInteractionCallbacks, DragNodeInteractionCallbacks, ClickInteractionCallbacks, PanInteractionCallbacks, DrawInteractionCallbacks, PanInteractionOptions, ZoomInteractionCallbacks }; | ||
export { ZoomInteraction, PanInteraction, MultiSelectInteraction, ClickInteraction, HoverInteraction, DragNodeInteraction, DrawInteraction }; |
import { NVL } from '@neo4j-nvl/core'; | ||
import { BaseInteraction } from './base'; | ||
/** | ||
* Options for the click interaction handler to customize its behavior. | ||
*/ | ||
export type PanInteractionOptions = { | ||
/** | ||
* Whether to not pan when dragging within a certain margin of a node | ||
* @defaultValue false | ||
*/ | ||
excludeNodeMargin?: boolean; | ||
}; | ||
/** | ||
* Callbacks for the pan interaction handler. | ||
@@ -5,0 +15,0 @@ */ |
{ | ||
"name": "@neo4j-nvl/interaction-handlers", | ||
"version": "0.2.25", | ||
"version": "0.2.26", | ||
"license": "SEE LICENSE IN 'Neo4j Early Access Agreement - Visualization Library.pdf'", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
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
270991
1855