@mermaid-editor-sdk/ui


@mermaid-editor-sdk/ui / MermaidEditorParts

Interface: MermaidEditorParts

Defined in: package/ui/src/ui/MermaidEditor.tsx:81

Props passed to the default UI parts and available for custom editor composition.

Properties

canvas

readonly canvas: MermaidCanvasProps

Defined in: package/ui/src/ui/MermaidEditor.tsx:89

Props for the Mermaid canvas.


diagramPalette

readonly diagramPalette: DiagramPaletteProps

Defined in: package/ui/src/ui/MermaidEditor.tsx:87

Props for the diagram palette component (DiagramPalette).


diagramTypeSelect

readonly diagramTypeSelect: DiagramTypeSelectProps

Defined in: package/ui/src/ui/MermaidEditor.tsx:97

Props for the diagram type selector.


selectionEditor

readonly selectionEditor: SelectionEditorProps

Defined in: package/ui/src/ui/MermaidEditor.tsx:93

Props for the selection editor.


shell

readonly shell: Omit<EditorShellProps, "children">

Defined in: package/ui/src/ui/MermaidEditor.tsx:83

Props for the editor shell, excluding its children.


sourceEditor

readonly sourceEditor: SourceEditorProps

Defined in: package/ui/src/ui/MermaidEditor.tsx:91

Props for the source editor.


status

readonly status: EditorStatusProps

Defined in: package/ui/src/ui/MermaidEditor.tsx:95

Props for the status display.


toolbar

readonly toolbar: ToolSidebarProps

Defined in: package/ui/src/ui/MermaidEditor.tsx:85

Props for the sidebar component (ToolSidebar).