defaultXml.ts 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. const simpleDefaultXml = `<?xml version="1.0" encoding="UTF-8"?>
  2. <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" 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" id="sample-diagram" targetNamespace="http://www.flowable.org/processdef" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
  3. <bpmn2:process id="Process_1" name="" isExecutable="true">
  4. <bpmn2:startEvent id="Event_0oz4pwh" >
  5. <bpmn2:outgoing>Flow_1iadlmn</bpmn2:outgoing>
  6. </bpmn2:startEvent>
  7. <bpmn2:userTask id="Activity_1qf73gq">
  8. <bpmn2:incoming>Flow_1iadlmn</bpmn2:incoming>
  9. <bpmn2:outgoing>Flow_1kz1x8a</bpmn2:outgoing>
  10. </bpmn2:userTask>
  11. <bpmn2:sequenceFlow id="Flow_1iadlmn" sourceRef="Event_0oz4pwh" targetRef="Activity_1qf73gq" />
  12. <bpmn2:endEvent id="Event_0zlhfee">
  13. <bpmn2:incoming>Flow_1kz1x8a</bpmn2:incoming>
  14. </bpmn2:endEvent>
  15. <bpmn2:sequenceFlow id="Flow_1kz1x8a" sourceRef="Activity_1qf73gq" targetRef="Event_0zlhfee" />
  16. </bpmn2:process>
  17. <bpmndi:BPMNDiagram id="BPMNDiagram_1">
  18. <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
  19. <bpmndi:BPMNShape id="Event_0oz4pwh_di" bpmnElement="Event_0oz4pwh">
  20. <dc:Bounds x="675" y="75" width="90" height="32" />
  21. </bpmndi:BPMNShape>
  22. <bpmndi:BPMNShape id="Activity_1qf73gq_di" bpmnElement="Activity_1qf73gq">
  23. <dc:Bounds x="620" y="227" width="200" height="88" />
  24. </bpmndi:BPMNShape>
  25. <bpmndi:BPMNShape id="Event_0zlhfee_di" bpmnElement="Event_0zlhfee">
  26. <dc:Bounds x="675" y="435" width="90" height="32" />
  27. </bpmndi:BPMNShape>
  28. <bpmndi:BPMNEdge id="Flow_1iadlmn_di" bpmnElement="Flow_1iadlmn">
  29. <di:waypoint x="720" y="107" />
  30. <di:waypoint x="720" y="227" />
  31. <bpmndi:BPMNLabel>
  32. <dc:Bounds x="706" y="181" width="28" height="28" />
  33. </bpmndi:BPMNLabel>
  34. </bpmndi:BPMNEdge>
  35. <bpmndi:BPMNEdge id="Flow_1kz1x8a_di" bpmnElement="Flow_1kz1x8a">
  36. <di:waypoint x="720" y="315" />
  37. <di:waypoint x="720" y="435" />
  38. <bpmndi:BPMNLabel>
  39. <dc:Bounds x="706" y="361" width="28" height="28" />
  40. </bpmndi:BPMNLabel>
  41. </bpmndi:BPMNEdge>
  42. </bpmndi:BPMNPlane>
  43. </bpmndi:BPMNDiagram>
  44. </bpmn2:definitions>`;
  45. const defaultXml = `<?xml version="1.0" encoding="UTF-8"?>
  46. <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" id="sample-diagram" targetNamespace="http://www.flowable.org/processdef" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
  47. <bpmn2:process id="Process_1" isExecutable="true">
  48. <bpmn2:startEvent id="Event_04q7xii" />
  49. </bpmn2:process>
  50. <bpmndi:BPMNDiagram id="BPMNDiagram_1">
  51. <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
  52. <bpmndi:BPMNShape id="Event_04q7xii_di" bpmnElement="Event_04q7xii" >
  53. <dc:Bounds x="145" y="304" width="90" height="32" />
  54. </bpmndi:BPMNShape>
  55. </bpmndi:BPMNPlane>
  56. </bpmndi:BPMNDiagram>
  57. </bpmn2:definitions>`;
  58. export { defaultXml, simpleDefaultXml };