sample2.model 34 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319
  1. {
  2. "csm": {
  3. "nodes": {
  4. "0": {
  5. "typename": {
  6. "type": "string",
  7. "value": "StateIcon"
  8. },
  9. "position": {
  10. "type": "list<double>",
  11. "value": [
  12. 328,
  13. 348
  14. ]
  15. },
  16. "orientation": {
  17. "type": "double",
  18. "value": 0
  19. },
  20. "scale": {
  21. "type": "list<double>",
  22. "value": [
  23. 1,
  24. 1
  25. ]
  26. },
  27. "mapper": {
  28. "type": "code",
  29. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  30. },
  31. "parser": {
  32. "type": "code",
  33. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  34. },
  35. "$contents": {
  36. "type": "map<string,*>",
  37. "value": {
  38. "nodes": {
  39. "1": {
  40. "r": {
  41. "type": "double",
  42. "value": 50
  43. },
  44. "style": {
  45. "type": "map<string,string>",
  46. "value": {
  47. "stroke": "#000000",
  48. "fill": "#ffff00",
  49. "fill-opacity": 0.75,
  50. "stroke-width": 2
  51. }
  52. },
  53. "mapper": {
  54. "type": "code",
  55. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nif (getAttr(\"current\")) {\n ({style:{\n \"stroke\": \"#000000\",\n \"fill\": \"#ffff00\",\n \"fill-opacity\": 0.75,\n \"stroke-width\": 2\n }});\n}\nelse {\n ({style:{\n \"stroke\": \"#000000\",\n \"fill\": \"#ffffff\",\n \"fill-opacity\": 0.75,\n \"stroke-width\": 2\n }});\n}"
  56. },
  57. "parser": {
  58. "type": "code",
  59. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  60. },
  61. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle",
  62. "position": {
  63. "type": "list<double>",
  64. "value": [
  65. 4,
  66. 4
  67. ]
  68. },
  69. "orientation": {
  70. "type": "double",
  71. "value": 0
  72. },
  73. "scale": {
  74. "type": "list<double>",
  75. "value": [
  76. 1,
  77. 1
  78. ]
  79. }
  80. },
  81. "2": {
  82. "textContent": {
  83. "type": "string",
  84. "value": "S_PowerOn"
  85. },
  86. "style": {
  87. "type": "map<string,string>",
  88. "value": {
  89. "stroke": "#000000",
  90. "stroke-dasharray": "",
  91. "fill": "#ffffff",
  92. "fill-opacity": 0.75,
  93. "font-size": "14px",
  94. "arrow-start": "none",
  95. "arrow-end": "none"
  96. }
  97. },
  98. "mapper": {
  99. "type": "code",
  100. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({textContent: getAttr(\"name\")})\n"
  101. },
  102. "parser": {
  103. "type": "code",
  104. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  105. },
  106. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  107. "position": {
  108. "type": "list<double>",
  109. "value": [
  110. 11,
  111. 48
  112. ]
  113. },
  114. "orientation": {
  115. "type": "double",
  116. "value": 0
  117. },
  118. "scale": {
  119. "type": "list<double>",
  120. "value": [
  121. 1,
  122. 1
  123. ]
  124. }
  125. },
  126. "3": {
  127. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  128. "position": {
  129. "type": "list<double>",
  130. "value": [
  131. 12.71270269242143,
  132. 30
  133. ]
  134. },
  135. "orientation": {
  136. "type": "double",
  137. "value": 0
  138. },
  139. "scale": {
  140. "type": "list<double>",
  141. "value": [
  142. 1,
  143. 1
  144. ]
  145. },
  146. "link-style": {
  147. "type": "map<string,string>",
  148. "value": {
  149. "stroke": "#00ffff",
  150. "stroke-dasharray": "",
  151. "stroke-opacity": 0.1,
  152. "stroke-width": 1
  153. }
  154. }
  155. }
  156. },
  157. "edges": [
  158. {
  159. "src": "1",
  160. "dest": "3"
  161. },
  162. {
  163. "src": "3",
  164. "dest": "2"
  165. }
  166. ]
  167. }
  168. },
  169. "$asuri": {
  170. "type": "string",
  171. "value": "/Formalisms/FSA/FSA/State/0.instance"
  172. },
  173. "$type": "/Formalisms/FSA/FSA.defaultIcons/StateIcon"
  174. },
  175. "1": {
  176. "typename": {
  177. "type": "string",
  178. "value": "StateIcon"
  179. },
  180. "position": {
  181. "type": "list<double>",
  182. "value": [
  183. 629,
  184. 357
  185. ]
  186. },
  187. "orientation": {
  188. "type": "double",
  189. "value": 0
  190. },
  191. "scale": {
  192. "type": "list<double>",
  193. "value": [
  194. 1,
  195. 1
  196. ]
  197. },
  198. "mapper": {
  199. "type": "code",
  200. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  201. },
  202. "parser": {
  203. "type": "code",
  204. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  205. },
  206. "$contents": {
  207. "type": "map<string,*>",
  208. "value": {
  209. "nodes": {
  210. "1": {
  211. "r": {
  212. "type": "double",
  213. "value": 50
  214. },
  215. "style": {
  216. "type": "map<string,string>",
  217. "value": {
  218. "stroke": "#000000",
  219. "fill": "#ffffff",
  220. "fill-opacity": 0.75,
  221. "stroke-width": 2
  222. }
  223. },
  224. "mapper": {
  225. "type": "code",
  226. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nif (getAttr(\"current\")) {\n ({style:{\n \"stroke\": \"#000000\",\n \"fill\": \"#ffff00\",\n \"fill-opacity\": 0.75,\n \"stroke-width\": 2\n }});\n}\nelse {\n ({style:{\n \"stroke\": \"#000000\",\n \"fill\": \"#ffffff\",\n \"fill-opacity\": 0.75,\n \"stroke-width\": 2\n }});\n}"
  227. },
  228. "parser": {
  229. "type": "code",
  230. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  231. },
  232. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle",
  233. "position": {
  234. "type": "list<double>",
  235. "value": [
  236. 4,
  237. 4
  238. ]
  239. },
  240. "orientation": {
  241. "type": "double",
  242. "value": 0
  243. },
  244. "scale": {
  245. "type": "list<double>",
  246. "value": [
  247. 1,
  248. 1
  249. ]
  250. }
  251. },
  252. "2": {
  253. "textContent": {
  254. "type": "string",
  255. "value": "S_PowerOff"
  256. },
  257. "style": {
  258. "type": "map<string,string>",
  259. "value": {
  260. "stroke": "#000000",
  261. "stroke-dasharray": "",
  262. "fill": "#ffffff",
  263. "fill-opacity": 0.75,
  264. "font-size": "14px",
  265. "arrow-start": "none",
  266. "arrow-end": "none"
  267. }
  268. },
  269. "mapper": {
  270. "type": "code",
  271. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({textContent: getAttr(\"name\")})\n"
  272. },
  273. "parser": {
  274. "type": "code",
  275. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  276. },
  277. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  278. "position": {
  279. "type": "list<double>",
  280. "value": [
  281. 11,
  282. 48
  283. ]
  284. },
  285. "orientation": {
  286. "type": "double",
  287. "value": 0
  288. },
  289. "scale": {
  290. "type": "list<double>",
  291. "value": [
  292. 1,
  293. 1
  294. ]
  295. }
  296. },
  297. "3": {
  298. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  299. "position": {
  300. "type": "list<double>",
  301. "value": [
  302. 12.71270269242143,
  303. 30
  304. ]
  305. },
  306. "orientation": {
  307. "type": "double",
  308. "value": 0
  309. },
  310. "scale": {
  311. "type": "list<double>",
  312. "value": [
  313. 1,
  314. 1
  315. ]
  316. },
  317. "link-style": {
  318. "type": "map<string,string>",
  319. "value": {
  320. "stroke": "#00ffff",
  321. "stroke-dasharray": "",
  322. "stroke-opacity": 0.1,
  323. "stroke-width": 1
  324. }
  325. }
  326. }
  327. },
  328. "edges": [
  329. {
  330. "src": "1",
  331. "dest": "3"
  332. },
  333. {
  334. "src": "3",
  335. "dest": "2"
  336. }
  337. ]
  338. }
  339. },
  340. "$asuri": {
  341. "type": "string",
  342. "value": "/Formalisms/FSA/FSA/State/1.instance"
  343. },
  344. "$type": "/Formalisms/FSA/FSA.defaultIcons/StateIcon"
  345. },
  346. "2": {
  347. "link-style": {
  348. "type": "map<string,string>",
  349. "value": {
  350. "stroke": "#000000",
  351. "stroke-dasharray": "",
  352. "stroke-opacity": 1,
  353. "stroke-width": 2
  354. }
  355. },
  356. "arrowHead": {
  357. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  358. "value": "custom"
  359. },
  360. "arrowTail": {
  361. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  362. "value": "arrow-black"
  363. },
  364. "typename": {
  365. "type": "string",
  366. "value": "TransitionLink"
  367. },
  368. "position": {
  369. "type": "list<double>",
  370. "value": [
  371. 537,
  372. 382
  373. ]
  374. },
  375. "orientation": {
  376. "type": "double",
  377. "value": 0
  378. },
  379. "scale": {
  380. "type": "list<double>",
  381. "value": [
  382. 1,
  383. 1
  384. ]
  385. },
  386. "mapper": {
  387. "type": "code",
  388. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  389. },
  390. "parser": {
  391. "type": "code",
  392. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  393. },
  394. "$contents": {
  395. "type": "map<string,*>",
  396. "value": {
  397. "nodes": {
  398. "13": {
  399. "textContent": {
  400. "type": "string",
  401. "value": "a"
  402. },
  403. "style": {
  404. "type": "map<string,string>",
  405. "value": {
  406. "stroke": "#000000",
  407. "stroke-dasharray": "",
  408. "fill": "#ffffff",
  409. "fill-opacity": 0.75,
  410. "font-size": "16px",
  411. "arrow-start": "none",
  412. "arrow-end": "none"
  413. }
  414. },
  415. "mapper": {
  416. "type": "code",
  417. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({textContent: getAttr(\"event\")})\n"
  418. },
  419. "parser": {
  420. "type": "code",
  421. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  422. },
  423. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  424. "position": {
  425. "type": "list<double>",
  426. "value": [
  427. "0;-1.0947282224201444,0%",
  428. "0;-21.484740433397405,0%"
  429. ]
  430. },
  431. "orientation": {
  432. "type": "double",
  433. "value": "0;-0.9548412538721887"
  434. },
  435. "scale": {
  436. "type": "list<double>",
  437. "value": [
  438. 1,
  439. 1
  440. ]
  441. },
  442. "$linkDecoratorInfo": {
  443. "type": "map<string,double>",
  444. "value": {
  445. "xratio": 0.49693251533742333,
  446. "yoffset": -21.5
  447. }
  448. }
  449. },
  450. "267": {
  451. "segments": {
  452. "type": "string",
  453. "value": "m0,0 l10,4 l-10,4 l3,-4 z"
  454. },
  455. "style": {
  456. "type": "map<string,string>",
  457. "value": {
  458. "stroke": "#000000",
  459. "fill": "#000000",
  460. "opacity": 1,
  461. "stroke-width": 1
  462. }
  463. },
  464. "mapper": {
  465. "type": "code",
  466. "value": ""
  467. },
  468. "parser": {
  469. "type": "code",
  470. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  471. },
  472. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  473. "position": {
  474. "type": "list<double>",
  475. "value": [
  476. "0;119.93284286844175,99.98611400396%",
  477. "0;-5.999436231454695,-1.6664352333993364%"
  478. ]
  479. },
  480. "orientation": {
  481. "type": "double",
  482. "value": "0;-0.9548412538721905"
  483. },
  484. "scale": {
  485. "type": "list<double>",
  486. "value": [
  487. 1,
  488. 1
  489. ]
  490. },
  491. "$linkDecoratorInfo": {
  492. "type": "map<string,double>",
  493. "value": {
  494. "xratio": 1,
  495. "yoffset": -4
  496. }
  497. }
  498. }
  499. },
  500. "edges": []
  501. }
  502. },
  503. "$asuri": {
  504. "type": "string",
  505. "value": "/Formalisms/FSA/FSA/Transition/2.instance"
  506. },
  507. "$segments": {
  508. "type": "map<string,list<string>>",
  509. "value": {
  510. "/Formalisms/FSA/FSA.defaultIcons/StateIcon/0.instance--/Formalisms/FSA/FSA.defaultIcons/TransitionLink/2.instance": "M417,384L537,382",
  511. "/Formalisms/FSA/FSA.defaultIcons/TransitionLink/2.instance--/Formalisms/FSA/FSA.defaultIcons/StateIcon/1.instance": "M537.1497499654511,381.9975041672425L656.9995002777778,380.0000083287037"
  512. }
  513. },
  514. "$type": "/Formalisms/FSA/FSA.defaultIcons/TransitionLink"
  515. },
  516. "3": {
  517. "link-style": {
  518. "type": "map<string,string>",
  519. "value": {
  520. "stroke": "#000000",
  521. "stroke-dasharray": "",
  522. "stroke-opacity": 1,
  523. "stroke-width": 2
  524. }
  525. },
  526. "arrowHead": {
  527. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  528. "value": "custom"
  529. },
  530. "arrowTail": {
  531. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  532. "value": "arrow-black"
  533. },
  534. "typename": {
  535. "type": "string",
  536. "value": "TransitionLink"
  537. },
  538. "position": {
  539. "type": "list<double>",
  540. "value": [
  541. 525.8500000305175,
  542. 430.9929687514305
  543. ]
  544. },
  545. "orientation": {
  546. "type": "double",
  547. "value": 0
  548. },
  549. "scale": {
  550. "type": "list<double>",
  551. "value": [
  552. 1,
  553. 1
  554. ]
  555. },
  556. "mapper": {
  557. "type": "code",
  558. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  559. },
  560. "parser": {
  561. "type": "code",
  562. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  563. },
  564. "$contents": {
  565. "type": "map<string,*>",
  566. "value": {
  567. "nodes": {
  568. "13": {
  569. "textContent": {
  570. "type": "string",
  571. "value": "b"
  572. },
  573. "style": {
  574. "type": "map<string,string>",
  575. "value": {
  576. "stroke": "#000000",
  577. "stroke-dasharray": "",
  578. "fill": "#ffffff",
  579. "fill-opacity": 0.75,
  580. "font-size": "16px",
  581. "arrow-start": "none",
  582. "arrow-end": "none"
  583. }
  584. },
  585. "mapper": {
  586. "type": "code",
  587. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({textContent: getAttr(\"event\")})\n"
  588. },
  589. "parser": {
  590. "type": "code",
  591. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  592. },
  593. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  594. "position": {
  595. "type": "list<double>",
  596. "value": [
  597. "0;-0.0711982465222718,0%",
  598. "0;21.52027022671234,0%"
  599. ]
  600. },
  601. "orientation": {
  602. "type": "double",
  603. "value": "0;-177.31622484053105"
  604. },
  605. "scale": {
  606. "type": "list<double>",
  607. "value": [
  608. 1,
  609. 1
  610. ]
  611. },
  612. "$linkDecoratorInfo": {
  613. "type": "map<string,double>",
  614. "value": {
  615. "xratio": 0.49693251533742333,
  616. "yoffset": -21.5
  617. }
  618. }
  619. },
  620. "267": {
  621. "segments": {
  622. "type": "string",
  623. "value": "m0,0 l10,4 l-10,4 l3,-4 z"
  624. },
  625. "style": {
  626. "type": "map<string,string>",
  627. "value": {
  628. "stroke": "#000000",
  629. "fill": "#000000",
  630. "opacity": 1,
  631. "stroke-width": 1
  632. }
  633. },
  634. "mapper": {
  635. "type": "code",
  636. "value": ""
  637. },
  638. "parser": {
  639. "type": "code",
  640. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  641. },
  642. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  643. "position": {
  644. "type": "list<double>",
  645. "value": [
  646. "0;-128.03682586985258,-99.89031743698379%",
  647. "0;-1.9973340927390382,-4.682358629858642%"
  648. ]
  649. },
  650. "orientation": {
  651. "type": "double",
  652. "value": "0;-177.316224840531"
  653. },
  654. "scale": {
  655. "type": "list<double>",
  656. "value": [
  657. 1,
  658. 1
  659. ]
  660. },
  661. "$linkDecoratorInfo": {
  662. "type": "map<string,double>",
  663. "value": {
  664. "xratio": 1,
  665. "yoffset": -4
  666. }
  667. }
  668. }
  669. },
  670. "edges": []
  671. }
  672. },
  673. "$asuri": {
  674. "type": "string",
  675. "value": "/Formalisms/FSA/FSA/Transition/3.instance"
  676. },
  677. "$segments": {
  678. "type": "map<string,list<string>>",
  679. "value": {
  680. "/Formalisms/FSA/FSA.defaultIcons/StateIcon/1.instance--/Formalisms/FSA/FSA.defaultIcons/TransitionLink/3.instance": "M654,437L525.8500000305175,430.9929687514305",
  681. "/Formalisms/FSA/FSA.defaultIcons/TransitionLink/3.instance--/Formalisms/FSA/FSA.defaultIcons/StateIcon/0.instance": "M525.8502344053747,430.99297973775197L398.0004685058593,425.0000219612121"
  682. }
  683. },
  684. "$type": "/Formalisms/FSA/FSA.defaultIcons/TransitionLink"
  685. },
  686. "4": {
  687. "link-style": {
  688. "type": "map<string,string>",
  689. "value": {
  690. "stroke": "#000000",
  691. "stroke-dasharray": "",
  692. "stroke-opacity": 1,
  693. "stroke-width": 2
  694. }
  695. },
  696. "arrowHead": {
  697. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  698. "value": "custom"
  699. },
  700. "arrowTail": {
  701. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  702. "value": "arrow-black"
  703. },
  704. "typename": {
  705. "type": "string",
  706. "value": "TransitionLink"
  707. },
  708. "position": {
  709. "type": "list<double>",
  710. "value": [
  711. 771.6722870665637,
  712. 387.8806742976066
  713. ]
  714. },
  715. "orientation": {
  716. "type": "double",
  717. "value": 0
  718. },
  719. "scale": {
  720. "type": "list<double>",
  721. "value": [
  722. 1,
  723. 1
  724. ]
  725. },
  726. "mapper": {
  727. "type": "code",
  728. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  729. },
  730. "parser": {
  731. "type": "code",
  732. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  733. },
  734. "$contents": {
  735. "type": "map<string,*>",
  736. "value": {
  737. "nodes": {
  738. "13": {
  739. "textContent": {
  740. "type": "string",
  741. "value": "a"
  742. },
  743. "style": {
  744. "type": "map<string,string>",
  745. "value": {
  746. "stroke": "#000000",
  747. "stroke-dasharray": "",
  748. "fill": "#ffffff",
  749. "fill-opacity": 0.75,
  750. "font-size": "16px",
  751. "arrow-start": "none",
  752. "arrow-end": "none"
  753. }
  754. },
  755. "mapper": {
  756. "type": "code",
  757. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({textContent: getAttr(\"event\")})\n"
  758. },
  759. "parser": {
  760. "type": "code",
  761. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  762. },
  763. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  764. "position": {
  765. "type": "list<double>",
  766. "value": [
  767. "0;21.448364419702216,0%",
  768. "0;-1.6626791954828377,0%"
  769. ]
  770. },
  771. "orientation": {
  772. "type": "double",
  773. "value": "0;87.53718332408313"
  774. },
  775. "scale": {
  776. "type": "list<double>",
  777. "value": [
  778. 1,
  779. 1
  780. ]
  781. },
  782. "$linkDecoratorInfo": {
  783. "type": "map<string,double>",
  784. "value": {
  785. "xratio": 0.49693251533742333,
  786. "yoffset": -21.5
  787. }
  788. }
  789. },
  790. "267": {
  791. "segments": {
  792. "type": "string",
  793. "value": "m0,0 l10,4 l-10,4 l3,-4 z"
  794. },
  795. "style": {
  796. "type": "map<string,string>",
  797. "value": {
  798. "stroke": "#000000",
  799. "fill": "#000000",
  800. "opacity": 1,
  801. "stroke-width": 1
  802. }
  803. },
  804. "mapper": {
  805. "type": "code",
  806. "value": ""
  807. },
  808. "parser": {
  809. "type": "code",
  810. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  811. },
  812. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  813. "position": {
  814. "type": "list<double>",
  815. "value": [
  816. "0;-59.44389895303925,-98.11944564911178%",
  817. "0;46.044197080101696,-19.30218602933355%"
  818. ]
  819. },
  820. "orientation": {
  821. "type": "double",
  822. "value": "0;-168.87081071038878"
  823. },
  824. "scale": {
  825. "type": "list<double>",
  826. "value": [
  827. 1,
  828. 1
  829. ]
  830. },
  831. "$linkDecoratorInfo": {
  832. "type": "map<string,double>",
  833. "value": {
  834. "xratio": 1,
  835. "yoffset": -4
  836. }
  837. }
  838. }
  839. },
  840. "edges": []
  841. }
  842. },
  843. "$asuri": {
  844. "type": "string",
  845. "value": "/Formalisms/FSA/FSA/Transition/4.instance"
  846. },
  847. "$segments": {
  848. "type": "map<string,list<string>>",
  849. "value": {
  850. "/Formalisms/FSA/FSA.defaultIcons/StateIcon/1.instance--/Formalisms/FSA/FSA.defaultIcons/TransitionLink/4.instance": "M699,380L770,349L771.6722870665637,387.8806742976066",
  851. "/Formalisms/FSA/FSA.defaultIcons/TransitionLink/4.instance--/Formalisms/FSA/FSA.defaultIcons/StateIcon/1.instance": "M771.6722870665637,387.8806742976066L774,442L713.0004755546978,430.0000935517438"
  852. }
  853. },
  854. "$type": "/Formalisms/FSA/FSA.defaultIcons/TransitionLink"
  855. },
  856. "5": {
  857. "link-style": {
  858. "type": "map<string,string>",
  859. "value": {
  860. "stroke": "#000000",
  861. "stroke-dasharray": "",
  862. "stroke-opacity": 1,
  863. "stroke-width": 2
  864. }
  865. },
  866. "arrowHead": {
  867. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  868. "value": "custom"
  869. },
  870. "arrowTail": {
  871. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  872. "value": "arrow-black"
  873. },
  874. "typename": {
  875. "type": "string",
  876. "value": "TransitionLink"
  877. },
  878. "position": {
  879. "type": "list<double>",
  880. "value": [
  881. 229.40518623754434,
  882. 377.3549274172417
  883. ]
  884. },
  885. "orientation": {
  886. "type": "double",
  887. "value": 0
  888. },
  889. "scale": {
  890. "type": "list<double>",
  891. "value": [
  892. 1,
  893. 1
  894. ]
  895. },
  896. "mapper": {
  897. "type": "code",
  898. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  899. },
  900. "parser": {
  901. "type": "code",
  902. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  903. },
  904. "$contents": {
  905. "type": "map<string,*>",
  906. "value": {
  907. "nodes": {
  908. "13": {
  909. "textContent": {
  910. "type": "string",
  911. "value": "b"
  912. },
  913. "style": {
  914. "type": "map<string,string>",
  915. "value": {
  916. "stroke": "#000000",
  917. "stroke-dasharray": "",
  918. "fill": "#ffffff",
  919. "fill-opacity": 0.75,
  920. "font-size": "16px",
  921. "arrow-start": "none",
  922. "arrow-end": "none"
  923. }
  924. },
  925. "mapper": {
  926. "type": "code",
  927. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({textContent: getAttr(\"event\")})\n"
  928. },
  929. "parser": {
  930. "type": "code",
  931. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  932. },
  933. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  934. "position": {
  935. "type": "list<double>",
  936. "value": [
  937. "0;-21.48765635417243,0%",
  938. "0;1.4212351995670929,0%"
  939. ]
  940. },
  941. "orientation": {
  942. "type": "double",
  943. "value": "0;-90.53545898556452"
  944. },
  945. "scale": {
  946. "type": "list<double>",
  947. "value": [
  948. 1,
  949. 1
  950. ]
  951. },
  952. "$linkDecoratorInfo": {
  953. "type": "map<string,double>",
  954. "value": {
  955. "xratio": 0.49693251533742333,
  956. "yoffset": -21.5
  957. }
  958. }
  959. },
  960. "267": {
  961. "segments": {
  962. "type": "string",
  963. "value": "m0,0 l10,4 l-10,4 l3,-4 z"
  964. },
  965. "style": {
  966. "type": "map<string,string>",
  967. "value": {
  968. "stroke": "#000000",
  969. "fill": "#000000",
  970. "opacity": 1,
  971. "stroke-width": 1
  972. }
  973. },
  974. "mapper": {
  975. "type": "code",
  976. "value": ""
  977. },
  978. "parser": {
  979. "type": "code",
  980. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  981. },
  982. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  983. "position": {
  984. "type": "list<double>",
  985. "value": [
  986. "0;133.90146623889743,94.50705229559657%",
  987. "0;-1.1354908734970195,32.68664966614618%"
  988. ]
  989. },
  990. "orientation": {
  991. "type": "double",
  992. "value": "0;19.07869453709739"
  993. },
  994. "scale": {
  995. "type": "list<double>",
  996. "value": [
  997. 1,
  998. 1
  999. ]
  1000. },
  1001. "$linkDecoratorInfo": {
  1002. "type": "map<string,double>",
  1003. "value": {
  1004. "xratio": 1,
  1005. "yoffset": -4
  1006. }
  1007. }
  1008. }
  1009. },
  1010. "edges": []
  1011. }
  1012. },
  1013. "$asuri": {
  1014. "type": "string",
  1015. "value": "/Formalisms/FSA/FSA/Transition/5.instance"
  1016. },
  1017. "$segments": {
  1018. "type": "map<string,list<string>>",
  1019. "value": {
  1020. "/Formalisms/FSA/FSA.defaultIcons/StateIcon/0.instance--/Formalisms/FSA/FSA.defaultIcons/TransitionLink/5.instance": "M348,416L230,441L229.40518623754434,377.3549274172417",
  1021. "/Formalisms/FSA/FSA.defaultIcons/TransitionLink/5.instance--/Formalisms/FSA/FSA.defaultIcons/StateIcon/0.instance": "M229.40518623754434,377.3549274172417L229,334L361.99918648979593,379.9997186355685"
  1022. }
  1023. },
  1024. "$type": "/Formalisms/FSA/FSA.defaultIcons/TransitionLink"
  1025. },
  1026. "6": {
  1027. "typename": {
  1028. "type": "string",
  1029. "value": "InputEventsIcon"
  1030. },
  1031. "position": {
  1032. "type": "list<double>",
  1033. "value": [
  1034. 441,
  1035. 209
  1036. ]
  1037. },
  1038. "orientation": {
  1039. "type": "double",
  1040. "value": 0
  1041. },
  1042. "scale": {
  1043. "type": "list<double>",
  1044. "value": [
  1045. 1,
  1046. 1
  1047. ]
  1048. },
  1049. "mapper": {
  1050. "type": "code",
  1051. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1052. },
  1053. "parser": {
  1054. "type": "code",
  1055. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1056. },
  1057. "$contents": {
  1058. "type": "map<string,*>",
  1059. "value": {
  1060. "nodes": {
  1061. "7": {
  1062. "textContent": {
  1063. "type": "string",
  1064. "value": ""
  1065. },
  1066. "style": {
  1067. "type": "map<string,string>",
  1068. "value": {
  1069. "stroke": "#000000",
  1070. "stroke-dasharray": "",
  1071. "fill": "#ff0000",
  1072. "fill-opacity": 0.75,
  1073. "stroke-width": 1,
  1074. "font-size": "20px",
  1075. "arrow-start": "none",
  1076. "arrow-end": "none"
  1077. }
  1078. },
  1079. "mapper": {
  1080. "type": "code",
  1081. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({textContent: getAttr(\"eventList\")})\n"
  1082. },
  1083. "parser": {
  1084. "type": "code",
  1085. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1086. },
  1087. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1088. "position": {
  1089. "type": "list<double>",
  1090. "value": [
  1091. 4,
  1092. 7
  1093. ]
  1094. },
  1095. "orientation": {
  1096. "type": "double",
  1097. "value": 0
  1098. },
  1099. "scale": {
  1100. "type": "list<double>",
  1101. "value": [
  1102. 1,
  1103. 1
  1104. ]
  1105. }
  1106. }
  1107. },
  1108. "edges": []
  1109. }
  1110. },
  1111. "$asuri": {
  1112. "type": "string",
  1113. "value": "/Formalisms/FSA/FSA/InputEvents/6.instance"
  1114. },
  1115. "$type": "/Formalisms/FSA/FSA.defaultIcons/InputEventsIcon"
  1116. },
  1117. "7": {
  1118. "typename": {
  1119. "type": "string",
  1120. "value": "InputEventsIcon"
  1121. },
  1122. "position": {
  1123. "type": "list<double>",
  1124. "value": [
  1125. 274,
  1126. 534
  1127. ]
  1128. },
  1129. "orientation": {
  1130. "type": "double",
  1131. "value": 0
  1132. },
  1133. "scale": {
  1134. "type": "list<double>",
  1135. "value": [
  1136. 1,
  1137. 1
  1138. ]
  1139. },
  1140. "mapper": {
  1141. "type": "code",
  1142. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1143. },
  1144. "parser": {
  1145. "type": "code",
  1146. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1147. },
  1148. "$contents": {
  1149. "type": "map<string,*>",
  1150. "value": {
  1151. "nodes": {
  1152. "7": {
  1153. "textContent": {
  1154. "type": "string",
  1155. "value": "aaaaaaaaaaaaaaaaaaaabbbbbbbbbbbababababab"
  1156. },
  1157. "style": {
  1158. "type": "map<string,string>",
  1159. "value": {
  1160. "stroke": "#000000",
  1161. "stroke-dasharray": "",
  1162. "fill": "#ff0000",
  1163. "fill-opacity": 0.75,
  1164. "stroke-width": 1,
  1165. "font-size": "20px",
  1166. "arrow-start": "none",
  1167. "arrow-end": "none"
  1168. }
  1169. },
  1170. "mapper": {
  1171. "type": "code",
  1172. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({textContent: getAttr(\"eventList\")})\n"
  1173. },
  1174. "parser": {
  1175. "type": "code",
  1176. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1177. },
  1178. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1179. "position": {
  1180. "type": "list<double>",
  1181. "value": [
  1182. 4,
  1183. 7
  1184. ]
  1185. },
  1186. "orientation": {
  1187. "type": "double",
  1188. "value": 0
  1189. },
  1190. "scale": {
  1191. "type": "list<double>",
  1192. "value": [
  1193. 1,
  1194. 1
  1195. ]
  1196. }
  1197. }
  1198. },
  1199. "edges": []
  1200. }
  1201. },
  1202. "$asuri": {
  1203. "type": "string",
  1204. "value": "/Formalisms/FSA/FSA/InputEvents/7.instance"
  1205. },
  1206. "$type": "/Formalisms/FSA/FSA.defaultIcons/InputEventsIcon"
  1207. }
  1208. },
  1209. "edges": [],
  1210. "metamodels": [
  1211. "/Formalisms/FSA/FSA.defaultIcons"
  1212. ]
  1213. },
  1214. "asm": {
  1215. "nodes": {
  1216. "0": {
  1217. "name": {
  1218. "type": "string",
  1219. "value": "S_PowerOn"
  1220. },
  1221. "current": {
  1222. "type": "boolean",
  1223. "value": true
  1224. },
  1225. "$type": "/Formalisms/FSA/FSA/State"
  1226. },
  1227. "1": {
  1228. "name": {
  1229. "type": "string",
  1230. "value": "S_PowerOff"
  1231. },
  1232. "current": {
  1233. "type": "boolean",
  1234. "value": false
  1235. },
  1236. "$type": "/Formalisms/FSA/FSA/State"
  1237. },
  1238. "2": {
  1239. "event": {
  1240. "type": "string",
  1241. "value": "a"
  1242. },
  1243. "$type": "/Formalisms/FSA/FSA/Transition"
  1244. },
  1245. "3": {
  1246. "event": {
  1247. "type": "string",
  1248. "value": "b"
  1249. },
  1250. "$type": "/Formalisms/FSA/FSA/Transition"
  1251. },
  1252. "4": {
  1253. "event": {
  1254. "type": "string",
  1255. "value": "a"
  1256. },
  1257. "$type": "/Formalisms/FSA/FSA/Transition"
  1258. },
  1259. "5": {
  1260. "event": {
  1261. "type": "string",
  1262. "value": "b"
  1263. },
  1264. "$type": "/Formalisms/FSA/FSA/Transition"
  1265. },
  1266. "6": {
  1267. "eventList": {
  1268. "type": "string",
  1269. "value": ""
  1270. },
  1271. "$type": "/Formalisms/FSA/FSA/InputEvents"
  1272. },
  1273. "7": {
  1274. "eventList": {
  1275. "type": "string",
  1276. "value": "aaaaaaaaaaaaaaaaaaaabbbbbbbbbbbababababab"
  1277. },
  1278. "$type": "/Formalisms/FSA/FSA/InputEvents"
  1279. }
  1280. },
  1281. "edges": [
  1282. {
  1283. "src": "0",
  1284. "dest": "2"
  1285. },
  1286. {
  1287. "src": "2",
  1288. "dest": "1"
  1289. },
  1290. {
  1291. "src": "1",
  1292. "dest": "3"
  1293. },
  1294. {
  1295. "src": "3",
  1296. "dest": "0"
  1297. },
  1298. {
  1299. "src": "1",
  1300. "dest": "4"
  1301. },
  1302. {
  1303. "src": "4",
  1304. "dest": "1"
  1305. },
  1306. {
  1307. "src": "0",
  1308. "dest": "5"
  1309. },
  1310. {
  1311. "src": "5",
  1312. "dest": "0"
  1313. }
  1314. ],
  1315. "metamodels": [
  1316. "/Formalisms/FSA/FSA"
  1317. ]
  1318. }
  1319. }