Framework Wrappers
live-codes/livecodes
Use SDK with React, Vue, Svelte, Solid, Preact, and Web Components.
Neo4j Visualization Library (NVL) — framework-agnostic graph rendering for the browser.
$ npx skills add neo4j-contrib/neo4j-skills --skill neo4j-nvl-skill -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install neo4j-contrib/neo4j-skills neo4j-nvl-skill --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/neo4j-contrib/neo4j-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/neo4j-nvl-skill .claude/skills/neo4j-nvl-skill && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "neo4j-nvl-skill" agent skill from https://github.com/neo4j-contrib/neo4j-skills/tree/main/neo4j-nvl-skill into .claude/skills/neo4j-nvl-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "neo4j-nvl-skill", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/neo4j-contrib/neo4j-skills/tree/main/neo4j-nvl-skillType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add neo4j-contrib/neo4j-skills --skill neo4j-nvl-skill -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install neo4j-contrib/neo4j-skills neo4j-nvl-skill --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/neo4j-contrib/neo4j-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/neo4j-nvl-skill .agents/skills/neo4j-nvl-skill && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "neo4j-nvl-skill" agent skill from https://github.com/neo4j-contrib/neo4j-skills/tree/main/neo4j-nvl-skill into .agents/skills/neo4j-nvl-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "neo4j-nvl-skill", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add neo4j-contrib/neo4j-skills --skill neo4j-nvl-skill -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install neo4j-contrib/neo4j-skills neo4j-nvl-skill --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/neo4j-contrib/neo4j-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/neo4j-nvl-skill .cursor/skills/neo4j-nvl-skill && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "neo4j-nvl-skill" agent skill from https://github.com/neo4j-contrib/neo4j-skills/tree/main/neo4j-nvl-skill into .cursor/skills/neo4j-nvl-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "neo4j-nvl-skill", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/neo4j-contrib/neo4j-skills.git --path neo4j-nvl-skill--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add neo4j-contrib/neo4j-skills --skill neo4j-nvl-skill -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install neo4j-contrib/neo4j-skills neo4j-nvl-skill --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/neo4j-contrib/neo4j-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/neo4j-nvl-skill .gemini/skills/neo4j-nvl-skill && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "neo4j-nvl-skill" agent skill from https://github.com/neo4j-contrib/neo4j-skills/tree/main/neo4j-nvl-skill into .gemini/skills/neo4j-nvl-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "neo4j-nvl-skill", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install neo4j-contrib/neo4j-skills neo4j-nvl-skillInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add neo4j-contrib/neo4j-skills --skill neo4j-nvl-skill -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/neo4j-contrib/neo4j-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/neo4j-nvl-skill .github/skills/neo4j-nvl-skill && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "neo4j-nvl-skill" agent skill from https://github.com/neo4j-contrib/neo4j-skills/tree/main/neo4j-nvl-skill into .github/skills/neo4j-nvl-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "neo4j-nvl-skill", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add neo4j-contrib/neo4j-skills --skill neo4j-nvl-skill -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install neo4j-contrib/neo4j-skills neo4j-nvl-skill --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/neo4j-contrib/neo4j-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/neo4j-nvl-skill .opencode/skills/neo4j-nvl-skill && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "neo4j-nvl-skill" agent skill from https://github.com/neo4j-contrib/neo4j-skills/tree/main/neo4j-nvl-skill into .opencode/skills/neo4j-nvl-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "neo4j-nvl-skill", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
neo4j-nvl-skillNeo4j Visualization Library (NVL) — framework-agnostic graph rendering for the browser.
Neo4j Nvl Skill is an agent skill from neo4j-contrib/neo4j-skills. Neo4j Visualization Library (NVL) — framework-agnostic graph rendering for the browser. Covers @neo4j-nvl/base (NVL class, nodes/relationships, Canvas vs WebGL renderer), @neo4j-nvl/interaction-handlers (ZoomInteraction, PanInteraction, DragNodeInteraction, ClickInteraction, HoverInteraction, BoxSelectInteraction, LassoInteraction, KeyboardInteraction), and @neo4j-nvl/react (InteractiveNvlWrapper, BasicNvlWrapper, StaticPictureWrapper). Use when rendering a Neo4j graph in a browser, feeding driver results through…
Its SKILL.md is about 5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `README.md`, `references/api-surface.md` and `references/troubleshooting.md`). Compatibility notes: @neo4j-nvl packages 2.0.x; React 19 for @neo4j-nvl/react; modern browsers with Canvas2D + WebGL2
It sits in AI & LLM Engineering, covering Embeddings and 3D graphics and WebGL. It works with Neo4j, JavaScript, React and Vite. The repository describes itself as: Neo4j Skills for Coding and other Agents including Cypher. The licence is MIT.
Read from SKILL.md and the folder at commit bb30e1f. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
BashWebFetchFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npmFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
github.comneo4j.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
NEO4J_PASSWORDFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
@neo4j-nvl packages 2.0.x; React 19 for @neo4j-nvl/react; modern browsers with Canvas2D + WebGL2
From compatibility in the SKILL.md frontmatter.
Neo4j Nvl Skill loads about 5k tokens when it runs, and up to ~12k if it reads all its reference files. Until then it costs about 234 tokens; SKILL.md has 1,284 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Bash, WebFetchAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from neo4j-contrib/neo4j-skills at commit bb30e1f, republished under its MIT licence (© neo4j-contrib). 1,284 words, ~4,995 tokens.
.claude/skills/neo4j-nvl-skill/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.driver.executeQuery results as an interactive graphGraphVisualization from @neo4j-ndl/react (Neo4j Needle / NDL design system) — wraps NVL with default Neo4j styling. See Use NVL or the Needle Component? below.neo4j/python-graph-visualization (the Python port of NVL)neo4j-cypher-skillneo4j-driver-javascript-skillneo4j-driver-javascript-skillneo4j-gds-skill or neo4j-aura-graph-analytics-skillneo4j-graphql-skill| Need | Use |
|---|---|
| Embed a graph view with default Neo4j styling, no custom interactions or rendering | GraphVisualization from @neo4j-ndl/react (Neo4j Needle / NDL design system) — wraps NVL and accepts records shaped { id, labels, properties: { key: { stringified, type } } } (NeoNode) |
| Custom interactions, custom rendering, non-standard data shapes, or framework-agnostic embedding | This skill — use NVL directly |
If the answer is the first row, install and use the Needle component instead of NVL — do not duplicate styling work.
npm install @neo4j-nvl/base # core (required)
npm install @neo4j-nvl/interaction-handlers # standard interactions (optional, vanilla JS)
npm install @neo4j-nvl/react # React wrappers (optional)Peer requirements: React 19 for @neo4j-nvl/react. The published peerDependency range still permits React 18, but mixing major versions is not recommended — target 19. @neo4j-nvl/layout-workers is a transitive dependency — never install directly. neo4j-driver is a peer of @neo4j-nvl/base only when using nvlResultTransformer.
Starter templates: https://github.com/neo4j-devtools/nvl-boilerplates — official per-framework scaffolds; prefer these over hand-rolled setups.
License: NVL ships under the Neo4j Visualization Library License — for use with Neo4j products only. Cannot be used against other graph backends.
| Need | Use |
|---|---|
| React app, default interactions | <InteractiveNvlWrapper> from @neo4j-nvl/react |
| React app, custom interaction wiring | <BasicNvlWrapper> + own handlers via ref |
| Vanilla JS, standard interactions | NVL + @neo4j-nvl/interaction-handlers |
| Vanilla JS, fully custom event logic | NVL + container.addEventListener + nvl.getHits() |
| Static PNG/SVG image export | <StaticPictureWrapper> or nvl.saveToFile() / nvl.saveToSvg() |
| Renderer | Max nodes | Detail | Use case |
|---|---|---|---|
'canvas' (default) | ~1,000 | Captions, icons, arrows, pixel-perfect hit-testing | Detail investigation, small graphs |
'webgl' | 100,000+ | No captions; supports node icons and relationship arrowheads in 2.0 | Large-scale pattern exploration |
const nvl = new NVL(container, nodes, rels, { renderer: 'webgl' })
nvl.setRenderer('canvas') // swap at runtimeNVL 2.0 requires WebGL2 for the GPU renderer and force-directed physics engine. When GPU acceleration is unavailable, NVL can fall back to Canvas rendering and non-GPU layout implementations; use disableWebGL: true to explicitly avoid WebGL.
The container must have an explicit width AND height. Missing height → container collapses to 0 → graph invisible. Most-reported NVL bug.
<!-- ❌ height defaults to 0; graph invisible -->
<div id="viz"></div>
<!-- ✅ explicit dimensions -->
<div id="viz" style="width: 100%; height: 600px;"></div>import { NVL } from '@neo4j-nvl/base'
const container = document.getElementById('viz')
const nodes = [{ id: '1' }, { id: '2' }]
const relationships = [{ id: '12', from: '1', to: '2', type: 'KNOWS' }]
const nvl = new NVL(container, nodes, relationships)With options + callbacks:
import { NVL } from '@neo4j-nvl/base'
const options = {
initialZoom: 1.0,
minZoom: 0.1,
maxZoom: 8,
layout: 'forceDirected',
renderer: 'canvas',
styling: { defaultNodeColor: '#0e86d4', defaultRelationshipColor: '#888' }
}
const callbacks = {
onInitialization: () => console.log('NVL ready'),
onLayoutDone: () => nvl.fit([]),
onError: (err) => console.error('NVL error', err)
}
const nvl = new NVL(container, nodes, relationships, options, callbacks)
// On teardown — always:
nvl.destroy()NVL constructor signature: new NVL(frame, nvlNodes?, nvlRels?, options?, callbacks?). All but frame are optional and default to empty.
Compose handlers onto an existing NVL instance. Each handler registers callbacks via .updateCallback(name, fn) and must be torn down with .destroy().
import { NVL } from '@neo4j-nvl/base'
import {
ZoomInteraction, PanInteraction, DragNodeInteraction,
ClickInteraction, HoverInteraction, BoxSelectInteraction,
LassoInteraction, KeyboardInteraction
} from '@neo4j-nvl/interaction-handlers'
const nvl = new NVL(container, nodes, relationships)
const zoom = new ZoomInteraction(nvl)
const pan = new PanInteraction(nvl)
const drag = new DragNodeInteraction(nvl)
const click = new ClickInteraction(nvl, { selectOnClick: true })
const hover = new HoverInteraction(nvl, { drawShadowOnHover: true })
click.updateCallback('onNodeClick', (node, hits, evt) => console.log('node', node.id))
click.updateCallback('onRelationshipClick', (rel, hits, evt) => console.log('rel', rel.id))
click.updateCallback('onClusterClick', (cluster, hits, evt) => console.log('cluster', cluster.id))
click.updateCallback('onCanvasClick', (evt) => console.log('canvas'))
hover.updateCallback('onHover', (el, hits, evt) => el && console.log('over', el.id))
drag.updateCallback('onDragEnd', (nodes, evt) => savePositions(nodes))
zoom.updateCallback('onZoomAndPan', (level, panX, panY) => console.log(level, panX, panY))
// Teardown — destroy all handlers, then the NVL instance
function teardown() {
for (const h of [zoom, pan, drag, click, hover]) h.destroy()
nvl.destroy()
}Disable an event without removing the handler: click.removeCallback('onCanvasClick'). Passing true instead of a function enables the event with a no-op (useful for default selection behavior).
Pre-wires every interaction handler. Toggle events with mouseEventCallbacks (function = on + callback; true = on, no-op; false/omit = off).
import { InteractiveNvlWrapper } from '@neo4j-nvl/react'
import type { MouseEventCallbacks } from '@neo4j-nvl/react'
import { useRef } from 'react'
import type { NVL, NvlOptions } from '@neo4j-nvl/base'
export function GraphView({ nodes, rels }) {
const nvlRef = useRef<NVL>(null)
const nvlOptions: NvlOptions = { initialZoom: 1, renderer: 'canvas' }
const mouseEventCallbacks: MouseEventCallbacks = {
onNodeClick: (node, hits, evt) => console.log('node', node.id),
onRelationshipClick: (rel, hits, evt) => console.log('rel', rel.id),
onClusterClick: (cluster, hits, evt) => console.log('cluster', cluster.id),
onCanvasClick: (evt) => console.log('canvas'),
onHover: (el, hits, evt) => {
if (el) console.log('hover', el.id)
if (hits.clusters[0]) console.log('cluster hover', hits.clusters[0].data.id)
},
onDragEnd: (nodes, evt) => persist(nodes),
onZoomAndPan: true, // enable, no callback
onPan: true
}
return (
<div style={{ width: '100%', height: 600 }}>
<InteractiveNvlWrapper
ref={nvlRef}
nodes={nodes}
rels={rels}
nvlOptions={nvlOptions}
interactionOptions={{ selectOnClick: true, drawShadowOnHover: true }}
mouseEventCallbacks={mouseEventCallbacks}
onInitializationError={(err) => console.error('NVL init', err)}
/>
</div>
)
}ref resolves to the underlying NVL instance — call any method on it: nvlRef.current?.fit([]), nvlRef.current?.setRenderer('webgl'), nvlRef.current?.saveToFile().
clusterBy groups nodes whose callback returns the same string or number. Return undefined for independent nodes. Keep the callback reference stable in React with useCallback.
Force-directed clustering nests all clustering settings under layoutOptions.clustering:
const clusterBy = (nodeId) => categoryByNodeId[nodeId]
const nvl = new NVL(container, nodes, relationships, {
layout: 'forceDirected',
layoutOptions: {
seedingMethod: 'circle',
clustering: {
clusterBy,
drawOutline: true,
drawHalo: true,
crossClusterRelationshipMultiplier: 0.2
}
},
minFps: 3,
maxFps: 30
})crossClusterRelationshipMultiplier is experimental, capped to 0..1, and can destabilize highly connected graphs near 1. It affects cross-cluster spring pull only; intra-cluster edges remain full strength.
Hierarchical clustering places clusterBy directly in layoutOptions:
const nvl = new NVL(container, nodes, relationships, {
layout: 'hierarchical',
layoutOptions: {
direction: 'down',
clusterBy
}
})Cluster decorations and cluster hull interactions apply to force-directed layoutOptions.clustering. A Cluster is not a graph element; it has { id: string | number, nodeIds: string[] }. Cluster callbacks fire only for empty space inside a cluster hull; node and relationship hits retain priority.
layout and layoutOptions props into nvlOptions:
<InteractiveNvlWrapper nvlOptions={{ layout, layoutOptions }} />.onZoom with onZoomAndPan(zoom, panX, panY, event).intelWorkaround and Cytoscape-related layout settings; they no longer exist.getNodes() and onLayoutStep return NodeWithClientPosition[]: x/y are layout coordinates and clientPosition is relative to the canvas element.styling.overlayLineColor; styling.minimapViewportBoxColor is deprecated.No interactions wired. The ref exposes every NVL method via IncludeMethods<NVL> — use when building custom interaction logic in React.
import { BasicNvlWrapper } from '@neo4j-nvl/react'
import type { NVL } from '@neo4j-nvl/base'
import { useRef } from 'react'
export function MiniGraph({ nodes, rels }) {
const nvlRef = useRef<NVL>(null)
return (
<div style={{ width: '100%', height: 400 }}>
<BasicNvlWrapper
ref={nvlRef}
nodes={nodes}
rels={rels}
nvlOptions={{ initialZoom: 2 }}
nvlCallbacks={{ onLayoutDone: () => nvlRef.current?.fit([]) }}
/>
<button onClick={() => nvlRef.current?.fit(['1', '2'])}>Zoom to 1,2</button>
</div>
)
}@neo4j-nvl/base exports a ResultTransformer for the JS driver that deduplicates nodes/relationships across any record shape.
import neo4j from 'neo4j-driver'
import { NVL, nvlResultTransformer } from '@neo4j-nvl/base'
const driver = neo4j.driver(process.env.NEO4J_URI,
neo4j.auth.basic(process.env.NEO4J_USERNAME, process.env.NEO4J_PASSWORD))
const { nodes, relationships } = await driver.executeQuery(
'MATCH (a)-[r]-(b) RETURN a, r, b LIMIT 25',
{},
{ database: 'neo4j', resultTransformer: nvlResultTransformer }
)
const nvl = new NVL(document.getElementById('viz'), nodes, relationships)// ❌ raw EagerResult — records are not Node/Relationship objects
const result = await driver.executeQuery('MATCH (a)-[r]-(b) RETURN a, r, b')
new NVL(container, result.records, []) // breaks
// ✅ use the transformer
const { nodes, relationships } = await driver.executeQuery(
'MATCH (a)-[r]-(b) RETURN a, r, b',
{},
{ database: 'neo4j', resultTransformer: nvlResultTransformer }
)
new NVL(container, nodes, relationships)For driver lifecycle, session management, Integer handling, and TypeScript types → neo4j-driver-javascript-skill.
| Method | Behavior |
|---|---|
addAndUpdateElementsInGraph(nodes, rels) | Insert new; update existing by id (only specified fields) |
updateElementsInGraph(nodes, rels) | Update existing only; ignores unknown ids |
addElementsToGraph(nodes, rels) | Insert only; throws on existing id |
removeNodesWithIds(ids) | Remove nodes; adjacent relationships auto-removed |
removeRelationshipsWithIds(ids) | Remove relationships |
setNodePositions(nodes, updateLayout?) | Override positions; optionally re-run layout |
restart(options?, retainPositions?) | Restart with new options; positions optional |
Diff updates use PartialNode / PartialRelationship — only id is required:
nvl.updateElementsInGraph(
[{ id: '1', color: '#f00', selected: true }], // PartialNode
[{ id: '12', width: 4 }] // PartialRelationship
)Use when NOT using the interaction-handlers package. In 2.0, getHits() resolves nodes, relationships, and force-directed cluster hulls. Its default targets are ['node', 'relationship', 'cluster'].
const nvl = new NVL(container, nodes, rels)
container.addEventListener('click', (evt) => {
const { nvlTargets } = nvl.getHits(evt, ['node', 'relationship', 'cluster'], { hitNodeMarginWidth: 4 })
const hitNode = nvlTargets.nodes[0]
const hitRel = nvlTargets.relationships[0]
const hitCluster = nvlTargets.clusters[0]
if (hitNode) console.log('hit node', hitNode.data.id)
else if (hitRel) console.log('hit rel', hitRel.data.id)
else if (hitCluster) console.log('hit cluster', hitCluster.data.id, hitCluster.data.nodeIds)
else console.log('hit canvas')
})HitTargetNode / HitTargetRelationship carry element hit data. HitTargetCluster carries data, pointerCoordinates, and the fitted convex hull. See references/api-surface.md.
| Mistake | Fix |
|---|---|
Container with no height → invisible graph | Set explicit width and height on the container |
Pass driver.executeQuery result directly | Use nvlResultTransformer and consume { nodes, relationships } |
| WebGL for small label-rich graphs | Use 'canvas'; labels are fully supported |
| Canvas for 10k+ nodes | Switch to 'webgl' via renderer option or setRenderer |
New NVL per React render | Use <InteractiveNvlWrapper> / <BasicNvlWrapper> or wrap in useEffect + destroy() |
Forgetting nvl.destroy() on teardown | Call destroy() on unmount; React wrappers handle this automatically |
| Vanilla handlers not torn down | Call .destroy() on every interaction before nvl.destroy() |
| Worker construction blocked (strict CSP / sandboxed runtime / older bundler) | nvlOptions: { disableWebWorkers: true } (NVL has a non-worker fallback) |
| Telemetry enabled in regulated env | nvlOptions: { disableTelemetry: true } |
| Layout never settles | Pin anchor nodes with pinNode(id); tune layoutTimeLimit |
selectOnClick fires double | Toggle once at mount; don't flip interactionOptions per render |
| Hit test misses near node edge | Pass { hitNodeMarginWidth: N } to getHits |
| Captions missing on WebGL | Expected in 2.0; captions are Canvas-only, so use 'canvas' when labels matter |
React wrapper ignores layout / layoutOptions | In 2.0 these must be nested in nvlOptions |
onZoom never fires | It was removed in 2.0; use onZoomAndPan |
| Cluster callback misses clicks on a node | Cluster callbacks target empty cluster-hull space; node hits take priority |
Load on demand:
NVL method table; clustering, FPS, seeding, NodeWithClientPosition, hit target and interaction callback types; React props; named exports; nvlResultTransformerCanonical web documentation (use WebFetch when references above are insufficient):
width AND height CSSlayout and layoutOptions nested inside nvlOptionsonZoomAndPan, not removed onZoomclusterBy is stable in React and placed correctly for the selected layoutexecuteQuery results piped through nvlResultTransformerdatabase specified on every executeQuery call (delegate to neo4j-driver-javascript-skill).destroy()-ed before nvl.destroy() on teardownnvl.destroy() called on React unmount (manual instances only — wrappers handle it)disableTelemetry: true set when in regulated / offline environmentsdisableWebWorkers: true set when bundler / CSP blocks worker constructionaddAndUpdateElementsInGraph / updateElementsInGraph — not restart© neo4j-contrib, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (references) in neo4j-nvl-skill of neo4j-contrib/neo4j-skills.
Open the folder on GitHubat commit bb30e1f
Neo4j Nvl Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Neo4j Nvl Skill this skillneo4j-contrib/neo4j-skills | 114 | — | ~5k | Automated safety check: Notes | MIT | |
| Framework Wrapperslive-codes/livecodes | 1.5k | — | ~2.8k | Automated safety check: Pass | MIT | |
| Workos Widgetsusenotra/notra | 260 | — | ~2k | Automated safety check: Pass | AGPL-3.0 | |
| Getting Startedlive-codes/livecodes | 1.5k | — | ~1.6k | Automated safety check: Pass | MIT | |
| Deepagents Setup Configurationsoba-labs/langchain-agent-skills | 107 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Spline 3D Integrationsickn33/agentic-awesome-skills | 47k | 2 repos | ~1.2k | Automated safety check: Pass | MIT |
live-codes/livecodes
Use SDK with React, Vue, Svelte, Solid, Preact, and Web Components.
usenotra/notra
A skill your agent uses when the user is implementing, embedding, or debugging a WorkOS Widget — specifically the User Management, User Profile, Admin Portal SSO Connection, or Admin Portal Domain…
live-codes/livecodes
Quick start for standalone app at livecodes.io, embedding playgrounds with CDN or npm, and self-hosting basics.
soba-labs/langchain-agent-skills
Initialize, validate, and troubleshoot Deep Agents projects in Python or JavaScript using the deepagents package.
sickn33/agentic-awesome-skills
A skill your agent uses when adding interactive 3D scenes from Spline.design to web projects, including React embedding and runtime control API.
layoutit/polycss
Build PolyCSS scenes that render 3D meshes, primitive shapes, or custom polygons as DOM/CSS polygon elements.
neo4j-contrib/neo4j-skills
Manages Neo4j Aura Agents via the v2beta1 REST API — create, list, get, update, delete, and invoke Aura agents backed by an AuraDB instance.
neo4j-contrib/neo4j-skills
Generates, optimizes, and validates Cypher 25 queries for Neo4j 2025.x and 2026.x.
neo4j-contrib/neo4j-skills
Serverless Aura Graph Analytics (AGA) GDS Sessions — covers GdsSessions, AuraGraphDataScience, AuraAPICredentials, DbmsConnectionInfo, SessionMemory, getorcreate, remote graph projection with…
neo4j-contrib/neo4j-skills
Orchestrates zero-to-running-app in 8 stages — prerequisites → context → provision → model → load → explore → query → build.
neo4j-contrib/neo4j-skills
Provisions and manages Neo4j Aura instances via CLI (aura-cli v1.7+) or REST API.
neo4j-contrib/neo4j-skills
Neo4j .NET Driver v6 — IDriver lifecycle, DI registration (singleton), ExecutableQuery fluent API, ExecuteReadAsync/ExecuteWriteAsync managed transactions, IResultCursor (FetchAsync/ ToListAsync)…
Works with
Categories
Neo4j Visualization Library (NVL) — framework-agnostic graph rendering for the browser. Neo4j Nvl Skill is an agent skill from neo4j-contrib/neo4j-skills. Neo4j Visualization Library (NVL) — framework-agnostic graph rendering for the browser.
Neo4j Nvl Skill fits situations like: rendering a Neo4j graph in a browser; feeding driver results through nvlResultTransformer; choosing Canvas vs WebGL; wiring node/relationship click/hover/drag handlers.
Run `npx skills add neo4j-contrib/neo4j-skills --skill neo4j-nvl-skill -a claude-code`. Or copy the skill folder (neo4j-nvl-skill in neo4j-contrib/neo4j-skills) into .claude/skills/neo4j-nvl-skill in your project. Claude Code loads it when a task matches its description.
Run `npx skills add neo4j-contrib/neo4j-skills --skill neo4j-nvl-skill -a codex`. Or copy the skill folder (neo4j-nvl-skill in neo4j-contrib/neo4j-skills) into .agents/skills/neo4j-nvl-skill in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add neo4j-contrib/neo4j-skills --skill neo4j-nvl-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/neo4j-nvl-skill, .gemini/skills/neo4j-nvl-skill, .github/skills/neo4j-nvl-skill and .opencode/skills/neo4j-nvl-skill in your project.
Going by SKILL.md and its folder, Neo4j Nvl Skill needs the command-line tools its instructions call (npm) and credentials named NEO4J_PASSWORD. Our summary lists: Python 3; Node.js. Its frontmatter pre-approves these tools: Bash, WebFetch. Compatibility (from SKILL.md): @neo4j-nvl packages 2.0.x; React 19 for @neo4j-nvl/react; modern browsers with Canvas2D + WebGL2.
SKILL.md names 2 domains. As links in the text: github.com and neo4j.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Neo4j Nvl Skill is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 5k tokens (SKILL.md is roughly 20k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 7k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Neo4j Nvl Skill: Framework Wrappers (live-codes/livecodes, 1.5k stars), Workos Widgets (usenotra/notra, 260 stars), Getting Started (live-codes/livecodes, 1.5k stars) and Deepagents Setup Configuration (soba-labs/langchain-agent-skills, 107 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
neo4j-contrib (a GitHub organization) maintains it in neo4j-contrib/neo4j-skills, which has 114 GitHub stars. The repository holds 28 skills in this directory. The repository was last updated on October 9, 2026.
Source: neo4j-contrib/neo4j-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.