UNPKG

@plait/draw

Version:

Implementation of the core logic of the flowchart drawing tool plugin.

7 lines (6 loc) 574 B
import { PlaitBoard } from '@plait/core'; import { PlaitGeometry, PlaitShapeElement, TableSymbols } from '../interfaces'; import { DrawPointerType } from '../constants/pointer'; import { GeometryShapeGenerator, TableGenerator } from '../generators'; export declare const getElementShape: (value: PlaitShapeElement) => import("../interfaces").GeometryShapes | TableSymbols.table | import("../interfaces").SwimlaneSymbols; export declare const getGeometryGeneratorByShape: (board: PlaitBoard, shape: DrawPointerType) => GeometryShapeGenerator | TableGenerator<PlaitGeometry>;