TrafficLight.defaultIcons.metamodel 44 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795
  1. {
  2. "types": {
  3. "VisualisationIcon": [
  4. {
  5. "name": "typename",
  6. "type": "string",
  7. "default": "VisualisationIcon"
  8. },
  9. {
  10. "name": "position",
  11. "type": "list<double>",
  12. "default": [
  13. 525,
  14. 200
  15. ]
  16. },
  17. {
  18. "name": "orientation",
  19. "type": "double",
  20. "default": 0
  21. },
  22. {
  23. "name": "scale",
  24. "type": "list<double>",
  25. "default": [
  26. 1,
  27. 1
  28. ]
  29. },
  30. {
  31. "name": "mapper",
  32. "type": "code",
  33. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  34. },
  35. {
  36. "name": "parser",
  37. "type": "code",
  38. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  39. },
  40. {
  41. "name": "$contents",
  42. "type": "map<string,*>",
  43. "default": {
  44. "nodes": {
  45. "44": {
  46. "rx": {
  47. "type": "double",
  48. "value": 40
  49. },
  50. "ry": {
  51. "type": "double",
  52. "value": 80
  53. },
  54. "style": {
  55. "type": "map<string,string>",
  56. "value": {
  57. "stroke": "#000000",
  58. "stroke-dasharray": "",
  59. "fill": "#ffffff",
  60. "fill-opacity": 1,
  61. "font-size": "20px",
  62. "stroke-width": 1,
  63. "arrow-start": "none",
  64. "arrow-end": "none"
  65. }
  66. },
  67. "mapper": {
  68. "type": "code",
  69. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n"
  70. },
  71. "parser": {
  72. "type": "code",
  73. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  74. },
  75. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Ellipse",
  76. "position": {
  77. "type": "list<double>",
  78. "value": [
  79. 6,
  80. 5.569399999999973
  81. ]
  82. },
  83. "orientation": {
  84. "type": "double",
  85. "value": 0
  86. },
  87. "scale": {
  88. "type": "list<double>",
  89. "value": [
  90. 1,
  91. 1
  92. ]
  93. }
  94. },
  95. "49": {
  96. "r": {
  97. "type": "double",
  98. "value": 20
  99. },
  100. "style": {
  101. "type": "map<string,string>",
  102. "value": {
  103. "stroke": "#000000",
  104. "stroke-dasharray": "",
  105. "fill": "#ff0000",
  106. "fill-opacity": 1,
  107. "font-size": "20px",
  108. "stroke-width": 3,
  109. "arrow-start": "none",
  110. "arrow-end": "none"
  111. }
  112. },
  113. "mapper": {
  114. "type": "code",
  115. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar style = {\n \"stroke\": \"#000000\",\n \"stroke-dasharray\": \"\",\n \"fill\": \"#333333\",\n \"fill-opacity\": 1,\n \"font-size\": \"20px\",\n \"stroke-width\": 3,\n \"arrow-start\": \"none\",\n \"arrow-end\": \"none\"};\nif (getAttr(\"red\")) {\n style[\"fill\"] = \"#ff0000\";\n}\n({'style':style})"
  116. },
  117. "parser": {
  118. "type": "code",
  119. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  120. },
  121. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle",
  122. "position": {
  123. "type": "list<double>",
  124. "value": [
  125. 26,
  126. 20.569399999999973
  127. ]
  128. },
  129. "orientation": {
  130. "type": "double",
  131. "value": 0
  132. },
  133. "scale": {
  134. "type": "list<double>",
  135. "value": [
  136. 1,
  137. 1
  138. ]
  139. }
  140. },
  141. "50": {
  142. "r": {
  143. "type": "double",
  144. "value": 20
  145. },
  146. "style": {
  147. "type": "map<string,string>",
  148. "value": {
  149. "stroke": "#000000",
  150. "stroke-dasharray": "",
  151. "fill": "#00ff00",
  152. "fill-opacity": 1,
  153. "font-size": "20px",
  154. "stroke-width": 3,
  155. "arrow-start": "none",
  156. "arrow-end": "none"
  157. }
  158. },
  159. "mapper": {
  160. "type": "code",
  161. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nif (getAttr(\"green\")) {\n ({style:{\n \"stroke\": \"#000000\",\n \"stroke-dasharray\": \"\",\n \"fill\": \"#00ff00\",\n \"fill-opacity\": 1,\n \"font-size\": \"20px\",\n \"stroke-width\": 3,\n \"arrow-start\": \"none\",\n \"arrow-end\": \"none\"}});\n}\nelse {\n ({style:{\n \"stroke\": \"#000000\",\n \"stroke-dasharray\": \"\",\n \"fill\": \"#333333\",\n \"fill-opacity\": 1,\n \"font-size\": \"20px\",\n \"stroke-width\": 3,\n \"arrow-start\": \"none\",\n \"arrow-end\": \"none\"}});\n}"
  162. },
  163. "parser": {
  164. "type": "code",
  165. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  166. },
  167. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle",
  168. "position": {
  169. "type": "list<double>",
  170. "value": [
  171. 26,
  172. 110.56939999999997
  173. ]
  174. },
  175. "orientation": {
  176. "type": "double",
  177. "value": 0
  178. },
  179. "scale": {
  180. "type": "list<double>",
  181. "value": [
  182. 1,
  183. 1
  184. ]
  185. }
  186. },
  187. "51": {
  188. "r": {
  189. "type": "double",
  190. "value": 20
  191. },
  192. "style": {
  193. "type": "map<string,string>",
  194. "value": {
  195. "stroke": "#000000",
  196. "stroke-dasharray": "",
  197. "fill": "#ffff00",
  198. "fill-opacity": 1,
  199. "font-size": "20px",
  200. "stroke-width": 3,
  201. "arrow-start": "none",
  202. "arrow-end": "none"
  203. }
  204. },
  205. "mapper": {
  206. "type": "code",
  207. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nif (getAttr(\"yellow\")) {\n ({style:{\n \"stroke\": \"#000000\",\n \"stroke-dasharray\": \"\",\n \"fill\": \"#ffff00\",\n \"fill-opacity\": 1,\n \"font-size\": \"20px\",\n \"stroke-width\": 3,\n \"arrow-start\": \"none\",\n \"arrow-end\": \"none\"}});\n}\nelse {\n ({style:{\n \"stroke\": \"#000000\",\n \"stroke-dasharray\": \"\",\n \"fill\": \"#333333\",\n \"fill-opacity\": 1,\n \"font-size\": \"20px\",\n \"stroke-width\": 3,\n \"arrow-start\": \"none\",\n \"arrow-end\": \"none\"}});\n}"
  208. },
  209. "parser": {
  210. "type": "code",
  211. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  212. },
  213. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle",
  214. "position": {
  215. "type": "list<double>",
  216. "value": [
  217. 26,
  218. 65.56939999999997
  219. ]
  220. },
  221. "orientation": {
  222. "type": "double",
  223. "value": 0
  224. },
  225. "scale": {
  226. "type": "list<double>",
  227. "value": [
  228. 1,
  229. 1
  230. ]
  231. }
  232. },
  233. "52": {
  234. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  235. "position": {
  236. "type": "list<double>",
  237. "value": [
  238. 26.083538056417183,
  239. 23.1684561335868
  240. ]
  241. },
  242. "orientation": {
  243. "type": "double",
  244. "value": 0
  245. },
  246. "scale": {
  247. "type": "list<double>",
  248. "value": [
  249. 1,
  250. 1
  251. ]
  252. },
  253. "link-style": {
  254. "type": "map<string,string>",
  255. "value": {
  256. "stroke": "#00ffff",
  257. "stroke-dasharray": "",
  258. "stroke-opacity": 0.1,
  259. "stroke-width": 1
  260. }
  261. }
  262. },
  263. "53": {
  264. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  265. "position": {
  266. "type": "list<double>",
  267. "value": [
  268. 26.016031975960914,
  269. 68.21252965978692
  270. ]
  271. },
  272. "orientation": {
  273. "type": "double",
  274. "value": 0
  275. },
  276. "scale": {
  277. "type": "list<double>",
  278. "value": [
  279. 1,
  280. 1
  281. ]
  282. },
  283. "link-style": {
  284. "type": "map<string,string>",
  285. "value": {
  286. "stroke": "#00ffff",
  287. "stroke-dasharray": "",
  288. "stroke-opacity": 0.1,
  289. "stroke-width": 1
  290. }
  291. }
  292. },
  293. "54": {
  294. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  295. "position": {
  296. "type": "list<double>",
  297. "value": [
  298. 26.037678347634028,
  299. 45.70423123371381
  300. ]
  301. },
  302. "orientation": {
  303. "type": "double",
  304. "value": 0
  305. },
  306. "scale": {
  307. "type": "list<double>",
  308. "value": [
  309. 1,
  310. 1
  311. ]
  312. },
  313. "link-style": {
  314. "type": "map<string,string>",
  315. "value": {
  316. "stroke": "#00ffff",
  317. "stroke-dasharray": "",
  318. "stroke-opacity": 0.1,
  319. "stroke-width": 1
  320. }
  321. }
  322. }
  323. },
  324. "edges": [
  325. {
  326. "src": "44",
  327. "dest": "52"
  328. },
  329. {
  330. "src": "52",
  331. "dest": "49"
  332. },
  333. {
  334. "src": "44",
  335. "dest": "53"
  336. },
  337. {
  338. "src": "53",
  339. "dest": "50"
  340. },
  341. {
  342. "src": "44",
  343. "dest": "54"
  344. },
  345. {
  346. "src": "54",
  347. "dest": "51"
  348. }
  349. ]
  350. }
  351. },
  352. {
  353. "name": "$asuri",
  354. "type": "string",
  355. "default": "-1"
  356. }
  357. ],
  358. "InterruptIcon": [
  359. {
  360. "name": "typename",
  361. "type": "string",
  362. "default": "InterruptIcon"
  363. },
  364. {
  365. "name": "position",
  366. "type": "list<double>",
  367. "default": [
  368. 750,
  369. 200
  370. ]
  371. },
  372. {
  373. "name": "orientation",
  374. "type": "double",
  375. "default": 0
  376. },
  377. {
  378. "name": "scale",
  379. "type": "list<double>",
  380. "default": [
  381. 1,
  382. 1
  383. ]
  384. },
  385. {
  386. "name": "mapper",
  387. "type": "code",
  388. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  389. },
  390. {
  391. "name": "parser",
  392. "type": "code",
  393. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  394. },
  395. {
  396. "name": "$contents",
  397. "type": "map<string,*>",
  398. "default": {
  399. "nodes": {
  400. "27": {
  401. "width": {
  402. "type": "double",
  403. "value": 100
  404. },
  405. "height": {
  406. "type": "double",
  407. "value": 69
  408. },
  409. "cornerRadius": {
  410. "type": "double",
  411. "value": 1
  412. },
  413. "style": {
  414. "type": "map<string,string>",
  415. "value": {
  416. "stroke": "#000000",
  417. "stroke-dasharray": "",
  418. "fill": "#99ff99",
  419. "fill-opacity": 0.5,
  420. "font-size": "20px",
  421. "stroke-width": 1,
  422. "arrow-start": "none",
  423. "arrow-end": "none"
  424. }
  425. },
  426. "mapper": {
  427. "type": "code",
  428. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nif (getAttr(\"current\")) {\n ({style:{\n \"stroke\": \"#000000\",\n \"stroke-dasharray\": \"\",\n \"fill\": \"#99ff99\",\n \"fill-opacity\": 1,\n \"font-size\": \"20px\",\n \"stroke-width\": 1,\n \"arrow-start\": \"none\",\n \"arrow-end\": \"none\"\n}});\n}\nelse {\n ({style:{\n \"stroke\": \"#000000\",\n \"stroke-dasharray\": \"\",\n \"fill\": \"#99ff99\",\n \"fill-opacity\": 0.5,\n \"font-size\": \"20px\",\n \"stroke-width\": 1,\n \"arrow-start\": \"none\",\n \"arrow-end\": \"none\"\n}});\n}"
  429. },
  430. "parser": {
  431. "type": "code",
  432. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  433. },
  434. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  435. "position": {
  436. "type": "list<double>",
  437. "value": [
  438. 7,
  439. 6
  440. ]
  441. },
  442. "orientation": {
  443. "type": "double",
  444. "value": 0
  445. },
  446. "scale": {
  447. "type": "list<double>",
  448. "value": [
  449. 1,
  450. 1
  451. ]
  452. }
  453. },
  454. "29": {
  455. "textContent": {
  456. "type": "string",
  457. "value": "T..."
  458. },
  459. "style": {
  460. "type": "map<string,string>",
  461. "value": {
  462. "stroke": "#000000",
  463. "stroke-dasharray": "",
  464. "fill": "#0000ff",
  465. "fill-opacity": 1,
  466. "font-size": "15px",
  467. "stroke-width": 0,
  468. "arrow-start": "none",
  469. "arrow-end": "none"
  470. }
  471. },
  472. "mapper": {
  473. "type": "code",
  474. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({textContent:getAttr(\"at\")+\" ms\"})"
  475. },
  476. "parser": {
  477. "type": "code",
  478. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  479. },
  480. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  481. "position": {
  482. "type": "list<double>",
  483. "value": [
  484. 15,
  485. 14
  486. ]
  487. },
  488. "orientation": {
  489. "type": "double",
  490. "value": 0
  491. },
  492. "scale": {
  493. "type": "list<double>",
  494. "value": [
  495. 1,
  496. 1
  497. ]
  498. }
  499. },
  500. "30": {
  501. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  502. "position": {
  503. "type": "list<double>",
  504. "value": [
  505. 30.5,
  506. 16.25
  507. ]
  508. },
  509. "orientation": {
  510. "type": "double",
  511. "value": 0
  512. },
  513. "scale": {
  514. "type": "list<double>",
  515. "value": [
  516. 1,
  517. 1
  518. ]
  519. },
  520. "link-style": {
  521. "type": "map<string,string>",
  522. "value": {
  523. "stroke": "#00ffff",
  524. "stroke-dasharray": "",
  525. "stroke-opacity": 0.1,
  526. "stroke-width": 1
  527. }
  528. }
  529. },
  530. "31": {
  531. "textContent": {
  532. "type": "string",
  533. "value": "T..."
  534. },
  535. "style": {
  536. "type": "map<string,string>",
  537. "value": {
  538. "stroke": "#000000",
  539. "stroke-dasharray": "",
  540. "fill": "#000000",
  541. "fill-opacity": 1,
  542. "font-size": "15px",
  543. "stroke-width": 0,
  544. "arrow-start": "none",
  545. "arrow-end": "none"
  546. }
  547. },
  548. "mapper": {
  549. "type": "code",
  550. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({textContent:getAttr(\"event\")})"
  551. },
  552. "parser": {
  553. "type": "code",
  554. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  555. },
  556. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  557. "position": {
  558. "type": "list<double>",
  559. "value": [
  560. 16,
  561. 41
  562. ]
  563. },
  564. "orientation": {
  565. "type": "double",
  566. "value": 0
  567. },
  568. "scale": {
  569. "type": "list<double>",
  570. "value": [
  571. 1,
  572. 1
  573. ]
  574. }
  575. },
  576. "32": {
  577. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  578. "position": {
  579. "type": "list<double>",
  580. "value": [
  581. 29.104761552828222,
  582. 29.858332969401772
  583. ]
  584. },
  585. "orientation": {
  586. "type": "double",
  587. "value": 0
  588. },
  589. "scale": {
  590. "type": "list<double>",
  591. "value": [
  592. 1,
  593. 1
  594. ]
  595. },
  596. "link-style": {
  597. "type": "map<string,string>",
  598. "value": {
  599. "stroke": "#00ffff",
  600. "stroke-dasharray": "",
  601. "stroke-opacity": 0.1,
  602. "stroke-width": 1
  603. }
  604. }
  605. }
  606. },
  607. "edges": [
  608. {
  609. "src": "27",
  610. "dest": "30"
  611. },
  612. {
  613. "src": "30",
  614. "dest": "29"
  615. },
  616. {
  617. "src": "27",
  618. "dest": "32"
  619. },
  620. {
  621. "src": "32",
  622. "dest": "31"
  623. }
  624. ]
  625. }
  626. },
  627. {
  628. "name": "$asuri",
  629. "type": "string",
  630. "default": "-1"
  631. }
  632. ],
  633. "TimeIcon": [
  634. {
  635. "name": "typename",
  636. "type": "string",
  637. "default": "TimeIcon"
  638. },
  639. {
  640. "name": "position",
  641. "type": "list<double>",
  642. "default": [
  643. 1200,
  644. 200
  645. ]
  646. },
  647. {
  648. "name": "orientation",
  649. "type": "double",
  650. "default": 0
  651. },
  652. {
  653. "name": "scale",
  654. "type": "list<double>",
  655. "default": [
  656. 1,
  657. 1
  658. ]
  659. },
  660. {
  661. "name": "mapper",
  662. "type": "code",
  663. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  664. },
  665. {
  666. "name": "parser",
  667. "type": "code",
  668. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  669. },
  670. {
  671. "name": "$contents",
  672. "type": "map<string,*>",
  673. "default": {
  674. "nodes": {
  675. "34": {
  676. "rx": {
  677. "type": "double",
  678. "value": 50
  679. },
  680. "ry": {
  681. "type": "double",
  682. "value": 30
  683. },
  684. "style": {
  685. "type": "map<string,string>",
  686. "value": {
  687. "stroke": "#000000",
  688. "stroke-dasharray": "",
  689. "fill": "#9999ff",
  690. "fill-opacity": 0.75,
  691. "font-size": "20px",
  692. "stroke-width": 1,
  693. "arrow-start": "none",
  694. "arrow-end": "none"
  695. }
  696. },
  697. "mapper": {
  698. "type": "code",
  699. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  700. },
  701. "parser": {
  702. "type": "code",
  703. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  704. },
  705. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Ellipse",
  706. "position": {
  707. "type": "list<double>",
  708. "value": [
  709. 7,
  710. 26
  711. ]
  712. },
  713. "orientation": {
  714. "type": "double",
  715. "value": 0
  716. },
  717. "scale": {
  718. "type": "list<double>",
  719. "value": [
  720. 1,
  721. 1
  722. ]
  723. }
  724. },
  725. "36": {
  726. "textContent": {
  727. "type": "string",
  728. "value": "T..."
  729. },
  730. "style": {
  731. "type": "map<string,string>",
  732. "value": {
  733. "stroke": "#000000",
  734. "stroke-dasharray": "",
  735. "fill": "#000000",
  736. "fill-opacity": 1,
  737. "font-size": "20px",
  738. "stroke-width": 0,
  739. "arrow-start": "none",
  740. "arrow-end": "none"
  741. }
  742. },
  743. "mapper": {
  744. "type": "code",
  745. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({textContent:getAttr(\"clock\")})"
  746. },
  747. "parser": {
  748. "type": "code",
  749. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  750. },
  751. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  752. "position": {
  753. "type": "list<double>",
  754. "value": [
  755. 29,
  756. 44
  757. ]
  758. },
  759. "orientation": {
  760. "type": "double",
  761. "value": 0
  762. },
  763. "scale": {
  764. "type": "list<double>",
  765. "value": [
  766. 1,
  767. 1
  768. ]
  769. }
  770. },
  771. "37": {
  772. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  773. "position": {
  774. "type": "list<double>",
  775. "value": [
  776. 25.462702692421317,
  777. 40.75
  778. ]
  779. },
  780. "orientation": {
  781. "type": "double",
  782. "value": 0
  783. },
  784. "scale": {
  785. "type": "list<double>",
  786. "value": [
  787. 1,
  788. 1
  789. ]
  790. },
  791. "link-style": {
  792. "type": "map<string,string>",
  793. "value": {
  794. "stroke": "#00ffff",
  795. "stroke-dasharray": "",
  796. "stroke-opacity": 0.1,
  797. "stroke-width": 1
  798. }
  799. }
  800. },
  801. "38": {
  802. "textContent": {
  803. "type": "string",
  804. "value": "Time"
  805. },
  806. "style": {
  807. "type": "map<string,string>",
  808. "value": {
  809. "stroke": "#000000",
  810. "stroke-dasharray": "",
  811. "fill": "#ffffff",
  812. "fill-opacity": 0.75,
  813. "font-size": "20px",
  814. "stroke-width": 1,
  815. "arrow-start": "none",
  816. "arrow-end": "none"
  817. }
  818. },
  819. "mapper": {
  820. "type": "code",
  821. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  822. },
  823. "parser": {
  824. "type": "code",
  825. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  826. },
  827. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  828. "position": {
  829. "type": "list<double>",
  830. "value": [
  831. 33,
  832. 3
  833. ]
  834. },
  835. "orientation": {
  836. "type": "double",
  837. "value": 0
  838. },
  839. "scale": {
  840. "type": "list<double>",
  841. "value": [
  842. 1,
  843. 1
  844. ]
  845. }
  846. }
  847. },
  848. "edges": [
  849. {
  850. "src": "34",
  851. "dest": "37"
  852. },
  853. {
  854. "src": "37",
  855. "dest": "36"
  856. }
  857. ]
  858. }
  859. },
  860. {
  861. "name": "$asuri",
  862. "type": "string",
  863. "default": "-1"
  864. }
  865. ],
  866. "TimedTransitionLink": [
  867. {
  868. "name": "link-style",
  869. "type": "map<string,string>",
  870. "default": {
  871. "stroke": "#000000",
  872. "stroke-dasharray": "",
  873. "stroke-opacity": 1,
  874. "stroke-width": 2
  875. }
  876. },
  877. {
  878. "name": "arrowHead",
  879. "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)",
  880. "default": "custom"
  881. },
  882. {
  883. "name": "arrowTail",
  884. "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)",
  885. "default": "arrow-black"
  886. },
  887. {
  888. "name": "typename",
  889. "type": "string",
  890. "default": "TimedTransitionLink"
  891. },
  892. {
  893. "name": "position",
  894. "type": "list<double>",
  895. "default": [
  896. 846,
  897. 448
  898. ]
  899. },
  900. {
  901. "name": "orientation",
  902. "type": "double",
  903. "default": 0
  904. },
  905. {
  906. "name": "scale",
  907. "type": "list<double>",
  908. "default": [
  909. 1,
  910. 1
  911. ]
  912. },
  913. {
  914. "name": "mapper",
  915. "type": "code",
  916. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  917. },
  918. {
  919. "name": "parser",
  920. "type": "code",
  921. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  922. },
  923. {
  924. "name": "$contents",
  925. "type": "map<string,*>",
  926. "default": {
  927. "nodes": {
  928. "9": {
  929. "textContent": {
  930. "type": "string",
  931. "value": "T..."
  932. },
  933. "style": {
  934. "type": "map<string,string>",
  935. "value": {
  936. "stroke": "#0000ff",
  937. "stroke-dasharray": "",
  938. "fill": "#0000ff",
  939. "fill-opacity": 1,
  940. "font-size": "20px",
  941. "stroke-width": 0,
  942. "arrow-start": "none",
  943. "arrow-end": "none"
  944. }
  945. },
  946. "mapper": {
  947. "type": "code",
  948. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({textContent:getAttr(\"after\")+\" ms\"})"
  949. },
  950. "parser": {
  951. "type": "code",
  952. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  953. },
  954. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  955. "position": {
  956. "type": "list<double>",
  957. "value": [
  958. 0,
  959. 0
  960. ]
  961. },
  962. "orientation": {
  963. "type": "double",
  964. "value": 0
  965. },
  966. "scale": {
  967. "type": "list<double>",
  968. "value": [
  969. 1,
  970. 1
  971. ]
  972. },
  973. "$linkDecoratorInfo": {
  974. "type": "map<string,double>",
  975. "value": {
  976. "xratio": 0.49693251533742333,
  977. "yoffset": -26.5
  978. }
  979. }
  980. },
  981. "267": {
  982. "segments": {
  983. "type": "string",
  984. "value": "m0,0 l10,4 l-10,4 l3,-4 z"
  985. },
  986. "style": {
  987. "type": "map<string,string>",
  988. "value": {
  989. "stroke": "#000000",
  990. "fill": "#000000",
  991. "opacity": 1,
  992. "stroke-width": 1
  993. }
  994. },
  995. "mapper": {
  996. "type": "code",
  997. "value": ""
  998. },
  999. "parser": {
  1000. "type": "code",
  1001. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1002. },
  1003. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1004. "position": {
  1005. "type": "list<double>",
  1006. "value": [
  1007. 0,
  1008. 0
  1009. ]
  1010. },
  1011. "orientation": {
  1012. "type": "double",
  1013. "value": 0
  1014. },
  1015. "scale": {
  1016. "type": "list<double>",
  1017. "value": [
  1018. 1,
  1019. 1
  1020. ]
  1021. },
  1022. "$linkDecoratorInfo": {
  1023. "type": "map<string,double>",
  1024. "value": {
  1025. "xratio": 1,
  1026. "yoffset": -4
  1027. }
  1028. }
  1029. }
  1030. },
  1031. "edges": []
  1032. }
  1033. },
  1034. {
  1035. "name": "$asuri",
  1036. "type": "string",
  1037. "default": "-1"
  1038. },
  1039. {
  1040. "name": "$segments",
  1041. "type": "map<string,list<string>>",
  1042. "default": {}
  1043. }
  1044. ],
  1045. "InterruptTransitionLink": [
  1046. {
  1047. "name": "link-style",
  1048. "type": "map<string,string>",
  1049. "default": {
  1050. "stroke": "#00ff00",
  1051. "stroke-dasharray": "",
  1052. "stroke-opacity": 1,
  1053. "stroke-width": 2
  1054. }
  1055. },
  1056. {
  1057. "name": "arrowHead",
  1058. "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)",
  1059. "default": "custom"
  1060. },
  1061. {
  1062. "name": "arrowTail",
  1063. "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)",
  1064. "default": "arrow-black"
  1065. },
  1066. {
  1067. "name": "typename",
  1068. "type": "string",
  1069. "default": "InterruptTransitionLink"
  1070. },
  1071. {
  1072. "name": "position",
  1073. "type": "list<double>",
  1074. "default": [
  1075. 571,
  1076. 448
  1077. ]
  1078. },
  1079. {
  1080. "name": "orientation",
  1081. "type": "double",
  1082. "default": 0
  1083. },
  1084. {
  1085. "name": "scale",
  1086. "type": "list<double>",
  1087. "default": [
  1088. 1,
  1089. 1
  1090. ]
  1091. },
  1092. {
  1093. "name": "mapper",
  1094. "type": "code",
  1095. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1096. },
  1097. {
  1098. "name": "parser",
  1099. "type": "code",
  1100. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1101. },
  1102. {
  1103. "name": "$contents",
  1104. "type": "map<string,*>",
  1105. "default": {
  1106. "nodes": {
  1107. "11": {
  1108. "textContent": {
  1109. "type": "string",
  1110. "value": "T..."
  1111. },
  1112. "style": {
  1113. "type": "map<string,string>",
  1114. "value": {
  1115. "stroke": "#000000",
  1116. "stroke-dasharray": "",
  1117. "fill": "#000000",
  1118. "fill-opacity": 1,
  1119. "font-size": "20px",
  1120. "stroke-width": 0,
  1121. "arrow-start": "none",
  1122. "arrow-end": "none"
  1123. }
  1124. },
  1125. "mapper": {
  1126. "type": "code",
  1127. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({textContent:getAttr(\"interrupt\")})"
  1128. },
  1129. "parser": {
  1130. "type": "code",
  1131. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1132. },
  1133. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1134. "position": {
  1135. "type": "list<double>",
  1136. "value": [
  1137. 0,
  1138. 0
  1139. ]
  1140. },
  1141. "orientation": {
  1142. "type": "double",
  1143. "value": 0
  1144. },
  1145. "scale": {
  1146. "type": "list<double>",
  1147. "value": [
  1148. 1,
  1149. 1
  1150. ]
  1151. },
  1152. "$linkDecoratorInfo": {
  1153. "type": "map<string,double>",
  1154. "value": {
  1155. "xratio": 0.5030674846625767,
  1156. "yoffset": -27.5
  1157. }
  1158. }
  1159. },
  1160. "267": {
  1161. "segments": {
  1162. "type": "string",
  1163. "value": "m0,0 l10,4 l-10,4 l3,-4 z"
  1164. },
  1165. "style": {
  1166. "type": "map<string,string>",
  1167. "value": {
  1168. "stroke": "#000000",
  1169. "fill": "#000000",
  1170. "opacity": 1,
  1171. "stroke-width": 1
  1172. }
  1173. },
  1174. "mapper": {
  1175. "type": "code",
  1176. "value": ""
  1177. },
  1178. "parser": {
  1179. "type": "code",
  1180. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1181. },
  1182. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1183. "position": {
  1184. "type": "list<double>",
  1185. "value": [
  1186. 0,
  1187. 0
  1188. ]
  1189. },
  1190. "orientation": {
  1191. "type": "double",
  1192. "value": 0
  1193. },
  1194. "scale": {
  1195. "type": "list<double>",
  1196. "value": [
  1197. 1,
  1198. 1
  1199. ]
  1200. },
  1201. "$linkDecoratorInfo": {
  1202. "type": "map<string,double>",
  1203. "value": {
  1204. "xratio": 1,
  1205. "yoffset": -4
  1206. }
  1207. }
  1208. }
  1209. },
  1210. "edges": []
  1211. }
  1212. },
  1213. {
  1214. "name": "$asuri",
  1215. "type": "string",
  1216. "default": "-1"
  1217. },
  1218. {
  1219. "name": "$segments",
  1220. "type": "map<string,list<string>>",
  1221. "default": {}
  1222. }
  1223. ],
  1224. "NextLink": [
  1225. {
  1226. "name": "link-style",
  1227. "type": "map<string,string>",
  1228. "default": {
  1229. "stroke": "#000000",
  1230. "stroke-dasharray": "",
  1231. "stroke-opacity": 1,
  1232. "stroke-width": 2
  1233. }
  1234. },
  1235. {
  1236. "name": "arrowHead",
  1237. "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)",
  1238. "default": "custom"
  1239. },
  1240. {
  1241. "name": "arrowTail",
  1242. "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)",
  1243. "default": "arrow-black"
  1244. },
  1245. {
  1246. "name": "typename",
  1247. "type": "string",
  1248. "default": "NextLink"
  1249. },
  1250. {
  1251. "name": "position",
  1252. "type": "list<double>",
  1253. "default": [
  1254. 1121,
  1255. 448
  1256. ]
  1257. },
  1258. {
  1259. "name": "orientation",
  1260. "type": "double",
  1261. "default": 0
  1262. },
  1263. {
  1264. "name": "scale",
  1265. "type": "list<double>",
  1266. "default": [
  1267. 1,
  1268. 1
  1269. ]
  1270. },
  1271. {
  1272. "name": "mapper",
  1273. "type": "code",
  1274. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1275. },
  1276. {
  1277. "name": "parser",
  1278. "type": "code",
  1279. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1280. },
  1281. {
  1282. "name": "$contents",
  1283. "type": "map<string,*>",
  1284. "default": {
  1285. "nodes": {
  1286. "267": {
  1287. "segments": {
  1288. "type": "string",
  1289. "value": "m0,0 l10,4 l-10,4 l3,-4 z"
  1290. },
  1291. "style": {
  1292. "type": "map<string,string>",
  1293. "value": {
  1294. "stroke": "#000000",
  1295. "fill": "#000000",
  1296. "opacity": 1,
  1297. "stroke-width": 1
  1298. }
  1299. },
  1300. "mapper": {
  1301. "type": "code",
  1302. "value": ""
  1303. },
  1304. "parser": {
  1305. "type": "code",
  1306. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1307. },
  1308. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1309. "position": {
  1310. "type": "list<double>",
  1311. "value": [
  1312. 0,
  1313. 0
  1314. ]
  1315. },
  1316. "orientation": {
  1317. "type": "double",
  1318. "value": 0
  1319. },
  1320. "scale": {
  1321. "type": "list<double>",
  1322. "value": [
  1323. 1,
  1324. 1
  1325. ]
  1326. },
  1327. "$linkDecoratorInfo": {
  1328. "type": "map<string,double>",
  1329. "value": {
  1330. "xratio": 1,
  1331. "yoffset": -4
  1332. }
  1333. }
  1334. }
  1335. },
  1336. "edges": []
  1337. }
  1338. },
  1339. {
  1340. "name": "$asuri",
  1341. "type": "string",
  1342. "default": "-1"
  1343. },
  1344. {
  1345. "name": "$segments",
  1346. "type": "map<string,list<string>>",
  1347. "default": {}
  1348. }
  1349. ],
  1350. "EndIcon": [
  1351. {
  1352. "name": "typename",
  1353. "type": "string",
  1354. "default": "EndIcon"
  1355. },
  1356. {
  1357. "name": "position",
  1358. "type": "list<double>",
  1359. "default": [
  1360. 975,
  1361. 200
  1362. ]
  1363. },
  1364. {
  1365. "name": "orientation",
  1366. "type": "double",
  1367. "default": 0
  1368. },
  1369. {
  1370. "name": "scale",
  1371. "type": "list<double>",
  1372. "default": [
  1373. 1,
  1374. 1
  1375. ]
  1376. },
  1377. {
  1378. "name": "mapper",
  1379. "type": "code",
  1380. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1381. },
  1382. {
  1383. "name": "parser",
  1384. "type": "code",
  1385. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1386. },
  1387. {
  1388. "name": "$contents",
  1389. "type": "map<string,*>",
  1390. "default": {
  1391. "nodes": {
  1392. "62": {
  1393. "r": {
  1394. "type": "double",
  1395. "value": 10
  1396. },
  1397. "style": {
  1398. "type": "map<string,string>",
  1399. "value": {
  1400. "stroke": "#000000",
  1401. "stroke-dasharray": "",
  1402. "fill": "#ffffff",
  1403. "fill-opacity": 0.75,
  1404. "font-size": "20px",
  1405. "stroke-width": 6,
  1406. "arrow-start": "none",
  1407. "arrow-end": "none"
  1408. }
  1409. },
  1410. "mapper": {
  1411. "type": "code",
  1412. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nif (getAttr(\"current\")) {\n ({style:{\n \"stroke\": \"#000000\",\n \"stroke-dasharray\": \"\",\n \"fill\": \"#00ff00\",\n \"fill-opacity\": 0.75,\n \"font-size\": \"20px\",\n \"stroke-width\": 6,\n \"arrow-start\": \"none\",\n \"arrow-end\": \"none\"\n}});\n}\nelse {\n ({style:{\n \"stroke\": \"#000000\",\n \"stroke-dasharray\": \"\",\n \"fill\": \"#ffffff\",\n \"fill-opacity\": 0.75,\n \"font-size\": \"20px\",\n \"stroke-width\": 6,\n \"arrow-start\": \"none\",\n \"arrow-end\": \"none\"\n}});\n}"
  1413. },
  1414. "parser": {
  1415. "type": "code",
  1416. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1417. },
  1418. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle",
  1419. "position": {
  1420. "type": "list<double>",
  1421. "value": [
  1422. 10,
  1423. 9
  1424. ]
  1425. },
  1426. "orientation": {
  1427. "type": "double",
  1428. "value": 0
  1429. },
  1430. "scale": {
  1431. "type": "list<double>",
  1432. "value": [
  1433. 1,
  1434. 1
  1435. ]
  1436. }
  1437. }
  1438. },
  1439. "edges": []
  1440. }
  1441. },
  1442. {
  1443. "name": "$asuri",
  1444. "type": "string",
  1445. "default": "-1"
  1446. }
  1447. ],
  1448. "StateIcon": [
  1449. {
  1450. "name": "typename",
  1451. "type": "string",
  1452. "default": "StateIcon"
  1453. },
  1454. {
  1455. "name": "position",
  1456. "type": "list<double>",
  1457. "default": [
  1458. 300,
  1459. 200.1562
  1460. ]
  1461. },
  1462. {
  1463. "name": "orientation",
  1464. "type": "double",
  1465. "default": 0
  1466. },
  1467. {
  1468. "name": "scale",
  1469. "type": "list<double>",
  1470. "default": [
  1471. 1,
  1472. 1
  1473. ]
  1474. },
  1475. {
  1476. "name": "mapper",
  1477. "type": "code",
  1478. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1479. },
  1480. {
  1481. "name": "parser",
  1482. "type": "code",
  1483. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1484. },
  1485. {
  1486. "name": "$contents",
  1487. "type": "map<string,*>",
  1488. "default": {
  1489. "nodes": {
  1490. "56": {
  1491. "r": {
  1492. "type": "double",
  1493. "value": 20
  1494. },
  1495. "rays": {
  1496. "type": "int",
  1497. "value": 5
  1498. },
  1499. "style": {
  1500. "type": "map<string,string>",
  1501. "value": {
  1502. "stroke": "#000000",
  1503. "stroke-dasharray": "",
  1504. "fill": "#ffff00",
  1505. "fill-opacity": 0,
  1506. "font-size": "20px",
  1507. "stroke-width": 0,
  1508. "arrow-start": "none",
  1509. "arrow-end": "none"
  1510. }
  1511. },
  1512. "mapper": {
  1513. "type": "code",
  1514. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nif (getAttr(\"initial\")) {\n ({style:{\n \"stroke\": \"#000000\",\n \"stroke-dasharray\": \"\",\n \"fill\": \"#ffff00\",\n \"fill-opacity\": 0.75,\n \"font-size\": \"20px\",\n \"stroke-width\": 0,\n \"arrow-start\": \"none\",\n \"arrow-end\": \"none\"}});\n}\nelse {\n ({style:{\n \"stroke\": \"#000000\",\n \"stroke-dasharray\": \"\",\n \"fill\": \"#ffff00\",\n \"fill-opacity\": 0,\n \"font-size\": \"20px\",\n \"stroke-width\": 0,\n \"arrow-start\": \"none\",\n \"arrow-end\": \"none\"}});\n}"
  1515. },
  1516. "parser": {
  1517. "type": "code",
  1518. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1519. },
  1520. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Star",
  1521. "position": {
  1522. "type": "list<double>",
  1523. "value": [
  1524. 9,
  1525. 7.045099999999991
  1526. ]
  1527. },
  1528. "orientation": {
  1529. "type": "double",
  1530. "value": 0
  1531. },
  1532. "scale": {
  1533. "type": "list<double>",
  1534. "value": [
  1535. 1,
  1536. 1
  1537. ]
  1538. }
  1539. },
  1540. "75": {
  1541. "textContent": {
  1542. "type": "string",
  1543. "value": "state"
  1544. },
  1545. "style": {
  1546. "type": "map<string,string>",
  1547. "value": {
  1548. "stroke": "#000000",
  1549. "stroke-dasharray": "",
  1550. "fill": "#000000",
  1551. "fill-opacity": 1,
  1552. "font-size": "20px",
  1553. "stroke-width": 0,
  1554. "arrow-start": "none",
  1555. "arrow-end": "none"
  1556. }
  1557. },
  1558. "mapper": {
  1559. "type": "code",
  1560. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({textContent:getAttr(\"name\")})"
  1561. },
  1562. "parser": {
  1563. "type": "code",
  1564. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1565. },
  1566. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1567. "position": {
  1568. "type": "list<double>",
  1569. "value": [
  1570. 8,
  1571. 54.364499999999964
  1572. ]
  1573. },
  1574. "orientation": {
  1575. "type": "double",
  1576. "value": 0
  1577. },
  1578. "scale": {
  1579. "type": "list<double>",
  1580. "value": [
  1581. 1,
  1582. 1
  1583. ]
  1584. }
  1585. },
  1586. "84": {
  1587. "r": {
  1588. "type": "double",
  1589. "value": 25
  1590. },
  1591. "style": {
  1592. "type": "map<string,string>",
  1593. "value": {
  1594. "stroke": "#000000",
  1595. "stroke-dasharray": "",
  1596. "fill": "#ffffff",
  1597. "fill-opacity": 0.75,
  1598. "font-size": "20px",
  1599. "stroke-width": 2,
  1600. "arrow-start": "none",
  1601. "arrow-end": "none"
  1602. }
  1603. },
  1604. "mapper": {
  1605. "type": "code",
  1606. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nif (getAttr(\"current\")) {\n ({style:{\n \"stroke\": \"#000000\",\n \"stroke-dasharray\": \"\",\n \"fill\": \"#9999ff\",\n \"fill-opacity\": 1,\n \"font-size\": \"20px\",\n \"stroke-width\": 1,\n \"arrow-start\": \"none\",\n \"arrow-end\": \"none\"}});\n}\nelse {\n ({style:{\n \"stroke\": \"#000000\",\n \"stroke-dasharray\": \"\",\n \"fill\": \"#ffffff\",\n \"fill-opacity\": 1,\n \"font-size\": \"20px\",\n \"stroke-width\": 1,\n \"arrow-start\": \"none\",\n \"arrow-end\": \"none\"}});\n}"
  1607. },
  1608. "parser": {
  1609. "type": "code",
  1610. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1611. },
  1612. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle",
  1613. "position": {
  1614. "type": "list<double>",
  1615. "value": [
  1616. 6,
  1617. 7.360971374511735
  1618. ]
  1619. },
  1620. "orientation": {
  1621. "type": "double",
  1622. "value": 0
  1623. },
  1624. "scale": {
  1625. "type": "list<double>",
  1626. "value": [
  1627. 1,
  1628. 1
  1629. ]
  1630. }
  1631. }
  1632. },
  1633. "edges": []
  1634. }
  1635. },
  1636. {
  1637. "name": "$asuri",
  1638. "type": "string",
  1639. "default": "-1"
  1640. }
  1641. ],
  1642. "VisualisedByLink": [
  1643. {
  1644. "name": "link-style",
  1645. "type": "map<string,string>",
  1646. "default": {
  1647. "stroke": "#000000",
  1648. "stroke-dasharray": "-",
  1649. "stroke-opacity": 1,
  1650. "stroke-width": 1
  1651. }
  1652. },
  1653. {
  1654. "name": "arrowHead",
  1655. "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)",
  1656. "default": "custom"
  1657. },
  1658. {
  1659. "name": "arrowTail",
  1660. "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)",
  1661. "default": "arrow-black"
  1662. },
  1663. {
  1664. "name": "typename",
  1665. "type": "string",
  1666. "default": "VisualisedByLink"
  1667. },
  1668. {
  1669. "name": "position",
  1670. "type": "list<double>",
  1671. "default": [
  1672. 297,
  1673. 448.0034713745117
  1674. ]
  1675. },
  1676. {
  1677. "name": "orientation",
  1678. "type": "double",
  1679. "default": 0
  1680. },
  1681. {
  1682. "name": "scale",
  1683. "type": "list<double>",
  1684. "default": [
  1685. 1,
  1686. 1
  1687. ]
  1688. },
  1689. {
  1690. "name": "mapper",
  1691. "type": "code",
  1692. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1693. },
  1694. {
  1695. "name": "parser",
  1696. "type": "code",
  1697. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1698. },
  1699. {
  1700. "name": "$contents",
  1701. "type": "map<string,*>",
  1702. "default": {
  1703. "nodes": {
  1704. "267": {
  1705. "segments": {
  1706. "type": "string",
  1707. "value": "m0,0 l10,4 l-10,4 l3,-4 z"
  1708. },
  1709. "style": {
  1710. "type": "map<string,string>",
  1711. "value": {
  1712. "stroke": "#000000",
  1713. "fill": "#000000",
  1714. "opacity": 1,
  1715. "stroke-width": 1
  1716. }
  1717. },
  1718. "mapper": {
  1719. "type": "code",
  1720. "value": ""
  1721. },
  1722. "parser": {
  1723. "type": "code",
  1724. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1725. },
  1726. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1727. "position": {
  1728. "type": "list<double>",
  1729. "value": [
  1730. 0,
  1731. 0
  1732. ]
  1733. },
  1734. "orientation": {
  1735. "type": "double",
  1736. "value": 0
  1737. },
  1738. "scale": {
  1739. "type": "list<double>",
  1740. "value": [
  1741. 1,
  1742. 1
  1743. ]
  1744. },
  1745. "$linkDecoratorInfo": {
  1746. "type": "map<string,double>",
  1747. "value": {
  1748. "xratio": 1,
  1749. "yoffset": -4
  1750. }
  1751. }
  1752. }
  1753. },
  1754. "edges": []
  1755. }
  1756. },
  1757. {
  1758. "name": "$asuri",
  1759. "type": "string",
  1760. "default": "-1"
  1761. },
  1762. {
  1763. "name": "$segments",
  1764. "type": "map<string,list<string>>",
  1765. "default": {}
  1766. }
  1767. ]
  1768. },
  1769. "constraints": [],
  1770. "actions": [],
  1771. "cardinalities": {
  1772. "VisualisationIcon": [],
  1773. "InterruptIcon": [],
  1774. "TimeIcon": [],
  1775. "TimedTransitionLink": [],
  1776. "InterruptTransitionLink": [],
  1777. "NextLink": [],
  1778. "EndIcon": [],
  1779. "StateIcon": [],
  1780. "VisualisedByLink": []
  1781. },
  1782. "legalConnections": {},
  1783. "connectorTypes": {},
  1784. "types2parentTypes": {
  1785. "VisualisationIcon": [],
  1786. "InterruptIcon": [],
  1787. "TimeIcon": [],
  1788. "TimedTransitionLink": [],
  1789. "InterruptTransitionLink": [],
  1790. "NextLink": [],
  1791. "EndIcon": [],
  1792. "StateIcon": [],
  1793. "VisualisedByLink": []
  1794. }
  1795. }