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:
@@ -89,7 +89,7 @@
|
||||
<bpmndi:BPMNShape id="Task_S2_di" bpmnElement="Task_S2">
|
||||
<dc:Bounds x="300" y="320" width="100" height="80"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_S3_di" bpmnElement="Gateway_S3">
|
||||
<bpmndi:BPMNShape id="Gateway_S3_di" bpmnElement="Gateway_S3" isMarkerVisible="true">
|
||||
<dc:Bounds x="490" y="335" width="50" height="50"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="SendTask_S4_di" bpmnElement="SendTask_S4">
|
||||
|
||||
Reference in New Issue
Block a user