config.ts 835 Bytes
export const nodeList = [
  {
    text: '开始',
    type: 'start',
    class: 'node-start',
  },
  {
    text: '矩形',
    type: 'rect',
    class: 'node-rect',
  },
  {
    type: 'user',
    text: '用户',
    class: 'node-user',
  },
  {
    type: 'push',
    text: '推送',
    class: 'node-push',
  },
  {
    type: 'download',
    text: '位置',
    class: 'node-download',
  },
  {
    type: 'end',
    text: '结束',
    class: 'node-end',
  },
];

export const BpmnNode = [
  {
    type: 'bpmn:startEvent',
    text: '开始',
    class: 'bpmn-start',
  },
  {
    type: 'bpmn:endEvent',
    text: '结束',
    class: 'bpmn-end',
  },
  {
    type: 'bpmn:exclusiveGateway',
    text: '网关',
    class: 'bpmn-exclusiveGateway',
  },
  {
    type: 'bpmn:userTask',
    text: '用户',
    class: 'bpmn-user',
  },
];