File size: 16,173 Bytes
d4b1f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
---
title: "Sequence Diagram Example"
description: "A diagram diagram template"
category: "examples"
type: "diagram"
source_file: "examples/Sequence_decoded.xml"
tags: ["modeling", "sample", "drawio", "uml", "example"]
---

# Sequence Diagram Example

A diagram diagram template

## XML Source

```xml
<?xml version="1.0" ?>
<mxGraphModel dx="1086" dy="613" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="827" pageHeight="1169" background="#ffffff" math="0" shadow="0">
  <root>
    <mxCell id="0"/>
    <mxCell id="1" parent="0"/>
    <mxCell id="2" value=":Object" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;rounded=1;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="190" y="170" width="100" height="580" as="geometry"/>
    </mxCell>
    <mxCell id="3" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="2" vertex="1">
      <mxGeometry x="45" y="100" width="10" height="230" as="geometry"/>
    </mxCell>
    <mxCell id="4" value=":Object" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;rounded=1;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="350" y="170" width="100" height="580" as="geometry"/>
    </mxCell>
    <mxCell id="5" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="4" vertex="1">
      <mxGeometry x="45" y="120" width="10" height="200" as="geometry"/>
    </mxCell>
    <mxCell id="6" value=":Object" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;rounded=1;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="490" y="170" width="100" height="580" as="geometry"/>
    </mxCell>
    <mxCell id="7" value=":Object" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;rounded=1;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="630" y="170" width="100" height="580" as="geometry"/>
    </mxCell>
    <mxCell id="8" value=":Object" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;rounded=1;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="770" y="170" width="100" height="580" as="geometry"/>
    </mxCell>
    <mxCell id="9" value=":Object" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;rounded=1;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="910" y="170" width="100" height="580" as="geometry"/>
    </mxCell>
    <mxCell id="10" value=":Object" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;rounded=1;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="50" y="170" width="100" height="580" as="geometry"/>
    </mxCell>
    <mxCell id="11" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="10" vertex="1">
      <mxGeometry x="45" y="100" width="10" height="440" as="geometry"/>
    </mxCell>
    <mxCell id="12" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="535" y="310" width="10" height="180" as="geometry"/>
    </mxCell>
    <mxCell id="13" value="dispatch" style="html=1;verticalAlign=bottom;endArrow=block;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;edgeStyle=elbowEdgeStyle;elbow=vertical;" parent="1" source="5" target="12" edge="1">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="460" y="310" as="sourcePoint"/>
        <Array as="points">
          <mxPoint x="410" y="310"/>
        </Array>
      </mxGeometry>
    </mxCell>
    <mxCell id="14" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="675" y="320" width="10" height="40" as="geometry"/>
    </mxCell>
    <mxCell id="15" value="dispatch" style="html=1;verticalAlign=bottom;endArrow=block;entryX=0;entryY=0;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;edgeStyle=elbowEdgeStyle;elbow=vertical;" parent="1" source="12" target="14" edge="1">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="600" y="320" as="sourcePoint"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="16" value="return" style="html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;edgeStyle=elbowEdgeStyle;elbow=vertical;" parent="1" source="14" target="12" edge="1">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="600" y="396" as="targetPoint"/>
        <Array as="points">
          <mxPoint x="620" y="350"/>
          <mxPoint x="650" y="350"/>
        </Array>
      </mxGeometry>
    </mxCell>
    <mxCell id="17" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="535" y="530" width="10" height="140" as="geometry"/>
    </mxCell>
    <mxCell id="18" value="dispatch" style="html=1;verticalAlign=bottom;endArrow=block;entryX=0;entryY=0;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;" parent="1" source="11" target="17" edge="1">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="460" y="510" as="sourcePoint"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="19" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="955" y="550" width="10" height="30" as="geometry"/>
    </mxCell>
    <mxCell id="20" value="dispatch" style="html=1;verticalAlign=bottom;endArrow=block;entryX=0;entryY=0;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;" parent="1" source="17" target="19" edge="1">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="880" y="430" as="sourcePoint"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="21" value="return" style="html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;exitX=0;exitY=0.95;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;" parent="1" source="19" target="17" edge="1">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="880" y="506" as="targetPoint"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="22" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="820" y="640" width="10" height="60" as="geometry"/>
    </mxCell>
    <mxCell id="23" value="dispatch" style="html=1;verticalAlign=bottom;endArrow=block;entryX=0;entryY=0;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;edgeStyle=elbowEdgeStyle;elbow=vertical;" parent="1" source="30" target="22" edge="1">
      <mxGeometry x="0.4963" y="2" relative="1" as="geometry">
        <mxPoint x="750" y="640" as="sourcePoint"/>
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="24" value="return" style="html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;edgeStyle=elbowEdgeStyle;elbow=vertical;" parent="1" source="22" target="11" edge="1">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="750" y="716" as="targetPoint"/>
        <Array as="points">
          <mxPoint x="520" y="690"/>
        </Array>
      </mxGeometry>
    </mxCell>
    <mxCell id="25" value="dispatch" style="html=1;verticalAlign=bottom;endArrow=block;entryX=0;entryY=0;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;edgeStyle=elbowEdgeStyle;elbow=vertical;" parent="1" source="11" target="3" edge="1">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="170" y="280" as="sourcePoint"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="26" value="dispatch" style="html=1;verticalAlign=bottom;endArrow=block;entryX=0;entryY=0;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;edgeStyle=elbowEdgeStyle;elbow=vertical;" parent="1" source="3" target="5" edge="1">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="320" y="290" as="sourcePoint"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="27" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="540" y="390" width="10" height="70" as="geometry"/>
    </mxCell>
    <mxCell id="28" value="dispatch" style="html=1;verticalAlign=bottom;endArrow=block;labelBackgroundColor=#ffffff;fontFamily=Verdana;fontSize=12;elbow=vertical;edgeStyle=orthogonalEdgeStyle;curved=1;entryX=1;entryY=0.286;entryPerimeter=0;exitX=1.038;exitY=0.345;exitPerimeter=0;" parent="1" source="12" target="27" edge="1">
      <mxGeometry x="0.1589" relative="1" as="geometry">
        <mxPoint x="415" y="320" as="sourcePoint"/>
        <mxPoint x="545" y="320" as="targetPoint"/>
        <Array as="points">
          <mxPoint x="600" y="372"/>
          <mxPoint x="600" y="410"/>
        </Array>
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="29" value="dispatch" style="html=1;verticalAlign=bottom;endArrow=block;labelBackgroundColor=#ffffff;fontFamily=Verdana;fontSize=12;elbow=vertical;edgeStyle=orthogonalEdgeStyle;curved=1;exitX=1.066;exitY=0.713;exitPerimeter=0;" parent="1" source="27" edge="1">
      <mxGeometry x="0.0651" relative="1" as="geometry">
        <mxPoint x="560.3333333333333" y="440" as="sourcePoint"/>
        <mxPoint x="545" y="479" as="targetPoint"/>
        <Array as="points">
          <mxPoint x="600" y="440"/>
          <mxPoint x="600" y="479"/>
        </Array>
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="30" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="540" y="610" width="10" height="40" as="geometry"/>
    </mxCell>
    <mxCell id="31" value="dispatch" style="html=1;verticalAlign=bottom;endArrow=block;labelBackgroundColor=#ffffff;fontFamily=Verdana;fontSize=12;elbow=vertical;edgeStyle=orthogonalEdgeStyle;curved=1;entryX=1;entryY=0.286;entryPerimeter=0;exitX=1.038;exitY=0.345;exitPerimeter=0;" parent="1" edge="1">
      <mxGeometry x="0.1719" relative="1" as="geometry">
        <mxPoint x="545.3333333333335" y="591" as="sourcePoint"/>
        <mxPoint x="550.3333333333335" y="629.3333333333334" as="targetPoint"/>
        <Array as="points">
          <mxPoint x="600" y="591"/>
          <mxPoint x="600" y="629"/>
        </Array>
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="32" value="Note" style="shape=note;whiteSpace=wrap;html=1;size=14;verticalAlign=top;align=left;spacingTop=-6;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="50" y="120" width="100" height="35" as="geometry"/>
    </mxCell>
    <mxCell id="33" value="Note" style="shape=note;whiteSpace=wrap;html=1;size=14;verticalAlign=top;align=left;spacingTop=-6;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="190" y="120" width="100" height="35" as="geometry"/>
    </mxCell>
    <mxCell id="34" value="Note" style="shape=note;whiteSpace=wrap;html=1;size=14;verticalAlign=top;align=left;spacingTop=-6;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="350" y="120" width="100" height="35" as="geometry"/>
    </mxCell>
    <mxCell id="35" value="Note" style="shape=note;whiteSpace=wrap;html=1;size=14;verticalAlign=top;align=left;spacingTop=-6;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="490" y="120" width="100" height="35" as="geometry"/>
    </mxCell>
    <mxCell id="36" value="Note" style="shape=note;whiteSpace=wrap;html=1;size=14;verticalAlign=top;align=left;spacingTop=-6;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="630" y="120" width="100" height="35" as="geometry"/>
    </mxCell>
    <mxCell id="37" value="Note" style="shape=note;whiteSpace=wrap;html=1;size=14;verticalAlign=top;align=left;spacingTop=-6;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="770" y="120" width="100" height="35" as="geometry"/>
    </mxCell>
    <mxCell id="38" value="Note" style="shape=note;whiteSpace=wrap;html=1;size=14;verticalAlign=top;align=left;spacingTop=-6;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="910" y="120" width="100" height="35" as="geometry"/>
    </mxCell>
  </root>
</mxGraphModel>

```