UNPKG

@logicflow/extension

Version:
18 lines (17 loc) 511 B
import { h, RectNode, RectNodeModel } from '@logicflow/core'; declare class MarkEntityModel extends RectNodeModel { static extendKey: string; constructor(data: any, graphModel: any); setAttributes(): void; } declare class MarkEntityView extends RectNode { static extendKey: string; getLabelShape(): h.JSX.Element; getShape(): h.JSX.Element; } declare const MarkEntity: { type: string; view: typeof MarkEntityView; model: typeof MarkEntityModel; }; export default MarkEntity;