UNPKG

@xrenders/xflow

Version:

一款功能强大、易用灵活的流程编辑器框架,帮助你轻松构建复杂的工作流和流程产品

7 lines (6 loc) 445 B
import dagre from '@dagrejs/dagre'; export declare const CUSTOM_NODE = "custom"; export declare const CUSTOM_EDGE = "custom"; export declare const getLayoutByDagre: (originNodes: any[], originEdges: any[], rankdir: 'TB' | 'BT' | 'LR' | 'RL') => dagre.graphlib.Graph<{}>; declare const _default: (nodes: any, edges: any, rankdir: 'LR' | 'TB') => (base?: (draft: any) => void, ...args: unknown[]) => (draft: any) => void; export default _default;