R_NextInterrupt.model 66 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788
  1. {
  2. "csm": {
  3. "nodes": {
  4. "0": {
  5. "typename": {
  6. "type": "string",
  7. "value": "LHSIcon"
  8. },
  9. "position": {
  10. "type": "list<double>",
  11. "value": [
  12. 457,
  13. 224
  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": ""
  30. },
  31. "parser": {
  32. "type": "code",
  33. "value": ""
  34. },
  35. "$contents": {
  36. "type": "map<string,*>",
  37. "value": {
  38. "nodes": {
  39. "4": {
  40. "segments": {
  41. "type": "string",
  42. "value": "m0,0 l350,0 l100,250 l-100,250 l-350,0z"
  43. },
  44. "style": {
  45. "type": "map<string,string>",
  46. "value": {
  47. "stroke": "#000000",
  48. "stroke-dasharray": "",
  49. "fill": "#ffffff",
  50. "fill-opacity": 0.75,
  51. "stroke-width": 2,
  52. "arrow-start": "none",
  53. "arrow-end": "none"
  54. }
  55. },
  56. "mapper": {
  57. "type": "code",
  58. "value": ""
  59. },
  60. "parser": {
  61. "type": "code",
  62. "value": ""
  63. },
  64. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  65. "position": {
  66. "type": "list<double>",
  67. "value": [
  68. 1,
  69. 0
  70. ]
  71. },
  72. "orientation": {
  73. "type": "double",
  74. "value": 0
  75. },
  76. "scale": {
  77. "type": "list<double>",
  78. "value": [
  79. 1,
  80. 1
  81. ]
  82. }
  83. }
  84. },
  85. "edges": []
  86. }
  87. },
  88. "$asuri": {
  89. "type": "string",
  90. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/LHS/0.instance"
  91. },
  92. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/LHSIcon"
  93. },
  94. "12": {
  95. "typename": {
  96. "type": "string",
  97. "value": "InterruptIcon"
  98. },
  99. "position": {
  100. "type": "list<double>",
  101. "value": [
  102. 497,
  103. 421
  104. ]
  105. },
  106. "orientation": {
  107. "type": "double",
  108. "value": 0
  109. },
  110. "scale": {
  111. "type": "list<double>",
  112. "value": [
  113. 1,
  114. 1
  115. ]
  116. },
  117. "mapper": {
  118. "type": "code",
  119. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  120. },
  121. "parser": {
  122. "type": "code",
  123. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  124. },
  125. "$contents": {
  126. "type": "map<string,*>",
  127. "value": {
  128. "nodes": {
  129. "27": {
  130. "width": {
  131. "type": "double",
  132. "value": 100
  133. },
  134. "height": {
  135. "type": "double",
  136. "value": 69
  137. },
  138. "cornerRadius": {
  139. "type": "double",
  140. "value": 1
  141. },
  142. "style": {
  143. "type": "map<string,string>",
  144. "value": {
  145. "stroke": "#000000",
  146. "stroke-dasharray": "",
  147. "fill": "#99ff99",
  148. "fill-opacity": 0.5,
  149. "font-size": "20px",
  150. "stroke-width": 1,
  151. "arrow-start": "none",
  152. "arrow-end": "none"
  153. }
  154. },
  155. "mapper": {
  156. "type": "code",
  157. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  158. },
  159. "parser": {
  160. "type": "code",
  161. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  162. },
  163. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  164. "position": {
  165. "type": "list<double>",
  166. "value": [
  167. 7,
  168. 6
  169. ]
  170. },
  171. "orientation": {
  172. "type": "double",
  173. "value": 0
  174. },
  175. "scale": {
  176. "type": "list<double>",
  177. "value": [
  178. 1,
  179. 1
  180. ]
  181. }
  182. },
  183. "29": {
  184. "textContent": {
  185. "type": "string",
  186. "value": "T..."
  187. },
  188. "style": {
  189. "type": "map<string,string>",
  190. "value": {
  191. "stroke": "#000000",
  192. "stroke-dasharray": "",
  193. "fill": "#0000ff",
  194. "fill-opacity": 1,
  195. "font-size": "15px",
  196. "stroke-width": 0,
  197. "arrow-start": "none",
  198. "arrow-end": "none"
  199. }
  200. },
  201. "mapper": {
  202. "type": "code",
  203. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  204. },
  205. "parser": {
  206. "type": "code",
  207. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  208. },
  209. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  210. "position": {
  211. "type": "list<double>",
  212. "value": [
  213. 15,
  214. 14
  215. ]
  216. },
  217. "orientation": {
  218. "type": "double",
  219. "value": 0
  220. },
  221. "scale": {
  222. "type": "list<double>",
  223. "value": [
  224. 1,
  225. 1
  226. ]
  227. }
  228. },
  229. "30": {
  230. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  231. "position": {
  232. "type": "list<double>",
  233. "value": [
  234. 30.5,
  235. 16.25
  236. ]
  237. },
  238. "orientation": {
  239. "type": "double",
  240. "value": 0
  241. },
  242. "scale": {
  243. "type": "list<double>",
  244. "value": [
  245. 1,
  246. 1
  247. ]
  248. },
  249. "link-style": {
  250. "type": "map<string,string>",
  251. "value": {
  252. "stroke": "#00ffff",
  253. "stroke-dasharray": "",
  254. "stroke-opacity": 0.1,
  255. "stroke-width": 1
  256. }
  257. }
  258. },
  259. "31": {
  260. "textContent": {
  261. "type": "string",
  262. "value": "T..."
  263. },
  264. "style": {
  265. "type": "map<string,string>",
  266. "value": {
  267. "stroke": "#000000",
  268. "stroke-dasharray": "",
  269. "fill": "#000000",
  270. "fill-opacity": 1,
  271. "font-size": "15px",
  272. "stroke-width": 0,
  273. "arrow-start": "none",
  274. "arrow-end": "none"
  275. }
  276. },
  277. "mapper": {
  278. "type": "code",
  279. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  280. },
  281. "parser": {
  282. "type": "code",
  283. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  284. },
  285. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  286. "position": {
  287. "type": "list<double>",
  288. "value": [
  289. 16,
  290. 41
  291. ]
  292. },
  293. "orientation": {
  294. "type": "double",
  295. "value": 0
  296. },
  297. "scale": {
  298. "type": "list<double>",
  299. "value": [
  300. 1,
  301. 1
  302. ]
  303. }
  304. },
  305. "32": {
  306. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  307. "position": {
  308. "type": "list<double>",
  309. "value": [
  310. 29.104761552828222,
  311. 29.858332969401772
  312. ]
  313. },
  314. "orientation": {
  315. "type": "double",
  316. "value": 0
  317. },
  318. "scale": {
  319. "type": "list<double>",
  320. "value": [
  321. 1,
  322. 1
  323. ]
  324. },
  325. "link-style": {
  326. "type": "map<string,string>",
  327. "value": {
  328. "stroke": "#00ffff",
  329. "stroke-dasharray": "",
  330. "stroke-opacity": 0.1,
  331. "stroke-width": 1
  332. }
  333. }
  334. },
  335. "__pLabelText": {
  336. "position": {
  337. "type": "list<double>",
  338. "value": [
  339. 0,
  340. 0
  341. ]
  342. },
  343. "orientation": {
  344. "type": "double",
  345. "value": 0
  346. },
  347. "scale": {
  348. "type": "list<double>",
  349. "value": [
  350. 1,
  351. 1
  352. ]
  353. },
  354. "textContent": {
  355. "type": "string",
  356. "value": "1"
  357. },
  358. "style": {
  359. "type": "map<string,string>",
  360. "value": {
  361. "stroke": "#6000ff",
  362. "fill": "#6000ff",
  363. "font-size": "15px",
  364. "opacity": "1"
  365. }
  366. },
  367. "mapper": {
  368. "type": "code",
  369. "value": "({'textContent':getAttr('__pLabel')})"
  370. },
  371. "parser": {
  372. "type": "code",
  373. "value": "({'__pLabel':getAttr('textContent')})"
  374. },
  375. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  376. }
  377. },
  378. "edges": [
  379. {
  380. "src": "27",
  381. "dest": "30"
  382. },
  383. {
  384. "src": "30",
  385. "dest": "29"
  386. },
  387. {
  388. "src": "27",
  389. "dest": "32"
  390. },
  391. {
  392. "src": "32",
  393. "dest": "31"
  394. }
  395. ]
  396. }
  397. },
  398. "$asuri": {
  399. "type": "string",
  400. "value": "/Formalisms/TrafficLight/TrafficLight.pattern/__pInterrupt/12.instance"
  401. },
  402. "$type": "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pInterruptIcon"
  403. },
  404. "21": {
  405. "typename": {
  406. "type": "string",
  407. "value": "RHSIcon"
  408. },
  409. "position": {
  410. "type": "list<double>",
  411. "value": [
  412. 815,
  413. 226
  414. ]
  415. },
  416. "orientation": {
  417. "type": "double",
  418. "value": 0
  419. },
  420. "scale": {
  421. "type": "list<double>",
  422. "value": [
  423. 1.0711111111111111,
  424. 1
  425. ]
  426. },
  427. "mapper": {
  428. "type": "code",
  429. "value": ""
  430. },
  431. "parser": {
  432. "type": "code",
  433. "value": ""
  434. },
  435. "$contents": {
  436. "type": "map<string,*>",
  437. "value": {
  438. "nodes": {
  439. "7": {
  440. "segments": {
  441. "type": "string",
  442. "value": "m0,0 l450,0 l0,500 l-450,0 l100,-250z"
  443. },
  444. "style": {
  445. "type": "map<string,string>",
  446. "value": {
  447. "stroke": "#000000",
  448. "stroke-dasharray": "",
  449. "fill": "#ffffff",
  450. "fill-opacity": 0.75,
  451. "stroke-width": 2,
  452. "arrow-start": "none",
  453. "arrow-end": "none"
  454. }
  455. },
  456. "mapper": {
  457. "type": "code",
  458. "value": ""
  459. },
  460. "parser": {
  461. "type": "code",
  462. "value": ""
  463. },
  464. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  465. "position": {
  466. "type": "list<double>",
  467. "value": [
  468. 0,
  469. 0
  470. ]
  471. },
  472. "orientation": {
  473. "type": "double",
  474. "value": 0
  475. },
  476. "scale": {
  477. "type": "list<double>",
  478. "value": [
  479. 1,
  480. 1
  481. ]
  482. }
  483. }
  484. },
  485. "edges": []
  486. }
  487. },
  488. "$asuri": {
  489. "type": "string",
  490. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/RHS/21.instance"
  491. },
  492. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon"
  493. },
  494. "22": {
  495. "link-style": {
  496. "type": "map<string,string>",
  497. "value": {
  498. "stroke": "#00ff00",
  499. "stroke-dasharray": "",
  500. "stroke-opacity": 0.2,
  501. "stroke-width": 1,
  502. "arrow-start": "none",
  503. "arrow-end": "classic-wide-long"
  504. }
  505. },
  506. "typename": {
  507. "type": "string",
  508. "value": "PatternContentsLink"
  509. },
  510. "position": {
  511. "type": "list<double>",
  512. "value": [
  513. 504.25,
  514. 341.25
  515. ]
  516. },
  517. "orientation": {
  518. "type": "double",
  519. "value": 0
  520. },
  521. "scale": {
  522. "type": "list<double>",
  523. "value": [
  524. 1,
  525. 1
  526. ]
  527. },
  528. "mapper": {
  529. "type": "code",
  530. "value": ""
  531. },
  532. "parser": {
  533. "type": "code",
  534. "value": ""
  535. },
  536. "$contents": {
  537. "type": "map<string,*>",
  538. "value": {
  539. "nodes": {},
  540. "edges": []
  541. }
  542. },
  543. "$asuri": {
  544. "type": "string",
  545. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/22.instance"
  546. },
  547. "$segments": {
  548. "type": "map<string,list<string>>",
  549. "value": {
  550. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/LHSIcon/0.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/22.instance": "M458,224L504.25,341.25",
  551. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/22.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pInterruptIcon/12.instance": "M504.30497211623464,341.3893617433191L550.4998253003436,458.4995571127628"
  552. }
  553. },
  554. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  555. },
  556. "24": {
  557. "typename": {
  558. "type": "string",
  559. "value": "InterruptIcon"
  560. },
  561. "position": {
  562. "type": "list<double>",
  563. "value": [
  564. 939,
  565. 424
  566. ]
  567. },
  568. "orientation": {
  569. "type": "double",
  570. "value": 0
  571. },
  572. "scale": {
  573. "type": "list<double>",
  574. "value": [
  575. 1,
  576. 1
  577. ]
  578. },
  579. "mapper": {
  580. "type": "code",
  581. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  582. },
  583. "parser": {
  584. "type": "code",
  585. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  586. },
  587. "$contents": {
  588. "type": "map<string,*>",
  589. "value": {
  590. "nodes": {
  591. "27": {
  592. "width": {
  593. "type": "double",
  594. "value": 100
  595. },
  596. "height": {
  597. "type": "double",
  598. "value": 69
  599. },
  600. "cornerRadius": {
  601. "type": "double",
  602. "value": 1
  603. },
  604. "style": {
  605. "type": "map<string,string>",
  606. "value": {
  607. "stroke": "#000000",
  608. "stroke-dasharray": "",
  609. "fill": "#99ff99",
  610. "fill-opacity": 0.5,
  611. "font-size": "20px",
  612. "stroke-width": 1,
  613. "arrow-start": "none",
  614. "arrow-end": "none"
  615. }
  616. },
  617. "mapper": {
  618. "type": "code",
  619. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  620. },
  621. "parser": {
  622. "type": "code",
  623. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  624. },
  625. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  626. "position": {
  627. "type": "list<double>",
  628. "value": [
  629. 7,
  630. 6
  631. ]
  632. },
  633. "orientation": {
  634. "type": "double",
  635. "value": 0
  636. },
  637. "scale": {
  638. "type": "list<double>",
  639. "value": [
  640. 1,
  641. 1
  642. ]
  643. }
  644. },
  645. "29": {
  646. "textContent": {
  647. "type": "string",
  648. "value": "T..."
  649. },
  650. "style": {
  651. "type": "map<string,string>",
  652. "value": {
  653. "stroke": "#000000",
  654. "stroke-dasharray": "",
  655. "fill": "#0000ff",
  656. "fill-opacity": 1,
  657. "font-size": "15px",
  658. "stroke-width": 0,
  659. "arrow-start": "none",
  660. "arrow-end": "none"
  661. }
  662. },
  663. "mapper": {
  664. "type": "code",
  665. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  666. },
  667. "parser": {
  668. "type": "code",
  669. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  670. },
  671. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  672. "position": {
  673. "type": "list<double>",
  674. "value": [
  675. 15,
  676. 14
  677. ]
  678. },
  679. "orientation": {
  680. "type": "double",
  681. "value": 0
  682. },
  683. "scale": {
  684. "type": "list<double>",
  685. "value": [
  686. 1,
  687. 1
  688. ]
  689. }
  690. },
  691. "30": {
  692. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  693. "position": {
  694. "type": "list<double>",
  695. "value": [
  696. 30.5,
  697. 16.25
  698. ]
  699. },
  700. "orientation": {
  701. "type": "double",
  702. "value": 0
  703. },
  704. "scale": {
  705. "type": "list<double>",
  706. "value": [
  707. 1,
  708. 1
  709. ]
  710. },
  711. "link-style": {
  712. "type": "map<string,string>",
  713. "value": {
  714. "stroke": "#00ffff",
  715. "stroke-dasharray": "",
  716. "stroke-opacity": 0.1,
  717. "stroke-width": 1
  718. }
  719. }
  720. },
  721. "31": {
  722. "textContent": {
  723. "type": "string",
  724. "value": "T..."
  725. },
  726. "style": {
  727. "type": "map<string,string>",
  728. "value": {
  729. "stroke": "#000000",
  730. "stroke-dasharray": "",
  731. "fill": "#000000",
  732. "fill-opacity": 1,
  733. "font-size": "15px",
  734. "stroke-width": 0,
  735. "arrow-start": "none",
  736. "arrow-end": "none"
  737. }
  738. },
  739. "mapper": {
  740. "type": "code",
  741. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  742. },
  743. "parser": {
  744. "type": "code",
  745. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  746. },
  747. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  748. "position": {
  749. "type": "list<double>",
  750. "value": [
  751. 16,
  752. 41
  753. ]
  754. },
  755. "orientation": {
  756. "type": "double",
  757. "value": 0
  758. },
  759. "scale": {
  760. "type": "list<double>",
  761. "value": [
  762. 1,
  763. 1
  764. ]
  765. }
  766. },
  767. "32": {
  768. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  769. "position": {
  770. "type": "list<double>",
  771. "value": [
  772. 29.104761552828222,
  773. 29.858332969401772
  774. ]
  775. },
  776. "orientation": {
  777. "type": "double",
  778. "value": 0
  779. },
  780. "scale": {
  781. "type": "list<double>",
  782. "value": [
  783. 1,
  784. 1
  785. ]
  786. },
  787. "link-style": {
  788. "type": "map<string,string>",
  789. "value": {
  790. "stroke": "#00ffff",
  791. "stroke-dasharray": "",
  792. "stroke-opacity": 0.1,
  793. "stroke-width": 1
  794. }
  795. }
  796. },
  797. "__pLabelText": {
  798. "position": {
  799. "type": "list<double>",
  800. "value": [
  801. 0,
  802. 0
  803. ]
  804. },
  805. "orientation": {
  806. "type": "double",
  807. "value": 0
  808. },
  809. "scale": {
  810. "type": "list<double>",
  811. "value": [
  812. 1,
  813. 1
  814. ]
  815. },
  816. "textContent": {
  817. "type": "string",
  818. "value": "1"
  819. },
  820. "style": {
  821. "type": "map<string,string>",
  822. "value": {
  823. "stroke": "#6000ff",
  824. "fill": "#6000ff",
  825. "font-size": "15px",
  826. "opacity": "1"
  827. }
  828. },
  829. "mapper": {
  830. "type": "code",
  831. "value": "({'textContent':getAttr('__pLabel')})"
  832. },
  833. "parser": {
  834. "type": "code",
  835. "value": "({'__pLabel':getAttr('textContent')})"
  836. },
  837. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  838. }
  839. },
  840. "edges": [
  841. {
  842. "src": "27",
  843. "dest": "30"
  844. },
  845. {
  846. "src": "30",
  847. "dest": "29"
  848. },
  849. {
  850. "src": "27",
  851. "dest": "32"
  852. },
  853. {
  854. "src": "32",
  855. "dest": "31"
  856. }
  857. ]
  858. }
  859. },
  860. "$asuri": {
  861. "type": "string",
  862. "value": "/Formalisms/TrafficLight/TrafficLight.pattern/__pInterrupt/24.instance"
  863. },
  864. "$type": "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pInterruptIcon"
  865. },
  866. "27": {
  867. "link-style": {
  868. "type": "map<string,string>",
  869. "value": {
  870. "stroke": "#00ff00",
  871. "stroke-dasharray": "",
  872. "stroke-opacity": 0.2,
  873. "stroke-width": 1,
  874. "arrow-start": "none",
  875. "arrow-end": "classic-wide-long"
  876. }
  877. },
  878. "typename": {
  879. "type": "string",
  880. "value": "PatternContentsLink"
  881. },
  882. "position": {
  883. "type": "list<double>",
  884. "value": [
  885. 903.75,
  886. 343.75
  887. ]
  888. },
  889. "orientation": {
  890. "type": "double",
  891. "value": 0
  892. },
  893. "scale": {
  894. "type": "list<double>",
  895. "value": [
  896. 1,
  897. 1
  898. ]
  899. },
  900. "mapper": {
  901. "type": "code",
  902. "value": ""
  903. },
  904. "parser": {
  905. "type": "code",
  906. "value": ""
  907. },
  908. "$contents": {
  909. "type": "map<string,*>",
  910. "value": {
  911. "nodes": {},
  912. "edges": []
  913. }
  914. },
  915. "$asuri": {
  916. "type": "string",
  917. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/27.instance"
  918. },
  919. "$segments": {
  920. "type": "map<string,list<string>>",
  921. "value": {
  922. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon/21.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/27.instance": "M815,226L903.75,343.75",
  923. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/27.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pInterruptIcon/24.instance": "M903.7950957916945,343.8098313179947L992.4994459207048,461.49926486944213"
  924. }
  925. },
  926. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  927. },
  928. "29": {
  929. "typename": {
  930. "type": "string",
  931. "value": "TimeIcon"
  932. },
  933. "position": {
  934. "type": "list<double>",
  935. "value": [
  936. 573,
  937. 551
  938. ]
  939. },
  940. "orientation": {
  941. "type": "double",
  942. "value": 0
  943. },
  944. "scale": {
  945. "type": "list<double>",
  946. "value": [
  947. 1,
  948. 1
  949. ]
  950. },
  951. "mapper": {
  952. "type": "code",
  953. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  954. },
  955. "parser": {
  956. "type": "code",
  957. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  958. },
  959. "$contents": {
  960. "type": "map<string,*>",
  961. "value": {
  962. "nodes": {
  963. "34": {
  964. "rx": {
  965. "type": "double",
  966. "value": 50
  967. },
  968. "ry": {
  969. "type": "double",
  970. "value": 30
  971. },
  972. "style": {
  973. "type": "map<string,string>",
  974. "value": {
  975. "stroke": "#000000",
  976. "stroke-dasharray": "",
  977. "fill": "#9999ff",
  978. "fill-opacity": 0.75,
  979. "font-size": "20px",
  980. "stroke-width": 1,
  981. "arrow-start": "none",
  982. "arrow-end": "none"
  983. }
  984. },
  985. "mapper": {
  986. "type": "code",
  987. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  988. },
  989. "parser": {
  990. "type": "code",
  991. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  992. },
  993. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Ellipse",
  994. "position": {
  995. "type": "list<double>",
  996. "value": [
  997. 7,
  998. 26
  999. ]
  1000. },
  1001. "orientation": {
  1002. "type": "double",
  1003. "value": 0
  1004. },
  1005. "scale": {
  1006. "type": "list<double>",
  1007. "value": [
  1008. 1,
  1009. 1
  1010. ]
  1011. }
  1012. },
  1013. "36": {
  1014. "textContent": {
  1015. "type": "string",
  1016. "value": "T..."
  1017. },
  1018. "style": {
  1019. "type": "map<string,string>",
  1020. "value": {
  1021. "stroke": "#000000",
  1022. "stroke-dasharray": "",
  1023. "fill": "#000000",
  1024. "fill-opacity": 1,
  1025. "font-size": "20px",
  1026. "stroke-width": 0,
  1027. "arrow-start": "none",
  1028. "arrow-end": "none"
  1029. }
  1030. },
  1031. "mapper": {
  1032. "type": "code",
  1033. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1034. },
  1035. "parser": {
  1036. "type": "code",
  1037. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1038. },
  1039. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1040. "position": {
  1041. "type": "list<double>",
  1042. "value": [
  1043. 29,
  1044. 44
  1045. ]
  1046. },
  1047. "orientation": {
  1048. "type": "double",
  1049. "value": 0
  1050. },
  1051. "scale": {
  1052. "type": "list<double>",
  1053. "value": [
  1054. 1,
  1055. 1
  1056. ]
  1057. }
  1058. },
  1059. "37": {
  1060. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1061. "position": {
  1062. "type": "list<double>",
  1063. "value": [
  1064. 25.46270269242143,
  1065. 40.75
  1066. ]
  1067. },
  1068. "orientation": {
  1069. "type": "double",
  1070. "value": 0
  1071. },
  1072. "scale": {
  1073. "type": "list<double>",
  1074. "value": [
  1075. 1,
  1076. 1
  1077. ]
  1078. },
  1079. "link-style": {
  1080. "type": "map<string,string>",
  1081. "value": {
  1082. "stroke": "#00ffff",
  1083. "stroke-dasharray": "",
  1084. "stroke-opacity": 0.1,
  1085. "stroke-width": 1
  1086. }
  1087. }
  1088. },
  1089. "38": {
  1090. "textContent": {
  1091. "type": "string",
  1092. "value": "Time"
  1093. },
  1094. "style": {
  1095. "type": "map<string,string>",
  1096. "value": {
  1097. "stroke": "#000000",
  1098. "stroke-dasharray": "",
  1099. "fill": "#ffffff",
  1100. "fill-opacity": 0.75,
  1101. "font-size": "20px",
  1102. "stroke-width": 1,
  1103. "arrow-start": "none",
  1104. "arrow-end": "none"
  1105. }
  1106. },
  1107. "mapper": {
  1108. "type": "code",
  1109. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1110. },
  1111. "parser": {
  1112. "type": "code",
  1113. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1114. },
  1115. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1116. "position": {
  1117. "type": "list<double>",
  1118. "value": [
  1119. 33,
  1120. 3
  1121. ]
  1122. },
  1123. "orientation": {
  1124. "type": "double",
  1125. "value": 0
  1126. },
  1127. "scale": {
  1128. "type": "list<double>",
  1129. "value": [
  1130. 1,
  1131. 1
  1132. ]
  1133. }
  1134. },
  1135. "__pLabelText": {
  1136. "position": {
  1137. "type": "list<double>",
  1138. "value": [
  1139. 0,
  1140. 0
  1141. ]
  1142. },
  1143. "orientation": {
  1144. "type": "double",
  1145. "value": 0
  1146. },
  1147. "scale": {
  1148. "type": "list<double>",
  1149. "value": [
  1150. 1,
  1151. 1
  1152. ]
  1153. },
  1154. "textContent": {
  1155. "type": "string",
  1156. "value": "3"
  1157. },
  1158. "style": {
  1159. "type": "map<string,string>",
  1160. "value": {
  1161. "stroke": "#6000ff",
  1162. "fill": "#6000ff",
  1163. "font-size": "15px",
  1164. "opacity": "1"
  1165. }
  1166. },
  1167. "mapper": {
  1168. "type": "code",
  1169. "value": "({'textContent':getAttr('__pLabel')})"
  1170. },
  1171. "parser": {
  1172. "type": "code",
  1173. "value": "({'__pLabel':getAttr('textContent')})"
  1174. },
  1175. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  1176. }
  1177. },
  1178. "edges": [
  1179. {
  1180. "src": "34",
  1181. "dest": "37"
  1182. },
  1183. {
  1184. "src": "37",
  1185. "dest": "36"
  1186. }
  1187. ]
  1188. }
  1189. },
  1190. "$asuri": {
  1191. "type": "string",
  1192. "value": "/Formalisms/TrafficLight/TrafficLight.pattern/__pTime/29.instance"
  1193. },
  1194. "$type": "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pTimeIcon"
  1195. },
  1196. "30": {
  1197. "link-style": {
  1198. "type": "map<string,string>",
  1199. "value": {
  1200. "stroke": "#00ff00",
  1201. "stroke-dasharray": "",
  1202. "stroke-opacity": 0.2,
  1203. "stroke-width": 1,
  1204. "arrow-start": "none",
  1205. "arrow-end": "classic-wide-long"
  1206. }
  1207. },
  1208. "typename": {
  1209. "type": "string",
  1210. "value": "PatternContentsLink"
  1211. },
  1212. "position": {
  1213. "type": "list<double>",
  1214. "value": [
  1215. 542.25,
  1216. 409
  1217. ]
  1218. },
  1219. "orientation": {
  1220. "type": "double",
  1221. "value": 0
  1222. },
  1223. "scale": {
  1224. "type": "list<double>",
  1225. "value": [
  1226. 1,
  1227. 1
  1228. ]
  1229. },
  1230. "mapper": {
  1231. "type": "code",
  1232. "value": ""
  1233. },
  1234. "parser": {
  1235. "type": "code",
  1236. "value": ""
  1237. },
  1238. "$contents": {
  1239. "type": "map<string,*>",
  1240. "value": {
  1241. "nodes": {},
  1242. "edges": []
  1243. }
  1244. },
  1245. "$asuri": {
  1246. "type": "string",
  1247. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/30.instance"
  1248. },
  1249. "$segments": {
  1250. "type": "map<string,list<string>>",
  1251. "value": {
  1252. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/LHSIcon/0.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/30.instance": "M458,224L542.25,409",
  1253. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/30.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pTimeIcon/29.instance": "M542.2810348461329,409.06814773334816L626.4997241343599,593.999394241621"
  1254. }
  1255. },
  1256. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  1257. },
  1258. "31": {
  1259. "typename": {
  1260. "type": "string",
  1261. "value": "TimeIcon"
  1262. },
  1263. "position": {
  1264. "type": "list<double>",
  1265. "value": [
  1266. 1021,
  1267. 551
  1268. ]
  1269. },
  1270. "orientation": {
  1271. "type": "double",
  1272. "value": 0
  1273. },
  1274. "scale": {
  1275. "type": "list<double>",
  1276. "value": [
  1277. 1,
  1278. 1
  1279. ]
  1280. },
  1281. "mapper": {
  1282. "type": "code",
  1283. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1284. },
  1285. "parser": {
  1286. "type": "code",
  1287. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1288. },
  1289. "$contents": {
  1290. "type": "map<string,*>",
  1291. "value": {
  1292. "nodes": {
  1293. "34": {
  1294. "rx": {
  1295. "type": "double",
  1296. "value": 50
  1297. },
  1298. "ry": {
  1299. "type": "double",
  1300. "value": 30
  1301. },
  1302. "style": {
  1303. "type": "map<string,string>",
  1304. "value": {
  1305. "stroke": "#000000",
  1306. "stroke-dasharray": "",
  1307. "fill": "#9999ff",
  1308. "fill-opacity": 0.75,
  1309. "font-size": "20px",
  1310. "stroke-width": 1,
  1311. "arrow-start": "none",
  1312. "arrow-end": "none"
  1313. }
  1314. },
  1315. "mapper": {
  1316. "type": "code",
  1317. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1318. },
  1319. "parser": {
  1320. "type": "code",
  1321. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1322. },
  1323. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Ellipse",
  1324. "position": {
  1325. "type": "list<double>",
  1326. "value": [
  1327. 7,
  1328. 26
  1329. ]
  1330. },
  1331. "orientation": {
  1332. "type": "double",
  1333. "value": 0
  1334. },
  1335. "scale": {
  1336. "type": "list<double>",
  1337. "value": [
  1338. 1,
  1339. 1
  1340. ]
  1341. }
  1342. },
  1343. "36": {
  1344. "textContent": {
  1345. "type": "string",
  1346. "value": "T..."
  1347. },
  1348. "style": {
  1349. "type": "map<string,string>",
  1350. "value": {
  1351. "stroke": "#000000",
  1352. "stroke-dasharray": "",
  1353. "fill": "#000000",
  1354. "fill-opacity": 1,
  1355. "font-size": "20px",
  1356. "stroke-width": 0,
  1357. "arrow-start": "none",
  1358. "arrow-end": "none"
  1359. }
  1360. },
  1361. "mapper": {
  1362. "type": "code",
  1363. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1364. },
  1365. "parser": {
  1366. "type": "code",
  1367. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1368. },
  1369. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1370. "position": {
  1371. "type": "list<double>",
  1372. "value": [
  1373. 29,
  1374. 44
  1375. ]
  1376. },
  1377. "orientation": {
  1378. "type": "double",
  1379. "value": 0
  1380. },
  1381. "scale": {
  1382. "type": "list<double>",
  1383. "value": [
  1384. 1,
  1385. 1
  1386. ]
  1387. }
  1388. },
  1389. "37": {
  1390. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1391. "position": {
  1392. "type": "list<double>",
  1393. "value": [
  1394. 25.46270269242143,
  1395. 40.75
  1396. ]
  1397. },
  1398. "orientation": {
  1399. "type": "double",
  1400. "value": 0
  1401. },
  1402. "scale": {
  1403. "type": "list<double>",
  1404. "value": [
  1405. 1,
  1406. 1
  1407. ]
  1408. },
  1409. "link-style": {
  1410. "type": "map<string,string>",
  1411. "value": {
  1412. "stroke": "#00ffff",
  1413. "stroke-dasharray": "",
  1414. "stroke-opacity": 0.1,
  1415. "stroke-width": 1
  1416. }
  1417. }
  1418. },
  1419. "38": {
  1420. "textContent": {
  1421. "type": "string",
  1422. "value": "Time"
  1423. },
  1424. "style": {
  1425. "type": "map<string,string>",
  1426. "value": {
  1427. "stroke": "#000000",
  1428. "stroke-dasharray": "",
  1429. "fill": "#ffffff",
  1430. "fill-opacity": 0.75,
  1431. "font-size": "20px",
  1432. "stroke-width": 1,
  1433. "arrow-start": "none",
  1434. "arrow-end": "none"
  1435. }
  1436. },
  1437. "mapper": {
  1438. "type": "code",
  1439. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1440. },
  1441. "parser": {
  1442. "type": "code",
  1443. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1444. },
  1445. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1446. "position": {
  1447. "type": "list<double>",
  1448. "value": [
  1449. 33,
  1450. 3
  1451. ]
  1452. },
  1453. "orientation": {
  1454. "type": "double",
  1455. "value": 0
  1456. },
  1457. "scale": {
  1458. "type": "list<double>",
  1459. "value": [
  1460. 1,
  1461. 1
  1462. ]
  1463. }
  1464. },
  1465. "__pLabelText": {
  1466. "position": {
  1467. "type": "list<double>",
  1468. "value": [
  1469. 0,
  1470. 0
  1471. ]
  1472. },
  1473. "orientation": {
  1474. "type": "double",
  1475. "value": 0
  1476. },
  1477. "scale": {
  1478. "type": "list<double>",
  1479. "value": [
  1480. 1,
  1481. 1
  1482. ]
  1483. },
  1484. "textContent": {
  1485. "type": "string",
  1486. "value": "3"
  1487. },
  1488. "style": {
  1489. "type": "map<string,string>",
  1490. "value": {
  1491. "stroke": "#6000ff",
  1492. "fill": "#6000ff",
  1493. "font-size": "15px",
  1494. "opacity": "1"
  1495. }
  1496. },
  1497. "mapper": {
  1498. "type": "code",
  1499. "value": "({'textContent':getAttr('__pLabel')})"
  1500. },
  1501. "parser": {
  1502. "type": "code",
  1503. "value": "({'__pLabel':getAttr('textContent')})"
  1504. },
  1505. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  1506. }
  1507. },
  1508. "edges": [
  1509. {
  1510. "src": "34",
  1511. "dest": "37"
  1512. },
  1513. {
  1514. "src": "37",
  1515. "dest": "36"
  1516. }
  1517. ]
  1518. }
  1519. },
  1520. "$asuri": {
  1521. "type": "string",
  1522. "value": "/Formalisms/TrafficLight/TrafficLight.pattern/__pTime/31.instance"
  1523. },
  1524. "$type": "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pTimeIcon"
  1525. },
  1526. "32": {
  1527. "link-style": {
  1528. "type": "map<string,string>",
  1529. "value": {
  1530. "stroke": "#00ff00",
  1531. "stroke-dasharray": "",
  1532. "stroke-opacity": 0.2,
  1533. "stroke-width": 1,
  1534. "arrow-start": "none",
  1535. "arrow-end": "classic-wide-long"
  1536. }
  1537. },
  1538. "typename": {
  1539. "type": "string",
  1540. "value": "PatternContentsLink"
  1541. },
  1542. "position": {
  1543. "type": "list<double>",
  1544. "value": [
  1545. 944.8364999943046,
  1546. 410.1226666585899
  1547. ]
  1548. },
  1549. "orientation": {
  1550. "type": "double",
  1551. "value": 0
  1552. },
  1553. "scale": {
  1554. "type": "list<double>",
  1555. "value": [
  1556. 1,
  1557. 1
  1558. ]
  1559. },
  1560. "mapper": {
  1561. "type": "code",
  1562. "value": ""
  1563. },
  1564. "parser": {
  1565. "type": "code",
  1566. "value": ""
  1567. },
  1568. "$contents": {
  1569. "type": "map<string,*>",
  1570. "value": {
  1571. "nodes": {},
  1572. "edges": []
  1573. }
  1574. },
  1575. "$asuri": {
  1576. "type": "string",
  1577. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/32.instance"
  1578. },
  1579. "$segments": {
  1580. "type": "map<string,list<string>>",
  1581. "value": {
  1582. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon/21.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/32.instance": "M815,226L944.8364999943046,410.1226666585899",
  1583. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/32.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pTimeIcon/31.instance": "M944.7931346659605,410.0611697767763L1074.4996541537778,593.9995095514074"
  1584. }
  1585. },
  1586. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  1587. },
  1588. "34": {
  1589. "typename": {
  1590. "type": "string",
  1591. "value": "__pAbstractInterruptIcon"
  1592. },
  1593. "position": {
  1594. "type": "list<double>",
  1595. "value": [
  1596. 712,
  1597. 427
  1598. ]
  1599. },
  1600. "orientation": {
  1601. "type": "double",
  1602. "value": 0
  1603. },
  1604. "scale": {
  1605. "type": "list<double>",
  1606. "value": [
  1607. 1,
  1608. 1
  1609. ]
  1610. },
  1611. "mapper": {
  1612. "type": "code",
  1613. "value": ""
  1614. },
  1615. "parser": {
  1616. "type": "code",
  1617. "value": ""
  1618. },
  1619. "$contents": {
  1620. "type": "map<string,*>",
  1621. "value": {
  1622. "nodes": {
  1623. "text": {
  1624. "textContent": {
  1625. "type": "string",
  1626. "value": "__pAbstractInterruptIcon"
  1627. },
  1628. "style": {
  1629. "type": "map<string,string>",
  1630. "value": {
  1631. "stroke": "#000000",
  1632. "stroke-dasharray": "",
  1633. "fill": "#000000",
  1634. "fill-opacity": "1",
  1635. "font-size": "13px"
  1636. }
  1637. },
  1638. "mapper": {
  1639. "type": "code",
  1640. "value": ""
  1641. },
  1642. "parser": {
  1643. "type": "code",
  1644. "value": ""
  1645. },
  1646. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1647. "position": {
  1648. "type": "list<double>",
  1649. "value": [
  1650. 10,
  1651. 76
  1652. ]
  1653. },
  1654. "orientation": {
  1655. "type": "double",
  1656. "value": 0
  1657. },
  1658. "scale": {
  1659. "type": "list<double>",
  1660. "value": [
  1661. 1,
  1662. 1
  1663. ]
  1664. }
  1665. },
  1666. "rect": {
  1667. "width": {
  1668. "type": "double",
  1669. "value": 75
  1670. },
  1671. "height": {
  1672. "type": "double",
  1673. "value": 75
  1674. },
  1675. "cornerRadius": {
  1676. "type": "double",
  1677. "value": 15
  1678. },
  1679. "style": {
  1680. "type": "map<string,string>",
  1681. "value": {
  1682. "stroke": "#000000",
  1683. "fill": "#ffffff",
  1684. "fill-opacity": 0.75
  1685. }
  1686. },
  1687. "mapper": {
  1688. "type": "code",
  1689. "value": ""
  1690. },
  1691. "parser": {
  1692. "type": "code",
  1693. "value": ""
  1694. },
  1695. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  1696. "position": {
  1697. "type": "list<double>",
  1698. "value": [
  1699. 0,
  1700. 0
  1701. ]
  1702. },
  1703. "orientation": {
  1704. "type": "double",
  1705. "value": 0
  1706. },
  1707. "scale": {
  1708. "type": "list<double>",
  1709. "value": [
  1710. 1,
  1711. 1
  1712. ]
  1713. }
  1714. },
  1715. "textBelowRect": {
  1716. "distance": {
  1717. "type": "double",
  1718. "value": 10
  1719. },
  1720. "alignment": {
  1721. "type": "ENUM(\"right\",\"left\",\"center\")",
  1722. "value": "center"
  1723. },
  1724. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Below",
  1725. "position": {
  1726. "type": "list<double>",
  1727. "value": [
  1728. 5,
  1729. 38
  1730. ]
  1731. },
  1732. "orientation": {
  1733. "type": "double",
  1734. "value": 0
  1735. },
  1736. "scale": {
  1737. "type": "list<double>",
  1738. "value": [
  1739. 1,
  1740. 1
  1741. ]
  1742. },
  1743. "link-style": {
  1744. "type": "map<string,string>",
  1745. "value": {
  1746. "stroke": "#00ff00",
  1747. "stroke-dasharray": "",
  1748. "stroke-opacity": 1,
  1749. "arrow-start": "none",
  1750. "arrow-end": "classic-wide-long"
  1751. }
  1752. }
  1753. },
  1754. "__pLabelText": {
  1755. "position": {
  1756. "type": "list<double>",
  1757. "value": [
  1758. 0,
  1759. 0
  1760. ]
  1761. },
  1762. "orientation": {
  1763. "type": "double",
  1764. "value": 0
  1765. },
  1766. "scale": {
  1767. "type": "list<double>",
  1768. "value": [
  1769. 1,
  1770. 1
  1771. ]
  1772. },
  1773. "textContent": {
  1774. "type": "string",
  1775. "value": "0"
  1776. },
  1777. "style": {
  1778. "type": "map<string,string>",
  1779. "value": {
  1780. "stroke": "#6000ff",
  1781. "fill": "#6000ff",
  1782. "font-size": "15px",
  1783. "opacity": "1"
  1784. }
  1785. },
  1786. "mapper": {
  1787. "type": "code",
  1788. "value": "({'textContent':getAttr('__pLabel')})"
  1789. },
  1790. "parser": {
  1791. "type": "code",
  1792. "value": "({'__pLabel':getAttr('textContent')})"
  1793. },
  1794. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  1795. }
  1796. },
  1797. "edges": [
  1798. {
  1799. "src": "text",
  1800. "dest": "textBelowRect"
  1801. },
  1802. {
  1803. "src": "textBelowRect",
  1804. "dest": "rect"
  1805. }
  1806. ]
  1807. }
  1808. },
  1809. "$asuri": {
  1810. "type": "string",
  1811. "value": "/Formalisms/TrafficLight/TrafficLight.pattern/__pAbstractInterrupt/34.instance"
  1812. },
  1813. "$type": "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pAbstractInterruptIcon"
  1814. },
  1815. "35": {
  1816. "link-style": {
  1817. "type": "map<string,string>",
  1818. "value": {
  1819. "stroke": "#00ff00",
  1820. "stroke-dasharray": "",
  1821. "stroke-opacity": 0.2,
  1822. "stroke-width": 1,
  1823. "arrow-start": "none",
  1824. "arrow-end": "classic-wide-long"
  1825. }
  1826. },
  1827. "typename": {
  1828. "type": "string",
  1829. "value": "PatternContentsLink"
  1830. },
  1831. "position": {
  1832. "type": "list<double>",
  1833. "value": [
  1834. 622.75,
  1835. 303
  1836. ]
  1837. },
  1838. "orientation": {
  1839. "type": "double",
  1840. "value": 0
  1841. },
  1842. "scale": {
  1843. "type": "list<double>",
  1844. "value": [
  1845. 1,
  1846. 1
  1847. ]
  1848. },
  1849. "mapper": {
  1850. "type": "code",
  1851. "value": ""
  1852. },
  1853. "parser": {
  1854. "type": "code",
  1855. "value": ""
  1856. },
  1857. "$contents": {
  1858. "type": "map<string,*>",
  1859. "value": {
  1860. "nodes": {},
  1861. "edges": []
  1862. }
  1863. },
  1864. "$asuri": {
  1865. "type": "string",
  1866. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/35.instance"
  1867. },
  1868. "$segments": {
  1869. "type": "map<string,list<string>>",
  1870. "value": {
  1871. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/LHSIcon/0.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/35.instance": "M458,224L622.75,303",
  1872. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/35.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pAbstractInterruptIcon/34.instance": "M622.8174828844176,303.03235901589676L787.4993325858356,472.9996799652869"
  1873. }
  1874. },
  1875. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  1876. },
  1877. "36": {
  1878. "link-style": {
  1879. "type": "map<string,string>",
  1880. "value": {
  1881. "stroke": "#000000",
  1882. "stroke-dasharray": "",
  1883. "stroke-opacity": 1,
  1884. "stroke-width": 2
  1885. }
  1886. },
  1887. "arrowHead": {
  1888. "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)",
  1889. "value": "custom"
  1890. },
  1891. "arrowTail": {
  1892. "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)",
  1893. "value": "arrow-black"
  1894. },
  1895. "typename": {
  1896. "type": "string",
  1897. "value": "NextLink"
  1898. },
  1899. "position": {
  1900. "type": "list<double>",
  1901. "value": [
  1902. 656.5,
  1903. 459.5
  1904. ]
  1905. },
  1906. "orientation": {
  1907. "type": "double",
  1908. "value": 0
  1909. },
  1910. "scale": {
  1911. "type": "list<double>",
  1912. "value": [
  1913. 1,
  1914. 1
  1915. ]
  1916. },
  1917. "mapper": {
  1918. "type": "code",
  1919. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1920. },
  1921. "parser": {
  1922. "type": "code",
  1923. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1924. },
  1925. "$contents": {
  1926. "type": "map<string,*>",
  1927. "value": {
  1928. "nodes": {
  1929. "267": {
  1930. "segments": {
  1931. "type": "string",
  1932. "value": "m0,0 l10,4 l-10,4 l3,-4 z"
  1933. },
  1934. "style": {
  1935. "type": "map<string,string>",
  1936. "value": {
  1937. "stroke": "#000000",
  1938. "fill": "#000000",
  1939. "opacity": 1,
  1940. "stroke-width": 1
  1941. }
  1942. },
  1943. "mapper": {
  1944. "type": "code",
  1945. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1946. },
  1947. "parser": {
  1948. "type": "code",
  1949. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1950. },
  1951. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1952. "position": {
  1953. "type": "list<double>",
  1954. "value": [
  1955. "0;56.74704821207581,99.80867951942582%",
  1956. "0;-0.4923636171546377,6.182838554300753%"
  1957. ]
  1958. },
  1959. "orientation": {
  1960. "type": "double",
  1961. "value": "0;3.544766455594902"
  1962. },
  1963. "scale": {
  1964. "type": "list<double>",
  1965. "value": [
  1966. 1,
  1967. 1
  1968. ]
  1969. },
  1970. "$linkDecoratorInfo": {
  1971. "type": "map<string,double>",
  1972. "value": {
  1973. "xratio": 1,
  1974. "yoffset": -4
  1975. }
  1976. }
  1977. },
  1978. "__pLabelText": {
  1979. "position": {
  1980. "type": "list<double>",
  1981. "value": [
  1982. 0,
  1983. 0
  1984. ]
  1985. },
  1986. "orientation": {
  1987. "type": "double",
  1988. "value": 0
  1989. },
  1990. "scale": {
  1991. "type": "list<double>",
  1992. "value": [
  1993. 1,
  1994. 1
  1995. ]
  1996. },
  1997. "textContent": {
  1998. "type": "string",
  1999. "value": "2"
  2000. },
  2001. "style": {
  2002. "type": "map<string,string>",
  2003. "value": {
  2004. "stroke": "#6000ff",
  2005. "fill": "#6000ff",
  2006. "font-size": "15px",
  2007. "opacity": "1"
  2008. }
  2009. },
  2010. "mapper": {
  2011. "type": "code",
  2012. "value": "({'textContent':getAttr('__pLabel')})"
  2013. },
  2014. "parser": {
  2015. "type": "code",
  2016. "value": "({'__pLabel':getAttr('textContent')})"
  2017. },
  2018. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  2019. }
  2020. },
  2021. "edges": []
  2022. }
  2023. },
  2024. "$asuri": {
  2025. "type": "string",
  2026. "value": "/Formalisms/TrafficLight/TrafficLight.pattern/__pNext/36.instance"
  2027. },
  2028. "$segments": {
  2029. "type": "map<string,list<string>>",
  2030. "value": {
  2031. "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pInterruptIcon/12.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pNextLink/36.instance": "M600,456L656.5,459.5",
  2032. "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pNextLink/36.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pAbstractInterruptIcon/34.instance": "M656.5748672371623,459.5046377934525L712.9997346699038,462.9999835636224"
  2033. }
  2034. },
  2035. "$type": "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pNextLink"
  2036. },
  2037. "37": {
  2038. "typename": {
  2039. "type": "string",
  2040. "value": "__pAbstractInterruptIcon"
  2041. },
  2042. "position": {
  2043. "type": "list<double>",
  2044. "value": [
  2045. 1140,
  2046. 427
  2047. ]
  2048. },
  2049. "orientation": {
  2050. "type": "double",
  2051. "value": 0
  2052. },
  2053. "scale": {
  2054. "type": "list<double>",
  2055. "value": [
  2056. 1,
  2057. 1
  2058. ]
  2059. },
  2060. "mapper": {
  2061. "type": "code",
  2062. "value": ""
  2063. },
  2064. "parser": {
  2065. "type": "code",
  2066. "value": ""
  2067. },
  2068. "$contents": {
  2069. "type": "map<string,*>",
  2070. "value": {
  2071. "nodes": {
  2072. "text": {
  2073. "textContent": {
  2074. "type": "string",
  2075. "value": "__pAbstractInterruptIcon"
  2076. },
  2077. "style": {
  2078. "type": "map<string,string>",
  2079. "value": {
  2080. "stroke": "#000000",
  2081. "stroke-dasharray": "",
  2082. "fill": "#000000",
  2083. "fill-opacity": "1",
  2084. "font-size": "13px"
  2085. }
  2086. },
  2087. "mapper": {
  2088. "type": "code",
  2089. "value": ""
  2090. },
  2091. "parser": {
  2092. "type": "code",
  2093. "value": ""
  2094. },
  2095. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2096. "position": {
  2097. "type": "list<double>",
  2098. "value": [
  2099. 10,
  2100. 76
  2101. ]
  2102. },
  2103. "orientation": {
  2104. "type": "double",
  2105. "value": 0
  2106. },
  2107. "scale": {
  2108. "type": "list<double>",
  2109. "value": [
  2110. 1,
  2111. 1
  2112. ]
  2113. }
  2114. },
  2115. "rect": {
  2116. "width": {
  2117. "type": "double",
  2118. "value": 75
  2119. },
  2120. "height": {
  2121. "type": "double",
  2122. "value": 75
  2123. },
  2124. "cornerRadius": {
  2125. "type": "double",
  2126. "value": 15
  2127. },
  2128. "style": {
  2129. "type": "map<string,string>",
  2130. "value": {
  2131. "stroke": "#000000",
  2132. "fill": "#ffffff",
  2133. "fill-opacity": 0.75
  2134. }
  2135. },
  2136. "mapper": {
  2137. "type": "code",
  2138. "value": ""
  2139. },
  2140. "parser": {
  2141. "type": "code",
  2142. "value": ""
  2143. },
  2144. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  2145. "position": {
  2146. "type": "list<double>",
  2147. "value": [
  2148. 0,
  2149. 0
  2150. ]
  2151. },
  2152. "orientation": {
  2153. "type": "double",
  2154. "value": 0
  2155. },
  2156. "scale": {
  2157. "type": "list<double>",
  2158. "value": [
  2159. 1,
  2160. 1
  2161. ]
  2162. }
  2163. },
  2164. "textBelowRect": {
  2165. "distance": {
  2166. "type": "double",
  2167. "value": 10
  2168. },
  2169. "alignment": {
  2170. "type": "ENUM(\"right\",\"left\",\"center\")",
  2171. "value": "center"
  2172. },
  2173. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Below",
  2174. "position": {
  2175. "type": "list<double>",
  2176. "value": [
  2177. 5,
  2178. 38
  2179. ]
  2180. },
  2181. "orientation": {
  2182. "type": "double",
  2183. "value": 0
  2184. },
  2185. "scale": {
  2186. "type": "list<double>",
  2187. "value": [
  2188. 1,
  2189. 1
  2190. ]
  2191. },
  2192. "link-style": {
  2193. "type": "map<string,string>",
  2194. "value": {
  2195. "stroke": "#00ff00",
  2196. "stroke-dasharray": "",
  2197. "stroke-opacity": 1,
  2198. "arrow-start": "none",
  2199. "arrow-end": "classic-wide-long"
  2200. }
  2201. }
  2202. },
  2203. "__pLabelText": {
  2204. "position": {
  2205. "type": "list<double>",
  2206. "value": [
  2207. 0,
  2208. 0
  2209. ]
  2210. },
  2211. "orientation": {
  2212. "type": "double",
  2213. "value": 0
  2214. },
  2215. "scale": {
  2216. "type": "list<double>",
  2217. "value": [
  2218. 1,
  2219. 1
  2220. ]
  2221. },
  2222. "textContent": {
  2223. "type": "string",
  2224. "value": "0"
  2225. },
  2226. "style": {
  2227. "type": "map<string,string>",
  2228. "value": {
  2229. "stroke": "#6000ff",
  2230. "fill": "#6000ff",
  2231. "font-size": "15px",
  2232. "opacity": "1"
  2233. }
  2234. },
  2235. "mapper": {
  2236. "type": "code",
  2237. "value": "({'textContent':getAttr('__pLabel')})"
  2238. },
  2239. "parser": {
  2240. "type": "code",
  2241. "value": "({'__pLabel':getAttr('textContent')})"
  2242. },
  2243. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  2244. }
  2245. },
  2246. "edges": [
  2247. {
  2248. "src": "text",
  2249. "dest": "textBelowRect"
  2250. },
  2251. {
  2252. "src": "textBelowRect",
  2253. "dest": "rect"
  2254. }
  2255. ]
  2256. }
  2257. },
  2258. "$asuri": {
  2259. "type": "string",
  2260. "value": "/Formalisms/TrafficLight/TrafficLight.pattern/__pAbstractInterrupt/37.instance"
  2261. },
  2262. "$type": "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pAbstractInterruptIcon"
  2263. },
  2264. "38": {
  2265. "link-style": {
  2266. "type": "map<string,string>",
  2267. "value": {
  2268. "stroke": "#00ff00",
  2269. "stroke-dasharray": "",
  2270. "stroke-opacity": 0.2,
  2271. "stroke-width": 1,
  2272. "arrow-start": "none",
  2273. "arrow-end": "classic-wide-long"
  2274. }
  2275. },
  2276. "typename": {
  2277. "type": "string",
  2278. "value": "PatternContentsLink"
  2279. },
  2280. "position": {
  2281. "type": "list<double>",
  2282. "value": [
  2283. 1008.3796979779224,
  2284. 338.5755033506663
  2285. ]
  2286. },
  2287. "orientation": {
  2288. "type": "double",
  2289. "value": 0
  2290. },
  2291. "scale": {
  2292. "type": "list<double>",
  2293. "value": [
  2294. 1,
  2295. 1
  2296. ]
  2297. },
  2298. "mapper": {
  2299. "type": "code",
  2300. "value": ""
  2301. },
  2302. "parser": {
  2303. "type": "code",
  2304. "value": ""
  2305. },
  2306. "$contents": {
  2307. "type": "map<string,*>",
  2308. "value": {
  2309. "nodes": {},
  2310. "edges": []
  2311. }
  2312. },
  2313. "$asuri": {
  2314. "type": "string",
  2315. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/38.instance"
  2316. },
  2317. "$segments": {
  2318. "type": "map<string,list<string>>",
  2319. "value": {
  2320. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon/21.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/38.instance": "M815,226L1008.3796979779224,338.5755033506663",
  2321. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/38.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pAbstractInterruptIcon/37.instance": "M1008.3146749009582,338.5376503304414L1215.4994779599083,472.99969609567745"
  2322. }
  2323. },
  2324. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  2325. },
  2326. "39": {
  2327. "link-style": {
  2328. "type": "map<string,string>",
  2329. "value": {
  2330. "stroke": "#000000",
  2331. "stroke-dasharray": "",
  2332. "stroke-opacity": 1,
  2333. "stroke-width": 2
  2334. }
  2335. },
  2336. "arrowHead": {
  2337. "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)",
  2338. "value": "custom"
  2339. },
  2340. "arrowTail": {
  2341. "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)",
  2342. "value": "arrow-black"
  2343. },
  2344. "typename": {
  2345. "type": "string",
  2346. "value": "NextLink"
  2347. },
  2348. "position": {
  2349. "type": "list<double>",
  2350. "value": [
  2351. 1093.5,
  2352. 465
  2353. ]
  2354. },
  2355. "orientation": {
  2356. "type": "double",
  2357. "value": 0
  2358. },
  2359. "scale": {
  2360. "type": "list<double>",
  2361. "value": [
  2362. 1,
  2363. 1
  2364. ]
  2365. },
  2366. "mapper": {
  2367. "type": "code",
  2368. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2369. },
  2370. "parser": {
  2371. "type": "code",
  2372. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2373. },
  2374. "$contents": {
  2375. "type": "map<string,*>",
  2376. "value": {
  2377. "nodes": {
  2378. "267": {
  2379. "segments": {
  2380. "type": "string",
  2381. "value": "m0,0 l10,4 l-10,4 l3,-4 z"
  2382. },
  2383. "style": {
  2384. "type": "map<string,string>",
  2385. "value": {
  2386. "stroke": "#000000",
  2387. "fill": "#000000",
  2388. "opacity": 1,
  2389. "stroke-width": 1
  2390. }
  2391. },
  2392. "mapper": {
  2393. "type": "code",
  2394. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2395. },
  2396. "parser": {
  2397. "type": "code",
  2398. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2399. },
  2400. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  2401. "position": {
  2402. "type": "list<double>",
  2403. "value": [
  2404. "0;52.49971446712016,100%",
  2405. "0;-4.000000000000057,-1.0827376765336175e-13%"
  2406. ]
  2407. },
  2408. "orientation": {
  2409. "type": "double",
  2410. "value": "0;-6.203629918517719e-14"
  2411. },
  2412. "scale": {
  2413. "type": "list<double>",
  2414. "value": [
  2415. 1,
  2416. 1
  2417. ]
  2418. },
  2419. "$linkDecoratorInfo": {
  2420. "type": "map<string,double>",
  2421. "value": {
  2422. "xratio": 1,
  2423. "yoffset": -4
  2424. }
  2425. }
  2426. },
  2427. "__pLabelText": {
  2428. "position": {
  2429. "type": "list<double>",
  2430. "value": [
  2431. 0,
  2432. 0
  2433. ]
  2434. },
  2435. "orientation": {
  2436. "type": "double",
  2437. "value": 0
  2438. },
  2439. "scale": {
  2440. "type": "list<double>",
  2441. "value": [
  2442. 1,
  2443. 1
  2444. ]
  2445. },
  2446. "textContent": {
  2447. "type": "string",
  2448. "value": "2"
  2449. },
  2450. "style": {
  2451. "type": "map<string,string>",
  2452. "value": {
  2453. "stroke": "#6000ff",
  2454. "fill": "#6000ff",
  2455. "font-size": "15px",
  2456. "opacity": "1"
  2457. }
  2458. },
  2459. "mapper": {
  2460. "type": "code",
  2461. "value": "({'textContent':getAttr('__pLabel')})"
  2462. },
  2463. "parser": {
  2464. "type": "code",
  2465. "value": "({'__pLabel':getAttr('textContent')})"
  2466. },
  2467. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  2468. }
  2469. },
  2470. "edges": []
  2471. }
  2472. },
  2473. "$asuri": {
  2474. "type": "string",
  2475. "value": "/Formalisms/TrafficLight/TrafficLight.pattern/__pNext/39.instance"
  2476. },
  2477. "$segments": {
  2478. "type": "map<string,list<string>>",
  2479. "value": {
  2480. "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pInterruptIcon/24.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pNextLink/39.instance": "M1041,465L1093.5,465",
  2481. "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pNextLink/39.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pAbstractInterruptIcon/37.instance": "M1093.5762980530494,464.99999999999994L1145.9997144671202,464.99999999999994"
  2482. }
  2483. },
  2484. "$type": "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pNextLink"
  2485. }
  2486. },
  2487. "edges": [],
  2488. "metamodels": [
  2489. "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern",
  2490. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons"
  2491. ]
  2492. },
  2493. "asm": {
  2494. "nodes": {
  2495. "0": {
  2496. "Condition": {
  2497. "type": "code",
  2498. "value": "clock = getAttr('clock', '3')\neventTime = getAttr('at', '1')\nresult = (clock >= eventTime)"
  2499. },
  2500. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/LHS"
  2501. },
  2502. "12": {
  2503. "__pLabel": {
  2504. "type": "string",
  2505. "value": "1"
  2506. },
  2507. "__pPivotIn": {
  2508. "type": "string",
  2509. "value": ""
  2510. },
  2511. "__pPivotOut": {
  2512. "type": "string",
  2513. "value": ""
  2514. },
  2515. "__pMatchSubtypes": {
  2516. "type": "boolean",
  2517. "value": false
  2518. },
  2519. "at": {
  2520. "type": "code",
  2521. "value": "result = True"
  2522. },
  2523. "event": {
  2524. "type": "code",
  2525. "value": "result = True"
  2526. },
  2527. "current": {
  2528. "type": "code",
  2529. "value": "result = getAttr()"
  2530. },
  2531. "$type": "/Formalisms/TrafficLight/TrafficLight.pattern/__pInterrupt"
  2532. },
  2533. "21": {
  2534. "Action": {
  2535. "type": "code",
  2536. "value": ""
  2537. },
  2538. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/RHS"
  2539. },
  2540. "22": {
  2541. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  2542. },
  2543. "24": {
  2544. "__pLabel": {
  2545. "type": "string",
  2546. "value": "1"
  2547. },
  2548. "__pPivotIn": {
  2549. "type": "string",
  2550. "value": ""
  2551. },
  2552. "__pPivotOut": {
  2553. "type": "string",
  2554. "value": ""
  2555. },
  2556. "__pMatchSubtypes": {
  2557. "type": "boolean"
  2558. },
  2559. "at": {
  2560. "type": "code",
  2561. "value": "result = getAttr()"
  2562. },
  2563. "event": {
  2564. "type": "code",
  2565. "value": "result = getAttr()"
  2566. },
  2567. "current": {
  2568. "type": "code",
  2569. "value": "result = False"
  2570. },
  2571. "$type": "/Formalisms/TrafficLight/TrafficLight.pattern/__pInterrupt"
  2572. },
  2573. "27": {
  2574. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  2575. },
  2576. "29": {
  2577. "__pLabel": {
  2578. "type": "string",
  2579. "value": "3"
  2580. },
  2581. "__pPivotIn": {
  2582. "type": "string",
  2583. "value": ""
  2584. },
  2585. "__pPivotOut": {
  2586. "type": "string",
  2587. "value": ""
  2588. },
  2589. "__pMatchSubtypes": {
  2590. "type": "boolean",
  2591. "value": false
  2592. },
  2593. "clock": {
  2594. "type": "code",
  2595. "value": "result = True"
  2596. },
  2597. "$type": "/Formalisms/TrafficLight/TrafficLight.pattern/__pTime"
  2598. },
  2599. "30": {
  2600. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  2601. },
  2602. "31": {
  2603. "__pLabel": {
  2604. "type": "string",
  2605. "value": "3"
  2606. },
  2607. "__pPivotIn": {
  2608. "type": "string",
  2609. "value": ""
  2610. },
  2611. "__pPivotOut": {
  2612. "type": "string",
  2613. "value": ""
  2614. },
  2615. "__pMatchSubtypes": {
  2616. "type": "boolean"
  2617. },
  2618. "clock": {
  2619. "type": "code",
  2620. "value": "result = getAttr()"
  2621. },
  2622. "$type": "/Formalisms/TrafficLight/TrafficLight.pattern/__pTime"
  2623. },
  2624. "32": {
  2625. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  2626. },
  2627. "34": {
  2628. "__pLabel": {
  2629. "type": "string",
  2630. "value": "0"
  2631. },
  2632. "__pPivotIn": {
  2633. "type": "string",
  2634. "value": ""
  2635. },
  2636. "__pPivotOut": {
  2637. "type": "string",
  2638. "value": ""
  2639. },
  2640. "__pMatchSubtypes": {
  2641. "type": "boolean",
  2642. "value": true
  2643. },
  2644. "current": {
  2645. "type": "code",
  2646. "value": "result = True"
  2647. },
  2648. "$type": "/Formalisms/TrafficLight/TrafficLight.pattern/__pAbstractInterrupt"
  2649. },
  2650. "35": {
  2651. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  2652. },
  2653. "36": {
  2654. "__pLabel": {
  2655. "type": "string",
  2656. "value": "2"
  2657. },
  2658. "__pPivotIn": {
  2659. "type": "string",
  2660. "value": ""
  2661. },
  2662. "__pPivotOut": {
  2663. "type": "string",
  2664. "value": ""
  2665. },
  2666. "__pMatchSubtypes": {
  2667. "type": "boolean",
  2668. "value": false
  2669. },
  2670. "$type": "/Formalisms/TrafficLight/TrafficLight.pattern/__pNext"
  2671. },
  2672. "37": {
  2673. "__pLabel": {
  2674. "type": "string",
  2675. "value": "0"
  2676. },
  2677. "__pPivotIn": {
  2678. "type": "string",
  2679. "value": ""
  2680. },
  2681. "__pPivotOut": {
  2682. "type": "string",
  2683. "value": ""
  2684. },
  2685. "__pMatchSubtypes": {
  2686. "type": "boolean"
  2687. },
  2688. "current": {
  2689. "type": "code",
  2690. "value": "result = True"
  2691. },
  2692. "$type": "/Formalisms/TrafficLight/TrafficLight.pattern/__pAbstractInterrupt"
  2693. },
  2694. "38": {
  2695. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  2696. },
  2697. "39": {
  2698. "__pLabel": {
  2699. "type": "string",
  2700. "value": "2"
  2701. },
  2702. "__pPivotIn": {
  2703. "type": "string",
  2704. "value": ""
  2705. },
  2706. "__pPivotOut": {
  2707. "type": "string",
  2708. "value": ""
  2709. },
  2710. "__pMatchSubtypes": {
  2711. "type": "boolean",
  2712. "value": false
  2713. },
  2714. "$type": "/Formalisms/TrafficLight/TrafficLight.pattern/__pNext"
  2715. }
  2716. },
  2717. "edges": [
  2718. {
  2719. "src": "0",
  2720. "dest": "22"
  2721. },
  2722. {
  2723. "src": "22",
  2724. "dest": "12"
  2725. },
  2726. {
  2727. "src": "21",
  2728. "dest": "27"
  2729. },
  2730. {
  2731. "src": "27",
  2732. "dest": "24"
  2733. },
  2734. {
  2735. "src": "0",
  2736. "dest": "30"
  2737. },
  2738. {
  2739. "src": "30",
  2740. "dest": "29"
  2741. },
  2742. {
  2743. "src": "21",
  2744. "dest": "32"
  2745. },
  2746. {
  2747. "src": "32",
  2748. "dest": "31"
  2749. },
  2750. {
  2751. "src": "0",
  2752. "dest": "35"
  2753. },
  2754. {
  2755. "src": "35",
  2756. "dest": "34"
  2757. },
  2758. {
  2759. "src": "12",
  2760. "dest": "36"
  2761. },
  2762. {
  2763. "src": "36",
  2764. "dest": "34"
  2765. },
  2766. {
  2767. "src": "21",
  2768. "dest": "38"
  2769. },
  2770. {
  2771. "src": "38",
  2772. "dest": "37"
  2773. },
  2774. {
  2775. "src": "24",
  2776. "dest": "39"
  2777. },
  2778. {
  2779. "src": "39",
  2780. "dest": "37"
  2781. }
  2782. ],
  2783. "metamodels": [
  2784. "/Formalisms/TrafficLight/TrafficLight.pattern",
  2785. "/Formalisms/__Transformations__/TransformationRule/TransformationRule"
  2786. ]
  2787. }
  2788. }