cancel
Showing results for 
Search instead for 
Did you mean: 

Ugly generated instance diagram

sherlockq
Champ in-the-making
Champ in-the-making
On activiti 5.8 and 5.6, the generated instance diagram's layout is different from process definition diagram generated by eclipse editor, and it's rather ugly. The font issue is known can be solved, I just mean those transition lines.

Here is codes to generate instance diagram

   ProcessDefinitionEntity pde = (ProcessDefinitionEntity) ((RepositoryServiceImpl) processEngine
            .getRepositoryService()).getDeployedProcessDefinition(pi
            .getProcessDefinitionId());
      InputStream iStream = ProcessDiagramGenerator.generateDiagram(
            (ProcessDefinitionEntity) pde, "png",
            runtimeService.getActiveActivityIds(pi.getId()));


3 REPLIES 3

trademak
Star Contributor
Star Contributor
Can you attach your bpmn20.xml file to this post, then I can see if I can improve this.

Best regards,

sherlockq
Champ in-the-making
Champ in-the-making
Can you attach your bpmn20.xml file to this post, then I can see if I can improve this.

Best regards,

Because xml file can't be uploaded, neither other formats, I have to paste it here. Thank you for help.


<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlnsSmiley Surprisedmgdc="http://www.omg.org/spec/DD/20100524/DC" xmlnsSmiley Surprisedmgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="ECR">
  <process id="ECR_approve" name="ECR_approve">
    <subProcess id="subprocess1" name="审核流程">
      <extensionElements>
        <activiti:executionListener event="start" expression="${ecrService.doChangeStatus(bizObjectId, 'ECR_CONTROLLED')}"></activiti:executionListener>
      </extensionElements>
      <startEvent id="subprocess1startevent1" name="Start"></startEvent>
      <userTask id="subprocess1validate" name="设计校对" activiti:assignee="${user_disgner}" activiti:formKey="standard-audit">
        <extensionElements>
          <activiti:formProperty id="decision" name="批准" type="string" variable="validate_decision" required="true" readable="true" writable="true"></activiti:formProperty>
        </extensionElements>
      </userTask>
      <sequenceFlow id="subprocess1flow1" name="" sourceRef="subprocess1startevent1" targetRef="subprocess1validate"></sequenceFlow>
      <exclusiveGateway id="subprocess1exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway>
      <userTask id="subprocess1usertask2" name="设计组长审核" activiti:assignee="${user_disign_leader}" activiti:formKey="standard-audit">
        <extensionElements>
          <activiti:formProperty id="decision" name="批准" type="string" variable="review_decision" required="true" readable="true" writable="true"></activiti:formProperty>
        </extensionElements>
      </userTask>
      <userTask id="subprocess1usertask3" name="制造审阅" activiti:assignee="${user_manu}" activiti:formKey="standard-audit">
        <extensionElements>
          <activiti:formProperty id="decision" name="decision" type="string" variable="check1_decision" required="true" readable="true" writable="true"></activiti:formProperty>
        </extensionElements>
      </userTask>
      <userTask id="subprocess1usertask4" name="采购审阅" activiti:assignee="${user_perc}" activiti:formKey="standard-audit">
        <extensionElements>
          <activiti:formProperty id="decision" name="decision" type="string" variable="check2_decision" required="true" readable="true" writable="true"></activiti:formProperty>
        </extensionElements>
      </userTask>
      <userTask id="subprocess1usertask5" name="财务审阅" activiti:assignee="${user_finance}" activiti:formKey="standard-audit">
        <extensionElements>
          <activiti:formProperty id="decision" name="decision" type="string" variable="usertask5_decision" required="true" readable="true" writable="true"></activiti:formProperty>
        </extensionElements>
      </userTask>
      <userTask id="subprocess1usertask6" name="主管批准" activiti:assignee="${user_supervisor}" activiti:formKey="standard-audit">
        <extensionElements>
          <activiti:formProperty id="decision" name="decision" type="string" variable="usertask6_decision" required="true" readable="true" writable="true"></activiti:formProperty>
        </extensionElements>
      </userTask>
      <endEvent id="subprocess1endevent2" name="ErrorEnd">
        <errorEventDefinition errorRef="error_eco_disapprove"></errorEventDefinition>
      </endEvent>
      <sequenceFlow id="subprocess1flow8" name="" sourceRef="subprocess1exclusivegateway1" targetRef="subprocess1endevent2">
        <conditionExpression xsi:type="tFormalExpression"><![CDATA[${validate_decision==false}]]></conditionExpression>
      </sequenceFlow>
      <sequenceFlow id="subprocess1flow9" name="" sourceRef="subprocess1exclusivegateway1" targetRef="subprocess1usertask2">
        <conditionExpression xsi:type="tFormalExpression"><![CDATA[${validate_decision==true}]]></conditionExpression>
      </sequenceFlow>
      <exclusiveGateway id="subprocess1exclusivegateway2" name="Exclusive Gateway"></exclusiveGateway>
      <sequenceFlow id="subprocess1flow10" name="" sourceRef="subprocess1usertask2" targetRef="subprocess1exclusivegateway2"></sequenceFlow>
      <sequenceFlow id="subprocess1flow11" name="" sourceRef="subprocess1exclusivegateway2" targetRef="subprocess1endevent2">
        <conditionExpression xsi:type="tFormalExpression"><![CDATA[${review_decision==false}]]></conditionExpression>
      </sequenceFlow>
      <parallelGateway id="subprocess1parallelgateway1" name="Parallel Gateway"></parallelGateway>
      <parallelGateway id="subprocess1parallelgateway2" name="Parallel Gateway"></parallelGateway>
      <sequenceFlow id="subprocess1flow12" name="" sourceRef="subprocess1exclusivegateway2" targetRef="subprocess1parallelgateway1">
        <conditionExpression xsi:type="tFormalExpression"><![CDATA[${review_decision==true}]]></conditionExpression>
      </sequenceFlow>
      <sequenceFlow id="subprocess1flow13" name="" sourceRef="subprocess1parallelgateway1" targetRef="subprocess1usertask3"></sequenceFlow>
      <sequenceFlow id="subprocess1flow14" name="" sourceRef="subprocess1parallelgateway1" targetRef="subprocess1usertask4"></sequenceFlow>
      <exclusiveGateway id="subprocess1exclusivegateway4" name="Exclusive Gateway"></exclusiveGateway>
      <exclusiveGateway id="subprocess1exclusivegateway5" name="Exclusive Gateway"></exclusiveGateway>
      <sequenceFlow id="subprocess1flow21" name="" sourceRef="subprocess1usertask5" targetRef="subprocess1exclusivegateway4"></sequenceFlow>
      <sequenceFlow id="subprocess1flow22" name="" sourceRef="subprocess1usertask6" targetRef="subprocess1exclusivegateway5"></sequenceFlow>
      <sequenceFlow id="subprocess1flow23" name="" sourceRef="subprocess1exclusivegateway4" targetRef="subprocess1usertask6">
        <conditionExpression xsi:type="tFormalExpression"><![CDATA[${usertask5_decision==true}]]></conditionExpression>
      </sequenceFlow>
      <sequenceFlow id="subprocess1flow24" name="" sourceRef="subprocess1exclusivegateway4" targetRef="subprocess1endevent2">
        <conditionExpression xsi:type="tFormalExpression"><![CDATA[${usertask5_decision==false}]]></conditionExpression>
      </sequenceFlow>
      <sequenceFlow id="subprocess1flow25" name="" sourceRef="subprocess1exclusivegateway5" targetRef="subprocess1endevent2">
        <conditionExpression xsi:type="tFormalExpression"><![CDATA[${usertask6_decision==false}]]></conditionExpression>
      </sequenceFlow>
      <endEvent id="subprocess1endevent4" name="End"></endEvent>
      <sequenceFlow id="subprocess1flow29" name="" sourceRef="subprocess1exclusivegateway5" targetRef="subprocess1endevent4">
        <conditionExpression xsi:type="tFormalExpression"><![CDATA[${usertask6_decision == true}]]></conditionExpression>
      </sequenceFlow>
      <sequenceFlow id="subprocess1flow30" name="" sourceRef="subprocess1validate" targetRef="subprocess1exclusivegateway1"></sequenceFlow>
      <exclusiveGateway id="subprocess1exclusivegateway7" name="Exclusive Gateway"></exclusiveGateway>
      <exclusiveGateway id="subprocess1exclusivegateway8" name="Exclusive Gateway"></exclusiveGateway>
      <sequenceFlow id="subprocess1flow36" name="" sourceRef="subprocess1usertask3" targetRef="subprocess1exclusivegateway7"></sequenceFlow>
      <sequenceFlow id="subprocess1flow37" name="" sourceRef="subprocess1usertask4" targetRef="subprocess1exclusivegateway8"></sequenceFlow>
      <sequenceFlow id="subprocess1flow39" name="" sourceRef="subprocess1exclusivegateway8" targetRef="subprocess1parallelgateway2">
        <conditionExpression xsi:type="tFormalExpression"><![CDATA[${check2_decision==true}]]></conditionExpression>
      </sequenceFlow>
      <sequenceFlow id="subprocess1flow40" name="" sourceRef="subprocess1exclusivegateway7" targetRef="subprocess1parallelgateway2">
        <conditionExpression xsi:type="tFormalExpression"><![CDATA[${check1_decision==true}]]></conditionExpression>
      </sequenceFlow>
      <sequenceFlow id="subprocess1flow41" name="" sourceRef="subprocess1parallelgateway2" targetRef="subprocess1usertask5"></sequenceFlow>
      <sequenceFlow id="subprocess1flow42" name="" sourceRef="subprocess1exclusivegateway7" targetRef="subprocess1endevent2">
        <conditionExpression xsi:type="tFormalExpression"><![CDATA[${check1_decision==false}]]></conditionExpression>
      </sequenceFlow>
      <endEvent id="subprocess1endevent5" name="ErrorEnd">
        <errorEventDefinition errorRef="error_eco_disapprove"></errorEventDefinition>
      </endEvent>
      <sequenceFlow id="subprocess1flow43" name="" sourceRef="subprocess1exclusivegateway8" targetRef="subprocess1endevent5">
        <conditionExpression xsi:type="tFormalExpression"><![CDATA[${check2_decision==false}]]></conditionExpression>
      </sequenceFlow>
    </subProcess>
    <startEvent id="startevent2" name="Start"></startEvent>
    <endEvent id="endevent3" name="End"></endEvent>
    <userTask id="remodify" name="重新修改" activiti:assignee="${owner}" activiti:formKey="resubmit">
      <extensionElements>
        <activiti:formProperty id="decision" name="decision" type="string" variable="remodify" required="true" readable="true" writable="true"></activiti:formProperty>
      </extensionElements>
    </userTask>
    <exclusiveGateway id="exclusivegateway6" name="Exclusive Gateway"></exclusiveGateway>
    <sequenceFlow id="flow32" name="" sourceRef="remodify" targetRef="exclusivegateway6"></sequenceFlow>
    <boundaryEvent id="boundaryerror1" name="" attachedToRef="subprocess1">
      <errorEventDefinition errorRef="error_eco_disapprove"></errorEventDefinition>
    </boundaryEvent>
    <sequenceFlow id="flow50" name="提交" sourceRef="exclusivegateway6" targetRef="subprocess1">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${remodify==true}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="flow51" name="" sourceRef="startevent2" targetRef="subprocess1"></sequenceFlow>
    <sequenceFlow id="flow52" name="" sourceRef="boundaryerror1" targetRef="remodify">
      <extensionElements>
        <activiti:executionListener event="take" expression="${ecrService.doChangeStatus(bizObjectId,'REJECTED')}"></activiti:executionListener>
      </extensionElements>
    </sequenceFlow>
    <sequenceFlow id="flow53" name="取消" sourceRef="exclusivegateway6" targetRef="endevent3">
      <extensionElements>
        <activiti:executionListener event="take" expression="${ecrService.doChangeStatus(bizObjectId,'CANCELLED')}"></activiti:executionListener>
      </extensionElements>
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${remodify==false}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="flow54" name="批准完成" sourceRef="subprocess1" targetRef="endevent3">
      <extensionElements>
        <activiti:executionListener event="take" expression="${ecrService.doChangeStatus(bizObjectId, 'APPROVED')}"></activiti:executionListener>
      </extensionElements>
    </sequenceFlow>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_ECR_approve">
    <bpmndi:BPMNPlane bpmnElement="ECR_approve" id="BPMNPlane_ECR_approve">
      <bpmndi:BPMNShape bpmnElement="subprocess1" id="BPMNShape_subprocess1">
        <omgdc:Bounds height="388" width="891" x="240" y="38"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="subprocess1startevent1" id="BPMNShape_startevent1">
        <omgdc:Bounds height="35" width="35" x="256" y="113"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="subprocess1validate" id="BPMNShape_validate">
        <omgdc:Bounds height="55" width="105" x="314" y="103"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="subprocess1exclusivegateway1" id="BPMNShape_exclusivegateway1">
        <omgdc:Bounds height="40" width="40" x="450" y="110"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="subprocess1usertask2" id="BPMNShape_usertask2">
        <omgdc:Bounds height="55" width="105" x="418" y="165"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="subprocess1usertask3" id="BPMNShape_usertask3">
        <omgdc:Bounds height="55" width="105" x="650" y="158"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="subprocess1usertask4" id="BPMNShape_usertask4">
        <omgdc:Bounds height="55" width="105" x="650" y="235"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="subprocess1usertask5" id="BPMNShape_usertask5">
        <omgdc:Bounds height="55" width="105" x="831" y="286"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="subprocess1usertask6" id="BPMNShape_usertask6">
        <omgdc:Bounds height="55" width="105" x="919" y="359"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="subprocess1endevent2" id="BPMNShape_endevent2">
        <omgdc:Bounds height="35" width="35" x="1042" y="55"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="subprocess1exclusivegateway2" id="BPMNShape_exclusivegateway2">
        <omgdc:Bounds height="40" width="40" x="550" y="172"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="subprocess1parallelgateway1" id="BPMNShape_parallelgateway1">
        <omgdc:Bounds height="40" width="40" x="590" y="215"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="subprocess1parallelgateway2" id="BPMNShape_parallelgateway2">
        <omgdc:Bounds height="40" width="40" x="831" y="202"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="subprocess1exclusivegateway4" id="BPMNShape_exclusivegateway4">
        <omgdc:Bounds height="40" width="40" x="951" y="293"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="subprocess1exclusivegateway5" id="BPMNShape_exclusivegateway5">
        <omgdc:Bounds height="40" width="40" x="1042" y="366"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="subprocess1endevent4" id="BPMNShape_endevent4">
        <omgdc:Bounds height="35" width="35" x="1096" y="369"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="subprocess1exclusivegateway7" id="BPMNShape_exclusivegateway7">
        <omgdc:Bounds height="40" width="40" x="780" y="165"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="subprocess1exclusivegateway8" id="BPMNShape_exclusivegateway8">
        <omgdc:Bounds height="40" width="40" x="780" y="242"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="subprocess1endevent5" id="BPMNShape_endevent5">
        <omgdc:Bounds height="35" width="35" x="782" y="314"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow1" id="BPMNEdge_flow1">
        <omgdi:waypoint x="291" y="130"></omgdi:waypoint>
        <omgdi:waypoint x="314" y="130"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow8" id="BPMNEdge_flow8">
        <omgdi:waypoint x="470" y="110"></omgdi:waypoint>
        <omgdi:waypoint x="470" y="75"></omgdi:waypoint>
        <omgdi:waypoint x="524" y="75"></omgdi:waypoint>
        <omgdi:waypoint x="1042" y="72"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow9" id="BPMNEdge_flow9">
        <omgdi:waypoint x="470" y="150"></omgdi:waypoint>
        <omgdi:waypoint x="470" y="165"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow10" id="BPMNEdge_flow10">
        <omgdi:waypoint x="523" y="192"></omgdi:waypoint>
        <omgdi:waypoint x="550" y="192"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow11" id="BPMNEdge_flow11">
        <omgdi:waypoint x="570" y="172"></omgdi:waypoint>
        <omgdi:waypoint x="570" y="75"></omgdi:waypoint>
        <omgdi:waypoint x="644" y="75"></omgdi:waypoint>
        <omgdi:waypoint x="784" y="75"></omgdi:waypoint>
        <omgdi:waypoint x="1042" y="72"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow12" id="BPMNEdge_flow12">
        <omgdi:waypoint x="570" y="212"></omgdi:waypoint>
        <omgdi:waypoint x="570" y="235"></omgdi:waypoint>
        <omgdi:waypoint x="590" y="235"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow13" id="BPMNEdge_flow13">
        <omgdi:waypoint x="610" y="215"></omgdi:waypoint>
        <omgdi:waypoint x="609" y="193"></omgdi:waypoint>
        <omgdi:waypoint x="650" y="185"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow14" id="BPMNEdge_flow14">
        <omgdi:waypoint x="610" y="255"></omgdi:waypoint>
        <omgdi:waypoint x="610" y="265"></omgdi:waypoint>
        <omgdi:waypoint x="650" y="262"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow21" id="BPMNEdge_flow21">
        <omgdi:waypoint x="936" y="313"></omgdi:waypoint>
        <omgdi:waypoint x="951" y="313"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow22" id="BPMNEdge_flow22">
        <omgdi:waypoint x="1024" y="386"></omgdi:waypoint>
        <omgdi:waypoint x="1042" y="386"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow23" id="BPMNEdge_flow23">
        <omgdi:waypoint x="971" y="333"></omgdi:waypoint>
        <omgdi:waypoint x="971" y="359"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow24" id="BPMNEdge_flow24">
        <omgdi:waypoint x="971" y="293"></omgdi:waypoint>
        <omgdi:waypoint x="971" y="72"></omgdi:waypoint>
        <omgdi:waypoint x="1042" y="72"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow25" id="BPMNEdge_flow25">
        <omgdi:waypoint x="1062" y="366"></omgdi:waypoint>
        <omgdi:waypoint x="1042" y="72"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow29" id="BPMNEdge_flow29">
        <omgdi:waypoint x="1082" y="386"></omgdi:waypoint>
        <omgdi:waypoint x="1096" y="386"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow30" id="BPMNEdge_flow30">
        <omgdi:waypoint x="419" y="130"></omgdi:waypoint>
        <omgdi:waypoint x="450" y="130"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow36" id="BPMNEdge_flow36">
        <omgdi:waypoint x="755" y="185"></omgdi:waypoint>
        <omgdi:waypoint x="780" y="185"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow37" id="BPMNEdge_flow37">
        <omgdi:waypoint x="755" y="262"></omgdi:waypoint>
        <omgdi:waypoint x="780" y="262"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow39" id="BPMNEdge_flow39">
        <omgdi:waypoint x="800" y="242"></omgdi:waypoint>
        <omgdi:waypoint x="852" y="262"></omgdi:waypoint>
        <omgdi:waypoint x="851" y="242"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow40" id="BPMNEdge_flow40">
        <omgdi:waypoint x="800" y="205"></omgdi:waypoint>
        <omgdi:waypoint x="850" y="185"></omgdi:waypoint>
        <omgdi:waypoint x="851" y="202"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow41" id="BPMNEdge_flow41">
        <omgdi:waypoint x="871" y="222"></omgdi:waypoint>
        <omgdi:waypoint x="885" y="222"></omgdi:waypoint>
        <omgdi:waypoint x="831" y="313"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow42" id="BPMNEdge_flow42">
        <omgdi:waypoint x="800" y="165"></omgdi:waypoint>
        <omgdi:waypoint x="800" y="72"></omgdi:waypoint>
        <omgdi:waypoint x="1042" y="72"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="subprocess1flow43" id="BPMNEdge_flow43">
        <omgdi:waypoint x="800" y="282"></omgdi:waypoint>
        <omgdi:waypoint x="782" y="331"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape bpmnElement="startevent2" id="BPMNShape_startevent2">
        <omgdc:Bounds height="35" width="35" x="94" y="216"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="endevent3" id="BPMNShape_endevent3">
        <omgdc:Bounds height="35" width="35" x="1190" y="508"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="remodify" id="BPMNShape_remodify">
        <omgdc:Bounds height="55" width="105" x="270" y="438"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="exclusivegateway6" id="BPMNShape_exclusivegateway6">
        <omgdc:Bounds height="40" width="40" x="302" y="508"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="boundaryerror1" id="BPMNShape_boundaryerror1">
        <omgdc:Bounds height="30" width="30" x="680" y="414"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="flow32" id="BPMNEdge_flow32">
        <omgdi:waypoint x="375" y="465"></omgdi:waypoint>
        <omgdi:waypoint x="302" y="528"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow50" id="BPMNEdge_flow50">
        <omgdi:waypoint x="322" y="508"></omgdi:waypoint>
        <omgdi:waypoint x="118" y="528"></omgdi:waypoint>
        <omgdi:waypoint x="118" y="267"></omgdi:waypoint>
        <omgdi:waypoint x="240" y="232"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow51" id="BPMNEdge_flow51">
        <omgdi:waypoint x="129" y="233"></omgdi:waypoint>
        <omgdi:waypoint x="240" y="232"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow52" id="BPMNEdge_flow52">
        <omgdi:waypoint x="695" y="444"></omgdi:waypoint>
        <omgdi:waypoint x="694" y="465"></omgdi:waypoint>
        <omgdi:waypoint x="375" y="465"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow53" id="BPMNEdge_flow53">
        <omgdi:waypoint x="342" y="528"></omgdi:waypoint>
        <omgdi:waypoint x="1190" y="525"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow54" id="BPMNEdge_flow54">
        <omgdi:waypoint x="1131" y="232"></omgdi:waypoint>
        <omgdi:waypoint x="1207" y="232"></omgdi:waypoint>
        <omgdi:waypoint x="1207" y="508"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>

trademak
Star Contributor
Star Contributor
Hi,

If you try the just release Activiti Designer 5.9.0, you'll see that the diagram looks a lot better.

Best regards,