XOR-Gateways mit sichtbarem X ausgeben (#15)
- build_bpmn(): Die BPMNShape jedes exklusiven Gateways bekommt isMarkerVisible="true". BPMN lässt das X optional; ohne das Attribut zeichnet bpmn-js eine leere Raute. OR-, AND- und ereignisbasierte Gateways haben ihr Symbol immer und bleiben unverändert. - Alle Beispiele neu erzeugt: je XOR-Gateway nur das Attribut ergänzt (beispiel_lanes 1, beispiel_prozess 2, Referenzmodell 14), sonst byte-gleich. - Neuer Test test_nur_xor_gateways_zeigen_ihr_x. - Tests: python -m pytest -q -> 93 bestanden. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -305,7 +305,7 @@
|
||||
<bpmndi:BPMNShape id="Task_S5_di" bpmnElement="Task_S5">
|
||||
<dc:Bounds x="870" y="130" width="100" height="80"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_S6_di" bpmnElement="Gateway_S6">
|
||||
<bpmndi:BPMNShape id="Gateway_S6_di" bpmnElement="Gateway_S6" isMarkerVisible="true">
|
||||
<dc:Bounds x="1060" y="145" width="50" height="50"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Task_S7_di" bpmnElement="Task_S7">
|
||||
@@ -317,31 +317,31 @@
|
||||
<bpmndi:BPMNShape id="Task_S9_di" bpmnElement="Task_S9">
|
||||
<dc:Bounds x="1630" y="130" width="100" height="80"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_S10_di" bpmnElement="Gateway_S10">
|
||||
<bpmndi:BPMNShape id="Gateway_S10_di" bpmnElement="Gateway_S10" isMarkerVisible="true">
|
||||
<dc:Bounds x="1820" y="145" width="50" height="50"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Task_S11_di" bpmnElement="Task_S11">
|
||||
<dc:Bounds x="2010" y="130" width="100" height="80"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_S12_di" bpmnElement="Gateway_S12">
|
||||
<bpmndi:BPMNShape id="Gateway_S12_di" bpmnElement="Gateway_S12" isMarkerVisible="true">
|
||||
<dc:Bounds x="2200" y="145" width="50" height="50"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_S13_di" bpmnElement="Gateway_S13">
|
||||
<bpmndi:BPMNShape id="Gateway_S13_di" bpmnElement="Gateway_S13" isMarkerVisible="true">
|
||||
<dc:Bounds x="2390" y="60" width="50" height="50"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Task_S14_di" bpmnElement="Task_S14">
|
||||
<dc:Bounds x="2580" y="45" width="100" height="80"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_S15_di" bpmnElement="Gateway_S15">
|
||||
<bpmndi:BPMNShape id="Gateway_S15_di" bpmnElement="Gateway_S15" isMarkerVisible="true">
|
||||
<dc:Bounds x="2770" y="60" width="50" height="50"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Task_S16_di" bpmnElement="Task_S16">
|
||||
<dc:Bounds x="2960" y="45" width="100" height="80"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_S17_di" bpmnElement="Gateway_S17">
|
||||
<bpmndi:BPMNShape id="Gateway_S17_di" bpmnElement="Gateway_S17" isMarkerVisible="true">
|
||||
<dc:Bounds x="3150" y="60" width="50" height="50"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_S18_di" bpmnElement="Gateway_S18">
|
||||
<bpmndi:BPMNShape id="Gateway_S18_di" bpmnElement="Gateway_S18" isMarkerVisible="true">
|
||||
<dc:Bounds x="3340" y="60" width="50" height="50"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Task_S19_di" bpmnElement="Task_S19">
|
||||
@@ -353,10 +353,10 @@
|
||||
<bpmndi:BPMNShape id="Task_S21_di" bpmnElement="Task_S21">
|
||||
<dc:Bounds x="3530" y="765" width="100" height="80"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_S22_di" bpmnElement="Gateway_S22">
|
||||
<bpmndi:BPMNShape id="Gateway_S22_di" bpmnElement="Gateway_S22" isMarkerVisible="true">
|
||||
<dc:Bounds x="3910" y="145" width="50" height="50"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_S23_di" bpmnElement="Gateway_S23">
|
||||
<bpmndi:BPMNShape id="Gateway_S23_di" bpmnElement="Gateway_S23" isMarkerVisible="true">
|
||||
<dc:Bounds x="3340" y="230" width="50" height="50"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Task_S24_di" bpmnElement="Task_S24">
|
||||
@@ -365,10 +365,10 @@
|
||||
<bpmndi:BPMNShape id="Task_S25_di" bpmnElement="Task_S25">
|
||||
<dc:Bounds x="3530" y="130" width="100" height="80"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_S26_di" bpmnElement="Gateway_S26">
|
||||
<bpmndi:BPMNShape id="Gateway_S26_di" bpmnElement="Gateway_S26" isMarkerVisible="true">
|
||||
<dc:Bounds x="3720" y="230" width="50" height="50"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_S27_di" bpmnElement="Gateway_S27">
|
||||
<bpmndi:BPMNShape id="Gateway_S27_di" bpmnElement="Gateway_S27" isMarkerVisible="true">
|
||||
<dc:Bounds x="4100" y="145" width="50" height="50"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Task_S40_di" bpmnElement="Task_S40">
|
||||
@@ -377,16 +377,16 @@
|
||||
<bpmndi:BPMNShape id="Task_S41_di" bpmnElement="Task_S41">
|
||||
<dc:Bounds x="2580" y="215" width="100" height="80"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_S42_di" bpmnElement="Gateway_S42">
|
||||
<bpmndi:BPMNShape id="Gateway_S42_di" bpmnElement="Gateway_S42" isMarkerVisible="true">
|
||||
<dc:Bounds x="2770" y="230" width="50" height="50"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Task_S43_di" bpmnElement="Task_S43">
|
||||
<dc:Bounds x="2960" y="215" width="100" height="80"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_S44_di" bpmnElement="Gateway_S44">
|
||||
<bpmndi:BPMNShape id="Gateway_S44_di" bpmnElement="Gateway_S44" isMarkerVisible="true">
|
||||
<dc:Bounds x="3150" y="230" width="50" height="50"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_S50_di" bpmnElement="Gateway_S50">
|
||||
<bpmndi:BPMNShape id="Gateway_S50_di" bpmnElement="Gateway_S50" isMarkerVisible="true">
|
||||
<dc:Bounds x="4290" y="145" width="50" height="50"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Task_S51_di" bpmnElement="Task_S51">
|
||||
|
||||
Reference in New Issue
Block a user