Skip to main content

Package overview

The supported entrypoints and the capability each package owns.

Install only the packages that own capabilities your product uses.

ImportContract
@lupinum/board-coreFramework-agnostic engine, types, commands, math, events, and JSON Canvas
@lupinum/vue-boardBoardRoot, board components, composables, and styles
@lupinum/vue-board/minimapMinimap composable and renderer
@lupinum/board-connectionsHeadless edge plugin, routing, and geometry
@lupinum/board-connections/vueConnection rendering and interaction
@lupinum/board-historyUndo and redo plugin
@lupinum/nuxt-boardNuxt registration

@lupinum/board-core/internal is published so separately versioned first-party packages can share an ABI. Applications should not depend on it.

All packages are ESM and target Node 20.19 or newer. Vue-facing packages require Vue 3.5.

Use the pages in this section for exact signatures, return values, events, and failures.

Runtime export index

Core exports BOARD_COLOR_PRESETS, BoardError, BoardInputError, BoardNotFoundError, BoardConflictError, CommandBlockedError, BoardDestroyedError, createBoardEngine, asNodeId, asEdgeId, clamp, boundsIntersect, getBoundsFromPoints, getVisibleBounds, getSelectionNodes, getSelectionBounds, toggleIds, colorForPreset, and isBoardColorPreset.

Connections exports EDGE_COLOR_PRESETS, connectionsPlugin, buildArcRoute, buildConnectionRoute, getVisibleEdges, resolveAnchorPoint, resolveAutoAnchorSide, resolveConnectionEndpoint, resolveEdgeRenderState, resolveFloatingEndpoint, edgeEndsForDirectionality, presetForColor, resolvePresetColor, and its own colorForPreset helper.