relu-bpmn
Version:
RELU快速开发平台bpmn组件
34 lines (33 loc) • 1.03 kB
JavaScript
import { bpmnProcessing, typeProcessing } from '../../variableName';
const reluProcessingConfig = {
name: typeProcessing,
shapeType: bpmnProcessing,
element: {
label: 'Processing',
actionName: 'replace-with-processing',
className: 'bpmn-icon-processing',
target: {
type: bpmnProcessing,
},
},
palette: {
name: 'create.relu-processing',
group: 'model',
className: 'icon-relu-create icon-relu-processing',
title: '创建一个类型为relu-processing的任务节点',
},
renderer: {
icon: 'icon-ym icon-ym-generator-todo',
iconColor: '#C33B5F',
titleColor: 'linear-gradient(90deg, #FFC1DB 0%, #F2819F 100%)',
background: '#ffffff',
attr: { x: 0, y: 0, rx: 8, width: 200, height: 88 },
rendererName: '办理节点',
bodyDefaultText: '请设置办理人',
},
contextPad: {
default: true,
},
properties: {},
};
export { reluProcessingConfig };