R_SetCurrent.model 67 KB

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