Security News
UK Officials Consider Banning Ransomware Payments from Public Entities
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
@neo4j-nvl/interaction-handlers
Advanced tools
Welcome to NVL (Neo4j Visualization Library). NVL is a collection of libraries that can be used to build custom graph visualizations like Neo4j Bloom. The NVL library is also available as a React component that can be used in React applications.
This module is a collection of decorator classes that can be used to add interaction events to an NVL instance. The decorators are applied to the NVL class. You can find more information about the NVL class in the core library documentation.
You can install the interaction handlers with your preferred package manager, for example
npm install @neo4j-nvl/interaction-handlers
If you are planning to use NVL in a React app, be sure to check out the NVL React wrappers.
Heres is an example on how to use an interaction handler with the NVL class:
import { ClickInteraction } from '@neo4j-nvl/interaction-handlers'
import { NVL } from '@neo4j-nvl/core'
*
const nvl = new NVL(nodes, relationships, options)
const clickInteraction = new ClickInteraction(nvl)
clickInteraction.updateCallback('onNodeClick', (node) => {
console.log('Node clicked', node)
})
If you are using React and want to add interactivity to your graph, you can also make use of the InteractiveReactWrapper.
You can find more instructions and examples on how to use NVL in the docs.
FAQs
Interaction handlers for the Neo4j Visualization Library
The npm package @neo4j-nvl/interaction-handlers receives a total of 2,478 weekly downloads. As such, @neo4j-nvl/interaction-handlers popularity was classified as popular.
We found that @neo4j-nvl/interaction-handlers demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.