export interface INode { id: string; label?: string; data: Record; [key: string]: any; } export interface IEdge { id: string; label?: string; data: Record; source: string; target: string; [key: string]: any; } export interface ISchema { nodes: INode[]; edges: IEdge[]; } /** * 通过 graphData 生成 Schema * @param graphData 图数据 */ export declare const generatorSchemaByGraphData: (graphData: ISchema, defaultOptions?: any) => ISchema;