---
title: "State Machine 3 Diagram"
description: "A diagram diagram template"
category: "templates/uml"
type: "diagram"
source_file: "templates/uml/state_machine_3_decoded.xml"
tags: ["software", "template", "modeling", "drawio", "uml"]
---

# State Machine 3 Diagram

A diagram diagram template

## XML Source

```xml
<?xml version="1.0" ?>
<mxGraphModel dx="1408" dy="544" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" background="none" math="0" shadow="0">
  <root>
    <mxCell id="0"/>
    <mxCell id="1" parent="0"/>
    <mxCell id="382b91b5511bd0f7-1" value="" style="ellipse;html=1;shape=startState;fillColor=#000000;strokeColor=#ff0000;rounded=1;shadow=0;comic=0;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;direction=south;" parent="1" vertex="1">
      <mxGeometry x="175" y="500" width="30" height="30" as="geometry"/>
    </mxCell>
    <mxCell id="382b91b5511bd0f7-2" value="relation" style="html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;fontColor=#000000;entryX=0.5;entryY=1;exitX=0;exitY=0.5;align=left;" parent="1" source="382b91b5511bd0f7-1" target="382b91b5511bd0f7-3" edge="1">
      <mxGeometry x="-0.2041" y="-10" relative="1" as="geometry">
        <mxPoint x="195" y="590" as="targetPoint"/>
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="382b91b5511bd0f7-3" value="Activity" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fillColor=#ffffc0;strokeColor=#ff0000;shadow=0;comic=0;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="130" y="360" width="120" height="40" as="geometry"/>
    </mxCell>
    <mxCell id="382b91b5511bd0f7-4" value="relation" style="html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;fontColor=#000000;entryX=0.5;entryY=1;align=left;" parent="1" source="382b91b5511bd0f7-3" target="382b91b5511bd0f7-5" edge="1">
      <mxGeometry x="0.1454" y="-10" relative="1" as="geometry">
        <mxPoint x="190" y="450" as="targetPoint"/>
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="382b91b5511bd0f7-5" value="Activity" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fillColor=#ffffc0;strokeColor=#ff0000;shadow=0;comic=0;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="130" y="250" width="120" height="40" as="geometry"/>
    </mxCell>
    <mxCell id="382b91b5511bd0f7-6" value="Activity" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fillColor=#ffffc0;strokeColor=#ff0000;shadow=0;comic=0;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="130" y="150" width="120" height="40" as="geometry"/>
    </mxCell>
    <mxCell id="382b91b5511bd0f7-7" value="Activity" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fillColor=#ffffc0;strokeColor=#ff0000;shadow=0;comic=0;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="390" y="150" width="120" height="40" as="geometry"/>
    </mxCell>
    <mxCell id="382b91b5511bd0f7-8" value="Activity" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fillColor=#ffffc0;strokeColor=#ff0000;shadow=0;comic=0;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="390" y="250" width="120" height="40" as="geometry"/>
    </mxCell>
    <mxCell id="382b91b5511bd0f7-9" value="Activity" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fillColor=#ffffc0;strokeColor=#ff0000;shadow=0;comic=0;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="670" y="360" width="120" height="40" as="geometry"/>
    </mxCell>
    <mxCell id="382b91b5511bd0f7-10" value="Activity" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fillColor=#ffffc0;strokeColor=#ff0000;shadow=0;comic=0;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="670" y="150" width="120" height="40" as="geometry"/>
    </mxCell>
    <mxCell id="382b91b5511bd0f7-22" value="relation" style="edgeStyle=none;rounded=1;html=1;labelBackgroundColor=none;startArrow=none;startFill=0;endArrow=none;endSize=8;jettySize=auto;orthogonalLoop=1;strokeColor=#ff0000;fontFamily=Verdana;fontSize=12;fontColor=#000000;verticalAlign=bottom;endFill=0;align=left;" parent="1" source="382b91b5511bd0f7-11" target="382b91b5511bd0f7-7" edge="1">
      <mxGeometry x="0.0224" y="1" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="382b91b5511bd0f7-11" value="Description" style="shape=note;whiteSpace=wrap;html=1;rounded=1;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#ff0000;fillColor=#ffffc0;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;size=20;" parent="1" vertex="1">
      <mxGeometry x="225" y="40" width="150" height="50" as="geometry"/>
    </mxCell>
    <mxCell id="382b91b5511bd0f7-21" value="relation" style="edgeStyle=none;rounded=1;html=1;labelBackgroundColor=none;startArrow=none;startFill=0;endArrow=none;endSize=8;jettySize=auto;orthogonalLoop=1;strokeColor=#ff0000;fontFamily=Verdana;fontSize=12;fontColor=#000000;verticalAlign=bottom;endFill=0;align=left;" parent="1" source="382b91b5511bd0f7-12" target="382b91b5511bd0f7-10" edge="1">
      <mxGeometry x="0.3333" y="10" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="382b91b5511bd0f7-12" value="Description" style="shape=note;whiteSpace=wrap;html=1;rounded=1;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#ff0000;fillColor=#ffffc0;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;size=20;" parent="1" vertex="1">
      <mxGeometry x="655" y="40" width="150" height="50" as="geometry"/>
    </mxCell>
    <mxCell id="382b91b5511bd0f7-13" value="relation" style="html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=left;" parent="1" source="382b91b5511bd0f7-5" target="382b91b5511bd0f7-6" edge="1">
      <mxGeometry y="-10" relative="1" as="geometry">
        <mxPoint x="200" y="290" as="targetPoint"/>
        <mxPoint x="200" y="360" as="sourcePoint"/>
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="382b91b5511bd0f7-14" value="relation" style="html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=left;" parent="1" source="382b91b5511bd0f7-6" target="382b91b5511bd0f7-7" edge="1">
      <mxGeometry x="-0.2857" relative="1" as="geometry">
        <mxPoint x="210" y="300" as="targetPoint"/>
        <mxPoint x="210" y="370" as="sourcePoint"/>
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="382b91b5511bd0f7-15" value="relation" style="html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=left;" parent="1" source="382b91b5511bd0f7-7" target="382b91b5511bd0f7-10" edge="1">
      <mxGeometry x="-0.25" relative="1" as="geometry">
        <mxPoint x="390" y="180" as="targetPoint"/>
        <mxPoint x="280" y="180" as="sourcePoint"/>
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="382b91b5511bd0f7-16" value="relation" style="html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=left;" parent="1" source="382b91b5511bd0f7-10" target="382b91b5511bd0f7-8" edge="1">
      <mxGeometry x="0.0754" y="19" relative="1" as="geometry">
        <mxPoint x="650" y="260" as="targetPoint"/>
        <mxPoint x="510" y="180" as="sourcePoint"/>
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="382b91b5511bd0f7-17" value="relation" style="html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=left;" parent="1" source="382b91b5511bd0f7-10" target="382b91b5511bd0f7-9" edge="1">
      <mxGeometry x="-0.1765" y="10" relative="1" as="geometry">
        <mxPoint x="506.66666666666674" y="280" as="targetPoint"/>
        <mxPoint x="693.3333333333333" y="200" as="sourcePoint"/>
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="382b91b5511bd0f7-18" value="relation" style="html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=left;" parent="1" source="382b91b5511bd0f7-9" target="382b91b5511bd0f7-8" edge="1">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="516.6666666666667" y="290" as="targetPoint"/>
        <mxPoint x="703.3333333333333" y="210" as="sourcePoint"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="382b91b5511bd0f7-19" value="relation" style="html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=left;" parent="1" source="382b91b5511bd0f7-9" target="382b91b5511bd0f7-3" edge="1">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="507.27272727272725" y="320" as="targetPoint"/>
        <mxPoint x="672.7272727272727" y="390" as="sourcePoint"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="382b91b5511bd0f7-20" value="relation" style="html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;labelBackgroundColor=none;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=left;" parent="1" source="382b91b5511bd0f7-8" target="382b91b5511bd0f7-3" edge="1">
      <mxGeometry x="0.0651" y="14" relative="1" as="geometry">
        <mxPoint x="517.2727272727273" y="330" as="targetPoint"/>
        <mxPoint x="682.7272727272727" y="400" as="sourcePoint"/>
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
  </root>
</mxGraphModel>

```