relu-bpmn
Version:
RELU快速开发平台bpmn组件
34 lines (33 loc) • 995 B
JavaScript
import { bpmnGroup } from '../../variableName';
import { reluConfigBpmnContextPad } from '../../contextPad';
const { approver, subFlow, inclusive, parallel, exclusive } = reluConfigBpmnContextPad;
const reluGroupConfig = {
name: bpmnGroup,
shapeType: bpmnGroup,
element: {
label: 'Group',
actionName: 'replace-with-group',
className: 'bpmn-icon-group',
target: {
type: bpmnGroup,
},
},
palette: {
name: 'create.yinmai-group',
group: 'model',
className: 'icon-yinmai-create icon-yinmai-group',
title: '修改为渲染按钮',
},
renderer: {
background: '#ffffff',
attr: { x: 0, y: 0, width: 28, height: 28 },
rendererName: '分组123',
fillColor: 'rgb(255,255,255)',
},
contextPad: {
default: false,
customization: { approver, subFlow, inclusive, parallel, exclusive },
},
properties: {},
};
export { reluGroupConfig };