UNPKG

@plait/draw

Version:

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

14 lines (13 loc) 816 B
import { PlaitBoard, PlaitPluginElementContext, OnContextChanged } from '@plait/core'; import { CommonElementFlavour, ImageGenerator } from '@plait/common'; import { PlaitImage } from './interfaces/image'; import { ArrowLineAutoCompleteGenerator } from './generators/arrow-line-auto-complete.generator'; export declare class ImageComponent extends CommonElementFlavour<PlaitImage, PlaitBoard> implements OnContextChanged<PlaitImage, PlaitBoard> { imageGenerator: ImageGenerator<PlaitImage>; lineAutoCompleteGenerator: ArrowLineAutoCompleteGenerator<PlaitImage>; constructor(); initializeGenerator(): void; initialize(): void; onContextChanged(value: PlaitPluginElementContext<PlaitImage, PlaitBoard>, previous: PlaitPluginElementContext<PlaitImage, PlaitBoard>): void; destroy(): void; }