Files
editor/packages/nodes
Aymeric RabotandGitHub b95d737eb6 Fix composite node duplication placement (#542)
Route composite duplication through the fresh-subtree placement lifecycle, preserve descendant geometry and IDs, clear stale selection, and guarantee failed drafts restore history tracking.
2026-07-24 14:17:05 +02:00
..

@pascal-app/nodes

Built-in node definitions for the Pascal viewer and editor.

Installation

npm install @pascal-app/core @pascal-app/viewer @pascal-app/editor @pascal-app/nodes

The package declares the remaining React, Next.js, Three.js, and UI libraries it needs as peer dependencies. Install any peers reported by your package manager.

Usage

Load builtinPlugin once before mounting a Pascal viewer or editor:

import { loadPlugin } from '@pascal-app/core'
import { builtinPlugin } from '@pascal-app/nodes'

await loadPlugin(builtinPlugin)

The plugin registers the built-in schemas, renderers, geometry builders, tools, and systems. Hosts can load additional plugins through the same loadPlugin API.

See the @pascal-app/viewer quick start for bootstrap ordering in a React application.

License

MIT