Skip to content
D
Documentation

Components — constants

reference
1 min readUpdated

Constants

Import these from @grafloria/angular.

Constants

TOOLBAR_PRESETS

Preset registry for easy access

ts
const TOOLBAR_PRESETS: { readonly minimal: (engine: DiagramEngine, onEdit?: (node: any) => void) => NodeToolbarConfig; readonly standard: (engine: DiagramEngine, onEdit?: (node: any) => void) => NodeToolbarConfig; readonly full: (engine: DiagramEngine, onEdit?: (node: any) => void) => NodeToolbarConfig; readonly erd: (engine: DiagramEngine, onEdit?: (node: any) => void) => NodeToolbarConfig; readonly workflow: (engine: DiagramEngine, onEdit?: (node: any) => void) => NodeToolbarConfig; readonly mindMap: (engine: DiagramEngine, onEdit?: (node: any) => void) => NodeToolbarConfig; readonly …

Was this page helpful?

Components — constants — Grafloria