Product

NSG SDK

Embed NSG directly into your app. Use the NSG React SDK to render nested 3D graph experiences inside your own products while keeping your data and workflows under your control.

Quick Start

Install
npm install @nsg/react @nsg/schema
Usage
import { NSGCanvas } from "@nsg/react"

export function Viewer() {
  return (
    <NSGCanvas
      graph={graph}
      theme="quantum"
      mode="nested"
      onNodeEnter={(node) => console.log(node)}
    />
  )
}

Packages

@nsg/schemaTypeScript types and Zod validators
@nsg/reactReact components and hooks
@nsg/api-clientAPI client library
@nsg/runtimeCore rendering runtime
@nsg/cliCommand-line tools

Events

Hook into user interactions with callback events:

onNodeHoveronNodeSelectonNodeEnteronLayerEnteronStackFocusonDiffSelect

Use Cases

Developer tools
Observability dashboards
AI orchestration apps
Trading platforms
Enterprise data maps
Blockchain explorers
Workflow automation products
Internal system maps

Ready to build?

Check out the SDK documentation and examples.

View SDK Docs