
Security News
Socket Integrates With Bun 1.3’s Security Scanner API
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
@neo4j-nvl/base
Advanced tools
Welcome to the Neo4j Visualization Library, NVL for short. NVL is a collection of libraries that can be used to build custom graph visualizations like those used in Neo4j Bloom and Explore(powered by Bloom). NVL is written in TypeScript and can be used in any JavaScript project. It is also available as a React component that can be used in React applications.
You can install the library with your preferred package manager, for example
npm install @neo4j-nvl/base
If you want to add common interactivity to the graph, you can install the NVL interaction handlers. If you are planning to use NVL in a React app, be sure to check out the NVL React wrappers.
This is a basic setup for a NVL instance.
const nodes = [{ id: '1' }, { id: '2' }]
const relationships = [{ id: '12', from: '1', to: '2' }]
const options = {
layout: 'forceDirected',
initialZoom: 0.5
}
const callbacks = {
onLayoutDone: () => console.log('Layout done')
}
const nvl = new NVL(document.getElementById('frame'), nodes, relationships, options, callbacks)
You can find more instructions and examples on how to use NVL in the docs.
In order to improve the library we are collecting some information about the usage of NVL. If you prefer to disable this behavior set the parameter disableTelemetry=true
as a parameter in nvlOptions
.
FAQs
Base library for the Neo4j Visualization Library
The npm package @neo4j-nvl/base receives a total of 7,437 weekly downloads. As such, @neo4j-nvl/base popularity was classified as popular.
We found that @neo4j-nvl/base demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.
Security News
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.