UNPKG

@plait/mind

Version:

Implementation of the core logic of the mind map plugin.

9 lines (8 loc) 588 B
import { PlaitBoard } from '@plait/core'; import { MindLayoutType } from '@plait/layouts'; import { BranchShape, MindElementShape } from '../interfaces'; export declare const setLayout: (board: PlaitBoard, type: MindLayoutType) => void; export declare const setShape: (board: PlaitBoard, shape: MindElementShape) => void; export declare const setBranchShape: (board: PlaitBoard, branchShape: BranchShape) => void; export declare const setBranchWidth: (board: PlaitBoard, branchWidth: number) => void; export declare const setBranchColor: (board: PlaitBoard, branchColor: string) => void;