Skip to content

Commit

Permalink
Merge pull request #55 from csgoh/dev-processpiper
Browse files Browse the repository at this point in the history
Dev processpiper v.0.8.0
  • Loading branch information
csgoh authored Jul 28, 2024
2 parents 026c88e + 098fb40 commit 5e5e9d7
Show file tree
Hide file tree
Showing 103 changed files with 6,741 additions and 270 deletions.
124 changes: 124 additions & 0 deletions images/test/my_process_map.bpmn
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
<?xml version='1.0' encoding='UTF-8'?>
<bpmn:definitions id="Definitions_PIPER_ade30229" targetNamespace="https://github.com/csgoh/processpiper/schema/bpmn" exporter="ProcessPiper (https://github.com/csgoh/processpiper)" exporterVersion="v0.8.0" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" xmlns:color="http://www.omg.org/spec/BPMN/non-normative/color/1.0">
<bpmn:process id="LANE_472db91a" name="End User" isExecutable="false">
<bpmn:startEvent id="PIPER_d03a6cdb" name="Start" />
<bpmn:task id="PIPER_4593f638" name="Enter Keyword" />
</bpmn:process>
<bpmn:process id="POOL_26076d39" name="System Search" isExecutable="false">
<bpmn:laneSet id="PIPER_e76e72cf">
<bpmn:lane id="LANE_55e5c65a" name="Database System">
<bpmn:flowNodeRef>PIPER_171bd955</bpmn:flowNodeRef>
<bpmn:flowNodeRef>PIPER_703aada4</bpmn:flowNodeRef>
<bpmn:flowNodeRef>PIPER_8e43bccd</bpmn:flowNodeRef>
<bpmn:flowNodeRef>PIPER_ac40a765</bpmn:flowNodeRef>
<bpmn:flowNodeRef>PIPER_1f8daf1a</bpmn:flowNodeRef>
<bpmn:flowNodeRef>PIPER_cc251aec</bpmn:flowNodeRef>
</bpmn:lane>
<bpmn:lane id="LANE_b57e6260" name="Log System">
<bpmn:flowNodeRef>PIPER_d97972a1</bpmn:flowNodeRef>
</bpmn:lane>
</bpmn:laneSet>
<bpmn:task id="PIPER_171bd955" name="Login" />
<bpmn:task id="PIPER_703aada4" name="Search Records" />
<bpmn:sequenceFlow id="PIPER_e798003e" name="Result" sourceRef="PIPER_703aada4" targetRef="PIPER_8e43bccd" />
<bpmn:exclusiveGateway id="PIPER_8e43bccd" name="Result Found?" />
<bpmn:sequenceFlow id="PIPER_065400fd" name="Yes" sourceRef="PIPER_8e43bccd" targetRef="PIPER_ac40a765" />
<bpmn:sequenceFlow id="PIPER_3d2b5ee3" name="No" sourceRef="PIPER_8e43bccd" targetRef="PIPER_d97972a1" />
<bpmn:task id="PIPER_ac40a765" name="Display Result" />
<bpmn:sequenceFlow id="PIPER_0260cd48" name="" sourceRef="PIPER_ac40a765" targetRef="PIPER_1f8daf1a" />
<bpmn:task id="PIPER_1f8daf1a" name="Logout" />
<bpmn:sequenceFlow id="PIPER_904f6f9e" name="" sourceRef="PIPER_1f8daf1a" targetRef="PIPER_cc251aec" />
<bpmn:endEvent id="PIPER_cc251aec" name="End" />
<bpmn:task id="PIPER_d97972a1" name="Log Error" />
<bpmn:sequenceFlow id="PIPER_8546e6f2" name="" sourceRef="PIPER_d97972a1" targetRef="PIPER_ac40a765" />
</bpmn:process>
<bpmn:collaboration id="PIPER_b9cce8dd">
<bpmn:participant id="LANE_COLAB_c8ca348f" name="End User" processRef="LANE_472db91a" />
<bpmn:messageFlow id="PIPER_9e74832d" name="User &#10;Authenticates" sourceRef="PIPER_d03a6cdb" targetRef="PIPER_171bd955" />
<bpmn:messageFlow id="PIPER_82a3f51f" name="Search Criteria" sourceRef="PIPER_4593f638" targetRef="PIPER_703aada4" />
<bpmn:participant id="POOL_COLAB_29c517c2" name="System Search" processRef="POOL_26076d39" />
<bpmn:messageFlow id="PIPER_049629dc" name="Authenticated" sourceRef="PIPER_171bd955" targetRef="PIPER_4593f638" />
</bpmn:collaboration>
<bpmndi:BPMNDiagram id="PIPER_3dcf496a" name="BPMN Diagram">
<bpmndi:BPMNPlane id="PIPER_5b81de41" bpmnElement="PIPER_b9cce8dd">
<bpmndi:BPMNShape id="SHAPE_ENDUSER_4fac78f7" bpmnElement="LANE_COLAB_c8ca348f">
<dc:Bounds x="72" y="64" width="1429" height="160" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="SHAPE_SYSTEMSEARCH_75b6be10" bpmnElement="POOL_COLAB_29c517c2" color:background-color="#0B5394">
<dc:Bounds x="20" y="236" width="50" height="322" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="SHAPE_DATABASESYSTEM_11c99105" bpmnElement="LANE_55e5c65a">
<dc:Bounds x="72" y="236" width="1429" height="160" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="SHAPE_LOGSYSTEM_8af53ea4" bpmnElement="LANE_b57e6260">
<dc:Bounds x="72" y="398" width="1429" height="160" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="SHAPE_START_38f84085" bpmnElement="PIPER_d03a6cdb" color:background-color="#9FC5E8">
<dc:Bounds x="207.0" y="121.0" width="60" height="60" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="CONNECTION_USERAUTHENTICATES_80948ba5" bpmnElement="PIPER_9e74832d">
<di:waypoint x="237.0" y="181.0" />
<di:waypoint x="237" y="286" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="SHAPE_ENTERKEYWORD_626f1d29" bpmnElement="PIPER_4593f638" color:background-color="#9FC5E8">
<dc:Bounds x="402" y="114" width="130" height="74" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="CONNECTION_SEARCHCRITERIA_22b79948" bpmnElement="PIPER_82a3f51f">
<di:waypoint x="467" y="188" />
<di:waypoint x="467" y="286" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="SHAPE_LOGIN_c43e500f" bpmnElement="PIPER_171bd955" color:background-color="#9FC5E8">
<dc:Bounds x="172" y="286" width="130" height="74" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="CONNECTION_AUTHENTICATED_c6097b2b" bpmnElement="PIPER_049629dc">
<di:waypoint x="302" y="323" />
<di:waypoint x="352.0" y="323" />
<di:waypoint x="352.0" y="151" />
<di:waypoint x="402" y="151" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="SHAPE_SEARCHRECORDS_9a8048ba" bpmnElement="PIPER_703aada4" color:background-color="#9FC5E8">
<dc:Bounds x="402" y="286" width="130" height="74" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="CONNECTION_RESULT_07165b98" bpmnElement="PIPER_e798003e">
<di:waypoint x="532" y="323" />
<di:waypoint x="642" y="323" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="SHAPE_RESULTFOUND_2dc2f27d" bpmnElement="PIPER_8e43bccd" color:background-color="#9FC5E8">
<dc:Bounds x="642" y="286" width="110" height="74" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="CONNECTION_YES_3ae056cf" bpmnElement="PIPER_065400fd">
<di:waypoint x="752" y="323" />
<di:waypoint x="862" y="323" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="CONNECTION_NO_2847542e" bpmnElement="PIPER_3d2b5ee3">
<di:waypoint x="697" y="360" />
<di:waypoint x="697" y="448" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="SHAPE_DISPLAYRESULT_4be88372" bpmnElement="PIPER_ac40a765" color:background-color="#9FC5E8">
<dc:Bounds x="862" y="286" width="130" height="74" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="CONNECTION__f4501e5e" bpmnElement="PIPER_0260cd48">
<di:waypoint x="992" y="323" />
<di:waypoint x="1092" y="323" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="SHAPE_LOGOUT_33e52235" bpmnElement="PIPER_1f8daf1a" color:background-color="#9FC5E8">
<dc:Bounds x="1092" y="286" width="130" height="74" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="CONNECTION__ae8b12f3" bpmnElement="PIPER_904f6f9e">
<di:waypoint x="1222" y="323" />
<di:waypoint x="1357.0" y="323.0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="SHAPE_END_686a56a2" bpmnElement="PIPER_cc251aec" color:background-color="#9FC5E8">
<dc:Bounds x="1357.0" y="293.0" width="60" height="60" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="SHAPE_LOGERROR_763714e7" bpmnElement="PIPER_d97972a1" color:background-color="#9FC5E8">
<dc:Bounds x="632" y="448" width="130" height="74" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="CONNECTION__4627cc32" bpmnElement="PIPER_8546e6f2">
<di:waypoint x="762" y="485" />
<di:waypoint x="927" y="485" />
<di:waypoint x="927" y="360" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
Binary file modified images/test/my_process_map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/test/my_process_map3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
131 changes: 131 additions & 0 deletions images/test/pizza-order-process.bpmn
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
<?xml version='1.0' encoding='UTF-8'?>
<bpmn:definitions id="Definitions_PIPER_15f5cb8e" targetNamespace="https://github.com/csgoh/processpiper/schema/bpmn" exporter="ProcessPiper (https://github.com/csgoh/processpiper)" exporterVersion="v0.8.0" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" xmlns:color="http://www.omg.org/spec/BPMN/non-normative/color/1.0">
<bpmn:process id="LANE_8afa3014" name="Customer" isExecutable="false">
<bpmn:startEvent id="PIPER_aaa51da2" name="start" />
<bpmn:sequenceFlow id="PIPER_acfd0b79" name="" sourceRef="PIPER_aaa51da2" targetRef="PIPER_4913231a" />
<bpmn:task id="PIPER_4913231a" name="Browse PizzaPiper website" />
<bpmn:sequenceFlow id="PIPER_44bef871" name="" sourceRef="PIPER_4913231a" targetRef="PIPER_45cce911" />
<bpmn:task id="PIPER_45cce911" name="Order a pizza" />
<bpmn:sequenceFlow id="PIPER_8f8a89eb" name="" sourceRef="PIPER_45cce911" targetRef="PIPER_4b2135be" />
<bpmn:task id="PIPER_4b2135be" name="Make payment" />
<bpmn:task id="PIPER_da8f71e9" name="Receive pizza" />
<bpmn:sequenceFlow id="PIPER_e69066a8" name="" sourceRef="PIPER_da8f71e9" targetRef="PIPER_e98831c8" />
<bpmn:endEvent id="PIPER_e98831c8" name="end" />
</bpmn:process>
<bpmn:process id="POOL_72b4a34d" name="Pizza Piper Enterprise" isExecutable="false">
<bpmn:laneSet id="PIPER_ff6aff3b">
<bpmn:lane id="LANE_52ca6009" name="Pizza Shop">
<bpmn:flowNodeRef>PIPER_eae8444d</bpmn:flowNodeRef>
<bpmn:flowNodeRef>PIPER_3479000b</bpmn:flowNodeRef>
<bpmn:flowNodeRef>PIPER_3a0ecf7e</bpmn:flowNodeRef>
</bpmn:lane>
<bpmn:lane id="LANE_bc5679bb" name="Pizza Delivery">
<bpmn:flowNodeRef>PIPER_a1759191</bpmn:flowNodeRef>
</bpmn:lane>
</bpmn:laneSet>
<bpmn:task id="PIPER_eae8444d" name="Receive order" />
<bpmn:sequenceFlow id="PIPER_85bb493a" name="" sourceRef="PIPER_eae8444d" targetRef="PIPER_3479000b" />
<bpmn:task id="PIPER_3479000b" name="Bake pizza" />
<bpmn:sequenceFlow id="PIPER_97c73d09" name="" sourceRef="PIPER_3479000b" targetRef="PIPER_3a0ecf7e" />
<bpmn:exclusiveGateway id="PIPER_3a0ecf7e" name="Pizza ready?" />
<bpmn:sequenceFlow id="PIPER_4bb7582a" name="Yes" sourceRef="PIPER_3a0ecf7e" targetRef="PIPER_a1759191" />
<bpmn:sequenceFlow id="PIPER_4f530ee9" name="No" sourceRef="PIPER_3a0ecf7e" targetRef="PIPER_3479000b" />
<bpmn:task id="PIPER_a1759191" name="Deliver pizza" />
</bpmn:process>
<bpmn:collaboration id="PIPER_28c2ebe5">
<bpmn:participant id="LANE_COLAB_0c64b567" name="Customer" processRef="LANE_8afa3014" />
<bpmn:messageFlow id="PIPER_def59111" name="Order details" sourceRef="PIPER_4b2135be" targetRef="PIPER_eae8444d" />
<bpmn:participant id="POOL_COLAB_a2156f52" name="Pizza Piper Enterprise" processRef="POOL_72b4a34d" />
<bpmn:messageFlow id="PIPER_a4b9d037" name="Freshly baked &#10;pizza" sourceRef="PIPER_a1759191" targetRef="PIPER_da8f71e9" />
</bpmn:collaboration>
<bpmndi:BPMNDiagram id="PIPER_6b87dcd2" name="BPMN Diagram">
<bpmndi:BPMNPlane id="PIPER_ed81cabd" bpmnElement="PIPER_28c2ebe5">
<bpmndi:BPMNShape id="SHAPE_CUSTOMER_63528849" bpmnElement="LANE_COLAB_0c64b567">
<dc:Bounds x="72" y="59" width="1889" height="160" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="SHAPE_PIZZAPIPERENTERPRISE_ea76f9d6" bpmnElement="POOL_COLAB_a2156f52" color:background-color="#0B5394">
<dc:Bounds x="20" y="231" width="50" height="322" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="SHAPE_PIZZASHOP_2acb1271" bpmnElement="LANE_52ca6009">
<dc:Bounds x="72" y="231" width="1889" height="160" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="SHAPE_PIZZADELIVERY_ce829177" bpmnElement="LANE_bc5679bb">
<dc:Bounds x="72" y="393" width="1889" height="160" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="SHAPE_START_db12348f" bpmnElement="PIPER_aaa51da2" color:background-color="#9FC5E8">
<dc:Bounds x="207.0" y="116.0" width="60" height="60" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="CONNECTION__01c1cf56" bpmnElement="PIPER_acfd0b79">
<di:waypoint x="267.0" y="146.0" />
<di:waypoint x="402" y="146" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="SHAPE_BROWSEPIZZAPIPERWEBSITE_0a5ae1ea" bpmnElement="PIPER_4913231a" color:background-color="#9FC5E8">
<dc:Bounds x="402" y="109" width="130" height="74" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="CONNECTION__1217689c" bpmnElement="PIPER_44bef871">
<di:waypoint x="532" y="146" />
<di:waypoint x="632" y="146" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="SHAPE_ORDERAPIZZA_79f1bc22" bpmnElement="PIPER_45cce911" color:background-color="#9FC5E8">
<dc:Bounds x="632" y="109" width="130" height="74" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="CONNECTION__bf54af5e" bpmnElement="PIPER_8f8a89eb">
<di:waypoint x="762" y="146" />
<di:waypoint x="862" y="146" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="SHAPE_MAKEPAYMENT_186deeee" bpmnElement="PIPER_4b2135be" color:background-color="#9FC5E8">
<dc:Bounds x="862" y="109" width="130" height="74" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="CONNECTION_ORDERDETAILS_c8a1ac7b" bpmnElement="PIPER_def59111">
<di:waypoint x="927" y="183" />
<di:waypoint x="927" y="281" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="SHAPE_RECEIVEPIZZA_a4069843" bpmnElement="PIPER_da8f71e9" color:background-color="#9FC5E8">
<dc:Bounds x="1552" y="109" width="130" height="74" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="CONNECTION__601fc30e" bpmnElement="PIPER_e69066a8">
<di:waypoint x="1682" y="146" />
<di:waypoint x="1817.0" y="146.0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="SHAPE_END_d4db23f9" bpmnElement="PIPER_e98831c8" color:background-color="#9FC5E8">
<dc:Bounds x="1817.0" y="116.0" width="60" height="60" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="SHAPE_RECEIVEORDER_868632b8" bpmnElement="PIPER_eae8444d" color:background-color="#9FC5E8">
<dc:Bounds x="862" y="281" width="130" height="74" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="CONNECTION__97c6cb1f" bpmnElement="PIPER_85bb493a">
<di:waypoint x="992" y="318" />
<di:waypoint x="1092" y="318" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="SHAPE_BAKEPIZZA_9b393bbf" bpmnElement="PIPER_3479000b" color:background-color="#9FC5E8">
<dc:Bounds x="1092" y="281" width="130" height="74" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="CONNECTION__43186177" bpmnElement="PIPER_97c73d09">
<di:waypoint x="1222" y="318" />
<di:waypoint x="1332" y="318" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="SHAPE_PIZZAREADY_edc913d4" bpmnElement="PIPER_3a0ecf7e" color:background-color="#9FC5E8">
<dc:Bounds x="1332" y="281" width="110" height="74" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="CONNECTION_YES_57b99ccc" bpmnElement="PIPER_4bb7582a">
<di:waypoint x="1442" y="318" />
<di:waypoint x="1497.0" y="318" />
<di:waypoint x="1497.0" y="480" />
<di:waypoint x="1552" y="480" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="CONNECTION_NO_e7fcc27a" bpmnElement="PIPER_4f530ee9">
<di:waypoint x="1387" y="355" />
<di:waypoint x="1387" y="385" />
<di:waypoint x="1157" y="385" />
<di:waypoint x="1157" y="355" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="SHAPE_DELIVERPIZZA_10641e42" bpmnElement="PIPER_a1759191" color:background-color="#9FC5E8">
<dc:Bounds x="1552" y="443" width="130" height="74" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="CONNECTION_FRESHLYBAKEDPIZZA_49d8e64e" bpmnElement="PIPER_a4b9d037">
<di:waypoint x="1617" y="443" />
<di:waypoint x="1617" y="183" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
Loading

0 comments on commit 5e5e9d7

Please sign in to comment.