UNPKG

@syncfusion/ej2-react-diagrams

Version:

Feature-rich diagram control to create diagrams like flow charts, organizational charts, mind maps, and BPMN diagrams. Its rich feature set includes built-in shapes, editing, serializing, exporting, printing, overview, data binding, and automatic layouts.

28 lines (27 loc) 850 B
import { ComplexBase } from '@syncfusion/ej2-react-base'; import { ShapeAnnotationModel } from '@syncfusion/ej2-diagrams'; /** * `Node` directive represent a annotation of the react Diagram. * It must be contained in a Diagram component(`DiagramComponent`). * ```tsx * <DiagramComponent> * <NodesDirective> * <NodeDirective> * <NodeAnnotationsDirective> * <NodeAnnotationDirective> * </NodeAnnotationDirective> * </NodeAnnotationsDirective> * </NodeDirective> * </NodesDirective> * </DiagramComponent> * ``` */ export declare class NodeAnnotationDirective extends ComplexBase<ShapeAnnotationModel & { children?: React.ReactNode; }, ShapeAnnotationModel> { static moduleName: string; } export declare class NodeAnnotationsDirective extends ComplexBase<{}, {}> { static propertyName: string; static moduleName: string; }