SkillsReviewed · neo4j-contrib

neo4j-nvl-skill

neo4j-nvl-skill is an instruction pack for coding assistants helping developers build browser graph views, but its visualization library is described as restricted to Neo4j products. It covers NVL 2.0.x in JavaScript and React, including rendering, interactions, clustering, graph updates and conversion of Neo4j query results.

Researched 16 Nov 2026

In short.

neo4j-nvl-skill is a coding-assistant instruction pack for developers building Neo4j graph views in browsers, but the underlying library has separate licence restrictions that the skill’s MIT licence does not remove. It provides NVL 2.0.x implementation patterns, an API reference and troubleshooting for JavaScript and React. Useful details include renderer trade-offs, interaction cleanup and migration changes. The library licence itself is not included, performance figures lack benchmark evidence, and runtime behavior and assistant output quality remain unassessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes all four captured files in neo4j-nvl-skill at commit 004c7823fc05d352647f2e9e5106d9ae2a4080e5: README.md, SKILL.md, references/api-surface.md and references/troubleshooting.md, together with the repository-level LICENSE notice. The original repository address and pinned source identity are retained. Sibling skills, linked websites, starter templates, NVL packages and the separate NVL licence text are outside the supplied evidence. No commands, installation steps, code examples, browser journeys or benchmarks were executed.

The overview

Identity

The resource is the neo4j-nvl-skill folder in neo4j-contrib/neo4j-skills [https://github.com/neo4j-contrib/neo4j-skills/tree/main/neo4j-nvl-skill]. It contains instructions and references for a coding assistant, rather than the visualization library implementation.

SKILL.md declares skill version 2.0.0 and compatibility with @neo4j-nvl packages 2.0.x. The folder also contains README.md, references/api-surface.md and references/troubleshooting.md.

Assessment

The skill is useful for developers who want an assistant to help embed a customizable Neo4j graph view in an existing application. It explains practical choices such as using React wrappers versus manual JavaScript integration, selecting a renderer and updating graph data without rebuilding the visualization.

Its examples and references provide substantial implementation guidance. They do not establish that an assistant will generate correct code or that every documented API matches an installed package. One troubleshooting recommendation is internally inconsistent, so the text should be used with package documentation rather than treated as authoritative.

Users

The intended users are JavaScript and React developers building interactive browser views of Neo4j data. Beginners get concrete examples of containers, nodes, relationships and callbacks, but still need basic package installation and frontend programming knowledge.

Experienced developers get guidance on custom hit testing, clustering, incremental updates, lifecycle cleanup and NVL 1.x migration. Cypher authoring, database-driver lifecycle, Python notebooks and graph-algorithm execution are outside this skill’s scope.

Capabilities

The instructions cover the NVL core, standard interaction handlers and React wrappers. Documented interactions include zooming, panning, dragging, clicking, hovering, box selection, lasso selection and keyboard navigation. The references also describe graph updates, viewport controls, node pinning and image export; SVG export is marked experimental.

The skill explains Canvas versus WebGL rendering, six layout choices and clustering for force-directed and hierarchical layouts. Its migration guidance moves React layout settings into nvlOptions and replaces onZoom with onZoomAndPan.

Using it

Requirements

An application needs @neo4j-nvl/base and a browser container with explicit width and height. Interaction handlers and React wrappers are optional packages. The skill targets React 19 for the wrappers, while noting that the published peer range also permits React 18; validated React 18 compatibility is not established.

The documented GPU renderer and physics engine require WebGL2. Canvas and non-GPU layout fallbacks are described. neo4j-driver is needed when using nvlResultTransformer. Supported assistant hosts, minimum Node.js versions and model requirements are not specified.

Mechanism

The skill supplies package-specific instructions and examples that an assistant can consult, with separate API and troubleshooting references for detail. It does not itself render a graph or execute a database query.

In the documented application flow, NVL receives arrays of nodes and relationships. nvlResultTransformer converts Neo4j driver results into those arrays and deduplicates graph elements. Wrappers or interaction handlers connect user events to callbacks, while methods such as addAndUpdateElementsInGraph apply subsequent data changes.

Setup

The README documents npx skills add with the repository address [https://github.com/neo4j-contrib/neo4j-skills]. This installation example targets the repository and does not specify a folder selector; its exact selection behavior is unknown from the supplied files.

For the application, the documented core command is npm install @neo4j-nvl/base. Add @neo4j-nvl/interaction-handlers or @neo4j-nvl/react as needed. Set explicit container dimensions and arrange cleanup: manually created handlers are destroyed before the NVL instance, while the React wrappers handle their own teardown. Starter templates are linked at [https://github.com/neo4j-devtools/nvl-boilerplates].

Example

A basic example creates two nodes with IDs 1 and 2 and a KNOWS relationship connecting them, then passes those arrays and a sized browser container to new NVL(container, nodes, relationships). This illustrates the graph-data shape without requiring a database query.

For a Neo4j-backed view, the documented query example returns nodes and relationships with MATCH (a)-[r]-(b) RETURN a, r, b LIMIT 25. driver.executeQuery uses database: 'neo4j' and resultTransformer: nvlResultTransformer, and the resulting arrays are passed to NVL. These are documentation examples; they were not executed, and driver setup remains outside this skill’s scope.

Assessment & evidence

Limitations

The documentation presents approximately 1,000 Canvas nodes and 100,000-plus WebGL nodes as renderer guidance, without benchmark methods or hardware details. These figures do not establish capacity for a particular application. WebGL captions are unsupported in the documented version, and its hit testing is described as approximate.

The source describes synchronous layout fallback when Web Workers are blocked and default Segment telemetry with a disableTelemetry option. Fallback responsiveness and the contents of telemetry are not established by these files.

One troubleshooting passage recommends reducing nodes by increasing LIMIT. That is internally inconsistent: increasing a query’s row limit permits more returned records. The passage should not be copied as a method of reducing the result set.

Reasoning

The strongest reason to use this skill is its coverage of integration decisions that affect visible application behavior: missing container height hides the graph, renderer choice affects captions, and interaction cleanup affects lifecycle management.

For a small view where readable labels matter, its documented trade-offs favor Canvas. For larger pattern exploration, WebGL is a candidate subject to the missing captions and unassessed performance. The evidence supports these design considerations, but does not establish that the skill produces better code than ordinary documentation.

Alternatives

For a graph view with default Neo4j styling and behavior, the source points to GraphVisualization from @neo4j-ndl/react, which wraps NVL. For Python or Jupyter work, it points to the Python visualization project [https://github.com/neo4j/python-graph-visualization]. Neither alternative is assessed here.

Developers can also consult the linked NVL user guide [https://neo4j.com/docs/nvl/current/] and API documentation [https://neo4j.com/docs/api/nvl/current/]. Separate sibling skills cover Cypher authoring and JavaScript driver lifecycle; they address adjacent tasks rather than replacing browser rendering guidance.

Evidence

The evidence consists of the folder’s README.md, SKILL.md, API reference and troubleshooting reference, plus the repository-level MIT notice. Together they describe intended usage, package interfaces, examples and known integration problems.

The supplied material does not include NVL implementation code, package manifests, its separate library licence, benchmark results or execution results. API correctness, browser compatibility, accessibility behavior and assistant-generated output quality remain unassessed.

Access & freshness

Costs

The skill files carry MIT reuse permission, but that does not establish a zero-cost application. The supplied evidence gives no prices for NVL, Neo4j hosting, assistant subscriptions or model usage. Total operating cost is unknown, and no measured productivity or cost savings are provided.

Rights

The repository notice names Neo4j Contrib as copyright holder and grants MIT rights to use, copy, modify and redistribute the software and associated documentation. Copies or substantial portions must retain the copyright and permission notices. The material is supplied without warranty.

The skill separately states that NVL uses the Neo4j Visualization Library License and is restricted to use with Neo4j products. That library licence text is not included in the captured files, so its precise terms and application to a particular deployment remain unverified. MIT permission for these instructions does not replace the library’s separate terms.

Freshness

The supplied snapshot was captured on 16 November 2026 and is pinned to commit 004c7823fc05d352647f2e9e5106d9ae2a4080e5 [https://github.com/neo4j-contrib/neo4j-skills/tree/004c7823fc05d352647f2e9e5106d9ae2a4080e5/neo4j-nvl-skill]. SKILL.md declares version 2.0.0 and targets NVL 2.0.x.

The files do not establish the latest available skill or NVL release. Compatibility with later versions is unknown, and the linked documentation addresses containing current may change independently of this snapshot.

Actions

Before adopting it, confirm the installed NVL version and read that package’s LICENSE.txt for the intended deployment. Choose between the default Needle graph component and direct NVL integration, then confirm how the skill installer selects this folder.

Start with a small graph in a sized container and assess captions, interactions and teardown in the target browser. Assess larger datasets separately rather than relying on the documented node counts. Decide explicitly whether to disable telemetry, and use the worker fallback only if the environment requires it.

Evidence for this report

LICENSEnotice · checked 2026-11-16
neo4j-nvl-skill/README.mdselected · checked 2026-11-16
neo4j-nvl-skill/SKILL.mdselected · checked 2026-11-16
neo4j-nvl-skill/references/api-surface.mdselected · checked 2026-11-16
neo4j-nvl-skill/references/troubleshooting.mdselected · checked 2026-11-16