OrthogonalTransition01.sct 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
  3. <sgraph:Statechart xmi:id="_Lx-1QPf6EeWEP4pglzmtIA" specification="interface:&#xA;// Define events and&#xA;// and variables here" name="OrthogonalTransition">
  4. <regions xmi:id="_LyCfoff6EeWEP4pglzmtIA" name="r1">
  5. <vertices xsi:type="sgraph:Entry" xmi:id="_LyGxEff6EeWEP4pglzmtIA">
  6. <outgoingTransitions xmi:id="_LyJNU_f6EeWEP4pglzmtIA" target="_LyH_Mvf6EeWEP4pglzmtIA"/>
  7. </vertices>
  8. <vertices xsi:type="sgraph:State" xmi:id="_LyH_Mvf6EeWEP4pglzmtIA" name="A" incomingTransitions="_LyJNU_f6EeWEP4pglzmtIA">
  9. <outgoingTransitions xmi:id="_cSJb8Pf6EeWEP4pglzmtIA" specification="always" target="_Z6vfs_f6EeWEP4pglzmtIA"/>
  10. </vertices>
  11. </regions>
  12. <regions xmi:id="_Z6vfsPf6EeWEP4pglzmtIA" name="r2">
  13. <vertices xsi:type="sgraph:Entry" xmi:id="_Z6vfsff6EeWEP4pglzmtIA">
  14. <outgoingTransitions xmi:id="_Z6vfsvf6EeWEP4pglzmtIA" target="_Z6vfs_f6EeWEP4pglzmtIA"/>
  15. </vertices>
  16. <vertices xsi:type="sgraph:State" xmi:id="_Z6vfs_f6EeWEP4pglzmtIA" name="B" incomingTransitions="_Z6vfsvf6EeWEP4pglzmtIA _cSJb8Pf6EeWEP4pglzmtIA"/>
  17. </regions>
  18. </sgraph:Statechart>
  19. <notation:Diagram xmi:id="_LyB4kPf6EeWEP4pglzmtIA" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_Lx-1QPf6EeWEP4pglzmtIA" measurementUnit="Pixel">
  20. <children xmi:id="_LyEU0Pf6EeWEP4pglzmtIA" type="Region" element="_LyCfoff6EeWEP4pglzmtIA">
  21. <children xsi:type="notation:DecorationNode" xmi:id="_LyGKAPf6EeWEP4pglzmtIA" type="RegionName">
  22. <styles xsi:type="notation:ShapeStyle" xmi:id="_LyGKAff6EeWEP4pglzmtIA"/>
  23. <layoutConstraint xsi:type="notation:Location" xmi:id="_LyGKAvf6EeWEP4pglzmtIA"/>
  24. </children>
  25. <children xsi:type="notation:Shape" xmi:id="_LyGKA_f6EeWEP4pglzmtIA" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
  26. <children xmi:id="_LyHYIPf6EeWEP4pglzmtIA" type="Entry" element="_LyGxEff6EeWEP4pglzmtIA">
  27. <children xmi:id="_LyHYJPf6EeWEP4pglzmtIA" type="BorderItemLabelContainer">
  28. <children xsi:type="notation:DecorationNode" xmi:id="_LyHYJ_f6EeWEP4pglzmtIA" type="BorderItemLabel">
  29. <styles xsi:type="notation:ShapeStyle" xmi:id="_LyHYKPf6EeWEP4pglzmtIA"/>
  30. <layoutConstraint xsi:type="notation:Location" xmi:id="_LyH_MPf6EeWEP4pglzmtIA"/>
  31. </children>
  32. <styles xsi:type="notation:ShapeStyle" xmi:id="_LyHYJff6EeWEP4pglzmtIA" fontName="Verdana" lineColor="4210752"/>
  33. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_LyHYJvf6EeWEP4pglzmtIA"/>
  34. </children>
  35. <styles xsi:type="notation:ShapeStyle" xmi:id="_LyHYIff6EeWEP4pglzmtIA" fontName="Verdana" fillColor="0" lineColor="16777215"/>
  36. <styles xsi:type="notation:NamedStyle" xmi:id="_LyHYIvf6EeWEP4pglzmtIA" name="allowColors"/>
  37. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_LyH_Mff6EeWEP4pglzmtIA" x="23" y="25"/>
  38. </children>
  39. <children xmi:id="_LyH_Nff6EeWEP4pglzmtIA" type="State" element="_LyH_Mvf6EeWEP4pglzmtIA">
  40. <children xsi:type="notation:DecorationNode" xmi:id="_LyImQPf6EeWEP4pglzmtIA" type="StateName">
  41. <styles xsi:type="notation:ShapeStyle" xmi:id="_LyImQff6EeWEP4pglzmtIA"/>
  42. <layoutConstraint xsi:type="notation:Location" xmi:id="_LyImQvf6EeWEP4pglzmtIA"/>
  43. </children>
  44. <children xsi:type="notation:Compartment" xmi:id="_LyImQ_f6EeWEP4pglzmtIA" type="StateTextCompartment">
  45. <children xsi:type="notation:Shape" xmi:id="_LyImRPf6EeWEP4pglzmtIA" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
  46. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_LyImRff6EeWEP4pglzmtIA"/>
  47. </children>
  48. </children>
  49. <children xsi:type="notation:Compartment" xmi:id="_LyJNUPf6EeWEP4pglzmtIA" type="StateFigureCompartment"/>
  50. <styles xsi:type="notation:ShapeStyle" xmi:id="_LyH_Nvf6EeWEP4pglzmtIA" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
  51. <styles xsi:type="notation:FontStyle" xmi:id="_LyH_N_f6EeWEP4pglzmtIA"/>
  52. <styles xsi:type="notation:BooleanValueStyle" xmi:id="_LyJNUff6EeWEP4pglzmtIA" name="isHorizontal" booleanValue="true"/>
  53. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_LyJNUvf6EeWEP4pglzmtIA" x="13" y="125" width="40" height="53"/>
  54. </children>
  55. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_LyGKBPf6EeWEP4pglzmtIA"/>
  56. </children>
  57. <styles xsi:type="notation:ShapeStyle" xmi:id="_LyEU0ff6EeWEP4pglzmtIA" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
  58. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_LyGxEPf6EeWEP4pglzmtIA" x="220" y="10" width="75" height="217"/>
  59. </children>
  60. <children xsi:type="notation:Shape" xmi:id="_LyLCg_f6EeWEP4pglzmtIA" type="StatechartText" fontName="Verdana" lineColor="4210752">
  61. <children xsi:type="notation:DecorationNode" xmi:id="_LyLpkPf6EeWEP4pglzmtIA" type="StatechartName">
  62. <styles xsi:type="notation:ShapeStyle" xmi:id="_LyLpkff6EeWEP4pglzmtIA"/>
  63. <layoutConstraint xsi:type="notation:Location" xmi:id="_LyLpkvf6EeWEP4pglzmtIA"/>
  64. </children>
  65. <children xsi:type="notation:Shape" xmi:id="_LyLpk_f6EeWEP4pglzmtIA" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
  66. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_LyLplPf6EeWEP4pglzmtIA"/>
  67. </children>
  68. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_LyLplff6EeWEP4pglzmtIA" x="10" y="10" width="200" height="400"/>
  69. </children>
  70. <children xmi:id="_Z6scYPf6EeWEP4pglzmtIA" type="Region" element="_Z6vfsPf6EeWEP4pglzmtIA">
  71. <children xsi:type="notation:DecorationNode" xmi:id="_Z6scYff6EeWEP4pglzmtIA" type="RegionName">
  72. <styles xsi:type="notation:ShapeStyle" xmi:id="_Z6scYvf6EeWEP4pglzmtIA"/>
  73. <layoutConstraint xsi:type="notation:Location" xmi:id="_Z6scY_f6EeWEP4pglzmtIA"/>
  74. </children>
  75. <children xsi:type="notation:Shape" xmi:id="_Z6scZPf6EeWEP4pglzmtIA" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
  76. <children xmi:id="_Z6scZff6EeWEP4pglzmtIA" type="Entry" element="_Z6vfsff6EeWEP4pglzmtIA">
  77. <children xmi:id="_Z6scZvf6EeWEP4pglzmtIA" type="BorderItemLabelContainer">
  78. <children xsi:type="notation:DecorationNode" xmi:id="_Z6scZ_f6EeWEP4pglzmtIA" type="BorderItemLabel">
  79. <styles xsi:type="notation:ShapeStyle" xmi:id="_Z6scaPf6EeWEP4pglzmtIA"/>
  80. <layoutConstraint xsi:type="notation:Location" xmi:id="_Z6scaff6EeWEP4pglzmtIA"/>
  81. </children>
  82. <styles xsi:type="notation:ShapeStyle" xmi:id="_Z6scavf6EeWEP4pglzmtIA" fontName="Verdana" lineColor="4210752"/>
  83. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Z6sca_f6EeWEP4pglzmtIA"/>
  84. </children>
  85. <styles xsi:type="notation:ShapeStyle" xmi:id="_Z6scbPf6EeWEP4pglzmtIA" fontName="Verdana" fillColor="0" lineColor="16777215"/>
  86. <styles xsi:type="notation:NamedStyle" xmi:id="_Z6scbff6EeWEP4pglzmtIA" name="allowColors"/>
  87. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Z6scbvf6EeWEP4pglzmtIA" x="154" y="37" width="15" height="15"/>
  88. </children>
  89. <children xmi:id="_Z6scb_f6EeWEP4pglzmtIA" type="State" element="_Z6vfs_f6EeWEP4pglzmtIA">
  90. <children xsi:type="notation:DecorationNode" xmi:id="_Z6sccPf6EeWEP4pglzmtIA" type="StateName">
  91. <styles xsi:type="notation:ShapeStyle" xmi:id="_Z6sccff6EeWEP4pglzmtIA"/>
  92. <layoutConstraint xsi:type="notation:Location" xmi:id="_Z6sccvf6EeWEP4pglzmtIA"/>
  93. </children>
  94. <children xsi:type="notation:Compartment" xmi:id="_Z6scc_f6EeWEP4pglzmtIA" type="StateTextCompartment">
  95. <children xsi:type="notation:Shape" xmi:id="_Z6scdPf6EeWEP4pglzmtIA" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
  96. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Z6scdff6EeWEP4pglzmtIA"/>
  97. </children>
  98. </children>
  99. <children xsi:type="notation:Compartment" xmi:id="_Z6scdvf6EeWEP4pglzmtIA" type="StateFigureCompartment"/>
  100. <styles xsi:type="notation:ShapeStyle" xmi:id="_Z6scd_f6EeWEP4pglzmtIA" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
  101. <styles xsi:type="notation:FontStyle" xmi:id="_Z6scePf6EeWEP4pglzmtIA"/>
  102. <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Z6sceff6EeWEP4pglzmtIA" name="isHorizontal" booleanValue="true"/>
  103. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Z6scevf6EeWEP4pglzmtIA" x="144" y="127" width="40" height="53"/>
  104. </children>
  105. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Z6sce_f6EeWEP4pglzmtIA"/>
  106. </children>
  107. <styles xsi:type="notation:ShapeStyle" xmi:id="_Z6scfPf6EeWEP4pglzmtIA" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
  108. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Z6scfff6EeWEP4pglzmtIA" x="325" y="10" width="206" height="219"/>
  109. </children>
  110. <styles xsi:type="notation:DiagramStyle" xmi:id="_LyCfoPf6EeWEP4pglzmtIA"/>
  111. <edges xmi:id="_LyKbcPf6EeWEP4pglzmtIA" type="Transition" element="_LyJNU_f6EeWEP4pglzmtIA" source="_LyHYIPf6EeWEP4pglzmtIA" target="_LyH_Nff6EeWEP4pglzmtIA">
  112. <children xsi:type="notation:DecorationNode" xmi:id="_LyLCgPf6EeWEP4pglzmtIA" type="TransitionExpression">
  113. <styles xsi:type="notation:ShapeStyle" xmi:id="_LyLCgff6EeWEP4pglzmtIA"/>
  114. <layoutConstraint xsi:type="notation:Location" xmi:id="_LyLCgvf6EeWEP4pglzmtIA" y="10"/>
  115. </children>
  116. <styles xsi:type="notation:ConnectorStyle" xmi:id="_LyKbcff6EeWEP4pglzmtIA" lineColor="4210752"/>
  117. <styles xsi:type="notation:FontStyle" xmi:id="_LyKbc_f6EeWEP4pglzmtIA" fontName="Verdana"/>
  118. <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_LyKbcvf6EeWEP4pglzmtIA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
  119. </edges>
  120. <edges xmi:id="_Z6wt0Pf6EeWEP4pglzmtIA" type="Transition" element="_Z6vfsvf6EeWEP4pglzmtIA" source="_Z6scZff6EeWEP4pglzmtIA" target="_Z6scb_f6EeWEP4pglzmtIA">
  121. <children xsi:type="notation:DecorationNode" xmi:id="_Z6wt0ff6EeWEP4pglzmtIA" type="TransitionExpression">
  122. <styles xsi:type="notation:ShapeStyle" xmi:id="_Z6wt0vf6EeWEP4pglzmtIA"/>
  123. <layoutConstraint xsi:type="notation:Location" xmi:id="_Z6wt0_f6EeWEP4pglzmtIA" y="10"/>
  124. </children>
  125. <styles xsi:type="notation:ConnectorStyle" xmi:id="_Z6wt1Pf6EeWEP4pglzmtIA" lineColor="4210752"/>
  126. <styles xsi:type="notation:FontStyle" xmi:id="_Z6wt1ff6EeWEP4pglzmtIA" fontName="Verdana"/>
  127. <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_Z6wt1vf6EeWEP4pglzmtIA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
  128. <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_BqddwElgEeiT0t77wG6_Hw" id="(0.5,0.5)"/>
  129. <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_AXh2QElgEeiT0t77wG6_Hw" id="(4.071428571428571,1.9270833333333333)"/>
  130. </edges>
  131. <edges xmi:id="_cSKqEPf6EeWEP4pglzmtIA" type="Transition" element="_cSJb8Pf6EeWEP4pglzmtIA" source="_LyH_Nff6EeWEP4pglzmtIA" target="_Z6scb_f6EeWEP4pglzmtIA">
  132. <children xsi:type="notation:DecorationNode" xmi:id="_cSLRIff6EeWEP4pglzmtIA" type="TransitionExpression">
  133. <styles xsi:type="notation:ShapeStyle" xmi:id="_cSLRIvf6EeWEP4pglzmtIA"/>
  134. <layoutConstraint xsi:type="notation:Location" xmi:id="_cSLRI_f6EeWEP4pglzmtIA" y="10"/>
  135. </children>
  136. <styles xsi:type="notation:ConnectorStyle" xmi:id="_cSKqEff6EeWEP4pglzmtIA" lineColor="4210752"/>
  137. <styles xsi:type="notation:FontStyle" xmi:id="_cSLRIPf6EeWEP4pglzmtIA" fontName="Verdana"/>
  138. <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_cSKqEvf6EeWEP4pglzmtIA" points="[32, 8, -203, 8]$[170, 8, -65, 8]"/>
  139. <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_cSNGUPf6EeWEP4pglzmtIA" id="(0.7555555555555555,0.5)"/>
  140. <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_AXidUElgEeiT0t77wG6_Hw" id="(4.071428571428571,1.9270833333333333)"/>
  141. </edges>
  142. </notation:Diagram>
  143. </xmi:XMI>