export interface ProcessModel {
  // 流程名称
  name: string;
  // 流程显示名称
  displayName: string;
  // 过期时间
  expireTime: string;
  // 启动流程实例url或表单key
  instanceUrl: string;
  // 自定义流程实例流水号类
  instanceNoClass: string;
  // 当前图上所有节点的model
  nodes: BaseNodeModel[];
  // 当前图上所有边的model
  edges: BaseEdgeModel[];
}
export interface FlowFormModel extends ProcessModel {
  type: string;
  preInterceptors: string,
  postInterceptors: string,
  id: string,
  x: number,
  y: number,
  properties: {},
  clazz: string,
  methodName: string,
  args: string,
  expr: string,
  handleClass: string,
  form: string,
  assignee: string,
  assignmentHandler: string,
  taskType: string,
  performType: string,
  reminderTime: string,
  reminderRepeat: string,
  autoExecute: string,
  callback: string,
  width: number,
  height: number,
  field: any,
  fieldStr: string,
  ptype: number,
  views: string
}
export interface PropertyEvent {
  type: NodeType,
  propertyName: string,
  propertyValue: any,
}
