fsa_fsa_simulator_sccd.graphml 59 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:java="http://www.yworks.com/xml/yfiles-common/1.0/java" xmlns:sys="http://www.yworks.com/xml/yfiles-common/markup/primitives/2.0" xmlns:x="http://www.yworks.com/xml/yfiles-common/markup/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:y="http://www.yworks.com/xml/graphml" xmlns:yed="http://www.yworks.com/xml/yed/3" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://www.yworks.com/xml/schema/graphml/1.1/ygraphml.xsd">
  3. <!--Created by yEd 3.14.4-->
  4. <key attr.name="Description" attr.type="string" for="graph" id="d0"/>
  5. <key for="port" id="d1" yfiles.type="portgraphics"/>
  6. <key for="port" id="d2" yfiles.type="portgeometry"/>
  7. <key for="port" id="d3" yfiles.type="portuserdata"/>
  8. <key attr.name="url" attr.type="string" for="node" id="d4"/>
  9. <key attr.name="description" attr.type="string" for="node" id="d5"/>
  10. <key for="node" id="d6" yfiles.type="nodegraphics"/>
  11. <key for="graphml" id="d7" yfiles.type="resources"/>
  12. <key attr.name="url" attr.type="string" for="edge" id="d8"/>
  13. <key attr.name="description" attr.type="string" for="edge" id="d9"/>
  14. <key for="edge" id="d10" yfiles.type="edgegraphics"/>
  15. <graph edgedefault="directed" id="G">
  16. <data key="d0"/>
  17. <node id="n0">
  18. <data key="d6">
  19. <y:ShapeNode>
  20. <y:Geometry height="554.934854221778" width="636.2733584049668" x="451.03192406434187" y="1038.288317511967"/>
  21. <y:Fill hasColor="false" transparent="false"/>
  22. <y:BorderStyle color="#000000" type="line" width="1.0"/>
  23. <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" modelName="custom" textColor="#000000" visible="true" width="4.0" x="316.1366792024834" y="275.46742711088905">
  24. <y:LabelModel>
  25. <y:SmartNodeLabelModel distance="4.0"/>
  26. </y:LabelModel>
  27. <y:ModelParameter>
  28. <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
  29. </y:ModelParameter>
  30. </y:NodeLabel>
  31. <y:Shape type="roundrectangle"/>
  32. </y:ShapeNode>
  33. </data>
  34. </node>
  35. <node id="n1">
  36. <data key="d4"/>
  37. <data key="d6">
  38. <y:UMLClassNode>
  39. <y:Geometry height="87.89583333333337" width="155.99556952811827" x="1365.782059039534" y="633.7460319274358"/>
  40. <y:Fill color="#FFCC00" transparent="false"/>
  41. <y:BorderStyle color="#000000" type="line" width="1.0"/>
  42. <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="bold" hasBackgroundColor="false" hasLineColor="false" height="26.0517578125" modelName="custom" textColor="#000000" visible="true" width="120.015625" x="17.989972264059134" y="3.0">CBDSimulaor<y:LabelModel>
  43. <y:SmartNodeLabelModel distance="4.0"/>
  44. </y:LabelModel>
  45. <y:ModelParameter>
  46. <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="-0.03703090122767855" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
  47. </y:ModelParameter>
  48. </y:NodeLabel>
  49. <y:UML clipContent="true" constraint="" omitDetails="false" stereotype="" use3DEffect="true">
  50. <y:AttributeLabel/>
  51. <y:MethodLabel/>
  52. </y:UML>
  53. </y:UMLClassNode>
  54. </data>
  55. </node>
  56. <node id="n2">
  57. <data key="d4"/>
  58. <data key="d6">
  59. <y:UMLClassNode>
  60. <y:Geometry height="87.89583333333337" width="155.99556952811827" x="660.0616109268468" y="635.7981152607692"/>
  61. <y:Fill color="#99CCFF" transparent="false"/>
  62. <y:BorderStyle color="#000000" type="line" width="1.0"/>
  63. <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="bold" hasBackgroundColor="false" hasLineColor="false" height="26.0517578125" modelName="custom" textColor="#000000" visible="true" width="123.0126953125" x="16.491437107809134" y="3.0">FSASimulator<y:LabelModel>
  64. <y:SmartNodeLabelModel distance="4.0"/>
  65. </y:LabelModel>
  66. <y:ModelParameter>
  67. <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="-0.03703090122767855" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
  68. </y:ModelParameter>
  69. </y:NodeLabel>
  70. <y:UML clipContent="true" constraint="" omitDetails="false" stereotype="" use3DEffect="true">
  71. <y:AttributeLabel/>
  72. <y:MethodLabel/>
  73. </y:UML>
  74. </y:UMLClassNode>
  75. </data>
  76. </node>
  77. <node id="n3">
  78. <data key="d6">
  79. <y:GenericNode configuration="com.yworks.flowchart.start1">
  80. <y:Geometry height="40.0" width="97.35652601191583" x="463.52211916793885" y="1144.2361456972956"/>
  81. <y:Fill color="#99CCFF" color2="#B7C9E3" transparent="false"/>
  82. <y:BorderStyle color="#000000" type="line" width="1.0"/>
  83. <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="26.0517578125" modelName="custom" textColor="#000000" visible="true" width="87.0302734375" x="5.163126287207888" y="6.97412109375">FSA_Start<y:LabelModel>
  84. <y:SmartNodeLabelModel distance="4.0"/>
  85. </y:LabelModel>
  86. <y:ModelParameter>
  87. <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
  88. </y:ModelParameter>
  89. </y:NodeLabel>
  90. </y:GenericNode>
  91. </data>
  92. </node>
  93. <node id="n4">
  94. <data key="d6">
  95. <y:GenericNode configuration="com.yworks.flowchart.start1">
  96. <y:Geometry height="236.37298645071598" width="367.5283462033461" x="642.9630858035073" y="1098.288317511967"/>
  97. <y:Fill color="#99CCFF" color2="#B7C9E3" transparent="false"/>
  98. <y:BorderStyle color="#000000" type="line" width="1.0"/>
  99. <y:NodeLabel alignment="left" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="180.4140625" modelName="free" modelPosition="anywhere" textColor="#000000" visible="true" width="323.201171875" x="68.98362990451301" y="8.7515278112935">FSA_Check
  100. On Enter:
  101. parent_currentEvent =
  102. getCurrEvent(parent_logicalTime),
  103. parent_selectedTransition =
  104. getTrans(parent_currentEvent,
  105. parent_currentState, parent_elapsed)</y:NodeLabel>
  106. </y:GenericNode>
  107. </data>
  108. </node>
  109. <node id="n5">
  110. <data key="d6">
  111. <y:GenericNode configuration="com.yworks.flowchart.start2">
  112. <y:Geometry height="19.200000000000045" width="41.60000000000001" x="451.03192406434187" y="1084.7053118457939"/>
  113. <y:Fill color="#000000" color2="#000000" transparent="false"/>
  114. <y:BorderStyle color="#000000" type="line" width="1.0"/>
  115. <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" modelName="custom" textColor="#000000" visible="true" width="4.0" x="18.80000000000001" y="7.599999999999909">
  116. <y:LabelModel>
  117. <y:SmartNodeLabelModel distance="4.0"/>
  118. </y:LabelModel>
  119. <y:ModelParameter>
  120. <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
  121. </y:ModelParameter>
  122. </y:NodeLabel>
  123. </y:GenericNode>
  124. </data>
  125. </node>
  126. <node id="n6">
  127. <data key="d6">
  128. <y:GenericNode configuration="com.yworks.flowchart.start1">
  129. <y:Geometry height="142.39999999999998" width="253.60000000000002" x="661.3781676293354" y="1420.5762817790535"/>
  130. <y:Fill color="#99CCFF" color2="#B7C9E3" transparent="false"/>
  131. <y:BorderStyle color="#000000" type="line" width="1.0"/>
  132. <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="26.0517578125" modelName="custom" textColor="#000000" visible="true" width="138.0595703125" x="57.770214843749955" y="58.174121093750045">FSA_Processing<y:LabelModel>
  133. <y:SmartNodeLabelModel distance="4.0"/>
  134. </y:LabelModel>
  135. <y:ModelParameter>
  136. <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
  137. </y:ModelParameter>
  138. </y:NodeLabel>
  139. </y:GenericNode>
  140. </data>
  141. </node>
  142. <node id="n7">
  143. <data key="d6">
  144. <y:GenericNode configuration="com.yworks.flowchart.start1">
  145. <y:Geometry height="57.22907110438723" width="105.51242421434722" x="969.4408582549614" y="1054.6737819597734"/>
  146. <y:Fill color="#99CCFF" color2="#B7C9E3" transparent="false"/>
  147. <y:BorderStyle color="#000000" type="line" width="1.0"/>
  148. <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="26.0517578125" modelName="custom" textColor="#000000" visible="true" width="81.044921875" x="12.23375116967361" y="15.588656645943502">FSA_End<y:LabelModel>
  149. <y:SmartNodeLabelModel distance="4.0"/>
  150. </y:LabelModel>
  151. <y:ModelParameter>
  152. <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
  153. </y:ModelParameter>
  154. </y:NodeLabel>
  155. </y:GenericNode>
  156. </data>
  157. </node>
  158. <node id="n8">
  159. <data key="d6">
  160. <y:ShapeNode>
  161. <y:Geometry height="40.0" width="43.52291666666724" x="490.4389238405631" y="1514.3473913247033"/>
  162. <y:Fill color="#99CCFF" transparent="false"/>
  163. <y:BorderStyle color="#000000" type="line" width="1.0"/>
  164. <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="26.0517578125" modelName="custom" textColor="#000000" visible="true" width="16.9990234375" x="13.261946614583621" y="6.97412109375">H<y:LabelModel>
  165. <y:SmartNodeLabelModel distance="4.0"/>
  166. </y:LabelModel>
  167. <y:ModelParameter>
  168. <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
  169. </y:ModelParameter>
  170. </y:NodeLabel>
  171. <y:Shape type="ellipse"/>
  172. </y:ShapeNode>
  173. </data>
  174. </node>
  175. <node id="n9">
  176. <data key="d6">
  177. <y:ShapeNode>
  178. <y:Geometry height="30.0" width="30.0" x="745.4421138561236" y="1038.288317511967"/>
  179. <y:Fill hasColor="false" transparent="false"/>
  180. <y:BorderStyle hasColor="false" type="line" width="1.0"/>
  181. <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="26.0517578125" modelName="custom" textColor="#000000" visible="true" width="57.033203125" x="-13.5166015625" y="1.97412109375">Parent<y:LabelModel>
  182. <y:SmartNodeLabelModel distance="4.0"/>
  183. </y:LabelModel>
  184. <y:ModelParameter>
  185. <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
  186. </y:ModelParameter>
  187. </y:NodeLabel>
  188. <y:Shape type="rectangle"/>
  189. </y:ShapeNode>
  190. </data>
  191. </node>
  192. <node id="n10">
  193. <data key="d4"/>
  194. <data key="d6">
  195. <y:GenericNode configuration="com.yworks.flowchart.start1">
  196. <y:Geometry height="59.18336711504196" width="97.35652601191583" x="233.4701762676286" y="958.7670971076736"/>
  197. <y:Fill color="#E8EEF7" color2="#FF0000" transparent="false"/>
  198. <y:BorderStyle color="#000000" type="line" width="1.0"/>
  199. <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="26.0517578125" modelName="custom" textColor="#000000" visible="true" width="42.0126953125" x="27.671915349707916" y="16.565804651271037">Start<y:LabelModel>
  200. <y:SmartNodeLabelModel distance="4.0"/>
  201. </y:LabelModel>
  202. <y:ModelParameter>
  203. <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
  204. </y:ModelParameter>
  205. </y:NodeLabel>
  206. <y:StyleProperties>
  207. <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="false"/>
  208. </y:StyleProperties>
  209. </y:GenericNode>
  210. </data>
  211. </node>
  212. <node id="n11">
  213. <data key="d6">
  214. <y:ShapeNode>
  215. <y:Geometry height="87.89583333333337" width="227.17140685461595" x="969.6833935254152" y="633.7460319274358"/>
  216. <y:Fill color="#E8EEF7" color2="#FF0000" transparent="false"/>
  217. <y:BorderStyle color="#000000" type="line" width="1.0"/>
  218. <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="bold" hasBackgroundColor="false" hasLineColor="false" height="92.20703125" modelName="custom" textColor="#000000" visible="true" width="144.0185546875" x="41.576426083557976" y="-2.1555989583332575">HybridSimulator
  219. <y:LabelModel>
  220. <y:SmartNodeLabelModel distance="4.0"/>
  221. </y:LabelModel>
  222. <y:ModelParameter>
  223. <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
  224. </y:ModelParameter>
  225. </y:NodeLabel>
  226. <y:Shape type="rectangle"/>
  227. </y:ShapeNode>
  228. </data>
  229. </node>
  230. <node id="n12">
  231. <data key="d6">
  232. <y:ShapeNode>
  233. <y:Geometry height="554.934854221778" width="694.5871375275085" x="1088.6301475982882" y="1767.0560311887648"/>
  234. <y:Fill hasColor="false" transparent="false"/>
  235. <y:BorderStyle color="#000000" type="line" width="1.0"/>
  236. <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" modelName="custom" textColor="#000000" visible="true" width="4.0" x="345.29356876375414" y="275.46742711088905">
  237. <y:LabelModel>
  238. <y:SmartNodeLabelModel distance="4.0"/>
  239. </y:LabelModel>
  240. <y:ModelParameter>
  241. <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
  242. </y:ModelParameter>
  243. </y:NodeLabel>
  244. <y:Shape type="roundrectangle"/>
  245. </y:ShapeNode>
  246. </data>
  247. </node>
  248. <node id="n13">
  249. <data key="d6">
  250. <y:GenericNode configuration="com.yworks.flowchart.start1">
  251. <y:Geometry height="40.0" width="97.35652601191583" x="1101.120342701885" y="1873.0038593740933"/>
  252. <y:Fill color="#99CCFF" color2="#B7C9E3" transparent="false"/>
  253. <y:BorderStyle color="#000000" type="line" width="1.0"/>
  254. <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="26.0517578125" modelName="custom" textColor="#000000" visible="true" width="87.0302734375" x="5.163126287207888" y="6.97412109375">FSA_Start<y:LabelModel>
  255. <y:SmartNodeLabelModel distance="4.0"/>
  256. </y:LabelModel>
  257. <y:ModelParameter>
  258. <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
  259. </y:ModelParameter>
  260. </y:NodeLabel>
  261. </y:GenericNode>
  262. </data>
  263. </node>
  264. <node id="n14">
  265. <data key="d6">
  266. <y:GenericNode configuration="com.yworks.flowchart.start1">
  267. <y:Geometry height="215.16797586070095" width="389.0540260959579" x="1246.7508066252235" y="1797.0560311887648"/>
  268. <y:Fill color="#99CCFF" color2="#B7C9E3" transparent="false"/>
  269. <y:BorderStyle color="#000000" type="line" width="1.0"/>
  270. <y:NodeLabel alignment="left" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="180.4140625" modelName="free" modelPosition="anywhere" textColor="#000000" visible="true" width="295.1640625" x="68.98362990451301" y="8.7515278112935">FSA_Check
  271. On Enter:
  272. child_currentEvent =
  273. getCurrEvent(child_logicalTime),
  274. child_fsa_selectedTransition =
  275. getTrans(child_currentEvent,
  276. child_currentState, child_elapsed)</y:NodeLabel>
  277. </y:GenericNode>
  278. </data>
  279. </node>
  280. <node id="n15">
  281. <data key="d6">
  282. <y:GenericNode configuration="com.yworks.flowchart.start2">
  283. <y:Geometry height="19.200000000000045" width="41.60000000000001" x="1088.630147598288" y="1813.4730255225913"/>
  284. <y:Fill color="#000000" color2="#000000" transparent="false"/>
  285. <y:BorderStyle color="#000000" type="line" width="1.0"/>
  286. <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" modelName="custom" textColor="#000000" visible="true" width="4.0" x="18.799999999999955" y="7.599999999999909">
  287. <y:LabelModel>
  288. <y:SmartNodeLabelModel distance="4.0"/>
  289. </y:LabelModel>
  290. <y:ModelParameter>
  291. <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
  292. </y:ModelParameter>
  293. </y:NodeLabel>
  294. </y:GenericNode>
  295. </data>
  296. </node>
  297. <node id="n16">
  298. <data key="d6">
  299. <y:GenericNode configuration="com.yworks.flowchart.start1">
  300. <y:Geometry height="142.39999999999998" width="253.60000000000002" x="1342.7117255051878" y="2161.271813912734"/>
  301. <y:Fill color="#99CCFF" color2="#B7C9E3" transparent="false"/>
  302. <y:BorderStyle color="#000000" type="line" width="1.0"/>
  303. <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="26.0517578125" modelName="custom" textColor="#000000" visible="true" width="138.0595703125" x="57.770214843749955" y="58.17412109374982">FSA_Processing<y:LabelModel>
  304. <y:SmartNodeLabelModel distance="4.0"/>
  305. </y:LabelModel>
  306. <y:ModelParameter>
  307. <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
  308. </y:ModelParameter>
  309. </y:NodeLabel>
  310. </y:GenericNode>
  311. </data>
  312. </node>
  313. <node id="n17">
  314. <data key="d6">
  315. <y:GenericNode configuration="com.yworks.flowchart.start1">
  316. <y:Geometry height="40.0" width="80.0" x="1684.0787706326041" y="1889.1196674225048"/>
  317. <y:Fill color="#99CCFF" color2="#B7C9E3" transparent="false"/>
  318. <y:BorderStyle color="#000000" type="line" width="1.0"/>
  319. <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="26.0517578125" modelName="custom" textColor="#000000" visible="true" width="81.044921875" x="-0.5224609375" y="6.97412109375">FSA_End<y:LabelModel>
  320. <y:SmartNodeLabelModel distance="4.0"/>
  321. </y:LabelModel>
  322. <y:ModelParameter>
  323. <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
  324. </y:ModelParameter>
  325. </y:NodeLabel>
  326. </y:GenericNode>
  327. </data>
  328. </node>
  329. <node id="n18">
  330. <data key="d6">
  331. <y:ShapeNode>
  332. <y:Geometry height="40.0" width="43.52291666666724" x="1128.0371473745092" y="2243.115105001501"/>
  333. <y:Fill color="#99CCFF" transparent="false"/>
  334. <y:BorderStyle color="#000000" type="line" width="1.0"/>
  335. <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="26.0517578125" modelName="custom" textColor="#000000" visible="true" width="16.9990234375" x="13.261946614583621" y="6.97412109375">H<y:LabelModel>
  336. <y:SmartNodeLabelModel distance="4.0"/>
  337. </y:LabelModel>
  338. <y:ModelParameter>
  339. <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
  340. </y:ModelParameter>
  341. </y:NodeLabel>
  342. <y:Shape type="ellipse"/>
  343. </y:ShapeNode>
  344. </data>
  345. </node>
  346. <node id="n19">
  347. <data key="d6">
  348. <y:ShapeNode>
  349. <y:Geometry height="30.0" width="30.0" x="1383.0403373900697" y="1767.0560311887648"/>
  350. <y:Fill hasColor="false" transparent="false"/>
  351. <y:BorderStyle hasColor="false" type="line" width="1.0"/>
  352. <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="26.0517578125" modelName="custom" textColor="#000000" visible="true" width="45.0185546875" x="-7.50927734375" y="1.97412109375">Child<y:LabelModel>
  353. <y:SmartNodeLabelModel distance="4.0"/>
  354. </y:LabelModel>
  355. <y:ModelParameter>
  356. <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
  357. </y:ModelParameter>
  358. </y:NodeLabel>
  359. <y:Shape type="rectangle"/>
  360. </y:ShapeNode>
  361. </data>
  362. </node>
  363. <node id="n20">
  364. <data key="d6">
  365. <y:GenericNode configuration="com.yworks.flowchart.start1">
  366. <y:Geometry height="142.39999999999998" width="466.6719999999999" x="1316.545285125797" y="1338.1353486438204"/>
  367. <y:Fill color="#FF0000" color2="#FFFFFF" transparent="false"/>
  368. <y:BorderStyle color="#000000" type="line" width="1.0"/>
  369. <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="26.0517578125" modelName="custom" textColor="#000000" visible="true" width="110.0400390625" x="178.31598046875" y="58.174121093750045">ProcessChild<y:LabelModel>
  370. <y:SmartNodeLabelModel distance="4.0"/>
  371. </y:LabelModel>
  372. <y:ModelParameter>
  373. <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
  374. </y:ModelParameter>
  375. </y:NodeLabel>
  376. </y:GenericNode>
  377. </data>
  378. </node>
  379. <node id="n21">
  380. <data key="d5"/>
  381. <data key="d6">
  382. <y:ShapeNode>
  383. <y:Geometry height="66.54062432723345" width="414.8078880516691" x="2004.1840077502698" y="1316.7593455329227"/>
  384. <y:Fill hasColor="false" transparent="false"/>
  385. <y:BorderStyle color="#000000" type="line" width="1.0"/>
  386. <y:NodeLabel alignment="left" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="33.40234375" modelName="internal" modelPosition="c" textColor="#000000" visible="true" width="392.5234375" x="11.14222527583479" y="16.569140288616836">Limitation:
  387. We do not consider here the case where the inner fsa's have a end state.</y:NodeLabel>
  388. <y:Shape type="roundrectangle"/>
  389. </y:ShapeNode>
  390. </data>
  391. </node>
  392. <edge id="e0" source="n5" target="n3">
  393. <data key="d10">
  394. <y:PolyLineEdge>
  395. <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
  396. <y:LineStyle color="#000000" type="line" width="1.0"/>
  397. <y:Arrows source="none" target="standard"/>
  398. <y:EdgeLabel alignment="center" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="4.0" x="41.59170489353073" y="13.507660860536362">
  399. <y:LabelModel>
  400. <y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/>
  401. </y:LabelModel>
  402. <y:ModelParameter>
  403. <y:SmartEdgeLabelModelParameter angle="0.0" distance="30.0" distanceToCenter="true" position="left" ratio="0.7240967250752814" segment="-1"/>
  404. </y:ModelParameter>
  405. <y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  406. </y:EdgeLabel>
  407. <y:BendStyle smoothed="false"/>
  408. </y:PolyLineEdge>
  409. </data>
  410. </edge>
  411. <edge id="e1" source="n3" target="n4">
  412. <data key="d10">
  413. <y:PolyLineEdge>
  414. <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
  415. <y:LineStyle color="#000000" type="line" width="1.0"/>
  416. <y:Arrows source="none" target="standard"/>
  417. <y:EdgeLabel alignment="left" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="102.0078125" modelName="free" modelPosition="anywhere" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="244.59375" x="-76.04682340494617" y="-134.4844547525504">/ parent_fsa_logicalTime =0,
  418. parent_timestep = woven_delta,
  419. parent_fsa_currentState =
  420. model.initState,
  421. parent_fsa_elapsed = 0
  422. <y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  423. </y:EdgeLabel>
  424. <y:BendStyle smoothed="false"/>
  425. </y:PolyLineEdge>
  426. </data>
  427. </edge>
  428. <edge id="e2" source="n4" target="n6">
  429. <data key="d10">
  430. <y:ArcEdge>
  431. <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
  432. <y:Point x="1014.8523559570312" y="1383.1666259765625"/>
  433. </y:Path>
  434. <y:LineStyle color="#000000" type="line" width="1.0"/>
  435. <y:Arrows source="none" target="standard"/>
  436. <y:EdgeLabel alignment="left" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="62.8046875" modelName="free" modelPosition="anywhere" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="350.84375" x="-31.751814359162836" y="141.54049242556016">[not parent_currentState.final
  437. &amp; not isinstance(parent_currentState, FSAState)]
  438. <y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  439. </y:EdgeLabel>
  440. <y:Arc height="209.4230499267578" ratio="3.0134198665618896" type="fixedRatio"/>
  441. </y:ArcEdge>
  442. </data>
  443. </edge>
  444. <edge id="e3" source="n4" target="n7">
  445. <data key="d10">
  446. <y:ArcEdge>
  447. <y:Path sx="0.0" sy="0.0" tx="-10.945386171513405" ty="-12.90398417862707">
  448. <y:Point x="882.4668579101562" y="1097.2984619140625"/>
  449. </y:Path>
  450. <y:LineStyle color="#000000" type="line" width="1.0"/>
  451. <y:Arrows source="none" target="standard"/>
  452. <y:EdgeLabel alignment="center" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="23.6015625" modelName="free" modelPosition="anywhere" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="188.109375" x="-91.56895465498712" y="-33.769208111693615">[parent_currentState.final]<y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  453. </y:EdgeLabel>
  454. <y:Arc height="58.838623046875" ratio="1.0" type="fixedRatio"/>
  455. </y:ArcEdge>
  456. </data>
  457. </edge>
  458. <edge id="e4" source="n6" target="n4">
  459. <data key="d10">
  460. <y:ArcEdge>
  461. <y:Path sx="0.0" sy="0.0" tx="33.11426364385807" ty="57.935792448088584">
  462. <y:Point x="817.9691772460938" y="1381.1019287109375"/>
  463. </y:Path>
  464. <y:LineStyle color="#000000" type="line" width="1.0"/>
  465. <y:Arrows source="none" target="standard"/>
  466. <y:EdgeLabel alignment="left" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="62.8046875" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="438.8984375" x="-75.47363375999419" y="-73.40225179571962">[parent_selectedTransition = null] /
  467. parent_logicalTime = parent_logicalTime + parent_timestep,
  468. parent_elapsed = parent_elapsed + parent_timestep<y:LabelModel>
  469. <y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/>
  470. </y:LabelModel>
  471. <y:ModelParameter>
  472. <y:SmartEdgeLabelModelParameter angle="6.283185307179586" distance="122.17029840978489" distanceToCenter="true" position="right" ratio="1.0" segment="-1"/>
  473. </y:ModelParameter>
  474. <y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  475. </y:EdgeLabel>
  476. <y:Arc height="6.360552787780762" ratio="0.11116238683462143" type="fixedRatio"/>
  477. </y:ArcEdge>
  478. </data>
  479. </edge>
  480. <edge id="e5" source="n6" target="n4">
  481. <data key="d10">
  482. <y:ArcEdge>
  483. <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
  484. <y:Point x="723.18017578125" y="1342.3251953125"/>
  485. </y:Path>
  486. <y:LineStyle color="#000000" type="line" width="1.0"/>
  487. <y:Arrows source="none" target="standard"/>
  488. <y:EdgeLabel alignment="left" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="82.40625" modelName="free" modelPosition="anywhere" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="410.90625" x="-433.03080377426375" y="-93.3706911248164">[parent_selectedTransition != null] /
  489. parent_currentState = parent_selectedTransition.target,
  490. parent_elapsed = 0
  491. processEvent(parent_currentEvent)<y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  492. </y:EdgeLabel>
  493. <y:Arc height="85.09465026855469" ratio="1.2244397401809692" type="fixedRatio"/>
  494. </y:ArcEdge>
  495. </data>
  496. </edge>
  497. <edge id="e6" source="n11" target="n2">
  498. <data key="d8"/>
  499. <data key="d10">
  500. <y:PolyLineEdge>
  501. <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
  502. <y:LineStyle color="#000000" type="line" width="1.0"/>
  503. <y:Arrows source="diamond" target="none"/>
  504. <y:BendStyle smoothed="false"/>
  505. </y:PolyLineEdge>
  506. </data>
  507. </edge>
  508. <edge id="e7" source="n11" target="n1">
  509. <data key="d8"/>
  510. <data key="d10">
  511. <y:PolyLineEdge>
  512. <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
  513. <y:LineStyle color="#000000" type="line" width="1.0"/>
  514. <y:Arrows source="diamond" target="none"/>
  515. <y:BendStyle smoothed="false"/>
  516. </y:PolyLineEdge>
  517. </data>
  518. </edge>
  519. <edge id="e8" source="n8" target="n0">
  520. <data key="d10">
  521. <y:ArcEdge>
  522. <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
  523. <y:Point x="586.0364990234375" y="1360.8094482421875"/>
  524. </y:Path>
  525. <y:LineStyle color="#000000" type="line" width="1.0"/>
  526. <y:Arrows source="none" target="standard"/>
  527. <y:Arc height="84.3411865234375" ratio="1.0" type="fixedRatio"/>
  528. </y:ArcEdge>
  529. </data>
  530. </edge>
  531. <edge id="e9" source="n15" target="n13">
  532. <data key="d10">
  533. <y:PolyLineEdge>
  534. <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
  535. <y:LineStyle color="#000000" type="line" width="1.0"/>
  536. <y:Arrows source="none" target="standard"/>
  537. <y:EdgeLabel alignment="center" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="4.0" x="41.59169234349247" y="13.507674342021346">
  538. <y:LabelModel>
  539. <y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/>
  540. </y:LabelModel>
  541. <y:ModelParameter>
  542. <y:SmartEdgeLabelModelParameter angle="0.0" distance="30.0" distanceToCenter="true" position="left" ratio="0.7240967250752814" segment="-1"/>
  543. </y:ModelParameter>
  544. <y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  545. </y:EdgeLabel>
  546. <y:BendStyle smoothed="false"/>
  547. </y:PolyLineEdge>
  548. </data>
  549. </edge>
  550. <edge id="e10" source="n13" target="n14">
  551. <data key="d10">
  552. <y:PolyLineEdge>
  553. <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
  554. <y:LineStyle color="#000000" type="line" width="1.0"/>
  555. <y:Arrows source="none" target="standard"/>
  556. <y:EdgeLabel alignment="left" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="102.0078125" modelName="free" modelPosition="anywhere" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="232.1328125" x="-95.19880335451626" y="-130.52854756876354">/ child_logicalTime =0,
  557. child_timestep = woven_delta,
  558. child_currentState =
  559. child_model.initialState,
  560. child_elapsed = 0
  561. <y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  562. </y:EdgeLabel>
  563. <y:BendStyle smoothed="false"/>
  564. </y:PolyLineEdge>
  565. </data>
  566. </edge>
  567. <edge id="e11" source="n14" target="n16">
  568. <data key="d10">
  569. <y:ArcEdge>
  570. <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
  571. <y:Point x="1702.3685302734375" y="2047.2857666015625"/>
  572. </y:Path>
  573. <y:LineStyle color="#000000" type="dashed" width="1.0"/>
  574. <y:Arrows source="none" target="standard"/>
  575. <y:EdgeLabel alignment="left" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="43.203125" modelName="free" modelPosition="anywhere" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="202.3359375" x="103.67145939727266" y="42.06486275113207">[not child_currentState.final]
  576. <y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  577. </y:EdgeLabel>
  578. <y:Arc height="247.88803100585938" ratio="3.0134198665618896" type="fixedRatio"/>
  579. </y:ArcEdge>
  580. </data>
  581. </edge>
  582. <edge id="e12" source="n14" target="n17">
  583. <data key="d10">
  584. <y:ArcEdge>
  585. <y:Path sx="0.0" sy="0.0" tx="2.5058004323667546" ty="-19.976015532311465">
  586. <y:Point x="1580.05712890625" y="1825.565185546875"/>
  587. </y:Path>
  588. <y:LineStyle color="#000000" type="dashed" width="1.0"/>
  589. <y:Arrows source="none" target="standard"/>
  590. <y:EdgeLabel alignment="center" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="23.6015625" modelName="free" modelPosition="anywhere" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="175.6484375" x="32.14823445917409" y="-24.320263479058667">[child_currentState.final]<y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  591. </y:EdgeLabel>
  592. <y:Arc height="71.43181610107422" ratio="1.0" type="fixedRatio"/>
  593. </y:ArcEdge>
  594. </data>
  595. </edge>
  596. <edge id="e13" source="n16" target="n14">
  597. <data key="d10">
  598. <y:ArcEdge>
  599. <y:Path sx="0.0" sy="0.0" tx="35.053725038987736" ty="52.73837496460307">
  600. <y:Point x="1465.276611328125" y="2094.73583984375"/>
  601. </y:Path>
  602. <y:LineStyle color="#000000" type="line" width="1.0"/>
  603. <y:Arrows source="none" target="standard"/>
  604. <y:EdgeLabel alignment="left" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="62.8046875" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="401.515625" x="-85.4221118477235" y="-111.0568097912751">[child_selectedTransition = null] /
  605. child_logicalTime = child_logicalTime + child_timestep,
  606. child_elapsed = child_elapsed + child_timestep<y:LabelModel>
  607. <y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/>
  608. </y:LabelModel>
  609. <y:ModelParameter>
  610. <y:SmartEdgeLabelModelParameter angle="6.283185307179586" distance="114.11314824671295" distanceToCenter="true" position="right" ratio="0.4024304384621956" segment="-1"/>
  611. </y:ModelParameter>
  612. <y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  613. </y:EdgeLabel>
  614. <y:Arc height="7.647361755371094" ratio="0.11116238683462143" type="fixedRatio"/>
  615. </y:ArcEdge>
  616. </data>
  617. </edge>
  618. <edge id="e14" source="n16" target="n14">
  619. <data key="d10">
  620. <y:ArcEdge>
  621. <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
  622. <y:Point x="1355.0421142578125" y="2077.198486328125"/>
  623. </y:Path>
  624. <y:LineStyle color="#000000" type="line" width="1.0"/>
  625. <y:Arrows source="none" target="standard"/>
  626. <y:EdgeLabel alignment="left" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="82.40625" modelName="free" modelPosition="anywhere" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="385.984375" x="-441.7029697159255" y="-86.41834001142752">[child_selectedTransition != null] /
  627. child_currentState = child_selectedTransition.target,
  628. child_elapsed = 0
  629. processEvent(child_fsa_currentEvent)<y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  630. </y:EdgeLabel>
  631. <y:Arc height="100.72409057617188" ratio="1.2244397401809692" type="fixedRatio"/>
  632. </y:ArcEdge>
  633. </data>
  634. </edge>
  635. <edge id="e15" source="n18" target="n12">
  636. <data key="d10">
  637. <y:ArcEdge>
  638. <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
  639. <y:Point x="1238.213134765625" y="2082.2880859375"/>
  640. </y:Path>
  641. <y:LineStyle color="#000000" type="line" width="1.0"/>
  642. <y:Arrows source="none" target="standard"/>
  643. <y:Arc height="90.0173110961914" ratio="1.0" type="fixedRatio"/>
  644. </y:ArcEdge>
  645. </data>
  646. </edge>
  647. <edge id="e16" source="n10" target="n0">
  648. <data key="d10">
  649. <y:ArcEdge>
  650. <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
  651. <y:Point x="607.5077514648438" y="1030.30224609375"/>
  652. </y:Path>
  653. <y:LineStyle color="#000000" type="line" width="1.0"/>
  654. <y:Arrows source="none" target="standard"/>
  655. <y:EdgeLabel alignment="left" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="62.8046875" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="338.8515625" x="173.92952904004812" y="-78.5677676541975">/ woven_logicalTime =0
  656. woven_elapsed = 0
  657. woven_child_initialized[model.initState] = False<y:LabelModel>
  658. <y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/>
  659. </y:LabelModel>
  660. <y:ModelParameter>
  661. <y:SmartEdgeLabelModelParameter angle="6.283185307179586" distance="104.2878820844324" distanceToCenter="true" position="left" ratio="52.14393169029682" segment="-2"/>
  662. </y:ModelParameter>
  663. <y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  664. </y:EdgeLabel>
  665. <y:Arc height="146.70919799804688" ratio="1.0" type="fixedRatio"/>
  666. </y:ArcEdge>
  667. </data>
  668. </edge>
  669. <edge id="e17" source="n4" target="n20">
  670. <data key="d10">
  671. <y:ArcEdge>
  672. <y:Path sx="167.46857442815542" sy="-22.719810737323314" tx="0.0" ty="0.0">
  673. <y:Point x="1304.1474609375" y="1218.780517578125"/>
  674. </y:Path>
  675. <y:LineStyle color="#FF0000" type="line" width="1.0"/>
  676. <y:Arrows source="none" target="standard"/>
  677. <y:EdgeLabel alignment="left" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="102.0078125" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="377.1171875" x="243.67785299014713" y="-84.96679101376503">[
  678. not parent_currentState.final &amp;
  679. isinstance(parent_currentState, FSAState)]
  680. /
  681. woven_child_processed[parent_currentState] = false<y:LabelModel>
  682. <y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/>
  683. </y:LabelModel>
  684. <y:ModelParameter>
  685. <y:SmartEdgeLabelModelParameter angle="6.283185307179586" distance="71.35554109903462" distanceToCenter="true" position="left" ratio="129.30006368492553" segment="-2"/>
  686. </y:ModelParameter>
  687. <y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  688. </y:EdgeLabel>
  689. <y:Arc height="88.77487182617188" ratio="0.5957667231559753" type="fixedRatio"/>
  690. </y:ArcEdge>
  691. </data>
  692. </edge>
  693. <edge id="e18" source="n20" target="n14">
  694. <data key="d10">
  695. <y:ArcEdge>
  696. <y:Path sx="0.0" sy="0.0" tx="62.45697049874519" ty="-86.92137905731748">
  697. <y:Point x="1595.7479248046875" y="1621.3170166015625"/>
  698. </y:Path>
  699. <y:LineStyle color="#FF0000" type="line" width="1.0"/>
  700. <y:Arrows source="none" target="standard"/>
  701. <y:EdgeLabel alignment="left" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="43.203125" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="194.328125" x="-29.91170315554882" y="75.83949485285098">[ fsa_already_initialized &amp;
  702. ! child_processed ] <y:LabelModel>
  703. <y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/>
  704. </y:LabelModel>
  705. <y:ModelParameter>
  706. <y:SmartEdgeLabelModelParameter angle="6.283185307179586" distance="59.3062331446881" distanceToCenter="true" position="left" ratio="0.6914865180895781" segment="0"/>
  707. </y:ModelParameter>
  708. <y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  709. </y:EdgeLabel>
  710. <y:Arc height="69.37867736816406" ratio="0.6752474308013916" type="fixedRatio"/>
  711. </y:ArcEdge>
  712. </data>
  713. </edge>
  714. <edge id="e19" source="n14" target="n20">
  715. <data key="d10">
  716. <y:ArcEdge>
  717. <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
  718. <y:Point x="1469.1217041015625" y="1651.1864013671875"/>
  719. </y:Path>
  720. <y:LineStyle color="#FF0000" type="line" width="1.0"/>
  721. <y:Arrows source="none" target="standard"/>
  722. <y:EdgeLabel alignment="left" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="62.8046875" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="370.890625" x="-133.72019817347723" y="-170.84693860773723">/
  723. woven_child_processed[parent_currentState] = true
  724. store child clock and elapsed
  725. <y:LabelModel>
  726. <y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/>
  727. </y:LabelModel>
  728. <y:ModelParameter>
  729. <y:SmartEdgeLabelModelParameter angle="0.0" distance="30.0" distanceToCenter="true" position="right" ratio="0.021147931274427868" segment="-1"/>
  730. </y:ModelParameter>
  731. <y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  732. </y:EdgeLabel>
  733. <y:Arc height="27.08639144897461" ratio="0.21366924047470093" type="fixedRatio"/>
  734. </y:ArcEdge>
  735. </data>
  736. </edge>
  737. <edge id="e20" source="n20" target="n6">
  738. <data key="d10">
  739. <y:ArcEdge>
  740. <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
  741. <y:Point x="1183.794189453125" y="1586.9708251953125"/>
  742. </y:Path>
  743. <y:LineStyle color="#FF0000" type="line" width="1.0"/>
  744. <y:Arrows source="none" target="standard"/>
  745. <y:EdgeLabel alignment="left" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="82.40625" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="349.09375" x="-500.1936702512869" y="23.747634326144407">[woven_child_processed[parent_currentState] &amp;
  746. child_selectedTransition == null &amp;
  747. parent_selectedTransition == null
  748. parent_logicalTime == child_logicalTime ]<y:LabelModel>
  749. <y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/>
  750. </y:LabelModel>
  751. <y:ModelParameter>
  752. <y:SmartEdgeLabelModelParameter angle="6.283185307179586" distance="34.78433036797711" distanceToCenter="true" position="right" ratio="0.38418274987393886" segment="-1"/>
  753. </y:ModelParameter>
  754. <y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  755. </y:EdgeLabel>
  756. <y:Arc height="137.21173095703125" ratio="0.7163687348365784" type="fixedRatio"/>
  757. </y:ArcEdge>
  758. </data>
  759. </edge>
  760. <edge id="e21" source="n20" target="n16">
  761. <data key="d10">
  762. <y:ArcEdge>
  763. <y:Path sx="104.78317600071136" sy="-20.856264554017343" tx="0.0" ty="0.0">
  764. <y:Point x="2000.7347412109375" y="1906.70458984375"/>
  765. </y:Path>
  766. <y:LineStyle color="#FF0000" type="line" width="1.0"/>
  767. <y:Arrows source="none" target="standard"/>
  768. <y:EdgeLabel alignment="left" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="43.203125" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="661.21875" x="157.33244088540414" y="415.40019988471136">[child_processed &amp;
  769. (child_fsa_logicalTime &lt; parent_time or (child_transition != NULL &amp; parent_transition==null))]<y:LabelModel>
  770. <y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/>
  771. </y:LabelModel>
  772. <y:ModelParameter>
  773. <y:SmartEdgeLabelModelParameter angle="6.283185307179586" distance="101.39553846434823" distanceToCenter="true" position="left" ratio="-196.75817537072666" segment="-1"/>
  774. </y:ModelParameter>
  775. <y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  776. </y:EdgeLabel>
  777. <y:Arc height="449.07781982421875" ratio="2.078911542892456" type="fixedRatio"/>
  778. </y:ArcEdge>
  779. </data>
  780. </edge>
  781. <edge id="e22" source="n0" target="n0">
  782. <data key="d10">
  783. <y:ArcEdge>
  784. <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
  785. <y:Point x="769.1685791015625" y="1315.7557373046875"/>
  786. </y:Path>
  787. <y:LineStyle color="#000000" type="line" width="1.0"/>
  788. <y:Arrows source="none" target="standard"/>
  789. <y:Arc height="0.0" ratio="1.0" type="fixedRatio"/>
  790. </y:ArcEdge>
  791. </data>
  792. </edge>
  793. <edge id="e23" source="n6" target="n6">
  794. <data key="d10">
  795. <y:ArcEdge>
  796. <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
  797. <y:Point x="788.1781616210938" y="1491.7762451171875"/>
  798. </y:Path>
  799. <y:LineStyle color="#000000" type="line" width="1.0"/>
  800. <y:Arrows source="none" target="standard"/>
  801. <y:Arc height="0.0" ratio="1.0" type="fixedRatio"/>
  802. </y:ArcEdge>
  803. </data>
  804. </edge>
  805. <edge id="e24" source="n20" target="n14">
  806. <data key="d10">
  807. <y:ArcEdge>
  808. <y:Path sx="96.2128444114811" sy="8.34490632563302" tx="97.21242320265856" ty="-93.1707007019238">
  809. <y:Point x="1778.9490966796875" y="1665.579345703125"/>
  810. </y:Path>
  811. <y:LineStyle color="#FF0000" type="line" width="1.0"/>
  812. <y:Arrows source="none" target="standard"/>
  813. <y:EdgeLabel alignment="left" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="121.609375" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="370.8828125" x="-84.12935038299702" y="164.87237033258316">[ not fsa_already_initialized &amp;
  814. ! child_processed ] /
  815. woven_child_initialized[parent_currentState] = True
  816. init time to parent time.
  817. set the child to point to the parent's queue
  818. child_currentState = parent_currentState.initialState<y:LabelModel>
  819. <y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/>
  820. </y:LabelModel>
  821. <y:ModelParameter>
  822. <y:SmartEdgeLabelModelParameter angle="0.0" distance="30.0" distanceToCenter="true" position="left" ratio="0.0" segment="-1"/>
  823. </y:ModelParameter>
  824. <y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  825. </y:EdgeLabel>
  826. <y:Arc height="193.49998474121094" ratio="1.8960087299346924" type="fixedRatio"/>
  827. </y:ArcEdge>
  828. </data>
  829. </edge>
  830. <edge id="e25" source="n20" target="n16">
  831. <data key="d10">
  832. <y:ArcEdge>
  833. <y:Path sx="205.68668154070951" sy="1.5086246897994897" tx="56.309041161317055" ty="29.013226087552994">
  834. <y:Point x="2207.06640625" y="1989.1343994140625"/>
  835. </y:Path>
  836. <y:LineStyle color="#FF0000" type="dashed" width="1.0"/>
  837. <y:Arrows source="none" target="standard"/>
  838. <y:EdgeLabel alignment="left" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="102.0078125" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="399.7578125" x="276.9207425613472" y="711.0530841552663">[child_processed &amp;
  839. parent_transition!=null &amp; child_transition != NULL &amp; ITF]
  840. /
  841. parent_transition = null
  842. assert child_time == parent_time<y:LabelModel>
  843. <y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/>
  844. </y:LabelModel>
  845. <y:ModelParameter>
  846. <y:SmartEdgeLabelModelParameter angle="6.283185307179586" distance="202.10301804920152" distanceToCenter="true" position="left" ratio="0.04709746816111644" segment="-1"/>
  847. </y:ModelParameter>
  848. <y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  849. </y:EdgeLabel>
  850. <y:Arc height="586.6661376953125" ratio="2.663271903991699" type="fixedRatio"/>
  851. </y:ArcEdge>
  852. </data>
  853. </edge>
  854. <edge id="e26" source="n20" target="n6">
  855. <data key="d10">
  856. <y:ArcEdge>
  857. <y:Path sx="-53.32242399930533" sy="59.02000211292534" tx="-90.38197316951005" ty="38.33906897769225">
  858. <y:Point x="1116.5313720703125" y="1749.5458984375"/>
  859. </y:Path>
  860. <y:LineStyle color="#FF0000" type="line" width="1.0"/>
  861. <y:Arrows source="none" target="standard"/>
  862. <y:EdgeLabel alignment="left" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="121.609375" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="462.484375" x="-889.1386750018955" y="230.86663771181793">[child_processed &amp;
  863. parent_selectedTransition != null &amp;
  864. child_selectedTransition != null &amp; OTF]
  865. /
  866. woven_child_initialized[parent_selectedTransition.target] = False
  867. assert child_time == parent_time<y:LabelModel>
  868. <y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/>
  869. </y:LabelModel>
  870. <y:ModelParameter>
  871. <y:SmartEdgeLabelModelParameter angle="6.283185307179586" distance="150.1211571932486" distanceToCenter="true" position="left" ratio="0.6040487255137941" segment="-1"/>
  872. </y:ModelParameter>
  873. <y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  874. </y:EdgeLabel>
  875. <y:Arc height="251.05767822265625" ratio="1.2534916400909424" type="fixedRatio"/>
  876. </y:ArcEdge>
  877. </data>
  878. </edge>
  879. <edge id="e27" source="n20" target="n6">
  880. <data key="d10">
  881. <y:ArcEdge>
  882. <y:Path sx="-11.45345548158366" sy="0.0" tx="-1.1368683772161603E-13" ty="-5.14271257990049">
  883. <y:Point x="1188.8543701171875" y="1695.984375"/>
  884. </y:Path>
  885. <y:LineStyle color="#FF0000" type="line" width="1.0"/>
  886. <y:Arrows source="none" target="standard"/>
  887. <y:EdgeLabel alignment="left" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="102.0078125" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="462.484375" x="-592.1782943113861" y="136.95168678609525">[woven_child_processed[parent_currentState] &amp;
  888. child_selectedTransition == null &amp;
  889. parent_selectedTransition != null &amp;
  890. parent_logicalTime == child_logicalTime ] /
  891. woven_child_initialized[parent_selectedTransition.target] = False<y:LabelModel>
  892. <y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/>
  893. </y:LabelModel>
  894. <y:ModelParameter>
  895. <y:SmartEdgeLabelModelParameter angle="6.283185307179586" distance="34.78433036797711" distanceToCenter="true" position="center" ratio="0.38474118771889554" segment="-1"/>
  896. </y:ModelParameter>
  897. <y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/>
  898. </y:EdgeLabel>
  899. <y:Arc height="249.3127899169922" ratio="1.3222264051437378" type="fixedRatio"/>
  900. </y:ArcEdge>
  901. </data>
  902. </edge>
  903. </graph>
  904. <data key="d7">
  905. <y:Resources/>
  906. </data>
  907. </graphml>