UNPKG

@plait/mind

Version:

Implementation of the core logic of the mind map plugin.

7 lines (6 loc) 485 B
import { PlaitBoard, Point, RectangleClient } from '@plait/core'; import { MindElement } from '../interfaces/element'; import { PlaitMindBoard } from './with-mind.board'; export declare const withNodeResize: (board: PlaitBoard) => PlaitBoard; export declare const getSelectedTarget: (board: PlaitMindBoard, point: Point) => MindElement<import("@plait/mind").BaseData> | null; export declare const getResizeActiveRectangle: (board: PlaitBoard, element: MindElement) => RectangleClient;