因为这个项目license问题无法开源,更多技术支持与服务请加入我的知识星球。
1、因为之前对于流程图的一些显示存在bug,所以这次进行修正
2、设置流程图的元素代码如下,主要有完成,未完成以及驳回拒绝的显示处理:
// 设置流程图元素状态
const setProcessStatus = (pNodeInfo) => {
processNodeInfo.value = pNodeInfo;
if (isLoading.value || processNodeInfo.value == null || bpmnViewer.value == null) return;
let { finishedSequenceFlowSet, rejectedTaskSet, finishedTaskSet, unfinishedTaskSet } = processNodeInfo.value;
const canvas = bpmnViewer.value.get('canvas');
const elementRegistry = bpmnViewer.value.get('elementRegistry'