UNPKG

relu-bpmn

Version:

RELU快速开发平台bpmn组件

30 lines (29 loc) 1.04 kB
import { reluConfigBpmnContextPad } from '../../contextPad'; import { bpmnStart, typeStart } from '../../variableName'; const { approver, processing, subFlow, connect, event, timeout, notice, webhook } = reluConfigBpmnContextPad; const reluStartConfig = { name: typeStart, shapeType: bpmnStart, palette: { name: 'create.relu-task', group: 'model', className: 'icon-relu-create icon-relu-task', title: '创建一个类型为relu-task的任务节点', }, renderer: { icon: 'icon-ym icon-ym-flow-node-start', iconColor: '#4cd823', titleColor: '#f0f5ff', background: '#ffffff', attr: { x: 0, y: 0, width: 90, rx: 16, height: 32 }, rendererName: '流程发起', bodyDefaultText: '暂未选择表单', }, contextPad: { default: false, customization: { approver, processing, subFlow, connect }, taskCustomization: { event, timeout, notice, webhook }, }, properties: {}, }; export { reluStartConfig };