TheOpenCloudEngine / uEngine5-base

uEngine5 BPMS that totally re-written in Microservices architecture. uEngine5 can act as not only a conventional Workflow or BPMS but also as a REST api orchestrator or a BPaaS (Business process as a service) of members of OCE's MSA components.
MIT License
10 stars 13 forks source link

MessageFlow is not removable from model data #97

Open jinyoung opened 6 years ago

jinyoung commented 6 years ago

MessageFlow 를 그린후 제거했지만 다시 로드하면 아래와 같이 다시 나옴

image

SeungpilPark commented 6 years ago

BpmnVue.vue 파일에 다음 메소드들이 모델과 오픈그래프의 연결고리 역할을 함.

위의 메소드들에 보면, definition.sequenceFlows 에 관한 로직이 있다. definition.sequenceFlows 로직과 똑같이 messageFlows 로직을 제작해야 한다.

SvgGraph.vue 에 추가 수정

if (activity.sequenceFlows && activity.sequenceFlows.length) {
   activity.sequenceFlows = nullFilter(activity.sequenceFlows);
}