R_TimedTransition.model 82 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404
  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. "7": {
  95. "typename": {
  96. "type": "string",
  97. "value": "RHSIcon"
  98. },
  99. "position": {
  100. "type": "list<double>",
  101. "value": [
  102. 819,
  103. 225
  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. "7": {
  130. "segments": {
  131. "type": "string",
  132. "value": "m0,0 l450,0 l0,500 l-450,0 l100,-250z"
  133. },
  134. "style": {
  135. "type": "map<string,string>",
  136. "value": {
  137. "stroke": "#000000",
  138. "stroke-dasharray": "",
  139. "fill": "#ffffff",
  140. "fill-opacity": 0.75,
  141. "stroke-width": 2,
  142. "arrow-start": "none",
  143. "arrow-end": "none"
  144. }
  145. },
  146. "mapper": {
  147. "type": "code",
  148. "value": ""
  149. },
  150. "parser": {
  151. "type": "code",
  152. "value": ""
  153. },
  154. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  155. "position": {
  156. "type": "list<double>",
  157. "value": [
  158. 0,
  159. 0
  160. ]
  161. },
  162. "orientation": {
  163. "type": "double",
  164. "value": 0
  165. },
  166. "scale": {
  167. "type": "list<double>",
  168. "value": [
  169. 1,
  170. 1
  171. ]
  172. }
  173. }
  174. },
  175. "edges": []
  176. }
  177. },
  178. "$asuri": {
  179. "type": "string",
  180. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/RHS/7.instance"
  181. },
  182. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon"
  183. },
  184. "14": {
  185. "typename": {
  186. "type": "string",
  187. "value": "TimeIcon"
  188. },
  189. "position": {
  190. "type": "list<double>",
  191. "value": [
  192. 510,
  193. 623
  194. ]
  195. },
  196. "orientation": {
  197. "type": "double",
  198. "value": 0
  199. },
  200. "scale": {
  201. "type": "list<double>",
  202. "value": [
  203. 1,
  204. 1
  205. ]
  206. },
  207. "mapper": {
  208. "type": "code",
  209. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  210. },
  211. "parser": {
  212. "type": "code",
  213. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  214. },
  215. "$contents": {
  216. "type": "map<string,*>",
  217. "value": {
  218. "nodes": {
  219. "34": {
  220. "rx": {
  221. "type": "double",
  222. "value": 50
  223. },
  224. "ry": {
  225. "type": "double",
  226. "value": 30
  227. },
  228. "style": {
  229. "type": "map<string,string>",
  230. "value": {
  231. "stroke": "#000000",
  232. "stroke-dasharray": "",
  233. "fill": "#9999ff",
  234. "fill-opacity": 0.75,
  235. "font-size": "20px",
  236. "stroke-width": 1,
  237. "arrow-start": "none",
  238. "arrow-end": "none"
  239. }
  240. },
  241. "mapper": {
  242. "type": "code",
  243. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  244. },
  245. "parser": {
  246. "type": "code",
  247. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  248. },
  249. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Ellipse",
  250. "position": {
  251. "type": "list<double>",
  252. "value": [
  253. 7,
  254. 26
  255. ]
  256. },
  257. "orientation": {
  258. "type": "double",
  259. "value": 0
  260. },
  261. "scale": {
  262. "type": "list<double>",
  263. "value": [
  264. 1,
  265. 1
  266. ]
  267. }
  268. },
  269. "36": {
  270. "textContent": {
  271. "type": "string",
  272. "value": "T..."
  273. },
  274. "style": {
  275. "type": "map<string,string>",
  276. "value": {
  277. "stroke": "#000000",
  278. "stroke-dasharray": "",
  279. "fill": "#000000",
  280. "fill-opacity": 1,
  281. "font-size": "20px",
  282. "stroke-width": 0,
  283. "arrow-start": "none",
  284. "arrow-end": "none"
  285. }
  286. },
  287. "mapper": {
  288. "type": "code",
  289. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  290. },
  291. "parser": {
  292. "type": "code",
  293. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  294. },
  295. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  296. "position": {
  297. "type": "list<double>",
  298. "value": [
  299. 29,
  300. 44
  301. ]
  302. },
  303. "orientation": {
  304. "type": "double",
  305. "value": 0
  306. },
  307. "scale": {
  308. "type": "list<double>",
  309. "value": [
  310. 1,
  311. 1
  312. ]
  313. }
  314. },
  315. "37": {
  316. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  317. "position": {
  318. "type": "list<double>",
  319. "value": [
  320. 25.46270269242143,
  321. 40.75
  322. ]
  323. },
  324. "orientation": {
  325. "type": "double",
  326. "value": 0
  327. },
  328. "scale": {
  329. "type": "list<double>",
  330. "value": [
  331. 1,
  332. 1
  333. ]
  334. },
  335. "link-style": {
  336. "type": "map<string,string>",
  337. "value": {
  338. "stroke": "#00ffff",
  339. "stroke-dasharray": "",
  340. "stroke-opacity": 0.1,
  341. "stroke-width": 1
  342. }
  343. }
  344. },
  345. "38": {
  346. "textContent": {
  347. "type": "string",
  348. "value": "Time"
  349. },
  350. "style": {
  351. "type": "map<string,string>",
  352. "value": {
  353. "stroke": "#000000",
  354. "stroke-dasharray": "",
  355. "fill": "#ffffff",
  356. "fill-opacity": 0.75,
  357. "font-size": "20px",
  358. "stroke-width": 1,
  359. "arrow-start": "none",
  360. "arrow-end": "none"
  361. }
  362. },
  363. "mapper": {
  364. "type": "code",
  365. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  366. },
  367. "parser": {
  368. "type": "code",
  369. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  370. },
  371. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  372. "position": {
  373. "type": "list<double>",
  374. "value": [
  375. 33,
  376. 3
  377. ]
  378. },
  379. "orientation": {
  380. "type": "double",
  381. "value": 0
  382. },
  383. "scale": {
  384. "type": "list<double>",
  385. "value": [
  386. 1,
  387. 1
  388. ]
  389. }
  390. },
  391. "__pLabelText": {
  392. "position": {
  393. "type": "list<double>",
  394. "value": [
  395. 0,
  396. 0
  397. ]
  398. },
  399. "orientation": {
  400. "type": "double",
  401. "value": 0
  402. },
  403. "scale": {
  404. "type": "list<double>",
  405. "value": [
  406. 1,
  407. 1
  408. ]
  409. },
  410. "textContent": {
  411. "type": "string",
  412. "value": "3"
  413. },
  414. "style": {
  415. "type": "map<string,string>",
  416. "value": {
  417. "stroke": "#6000ff",
  418. "fill": "#6000ff",
  419. "font-size": "15px",
  420. "opacity": "1"
  421. }
  422. },
  423. "mapper": {
  424. "type": "code",
  425. "value": "({'textContent':getAttr('__pLabel')})"
  426. },
  427. "parser": {
  428. "type": "code",
  429. "value": "({'__pLabel':getAttr('textContent')})"
  430. },
  431. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  432. }
  433. },
  434. "edges": [
  435. {
  436. "src": "34",
  437. "dest": "37"
  438. },
  439. {
  440. "src": "37",
  441. "dest": "36"
  442. }
  443. ]
  444. }
  445. },
  446. "$asuri": {
  447. "type": "string",
  448. "value": "/Formalisms/TrafficLight/TrafficLight.pattern/__pTime/14.instance"
  449. },
  450. "$type": "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pTimeIcon"
  451. },
  452. "15": {
  453. "link-style": {
  454. "type": "map<string,string>",
  455. "value": {
  456. "stroke": "#00ff00",
  457. "stroke-dasharray": "",
  458. "stroke-opacity": 0.2,
  459. "stroke-width": 1,
  460. "arrow-start": "none",
  461. "arrow-end": "classic-wide-long"
  462. }
  463. },
  464. "typename": {
  465. "type": "string",
  466. "value": "PatternContentsLink"
  467. },
  468. "position": {
  469. "type": "list<double>",
  470. "value": [
  471. 523.25,
  472. 447
  473. ]
  474. },
  475. "orientation": {
  476. "type": "double",
  477. "value": 0
  478. },
  479. "scale": {
  480. "type": "list<double>",
  481. "value": [
  482. 1,
  483. 1
  484. ]
  485. },
  486. "mapper": {
  487. "type": "code",
  488. "value": ""
  489. },
  490. "parser": {
  491. "type": "code",
  492. "value": ""
  493. },
  494. "$contents": {
  495. "type": "map<string,*>",
  496. "value": {
  497. "nodes": {},
  498. "edges": []
  499. }
  500. },
  501. "$asuri": {
  502. "type": "string",
  503. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/15.instance"
  504. },
  505. "$segments": {
  506. "type": "map<string,list<string>>",
  507. "value": {
  508. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/LHSIcon/0.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/15.instance": "M458,224L523.25,447",
  509. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/15.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pTimeIcon/14.instance": "M523.2710391968742,447.071904075141L563.4998364121373,665.9994409181089"
  510. }
  511. },
  512. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  513. },
  514. "18": {
  515. "typename": {
  516. "type": "string",
  517. "value": "TimeIcon"
  518. },
  519. "position": {
  520. "type": "list<double>",
  521. "value": [
  522. 945,
  523. 622
  524. ]
  525. },
  526. "orientation": {
  527. "type": "double",
  528. "value": 0
  529. },
  530. "scale": {
  531. "type": "list<double>",
  532. "value": [
  533. 1,
  534. 1
  535. ]
  536. },
  537. "mapper": {
  538. "type": "code",
  539. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  540. },
  541. "parser": {
  542. "type": "code",
  543. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  544. },
  545. "$contents": {
  546. "type": "map<string,*>",
  547. "value": {
  548. "nodes": {
  549. "34": {
  550. "rx": {
  551. "type": "double",
  552. "value": 50
  553. },
  554. "ry": {
  555. "type": "double",
  556. "value": 30
  557. },
  558. "style": {
  559. "type": "map<string,string>",
  560. "value": {
  561. "stroke": "#000000",
  562. "stroke-dasharray": "",
  563. "fill": "#9999ff",
  564. "fill-opacity": 0.75,
  565. "font-size": "20px",
  566. "stroke-width": 1,
  567. "arrow-start": "none",
  568. "arrow-end": "none"
  569. }
  570. },
  571. "mapper": {
  572. "type": "code",
  573. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  574. },
  575. "parser": {
  576. "type": "code",
  577. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  578. },
  579. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Ellipse",
  580. "position": {
  581. "type": "list<double>",
  582. "value": [
  583. 7,
  584. 26
  585. ]
  586. },
  587. "orientation": {
  588. "type": "double",
  589. "value": 0
  590. },
  591. "scale": {
  592. "type": "list<double>",
  593. "value": [
  594. 1,
  595. 1
  596. ]
  597. }
  598. },
  599. "36": {
  600. "textContent": {
  601. "type": "string",
  602. "value": "T..."
  603. },
  604. "style": {
  605. "type": "map<string,string>",
  606. "value": {
  607. "stroke": "#000000",
  608. "stroke-dasharray": "",
  609. "fill": "#000000",
  610. "fill-opacity": 1,
  611. "font-size": "20px",
  612. "stroke-width": 0,
  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/Text",
  626. "position": {
  627. "type": "list<double>",
  628. "value": [
  629. 29,
  630. 44
  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. "37": {
  646. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  647. "position": {
  648. "type": "list<double>",
  649. "value": [
  650. 25.46270269242143,
  651. 40.75
  652. ]
  653. },
  654. "orientation": {
  655. "type": "double",
  656. "value": 0
  657. },
  658. "scale": {
  659. "type": "list<double>",
  660. "value": [
  661. 1,
  662. 1
  663. ]
  664. },
  665. "link-style": {
  666. "type": "map<string,string>",
  667. "value": {
  668. "stroke": "#00ffff",
  669. "stroke-dasharray": "",
  670. "stroke-opacity": 0.1,
  671. "stroke-width": 1
  672. }
  673. }
  674. },
  675. "38": {
  676. "textContent": {
  677. "type": "string",
  678. "value": "Time"
  679. },
  680. "style": {
  681. "type": "map<string,string>",
  682. "value": {
  683. "stroke": "#000000",
  684. "stroke-dasharray": "",
  685. "fill": "#ffffff",
  686. "fill-opacity": 0.75,
  687. "font-size": "20px",
  688. "stroke-width": 1,
  689. "arrow-start": "none",
  690. "arrow-end": "none"
  691. }
  692. },
  693. "mapper": {
  694. "type": "code",
  695. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  696. },
  697. "parser": {
  698. "type": "code",
  699. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  700. },
  701. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  702. "position": {
  703. "type": "list<double>",
  704. "value": [
  705. 33,
  706. 3
  707. ]
  708. },
  709. "orientation": {
  710. "type": "double",
  711. "value": 0
  712. },
  713. "scale": {
  714. "type": "list<double>",
  715. "value": [
  716. 1,
  717. 1
  718. ]
  719. }
  720. },
  721. "__pLabelText": {
  722. "position": {
  723. "type": "list<double>",
  724. "value": [
  725. 0,
  726. 0
  727. ]
  728. },
  729. "orientation": {
  730. "type": "double",
  731. "value": 0
  732. },
  733. "scale": {
  734. "type": "list<double>",
  735. "value": [
  736. 1,
  737. 1
  738. ]
  739. },
  740. "textContent": {
  741. "type": "string",
  742. "value": "3"
  743. },
  744. "style": {
  745. "type": "map<string,string>",
  746. "value": {
  747. "stroke": "#6000ff",
  748. "fill": "#6000ff",
  749. "font-size": "15px",
  750. "opacity": "1"
  751. }
  752. },
  753. "mapper": {
  754. "type": "code",
  755. "value": "({'textContent':getAttr('__pLabel')})"
  756. },
  757. "parser": {
  758. "type": "code",
  759. "value": "({'__pLabel':getAttr('textContent')})"
  760. },
  761. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  762. }
  763. },
  764. "edges": [
  765. {
  766. "src": "34",
  767. "dest": "37"
  768. },
  769. {
  770. "src": "37",
  771. "dest": "36"
  772. }
  773. ]
  774. }
  775. },
  776. "$asuri": {
  777. "type": "string",
  778. "value": "/Formalisms/TrafficLight/TrafficLight.pattern/__pTime/18.instance"
  779. },
  780. "$type": "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pTimeIcon"
  781. },
  782. "20": {
  783. "link-style": {
  784. "type": "map<string,string>",
  785. "value": {
  786. "stroke": "#00ff00",
  787. "stroke-dasharray": "",
  788. "stroke-opacity": 0.2,
  789. "stroke-width": 1,
  790. "arrow-start": "none",
  791. "arrow-end": "classic-wide-long"
  792. }
  793. },
  794. "typename": {
  795. "type": "string",
  796. "value": "PatternContentsLink"
  797. },
  798. "position": {
  799. "type": "list<double>",
  800. "value": [
  801. 908.75,
  802. 445
  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. "mapper": {
  817. "type": "code",
  818. "value": ""
  819. },
  820. "parser": {
  821. "type": "code",
  822. "value": ""
  823. },
  824. "$contents": {
  825. "type": "map<string,*>",
  826. "value": {
  827. "nodes": {},
  828. "edges": []
  829. }
  830. },
  831. "$asuri": {
  832. "type": "string",
  833. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/20.instance"
  834. },
  835. "$segments": {
  836. "type": "map<string,list<string>>",
  837. "value": {
  838. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon/7.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/20.instance": "M819,225L908.75,445",
  839. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/20.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pTimeIcon/18.instance": "M908.7782705037396,445.06929817072654L998.4997852871195,664.9994736843039"
  840. }
  841. },
  842. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  843. },
  844. "29": {
  845. "typename": {
  846. "type": "string",
  847. "value": "__pAbstractInterruptIcon"
  848. },
  849. "position": {
  850. "type": "list<double>",
  851. "value": [
  852. 656,
  853. 623
  854. ]
  855. },
  856. "orientation": {
  857. "type": "double",
  858. "value": 0
  859. },
  860. "scale": {
  861. "type": "list<double>",
  862. "value": [
  863. 1,
  864. 1
  865. ]
  866. },
  867. "mapper": {
  868. "type": "code",
  869. "value": ""
  870. },
  871. "parser": {
  872. "type": "code",
  873. "value": ""
  874. },
  875. "$contents": {
  876. "type": "map<string,*>",
  877. "value": {
  878. "nodes": {
  879. "text": {
  880. "textContent": {
  881. "type": "string",
  882. "value": "__pAbstractInterruptIcon"
  883. },
  884. "style": {
  885. "type": "map<string,string>",
  886. "value": {
  887. "stroke": "#000000",
  888. "stroke-dasharray": "",
  889. "fill": "#000000",
  890. "fill-opacity": "1",
  891. "font-size": "13px"
  892. }
  893. },
  894. "mapper": {
  895. "type": "code",
  896. "value": ""
  897. },
  898. "parser": {
  899. "type": "code",
  900. "value": ""
  901. },
  902. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  903. "position": {
  904. "type": "list<double>",
  905. "value": [
  906. 10,
  907. 76
  908. ]
  909. },
  910. "orientation": {
  911. "type": "double",
  912. "value": 0
  913. },
  914. "scale": {
  915. "type": "list<double>",
  916. "value": [
  917. 1,
  918. 1
  919. ]
  920. }
  921. },
  922. "rect": {
  923. "width": {
  924. "type": "double",
  925. "value": 75
  926. },
  927. "height": {
  928. "type": "double",
  929. "value": 75
  930. },
  931. "cornerRadius": {
  932. "type": "double",
  933. "value": 15
  934. },
  935. "style": {
  936. "type": "map<string,string>",
  937. "value": {
  938. "stroke": "#000000",
  939. "fill": "#ffffff",
  940. "fill-opacity": 0.75
  941. }
  942. },
  943. "mapper": {
  944. "type": "code",
  945. "value": ""
  946. },
  947. "parser": {
  948. "type": "code",
  949. "value": ""
  950. },
  951. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  952. "position": {
  953. "type": "list<double>",
  954. "value": [
  955. 0,
  956. 0
  957. ]
  958. },
  959. "orientation": {
  960. "type": "double",
  961. "value": 0
  962. },
  963. "scale": {
  964. "type": "list<double>",
  965. "value": [
  966. 1,
  967. 1
  968. ]
  969. }
  970. },
  971. "textBelowRect": {
  972. "distance": {
  973. "type": "double",
  974. "value": 10
  975. },
  976. "alignment": {
  977. "type": "ENUM(\"right\",\"left\",\"center\")",
  978. "value": "center"
  979. },
  980. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Below",
  981. "position": {
  982. "type": "list<double>",
  983. "value": [
  984. 5,
  985. 38
  986. ]
  987. },
  988. "orientation": {
  989. "type": "double",
  990. "value": 0
  991. },
  992. "scale": {
  993. "type": "list<double>",
  994. "value": [
  995. 1,
  996. 1
  997. ]
  998. },
  999. "link-style": {
  1000. "type": "map<string,string>",
  1001. "value": {
  1002. "stroke": "#00ff00",
  1003. "stroke-dasharray": "",
  1004. "stroke-opacity": 1,
  1005. "arrow-start": "none",
  1006. "arrow-end": "classic-wide-long"
  1007. }
  1008. }
  1009. },
  1010. "__pLabelText": {
  1011. "position": {
  1012. "type": "list<double>",
  1013. "value": [
  1014. 0,
  1015. 0
  1016. ]
  1017. },
  1018. "orientation": {
  1019. "type": "double",
  1020. "value": 0
  1021. },
  1022. "scale": {
  1023. "type": "list<double>",
  1024. "value": [
  1025. 1,
  1026. 1
  1027. ]
  1028. },
  1029. "textContent": {
  1030. "type": "string",
  1031. "value": "4"
  1032. },
  1033. "style": {
  1034. "type": "map<string,string>",
  1035. "value": {
  1036. "stroke": "#6000ff",
  1037. "fill": "#6000ff",
  1038. "font-size": "15px",
  1039. "opacity": "1"
  1040. }
  1041. },
  1042. "mapper": {
  1043. "type": "code",
  1044. "value": "({'textContent':getAttr('__pLabel')})"
  1045. },
  1046. "parser": {
  1047. "type": "code",
  1048. "value": "({'__pLabel':getAttr('textContent')})"
  1049. },
  1050. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  1051. }
  1052. },
  1053. "edges": [
  1054. {
  1055. "src": "text",
  1056. "dest": "textBelowRect"
  1057. },
  1058. {
  1059. "src": "textBelowRect",
  1060. "dest": "rect"
  1061. }
  1062. ]
  1063. }
  1064. },
  1065. "$asuri": {
  1066. "type": "string",
  1067. "value": "/Formalisms/TrafficLight/TrafficLight.pattern/__pAbstractInterrupt/29.instance"
  1068. },
  1069. "$type": "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pAbstractInterruptIcon"
  1070. },
  1071. "30": {
  1072. "typename": {
  1073. "type": "string",
  1074. "value": "__pAbstractInterruptIcon"
  1075. },
  1076. "position": {
  1077. "type": "list<double>",
  1078. "value": [
  1079. 1097,
  1080. 623
  1081. ]
  1082. },
  1083. "orientation": {
  1084. "type": "double",
  1085. "value": 0
  1086. },
  1087. "scale": {
  1088. "type": "list<double>",
  1089. "value": [
  1090. 1,
  1091. 1
  1092. ]
  1093. },
  1094. "mapper": {
  1095. "type": "code",
  1096. "value": ""
  1097. },
  1098. "parser": {
  1099. "type": "code",
  1100. "value": ""
  1101. },
  1102. "$contents": {
  1103. "type": "map<string,*>",
  1104. "value": {
  1105. "nodes": {
  1106. "text": {
  1107. "textContent": {
  1108. "type": "string",
  1109. "value": "__pAbstractInterruptIcon"
  1110. },
  1111. "style": {
  1112. "type": "map<string,string>",
  1113. "value": {
  1114. "stroke": "#000000",
  1115. "stroke-dasharray": "",
  1116. "fill": "#000000",
  1117. "fill-opacity": "1",
  1118. "font-size": "13px"
  1119. }
  1120. },
  1121. "mapper": {
  1122. "type": "code",
  1123. "value": ""
  1124. },
  1125. "parser": {
  1126. "type": "code",
  1127. "value": ""
  1128. },
  1129. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1130. "position": {
  1131. "type": "list<double>",
  1132. "value": [
  1133. 10,
  1134. 76
  1135. ]
  1136. },
  1137. "orientation": {
  1138. "type": "double",
  1139. "value": 0
  1140. },
  1141. "scale": {
  1142. "type": "list<double>",
  1143. "value": [
  1144. 1,
  1145. 1
  1146. ]
  1147. }
  1148. },
  1149. "rect": {
  1150. "width": {
  1151. "type": "double",
  1152. "value": 75
  1153. },
  1154. "height": {
  1155. "type": "double",
  1156. "value": 75
  1157. },
  1158. "cornerRadius": {
  1159. "type": "double",
  1160. "value": 15
  1161. },
  1162. "style": {
  1163. "type": "map<string,string>",
  1164. "value": {
  1165. "stroke": "#000000",
  1166. "fill": "#ffffff",
  1167. "fill-opacity": 0.75
  1168. }
  1169. },
  1170. "mapper": {
  1171. "type": "code",
  1172. "value": ""
  1173. },
  1174. "parser": {
  1175. "type": "code",
  1176. "value": ""
  1177. },
  1178. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  1179. "position": {
  1180. "type": "list<double>",
  1181. "value": [
  1182. 0,
  1183. 0
  1184. ]
  1185. },
  1186. "orientation": {
  1187. "type": "double",
  1188. "value": 0
  1189. },
  1190. "scale": {
  1191. "type": "list<double>",
  1192. "value": [
  1193. 1,
  1194. 1
  1195. ]
  1196. }
  1197. },
  1198. "textBelowRect": {
  1199. "distance": {
  1200. "type": "double",
  1201. "value": 10
  1202. },
  1203. "alignment": {
  1204. "type": "ENUM(\"right\",\"left\",\"center\")",
  1205. "value": "center"
  1206. },
  1207. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Below",
  1208. "position": {
  1209. "type": "list<double>",
  1210. "value": [
  1211. 5,
  1212. 38
  1213. ]
  1214. },
  1215. "orientation": {
  1216. "type": "double",
  1217. "value": 0
  1218. },
  1219. "scale": {
  1220. "type": "list<double>",
  1221. "value": [
  1222. 1,
  1223. 1
  1224. ]
  1225. },
  1226. "link-style": {
  1227. "type": "map<string,string>",
  1228. "value": {
  1229. "stroke": "#00ff00",
  1230. "stroke-dasharray": "",
  1231. "stroke-opacity": 1,
  1232. "arrow-start": "none",
  1233. "arrow-end": "classic-wide-long"
  1234. }
  1235. }
  1236. },
  1237. "__pLabelText": {
  1238. "position": {
  1239. "type": "list<double>",
  1240. "value": [
  1241. 0,
  1242. 0
  1243. ]
  1244. },
  1245. "orientation": {
  1246. "type": "double",
  1247. "value": 0
  1248. },
  1249. "scale": {
  1250. "type": "list<double>",
  1251. "value": [
  1252. 1,
  1253. 1
  1254. ]
  1255. },
  1256. "textContent": {
  1257. "type": "string",
  1258. "value": "4"
  1259. },
  1260. "style": {
  1261. "type": "map<string,string>",
  1262. "value": {
  1263. "stroke": "#6000ff",
  1264. "fill": "#6000ff",
  1265. "font-size": "15px",
  1266. "opacity": "1"
  1267. }
  1268. },
  1269. "mapper": {
  1270. "type": "code",
  1271. "value": "({'textContent':getAttr('__pLabel')})"
  1272. },
  1273. "parser": {
  1274. "type": "code",
  1275. "value": "({'__pLabel':getAttr('textContent')})"
  1276. },
  1277. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  1278. }
  1279. },
  1280. "edges": [
  1281. {
  1282. "src": "text",
  1283. "dest": "textBelowRect"
  1284. },
  1285. {
  1286. "src": "textBelowRect",
  1287. "dest": "rect"
  1288. }
  1289. ]
  1290. }
  1291. },
  1292. "$asuri": {
  1293. "type": "string",
  1294. "value": "/Formalisms/TrafficLight/TrafficLight.pattern/__pAbstractInterrupt/30.instance"
  1295. },
  1296. "$type": "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pAbstractInterruptIcon"
  1297. },
  1298. "32": {
  1299. "link-style": {
  1300. "type": "map<string,string>",
  1301. "value": {
  1302. "stroke": "#00ff00",
  1303. "stroke-dasharray": "",
  1304. "stroke-opacity": 0.2,
  1305. "stroke-width": 1,
  1306. "arrow-start": "none",
  1307. "arrow-end": "classic-wide-long"
  1308. }
  1309. },
  1310. "typename": {
  1311. "type": "string",
  1312. "value": "PatternContentsLink"
  1313. },
  1314. "position": {
  1315. "type": "list<double>",
  1316. "value": [
  1317. 594.75,
  1318. 446.5
  1319. ]
  1320. },
  1321. "orientation": {
  1322. "type": "double",
  1323. "value": 0
  1324. },
  1325. "scale": {
  1326. "type": "list<double>",
  1327. "value": [
  1328. 1,
  1329. 1
  1330. ]
  1331. },
  1332. "mapper": {
  1333. "type": "code",
  1334. "value": ""
  1335. },
  1336. "parser": {
  1337. "type": "code",
  1338. "value": ""
  1339. },
  1340. "$contents": {
  1341. "type": "map<string,*>",
  1342. "value": {
  1343. "nodes": {},
  1344. "edges": []
  1345. }
  1346. },
  1347. "$asuri": {
  1348. "type": "string",
  1349. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/32.instance"
  1350. },
  1351. "$segments": {
  1352. "type": "map<string,list<string>>",
  1353. "value": {
  1354. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/LHSIcon/0.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/32.instance": "M458,224L594.75,446.5",
  1355. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/32.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pAbstractInterruptIcon/29.instance": "M594.8284112790451,446.62757959478995L731.4995184563686,668.9992165012212"
  1356. }
  1357. },
  1358. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  1359. },
  1360. "33": {
  1361. "link-style": {
  1362. "type": "map<string,string>",
  1363. "value": {
  1364. "stroke": "#00ff00",
  1365. "stroke-dasharray": "",
  1366. "stroke-opacity": 0.2,
  1367. "stroke-width": 1,
  1368. "arrow-start": "none",
  1369. "arrow-end": "classic-wide-long"
  1370. }
  1371. },
  1372. "typename": {
  1373. "type": "string",
  1374. "value": "PatternContentsLink"
  1375. },
  1376. "position": {
  1377. "type": "list<double>",
  1378. "value": [
  1379. 995.75,
  1380. 447
  1381. ]
  1382. },
  1383. "orientation": {
  1384. "type": "double",
  1385. "value": 0
  1386. },
  1387. "scale": {
  1388. "type": "list<double>",
  1389. "value": [
  1390. 1,
  1391. 1
  1392. ]
  1393. },
  1394. "mapper": {
  1395. "type": "code",
  1396. "value": ""
  1397. },
  1398. "parser": {
  1399. "type": "code",
  1400. "value": ""
  1401. },
  1402. "$contents": {
  1403. "type": "map<string,*>",
  1404. "value": {
  1405. "nodes": {},
  1406. "edges": []
  1407. }
  1408. },
  1409. "$asuri": {
  1410. "type": "string",
  1411. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/33.instance"
  1412. },
  1413. "$segments": {
  1414. "type": "map<string,list<string>>",
  1415. "value": {
  1416. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon/7.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/33.instance": "M819,225L995.75,447",
  1417. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/33.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pAbstractInterruptIcon/30.instance": "M995.8433205918741,447.11721171935517L1172.4994724541195,668.9993373964049"
  1418. }
  1419. },
  1420. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  1421. },
  1422. "41": {
  1423. "typename": {
  1424. "type": "string",
  1425. "value": "StateIcon"
  1426. },
  1427. "position": {
  1428. "type": "list<double>",
  1429. "value": [
  1430. 520,
  1431. 431
  1432. ]
  1433. },
  1434. "orientation": {
  1435. "type": "double",
  1436. "value": 0
  1437. },
  1438. "scale": {
  1439. "type": "list<double>",
  1440. "value": [
  1441. 1,
  1442. 1
  1443. ]
  1444. },
  1445. "mapper": {
  1446. "type": "code",
  1447. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1448. },
  1449. "parser": {
  1450. "type": "code",
  1451. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1452. },
  1453. "$contents": {
  1454. "type": "map<string,*>",
  1455. "value": {
  1456. "nodes": {
  1457. "56": {
  1458. "r": {
  1459. "type": "double",
  1460. "value": 20
  1461. },
  1462. "rays": {
  1463. "type": "int",
  1464. "value": 5
  1465. },
  1466. "style": {
  1467. "type": "map<string,string>",
  1468. "value": {
  1469. "stroke": "#000000",
  1470. "stroke-dasharray": "",
  1471. "fill": "#ffff00",
  1472. "fill-opacity": 0,
  1473. "font-size": "20px",
  1474. "stroke-width": 0,
  1475. "arrow-start": "none",
  1476. "arrow-end": "none"
  1477. }
  1478. },
  1479. "mapper": {
  1480. "type": "code",
  1481. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1482. },
  1483. "parser": {
  1484. "type": "code",
  1485. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1486. },
  1487. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Star",
  1488. "position": {
  1489. "type": "list<double>",
  1490. "value": [
  1491. 9,
  1492. 7.045099999999991
  1493. ]
  1494. },
  1495. "orientation": {
  1496. "type": "double",
  1497. "value": 0
  1498. },
  1499. "scale": {
  1500. "type": "list<double>",
  1501. "value": [
  1502. 1,
  1503. 1
  1504. ]
  1505. }
  1506. },
  1507. "75": {
  1508. "textContent": {
  1509. "type": "string",
  1510. "value": "state"
  1511. },
  1512. "style": {
  1513. "type": "map<string,string>",
  1514. "value": {
  1515. "stroke": "#000000",
  1516. "stroke-dasharray": "",
  1517. "fill": "#000000",
  1518. "fill-opacity": 1,
  1519. "font-size": "20px",
  1520. "stroke-width": 0,
  1521. "arrow-start": "none",
  1522. "arrow-end": "none"
  1523. }
  1524. },
  1525. "mapper": {
  1526. "type": "code",
  1527. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1528. },
  1529. "parser": {
  1530. "type": "code",
  1531. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1532. },
  1533. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1534. "position": {
  1535. "type": "list<double>",
  1536. "value": [
  1537. 26,
  1538. 81.36449999999996
  1539. ]
  1540. },
  1541. "orientation": {
  1542. "type": "double",
  1543. "value": 0
  1544. },
  1545. "scale": {
  1546. "type": "list<double>",
  1547. "value": [
  1548. 1,
  1549. 1
  1550. ]
  1551. }
  1552. },
  1553. "84": {
  1554. "r": {
  1555. "type": "double",
  1556. "value": 25
  1557. },
  1558. "style": {
  1559. "type": "map<string,string>",
  1560. "value": {
  1561. "stroke": "#000000",
  1562. "stroke-dasharray": "",
  1563. "fill": "#ffffff",
  1564. "fill-opacity": 0.75,
  1565. "font-size": "20px",
  1566. "stroke-width": 2,
  1567. "arrow-start": "none",
  1568. "arrow-end": "none"
  1569. }
  1570. },
  1571. "mapper": {
  1572. "type": "code",
  1573. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1574. },
  1575. "parser": {
  1576. "type": "code",
  1577. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1578. },
  1579. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle",
  1580. "position": {
  1581. "type": "list<double>",
  1582. "value": [
  1583. 24,
  1584. 34.360971374511735
  1585. ]
  1586. },
  1587. "orientation": {
  1588. "type": "double",
  1589. "value": 0
  1590. },
  1591. "scale": {
  1592. "type": "list<double>",
  1593. "value": [
  1594. 1,
  1595. 1
  1596. ]
  1597. }
  1598. },
  1599. "__pLabelText": {
  1600. "position": {
  1601. "type": "list<double>",
  1602. "value": [
  1603. 0,
  1604. 0
  1605. ]
  1606. },
  1607. "orientation": {
  1608. "type": "double",
  1609. "value": 0
  1610. },
  1611. "scale": {
  1612. "type": "list<double>",
  1613. "value": [
  1614. 1,
  1615. 1
  1616. ]
  1617. },
  1618. "textContent": {
  1619. "type": "string",
  1620. "value": "0"
  1621. },
  1622. "style": {
  1623. "type": "map<string,string>",
  1624. "value": {
  1625. "stroke": "#6000ff",
  1626. "fill": "#6000ff",
  1627. "font-size": "15px",
  1628. "opacity": "1"
  1629. }
  1630. },
  1631. "mapper": {
  1632. "type": "code",
  1633. "value": "({'textContent':getAttr('__pLabel')})"
  1634. },
  1635. "parser": {
  1636. "type": "code",
  1637. "value": "({'__pLabel':getAttr('textContent')})"
  1638. },
  1639. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  1640. }
  1641. },
  1642. "edges": []
  1643. }
  1644. },
  1645. "$asuri": {
  1646. "type": "string",
  1647. "value": "/Formalisms/TrafficLight/TrafficLight.pattern/__pState/41.instance"
  1648. },
  1649. "$type": "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pStateIcon"
  1650. },
  1651. "42": {
  1652. "typename": {
  1653. "type": "string",
  1654. "value": "StateIcon"
  1655. },
  1656. "position": {
  1657. "type": "list<double>",
  1658. "value": [
  1659. 692,
  1660. 431
  1661. ]
  1662. },
  1663. "orientation": {
  1664. "type": "double",
  1665. "value": 0
  1666. },
  1667. "scale": {
  1668. "type": "list<double>",
  1669. "value": [
  1670. 1,
  1671. 1
  1672. ]
  1673. },
  1674. "mapper": {
  1675. "type": "code",
  1676. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1677. },
  1678. "parser": {
  1679. "type": "code",
  1680. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1681. },
  1682. "$contents": {
  1683. "type": "map<string,*>",
  1684. "value": {
  1685. "nodes": {
  1686. "56": {
  1687. "r": {
  1688. "type": "double",
  1689. "value": 20
  1690. },
  1691. "rays": {
  1692. "type": "int",
  1693. "value": 5
  1694. },
  1695. "style": {
  1696. "type": "map<string,string>",
  1697. "value": {
  1698. "stroke": "#000000",
  1699. "stroke-dasharray": "",
  1700. "fill": "#ffff00",
  1701. "fill-opacity": 0,
  1702. "font-size": "20px",
  1703. "stroke-width": 0,
  1704. "arrow-start": "none",
  1705. "arrow-end": "none"
  1706. }
  1707. },
  1708. "mapper": {
  1709. "type": "code",
  1710. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1711. },
  1712. "parser": {
  1713. "type": "code",
  1714. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1715. },
  1716. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Star",
  1717. "position": {
  1718. "type": "list<double>",
  1719. "value": [
  1720. 9,
  1721. 7.045099999999991
  1722. ]
  1723. },
  1724. "orientation": {
  1725. "type": "double",
  1726. "value": 0
  1727. },
  1728. "scale": {
  1729. "type": "list<double>",
  1730. "value": [
  1731. 1,
  1732. 1
  1733. ]
  1734. }
  1735. },
  1736. "75": {
  1737. "textContent": {
  1738. "type": "string",
  1739. "value": "state"
  1740. },
  1741. "style": {
  1742. "type": "map<string,string>",
  1743. "value": {
  1744. "stroke": "#000000",
  1745. "stroke-dasharray": "",
  1746. "fill": "#000000",
  1747. "fill-opacity": 1,
  1748. "font-size": "20px",
  1749. "stroke-width": 0,
  1750. "arrow-start": "none",
  1751. "arrow-end": "none"
  1752. }
  1753. },
  1754. "mapper": {
  1755. "type": "code",
  1756. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1757. },
  1758. "parser": {
  1759. "type": "code",
  1760. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1761. },
  1762. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1763. "position": {
  1764. "type": "list<double>",
  1765. "value": [
  1766. 26,
  1767. 81.36449999999996
  1768. ]
  1769. },
  1770. "orientation": {
  1771. "type": "double",
  1772. "value": 0
  1773. },
  1774. "scale": {
  1775. "type": "list<double>",
  1776. "value": [
  1777. 1,
  1778. 1
  1779. ]
  1780. }
  1781. },
  1782. "84": {
  1783. "r": {
  1784. "type": "double",
  1785. "value": 25
  1786. },
  1787. "style": {
  1788. "type": "map<string,string>",
  1789. "value": {
  1790. "stroke": "#000000",
  1791. "stroke-dasharray": "",
  1792. "fill": "#ffffff",
  1793. "fill-opacity": 0.75,
  1794. "font-size": "20px",
  1795. "stroke-width": 2,
  1796. "arrow-start": "none",
  1797. "arrow-end": "none"
  1798. }
  1799. },
  1800. "mapper": {
  1801. "type": "code",
  1802. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1803. },
  1804. "parser": {
  1805. "type": "code",
  1806. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1807. },
  1808. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle",
  1809. "position": {
  1810. "type": "list<double>",
  1811. "value": [
  1812. 24,
  1813. 34.360971374511735
  1814. ]
  1815. },
  1816. "orientation": {
  1817. "type": "double",
  1818. "value": 0
  1819. },
  1820. "scale": {
  1821. "type": "list<double>",
  1822. "value": [
  1823. 1,
  1824. 1
  1825. ]
  1826. }
  1827. },
  1828. "__pLabelText": {
  1829. "position": {
  1830. "type": "list<double>",
  1831. "value": [
  1832. 0,
  1833. 0
  1834. ]
  1835. },
  1836. "orientation": {
  1837. "type": "double",
  1838. "value": 0
  1839. },
  1840. "scale": {
  1841. "type": "list<double>",
  1842. "value": [
  1843. 1,
  1844. 1
  1845. ]
  1846. },
  1847. "textContent": {
  1848. "type": "string",
  1849. "value": "2"
  1850. },
  1851. "style": {
  1852. "type": "map<string,string>",
  1853. "value": {
  1854. "stroke": "#6000ff",
  1855. "fill": "#6000ff",
  1856. "font-size": "15px",
  1857. "opacity": "1"
  1858. }
  1859. },
  1860. "mapper": {
  1861. "type": "code",
  1862. "value": "({'textContent':getAttr('__pLabel')})"
  1863. },
  1864. "parser": {
  1865. "type": "code",
  1866. "value": "({'__pLabel':getAttr('textContent')})"
  1867. },
  1868. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  1869. }
  1870. },
  1871. "edges": []
  1872. }
  1873. },
  1874. "$asuri": {
  1875. "type": "string",
  1876. "value": "/Formalisms/TrafficLight/TrafficLight.pattern/__pState/42.instance"
  1877. },
  1878. "$type": "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pStateIcon"
  1879. },
  1880. "43": {
  1881. "link-style": {
  1882. "type": "map<string,string>",
  1883. "value": {
  1884. "stroke": "#000000",
  1885. "stroke-dasharray": "",
  1886. "stroke-opacity": 1,
  1887. "stroke-width": 2
  1888. }
  1889. },
  1890. "arrowHead": {
  1891. "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)",
  1892. "value": "custom"
  1893. },
  1894. "arrowTail": {
  1895. "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)",
  1896. "value": "arrow-black"
  1897. },
  1898. "typename": {
  1899. "type": "string",
  1900. "value": "TimedTransitionLink"
  1901. },
  1902. "position": {
  1903. "type": "list<double>",
  1904. "value": [
  1905. 653.5,
  1906. 488
  1907. ]
  1908. },
  1909. "orientation": {
  1910. "type": "double",
  1911. "value": 0
  1912. },
  1913. "scale": {
  1914. "type": "list<double>",
  1915. "value": [
  1916. 1,
  1917. 1
  1918. ]
  1919. },
  1920. "mapper": {
  1921. "type": "code",
  1922. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1923. },
  1924. "parser": {
  1925. "type": "code",
  1926. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1927. },
  1928. "$contents": {
  1929. "type": "map<string,*>",
  1930. "value": {
  1931. "nodes": {
  1932. "9": {
  1933. "textContent": {
  1934. "type": "string",
  1935. "value": "T..."
  1936. },
  1937. "style": {
  1938. "type": "map<string,string>",
  1939. "value": {
  1940. "stroke": "#0000ff",
  1941. "stroke-dasharray": "",
  1942. "fill": "#0000ff",
  1943. "fill-opacity": 1,
  1944. "font-size": "20px",
  1945. "stroke-width": 0,
  1946. "arrow-start": "none",
  1947. "arrow-end": "none"
  1948. }
  1949. },
  1950. "mapper": {
  1951. "type": "code",
  1952. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1953. },
  1954. "parser": {
  1955. "type": "code",
  1956. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1957. },
  1958. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1959. "position": {
  1960. "type": "list<double>",
  1961. "value": [
  1962. "0;-0.3961673064862907,0%",
  1963. "0;-26.5,0%"
  1964. ]
  1965. },
  1966. "orientation": {
  1967. "type": "double",
  1968. "value": "0;0"
  1969. },
  1970. "scale": {
  1971. "type": "list<double>",
  1972. "value": [
  1973. 1,
  1974. 1
  1975. ]
  1976. },
  1977. "$linkDecoratorInfo": {
  1978. "type": "map<string,double>",
  1979. "value": {
  1980. "xratio": 0.49693251533742333,
  1981. "yoffset": -26.5
  1982. }
  1983. }
  1984. },
  1985. "267": {
  1986. "segments": {
  1987. "type": "string",
  1988. "value": "m0,0 l10,4 l-10,4 l3,-4 z"
  1989. },
  1990. "style": {
  1991. "type": "map<string,string>",
  1992. "value": {
  1993. "stroke": "#000000",
  1994. "fill": "#000000",
  1995. "opacity": 1,
  1996. "stroke-width": 1
  1997. }
  1998. },
  1999. "mapper": {
  2000. "type": "code",
  2001. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2002. },
  2003. "parser": {
  2004. "type": "code",
  2005. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2006. },
  2007. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  2008. "position": {
  2009. "type": "list<double>",
  2010. "value": [
  2011. "0;64.49907072892256,100%",
  2012. "0;-4,0%"
  2013. ]
  2014. },
  2015. "orientation": {
  2016. "type": "double",
  2017. "value": "0;0"
  2018. },
  2019. "scale": {
  2020. "type": "list<double>",
  2021. "value": [
  2022. 1,
  2023. 1
  2024. ]
  2025. },
  2026. "$linkDecoratorInfo": {
  2027. "type": "map<string,double>",
  2028. "value": {
  2029. "xratio": 1,
  2030. "yoffset": -4
  2031. }
  2032. }
  2033. },
  2034. "__pLabelText": {
  2035. "position": {
  2036. "type": "list<double>",
  2037. "value": [
  2038. 0,
  2039. 0
  2040. ]
  2041. },
  2042. "orientation": {
  2043. "type": "double",
  2044. "value": 0
  2045. },
  2046. "scale": {
  2047. "type": "list<double>",
  2048. "value": [
  2049. 1,
  2050. 1
  2051. ]
  2052. },
  2053. "textContent": {
  2054. "type": "string",
  2055. "value": "1"
  2056. },
  2057. "style": {
  2058. "type": "map<string,string>",
  2059. "value": {
  2060. "stroke": "#6000ff",
  2061. "fill": "#6000ff",
  2062. "font-size": "15px",
  2063. "opacity": "1"
  2064. }
  2065. },
  2066. "mapper": {
  2067. "type": "code",
  2068. "value": "({'textContent':getAttr('__pLabel')})"
  2069. },
  2070. "parser": {
  2071. "type": "code",
  2072. "value": "({'__pLabel':getAttr('textContent')})"
  2073. },
  2074. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  2075. }
  2076. },
  2077. "edges": []
  2078. }
  2079. },
  2080. "$asuri": {
  2081. "type": "string",
  2082. "value": "/Formalisms/TrafficLight/TrafficLight.pattern/__pTimedTransition/43.instance"
  2083. },
  2084. "$segments": {
  2085. "type": "map<string,list<string>>",
  2086. "value": {
  2087. "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pStateIcon/41.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pTimedTransitionLink/43.instance": "M589,488L653.5,488",
  2088. "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pTimedTransitionLink/43.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pStateIcon/42.instance": "M653.5009375,488.0000000000001L717.9990707289226,488"
  2089. }
  2090. },
  2091. "$type": "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pTimedTransitionLink"
  2092. },
  2093. "44": {
  2094. "link-style": {
  2095. "type": "map<string,string>",
  2096. "value": {
  2097. "stroke": "#00ff00",
  2098. "stroke-dasharray": "",
  2099. "stroke-opacity": 0.2,
  2100. "stroke-width": 1,
  2101. "arrow-start": "none",
  2102. "arrow-end": "classic-wide-long"
  2103. }
  2104. },
  2105. "typename": {
  2106. "type": "string",
  2107. "value": "PatternContentsLink"
  2108. },
  2109. "position": {
  2110. "type": "list<double>",
  2111. "value": [
  2112. 507.5536100989873,
  2113. 353.73801469808257
  2114. ]
  2115. },
  2116. "orientation": {
  2117. "type": "double",
  2118. "value": 0
  2119. },
  2120. "scale": {
  2121. "type": "list<double>",
  2122. "value": [
  2123. 1,
  2124. 1
  2125. ]
  2126. },
  2127. "mapper": {
  2128. "type": "code",
  2129. "value": ""
  2130. },
  2131. "parser": {
  2132. "type": "code",
  2133. "value": ""
  2134. },
  2135. "$contents": {
  2136. "type": "map<string,*>",
  2137. "value": {
  2138. "nodes": {},
  2139. "edges": []
  2140. }
  2141. },
  2142. "$asuri": {
  2143. "type": "string",
  2144. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/44.instance"
  2145. },
  2146. "$segments": {
  2147. "type": "map<string,list<string>>",
  2148. "value": {
  2149. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/LHSIcon/0.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/44.instance": "M458,224L507.5536100989873,353.73801469808257",
  2150. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/44.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pStateIcon/41.instance": "M507.5266889300239,353.66753145765495L556.9996518825951,483.1944010818227"
  2151. }
  2152. },
  2153. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  2154. },
  2155. "45": {
  2156. "link-style": {
  2157. "type": "map<string,string>",
  2158. "value": {
  2159. "stroke": "#00ff00",
  2160. "stroke-dasharray": "",
  2161. "stroke-opacity": 0.2,
  2162. "stroke-width": 1,
  2163. "arrow-start": "none",
  2164. "arrow-end": "classic-wide-long"
  2165. }
  2166. },
  2167. "typename": {
  2168. "type": "string",
  2169. "value": "PatternContentsLink"
  2170. },
  2171. "position": {
  2172. "type": "list<double>",
  2173. "value": [
  2174. 593.6086898292115,
  2175. 353.7016115793287
  2176. ]
  2177. },
  2178. "orientation": {
  2179. "type": "double",
  2180. "value": 0
  2181. },
  2182. "scale": {
  2183. "type": "list<double>",
  2184. "value": [
  2185. 1,
  2186. 1
  2187. ]
  2188. },
  2189. "mapper": {
  2190. "type": "code",
  2191. "value": ""
  2192. },
  2193. "parser": {
  2194. "type": "code",
  2195. "value": ""
  2196. },
  2197. "$contents": {
  2198. "type": "map<string,*>",
  2199. "value": {
  2200. "nodes": {},
  2201. "edges": []
  2202. }
  2203. },
  2204. "$asuri": {
  2205. "type": "string",
  2206. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/45.instance"
  2207. },
  2208. "$segments": {
  2209. "type": "map<string,list<string>>",
  2210. "value": {
  2211. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/LHSIcon/0.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/45.instance": "M458,224L593.6086898292115,353.7016115793287",
  2212. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/45.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pStateIcon/42.instance": "M593.5541705497768,353.64946714512075L728.9994771735562,483.19481244773624"
  2213. }
  2214. },
  2215. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  2216. },
  2217. "47": {
  2218. "typename": {
  2219. "type": "string",
  2220. "value": "StateIcon"
  2221. },
  2222. "position": {
  2223. "type": "list<double>",
  2224. "value": [
  2225. 942,
  2226. 432
  2227. ]
  2228. },
  2229. "orientation": {
  2230. "type": "double",
  2231. "value": 0
  2232. },
  2233. "scale": {
  2234. "type": "list<double>",
  2235. "value": [
  2236. 1,
  2237. 1
  2238. ]
  2239. },
  2240. "mapper": {
  2241. "type": "code",
  2242. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2243. },
  2244. "parser": {
  2245. "type": "code",
  2246. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2247. },
  2248. "$contents": {
  2249. "type": "map<string,*>",
  2250. "value": {
  2251. "nodes": {
  2252. "56": {
  2253. "r": {
  2254. "type": "double",
  2255. "value": 20
  2256. },
  2257. "rays": {
  2258. "type": "int",
  2259. "value": 5
  2260. },
  2261. "style": {
  2262. "type": "map<string,string>",
  2263. "value": {
  2264. "stroke": "#000000",
  2265. "stroke-dasharray": "",
  2266. "fill": "#ffff00",
  2267. "fill-opacity": 0,
  2268. "font-size": "20px",
  2269. "stroke-width": 0,
  2270. "arrow-start": "none",
  2271. "arrow-end": "none"
  2272. }
  2273. },
  2274. "mapper": {
  2275. "type": "code",
  2276. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2277. },
  2278. "parser": {
  2279. "type": "code",
  2280. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2281. },
  2282. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Star",
  2283. "position": {
  2284. "type": "list<double>",
  2285. "value": [
  2286. 9,
  2287. 7.045099999999991
  2288. ]
  2289. },
  2290. "orientation": {
  2291. "type": "double",
  2292. "value": 0
  2293. },
  2294. "scale": {
  2295. "type": "list<double>",
  2296. "value": [
  2297. 1,
  2298. 1
  2299. ]
  2300. }
  2301. },
  2302. "75": {
  2303. "textContent": {
  2304. "type": "string",
  2305. "value": "state"
  2306. },
  2307. "style": {
  2308. "type": "map<string,string>",
  2309. "value": {
  2310. "stroke": "#000000",
  2311. "stroke-dasharray": "",
  2312. "fill": "#000000",
  2313. "fill-opacity": 1,
  2314. "font-size": "20px",
  2315. "stroke-width": 0,
  2316. "arrow-start": "none",
  2317. "arrow-end": "none"
  2318. }
  2319. },
  2320. "mapper": {
  2321. "type": "code",
  2322. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2323. },
  2324. "parser": {
  2325. "type": "code",
  2326. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2327. },
  2328. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2329. "position": {
  2330. "type": "list<double>",
  2331. "value": [
  2332. 26,
  2333. 81.36449999999996
  2334. ]
  2335. },
  2336. "orientation": {
  2337. "type": "double",
  2338. "value": 0
  2339. },
  2340. "scale": {
  2341. "type": "list<double>",
  2342. "value": [
  2343. 1,
  2344. 1
  2345. ]
  2346. }
  2347. },
  2348. "84": {
  2349. "r": {
  2350. "type": "double",
  2351. "value": 25
  2352. },
  2353. "style": {
  2354. "type": "map<string,string>",
  2355. "value": {
  2356. "stroke": "#000000",
  2357. "stroke-dasharray": "",
  2358. "fill": "#ffffff",
  2359. "fill-opacity": 0.75,
  2360. "font-size": "20px",
  2361. "stroke-width": 2,
  2362. "arrow-start": "none",
  2363. "arrow-end": "none"
  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. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle",
  2375. "position": {
  2376. "type": "list<double>",
  2377. "value": [
  2378. 24,
  2379. 34.360971374511735
  2380. ]
  2381. },
  2382. "orientation": {
  2383. "type": "double",
  2384. "value": 0
  2385. },
  2386. "scale": {
  2387. "type": "list<double>",
  2388. "value": [
  2389. 1,
  2390. 1
  2391. ]
  2392. }
  2393. },
  2394. "__pLabelText": {
  2395. "position": {
  2396. "type": "list<double>",
  2397. "value": [
  2398. 0,
  2399. 0
  2400. ]
  2401. },
  2402. "orientation": {
  2403. "type": "double",
  2404. "value": 0
  2405. },
  2406. "scale": {
  2407. "type": "list<double>",
  2408. "value": [
  2409. 1,
  2410. 1
  2411. ]
  2412. },
  2413. "textContent": {
  2414. "type": "string",
  2415. "value": "0"
  2416. },
  2417. "style": {
  2418. "type": "map<string,string>",
  2419. "value": {
  2420. "stroke": "#6000ff",
  2421. "fill": "#6000ff",
  2422. "font-size": "15px",
  2423. "opacity": "1"
  2424. }
  2425. },
  2426. "mapper": {
  2427. "type": "code",
  2428. "value": "({'textContent':getAttr('__pLabel')})"
  2429. },
  2430. "parser": {
  2431. "type": "code",
  2432. "value": "({'__pLabel':getAttr('textContent')})"
  2433. },
  2434. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  2435. }
  2436. },
  2437. "edges": []
  2438. }
  2439. },
  2440. "$asuri": {
  2441. "type": "string",
  2442. "value": "/Formalisms/TrafficLight/TrafficLight.pattern/__pState/47.instance"
  2443. },
  2444. "$type": "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pStateIcon"
  2445. },
  2446. "48": {
  2447. "typename": {
  2448. "type": "string",
  2449. "value": "StateIcon"
  2450. },
  2451. "position": {
  2452. "type": "list<double>",
  2453. "value": [
  2454. 1114,
  2455. 432
  2456. ]
  2457. },
  2458. "orientation": {
  2459. "type": "double",
  2460. "value": 0
  2461. },
  2462. "scale": {
  2463. "type": "list<double>",
  2464. "value": [
  2465. 1,
  2466. 1
  2467. ]
  2468. },
  2469. "mapper": {
  2470. "type": "code",
  2471. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2472. },
  2473. "parser": {
  2474. "type": "code",
  2475. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2476. },
  2477. "$contents": {
  2478. "type": "map<string,*>",
  2479. "value": {
  2480. "nodes": {
  2481. "56": {
  2482. "r": {
  2483. "type": "double",
  2484. "value": 20
  2485. },
  2486. "rays": {
  2487. "type": "int",
  2488. "value": 5
  2489. },
  2490. "style": {
  2491. "type": "map<string,string>",
  2492. "value": {
  2493. "stroke": "#000000",
  2494. "stroke-dasharray": "",
  2495. "fill": "#ffff00",
  2496. "fill-opacity": 0,
  2497. "font-size": "20px",
  2498. "stroke-width": 0,
  2499. "arrow-start": "none",
  2500. "arrow-end": "none"
  2501. }
  2502. },
  2503. "mapper": {
  2504. "type": "code",
  2505. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2506. },
  2507. "parser": {
  2508. "type": "code",
  2509. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2510. },
  2511. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Star",
  2512. "position": {
  2513. "type": "list<double>",
  2514. "value": [
  2515. 9,
  2516. 7.045099999999991
  2517. ]
  2518. },
  2519. "orientation": {
  2520. "type": "double",
  2521. "value": 0
  2522. },
  2523. "scale": {
  2524. "type": "list<double>",
  2525. "value": [
  2526. 1,
  2527. 1
  2528. ]
  2529. }
  2530. },
  2531. "75": {
  2532. "textContent": {
  2533. "type": "string",
  2534. "value": "state"
  2535. },
  2536. "style": {
  2537. "type": "map<string,string>",
  2538. "value": {
  2539. "stroke": "#000000",
  2540. "stroke-dasharray": "",
  2541. "fill": "#000000",
  2542. "fill-opacity": 1,
  2543. "font-size": "20px",
  2544. "stroke-width": 0,
  2545. "arrow-start": "none",
  2546. "arrow-end": "none"
  2547. }
  2548. },
  2549. "mapper": {
  2550. "type": "code",
  2551. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2552. },
  2553. "parser": {
  2554. "type": "code",
  2555. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2556. },
  2557. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2558. "position": {
  2559. "type": "list<double>",
  2560. "value": [
  2561. 26,
  2562. 81.36449999999996
  2563. ]
  2564. },
  2565. "orientation": {
  2566. "type": "double",
  2567. "value": 0
  2568. },
  2569. "scale": {
  2570. "type": "list<double>",
  2571. "value": [
  2572. 1,
  2573. 1
  2574. ]
  2575. }
  2576. },
  2577. "84": {
  2578. "r": {
  2579. "type": "double",
  2580. "value": 25
  2581. },
  2582. "style": {
  2583. "type": "map<string,string>",
  2584. "value": {
  2585. "stroke": "#000000",
  2586. "stroke-dasharray": "",
  2587. "fill": "#ffffff",
  2588. "fill-opacity": 0.75,
  2589. "font-size": "20px",
  2590. "stroke-width": 2,
  2591. "arrow-start": "none",
  2592. "arrow-end": "none"
  2593. }
  2594. },
  2595. "mapper": {
  2596. "type": "code",
  2597. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2598. },
  2599. "parser": {
  2600. "type": "code",
  2601. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2602. },
  2603. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle",
  2604. "position": {
  2605. "type": "list<double>",
  2606. "value": [
  2607. 24,
  2608. 34.360971374511735
  2609. ]
  2610. },
  2611. "orientation": {
  2612. "type": "double",
  2613. "value": 0
  2614. },
  2615. "scale": {
  2616. "type": "list<double>",
  2617. "value": [
  2618. 1,
  2619. 1
  2620. ]
  2621. }
  2622. },
  2623. "__pLabelText": {
  2624. "position": {
  2625. "type": "list<double>",
  2626. "value": [
  2627. 0,
  2628. 0
  2629. ]
  2630. },
  2631. "orientation": {
  2632. "type": "double",
  2633. "value": 0
  2634. },
  2635. "scale": {
  2636. "type": "list<double>",
  2637. "value": [
  2638. 1,
  2639. 1
  2640. ]
  2641. },
  2642. "textContent": {
  2643. "type": "string",
  2644. "value": "2"
  2645. },
  2646. "style": {
  2647. "type": "map<string,string>",
  2648. "value": {
  2649. "stroke": "#6000ff",
  2650. "fill": "#6000ff",
  2651. "font-size": "15px",
  2652. "opacity": "1"
  2653. }
  2654. },
  2655. "mapper": {
  2656. "type": "code",
  2657. "value": "({'textContent':getAttr('__pLabel')})"
  2658. },
  2659. "parser": {
  2660. "type": "code",
  2661. "value": "({'__pLabel':getAttr('textContent')})"
  2662. },
  2663. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  2664. }
  2665. },
  2666. "edges": []
  2667. }
  2668. },
  2669. "$asuri": {
  2670. "type": "string",
  2671. "value": "/Formalisms/TrafficLight/TrafficLight.pattern/__pState/48.instance"
  2672. },
  2673. "$type": "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pStateIcon"
  2674. },
  2675. "49": {
  2676. "link-style": {
  2677. "type": "map<string,string>",
  2678. "value": {
  2679. "stroke": "#000000",
  2680. "stroke-dasharray": "",
  2681. "stroke-opacity": 1,
  2682. "stroke-width": 2
  2683. }
  2684. },
  2685. "arrowHead": {
  2686. "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)",
  2687. "value": "custom"
  2688. },
  2689. "arrowTail": {
  2690. "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)",
  2691. "value": "arrow-black"
  2692. },
  2693. "typename": {
  2694. "type": "string",
  2695. "value": "TimedTransitionLink"
  2696. },
  2697. "position": {
  2698. "type": "list<double>",
  2699. "value": [
  2700. 1075.5,
  2701. 489
  2702. ]
  2703. },
  2704. "orientation": {
  2705. "type": "double",
  2706. "value": 0
  2707. },
  2708. "scale": {
  2709. "type": "list<double>",
  2710. "value": [
  2711. 1,
  2712. 1
  2713. ]
  2714. },
  2715. "mapper": {
  2716. "type": "code",
  2717. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2718. },
  2719. "parser": {
  2720. "type": "code",
  2721. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2722. },
  2723. "$contents": {
  2724. "type": "map<string,*>",
  2725. "value": {
  2726. "nodes": {
  2727. "9": {
  2728. "textContent": {
  2729. "type": "string",
  2730. "value": "T..."
  2731. },
  2732. "style": {
  2733. "type": "map<string,string>",
  2734. "value": {
  2735. "stroke": "#0000ff",
  2736. "stroke-dasharray": "",
  2737. "fill": "#0000ff",
  2738. "fill-opacity": 1,
  2739. "font-size": "20px",
  2740. "stroke-width": 0,
  2741. "arrow-start": "none",
  2742. "arrow-end": "none"
  2743. }
  2744. },
  2745. "mapper": {
  2746. "type": "code",
  2747. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2748. },
  2749. "parser": {
  2750. "type": "code",
  2751. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2752. },
  2753. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2754. "position": {
  2755. "type": "list<double>",
  2756. "value": [
  2757. "0;-0.3961673064864044,0%",
  2758. "0;-26.5,0%"
  2759. ]
  2760. },
  2761. "orientation": {
  2762. "type": "double",
  2763. "value": "0;0"
  2764. },
  2765. "scale": {
  2766. "type": "list<double>",
  2767. "value": [
  2768. 1,
  2769. 1
  2770. ]
  2771. },
  2772. "$linkDecoratorInfo": {
  2773. "type": "map<string,double>",
  2774. "value": {
  2775. "xratio": 0.49693251533742333,
  2776. "yoffset": -26.5
  2777. }
  2778. }
  2779. },
  2780. "267": {
  2781. "segments": {
  2782. "type": "string",
  2783. "value": "m0,0 l10,4 l-10,4 l3,-4 z"
  2784. },
  2785. "style": {
  2786. "type": "map<string,string>",
  2787. "value": {
  2788. "stroke": "#000000",
  2789. "fill": "#000000",
  2790. "opacity": 1,
  2791. "stroke-width": 1
  2792. }
  2793. },
  2794. "mapper": {
  2795. "type": "code",
  2796. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2797. },
  2798. "parser": {
  2799. "type": "code",
  2800. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  2801. },
  2802. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  2803. "position": {
  2804. "type": "list<double>",
  2805. "value": [
  2806. "0;64.49907072892256,100%",
  2807. "0;-4,0%"
  2808. ]
  2809. },
  2810. "orientation": {
  2811. "type": "double",
  2812. "value": "0;0"
  2813. },
  2814. "scale": {
  2815. "type": "list<double>",
  2816. "value": [
  2817. 1,
  2818. 1
  2819. ]
  2820. },
  2821. "$linkDecoratorInfo": {
  2822. "type": "map<string,double>",
  2823. "value": {
  2824. "xratio": 1,
  2825. "yoffset": -4
  2826. }
  2827. }
  2828. },
  2829. "__pLabelText": {
  2830. "position": {
  2831. "type": "list<double>",
  2832. "value": [
  2833. 0,
  2834. 0
  2835. ]
  2836. },
  2837. "orientation": {
  2838. "type": "double",
  2839. "value": 0
  2840. },
  2841. "scale": {
  2842. "type": "list<double>",
  2843. "value": [
  2844. 1,
  2845. 1
  2846. ]
  2847. },
  2848. "textContent": {
  2849. "type": "string",
  2850. "value": "1"
  2851. },
  2852. "style": {
  2853. "type": "map<string,string>",
  2854. "value": {
  2855. "stroke": "#6000ff",
  2856. "fill": "#6000ff",
  2857. "font-size": "15px",
  2858. "opacity": "1"
  2859. }
  2860. },
  2861. "mapper": {
  2862. "type": "code",
  2863. "value": "({'textContent':getAttr('__pLabel')})"
  2864. },
  2865. "parser": {
  2866. "type": "code",
  2867. "value": "({'__pLabel':getAttr('textContent')})"
  2868. },
  2869. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  2870. }
  2871. },
  2872. "edges": []
  2873. }
  2874. },
  2875. "$asuri": {
  2876. "type": "string",
  2877. "value": "/Formalisms/TrafficLight/TrafficLight.pattern/__pTimedTransition/49.instance"
  2878. },
  2879. "$segments": {
  2880. "type": "map<string,list<string>>",
  2881. "value": {
  2882. "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pStateIcon/47.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pTimedTransitionLink/49.instance": "M1011,489L1075.5,489",
  2883. "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pTimedTransitionLink/49.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pStateIcon/48.instance": "M1075.5009375,489.0000000000001L1139.9990707289226,489"
  2884. }
  2885. },
  2886. "$type": "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pTimedTransitionLink"
  2887. },
  2888. "50": {
  2889. "link-style": {
  2890. "type": "map<string,string>",
  2891. "value": {
  2892. "stroke": "#00ff00",
  2893. "stroke-dasharray": "",
  2894. "stroke-opacity": 0.2,
  2895. "stroke-width": 1,
  2896. "arrow-start": "none",
  2897. "arrow-end": "classic-wide-long"
  2898. }
  2899. },
  2900. "typename": {
  2901. "type": "string",
  2902. "value": "PatternContentsLink"
  2903. },
  2904. "position": {
  2905. "type": "list<double>",
  2906. "value": [
  2907. 908.5,
  2908. 357.59765625
  2909. ]
  2910. },
  2911. "orientation": {
  2912. "type": "double",
  2913. "value": 0
  2914. },
  2915. "scale": {
  2916. "type": "list<double>",
  2917. "value": [
  2918. 1,
  2919. 1
  2920. ]
  2921. },
  2922. "mapper": {
  2923. "type": "code",
  2924. "value": ""
  2925. },
  2926. "parser": {
  2927. "type": "code",
  2928. "value": ""
  2929. },
  2930. "$contents": {
  2931. "type": "map<string,*>",
  2932. "value": {
  2933. "nodes": {},
  2934. "edges": []
  2935. }
  2936. },
  2937. "$asuri": {
  2938. "type": "string",
  2939. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/50.instance"
  2940. },
  2941. "$segments": {
  2942. "type": "map<string,list<string>>",
  2943. "value": {
  2944. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon/7.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/50.instance": "M819,225L908.5,357.59765625",
  2945. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/50.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pStateIcon/47.instance": "M908.5419263260119,357.6597716976463L978.9995253613953,484.19460930484297"
  2946. }
  2947. },
  2948. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  2949. },
  2950. "51": {
  2951. "link-style": {
  2952. "type": "map<string,string>",
  2953. "value": {
  2954. "stroke": "#00ff00",
  2955. "stroke-dasharray": "",
  2956. "stroke-opacity": 0.2,
  2957. "stroke-width": 1,
  2958. "arrow-start": "none",
  2959. "arrow-end": "classic-wide-long"
  2960. }
  2961. },
  2962. "typename": {
  2963. "type": "string",
  2964. "value": "PatternContentsLink"
  2965. },
  2966. "position": {
  2967. "type": "list<double>",
  2968. "value": [
  2969. 994.6199316545728,
  2970. 357.688269676248
  2971. ]
  2972. },
  2973. "orientation": {
  2974. "type": "double",
  2975. "value": 0
  2976. },
  2977. "scale": {
  2978. "type": "list<double>",
  2979. "value": [
  2980. 1,
  2981. 1
  2982. ]
  2983. },
  2984. "mapper": {
  2985. "type": "code",
  2986. "value": ""
  2987. },
  2988. "parser": {
  2989. "type": "code",
  2990. "value": ""
  2991. },
  2992. "$contents": {
  2993. "type": "map<string,*>",
  2994. "value": {
  2995. "nodes": {},
  2996. "edges": []
  2997. }
  2998. },
  2999. "$asuri": {
  3000. "type": "string",
  3001. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/51.instance"
  3002. },
  3003. "$segments": {
  3004. "type": "map<string,list<string>>",
  3005. "value": {
  3006. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon/7.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/51.instance": "M819,225L994.6199316545728,357.688269676248",
  3007. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/51.instance--/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern/__pStateIcon/48.instance": "M994.559801914694,357.64283912024325L1150.9995084768939,484.1949411335504"
  3008. }
  3009. },
  3010. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  3011. }
  3012. },
  3013. "edges": [],
  3014. "metamodels": [
  3015. "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern",
  3016. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons"
  3017. ]
  3018. },
  3019. "asm": {
  3020. "nodes": {
  3021. "0": {
  3022. "Condition": {
  3023. "type": "code",
  3024. "value": "if getAttr(\"$type\", '4').endswith('End'):\n result = True\nelse:\n clock = getAttr('clock', '3')\n timeout = getAttr('after', '1')\n eventTime = getAttr('at', '4')\n result = (clock + timeout < eventTime)"
  3025. },
  3026. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/LHS"
  3027. },
  3028. "7": {
  3029. "Action": {
  3030. "type": "code",
  3031. "value": "clock = getAttr('clock', '3')\ntimeout = getAttr('after', '1')\nsetAttr('clock', clock+timeout, '3')"
  3032. },
  3033. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/RHS"
  3034. },
  3035. "14": {
  3036. "__pLabel": {
  3037. "type": "string",
  3038. "value": "3"
  3039. },
  3040. "__pPivotIn": {
  3041. "type": "string",
  3042. "value": ""
  3043. },
  3044. "__pPivotOut": {
  3045. "type": "string",
  3046. "value": ""
  3047. },
  3048. "__pMatchSubtypes": {
  3049. "type": "boolean",
  3050. "value": false
  3051. },
  3052. "clock": {
  3053. "type": "code",
  3054. "value": "result = True"
  3055. },
  3056. "$type": "/Formalisms/TrafficLight/TrafficLight.pattern/__pTime"
  3057. },
  3058. "15": {
  3059. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  3060. },
  3061. "18": {
  3062. "__pLabel": {
  3063. "type": "string",
  3064. "value": "3"
  3065. },
  3066. "__pPivotIn": {
  3067. "type": "string",
  3068. "value": ""
  3069. },
  3070. "__pPivotOut": {
  3071. "type": "string",
  3072. "value": ""
  3073. },
  3074. "__pMatchSubtypes": {
  3075. "type": "boolean"
  3076. },
  3077. "clock": {
  3078. "type": "code",
  3079. "value": "result = getAttr()"
  3080. },
  3081. "$type": "/Formalisms/TrafficLight/TrafficLight.pattern/__pTime"
  3082. },
  3083. "20": {
  3084. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  3085. },
  3086. "29": {
  3087. "__pLabel": {
  3088. "type": "string",
  3089. "value": "4"
  3090. },
  3091. "__pPivotIn": {
  3092. "type": "string",
  3093. "value": ""
  3094. },
  3095. "__pPivotOut": {
  3096. "type": "string",
  3097. "value": ""
  3098. },
  3099. "__pMatchSubtypes": {
  3100. "type": "boolean",
  3101. "value": true
  3102. },
  3103. "current": {
  3104. "type": "code",
  3105. "value": "result = getAttr()"
  3106. },
  3107. "$type": "/Formalisms/TrafficLight/TrafficLight.pattern/__pAbstractInterrupt"
  3108. },
  3109. "30": {
  3110. "__pLabel": {
  3111. "type": "string",
  3112. "value": "4"
  3113. },
  3114. "__pPivotIn": {
  3115. "type": "string",
  3116. "value": ""
  3117. },
  3118. "__pPivotOut": {
  3119. "type": "string",
  3120. "value": ""
  3121. },
  3122. "__pMatchSubtypes": {
  3123. "type": "boolean"
  3124. },
  3125. "current": {
  3126. "type": "code",
  3127. "value": "result = getAttr()"
  3128. },
  3129. "$type": "/Formalisms/TrafficLight/TrafficLight.pattern/__pAbstractInterrupt"
  3130. },
  3131. "32": {
  3132. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  3133. },
  3134. "33": {
  3135. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  3136. },
  3137. "41": {
  3138. "__pLabel": {
  3139. "type": "string",
  3140. "value": "0"
  3141. },
  3142. "__pPivotIn": {
  3143. "type": "string",
  3144. "value": ""
  3145. },
  3146. "__pPivotOut": {
  3147. "type": "string",
  3148. "value": ""
  3149. },
  3150. "__pMatchSubtypes": {
  3151. "type": "boolean",
  3152. "value": false
  3153. },
  3154. "name": {
  3155. "type": "code",
  3156. "value": "result = True"
  3157. },
  3158. "initial": {
  3159. "type": "code",
  3160. "value": "result = True"
  3161. },
  3162. "current": {
  3163. "type": "code",
  3164. "value": "result = (getAttr() == True)"
  3165. },
  3166. "$type": "/Formalisms/TrafficLight/TrafficLight.pattern/__pState"
  3167. },
  3168. "42": {
  3169. "__pLabel": {
  3170. "type": "string",
  3171. "value": "2"
  3172. },
  3173. "__pPivotIn": {
  3174. "type": "string",
  3175. "value": ""
  3176. },
  3177. "__pPivotOut": {
  3178. "type": "string",
  3179. "value": ""
  3180. },
  3181. "__pMatchSubtypes": {
  3182. "type": "boolean",
  3183. "value": false
  3184. },
  3185. "name": {
  3186. "type": "code",
  3187. "value": "result = True"
  3188. },
  3189. "initial": {
  3190. "type": "code",
  3191. "value": "result = True"
  3192. },
  3193. "current": {
  3194. "type": "code",
  3195. "value": "result = True"
  3196. },
  3197. "$type": "/Formalisms/TrafficLight/TrafficLight.pattern/__pState"
  3198. },
  3199. "43": {
  3200. "__pLabel": {
  3201. "type": "string",
  3202. "value": "1"
  3203. },
  3204. "__pPivotIn": {
  3205. "type": "string",
  3206. "value": ""
  3207. },
  3208. "__pPivotOut": {
  3209. "type": "string",
  3210. "value": ""
  3211. },
  3212. "__pMatchSubtypes": {
  3213. "type": "boolean",
  3214. "value": false
  3215. },
  3216. "after": {
  3217. "type": "code",
  3218. "value": "result = True"
  3219. },
  3220. "$type": "/Formalisms/TrafficLight/TrafficLight.pattern/__pTimedTransition"
  3221. },
  3222. "44": {
  3223. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  3224. },
  3225. "45": {
  3226. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  3227. },
  3228. "47": {
  3229. "__pLabel": {
  3230. "type": "string",
  3231. "value": "0"
  3232. },
  3233. "__pPivotIn": {
  3234. "type": "string",
  3235. "value": ""
  3236. },
  3237. "__pPivotOut": {
  3238. "type": "string",
  3239. "value": ""
  3240. },
  3241. "__pMatchSubtypes": {
  3242. "type": "boolean"
  3243. },
  3244. "name": {
  3245. "type": "code",
  3246. "value": "result = getAttr()"
  3247. },
  3248. "initial": {
  3249. "type": "code",
  3250. "value": "result = getAttr()"
  3251. },
  3252. "current": {
  3253. "type": "code",
  3254. "value": "result = False"
  3255. },
  3256. "$type": "/Formalisms/TrafficLight/TrafficLight.pattern/__pState"
  3257. },
  3258. "48": {
  3259. "__pLabel": {
  3260. "type": "string",
  3261. "value": "2"
  3262. },
  3263. "__pPivotIn": {
  3264. "type": "string",
  3265. "value": ""
  3266. },
  3267. "__pPivotOut": {
  3268. "type": "string",
  3269. "value": ""
  3270. },
  3271. "__pMatchSubtypes": {
  3272. "type": "boolean"
  3273. },
  3274. "name": {
  3275. "type": "code",
  3276. "value": "result = getAttr()"
  3277. },
  3278. "initial": {
  3279. "type": "code",
  3280. "value": "result = getAttr()"
  3281. },
  3282. "current": {
  3283. "type": "code",
  3284. "value": "result = True"
  3285. },
  3286. "$type": "/Formalisms/TrafficLight/TrafficLight.pattern/__pState"
  3287. },
  3288. "49": {
  3289. "__pLabel": {
  3290. "type": "string",
  3291. "value": "1"
  3292. },
  3293. "__pPivotIn": {
  3294. "type": "string",
  3295. "value": ""
  3296. },
  3297. "__pPivotOut": {
  3298. "type": "string",
  3299. "value": ""
  3300. },
  3301. "__pMatchSubtypes": {
  3302. "type": "boolean"
  3303. },
  3304. "after": {
  3305. "type": "code",
  3306. "value": "result = getAttr()"
  3307. },
  3308. "$type": "/Formalisms/TrafficLight/TrafficLight.pattern/__pTimedTransition"
  3309. },
  3310. "50": {
  3311. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  3312. },
  3313. "51": {
  3314. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  3315. }
  3316. },
  3317. "edges": [
  3318. {
  3319. "src": "0",
  3320. "dest": "15"
  3321. },
  3322. {
  3323. "src": "15",
  3324. "dest": "14"
  3325. },
  3326. {
  3327. "src": "7",
  3328. "dest": "20"
  3329. },
  3330. {
  3331. "src": "20",
  3332. "dest": "18"
  3333. },
  3334. {
  3335. "src": "0",
  3336. "dest": "32"
  3337. },
  3338. {
  3339. "src": "32",
  3340. "dest": "29"
  3341. },
  3342. {
  3343. "src": "7",
  3344. "dest": "33"
  3345. },
  3346. {
  3347. "src": "33",
  3348. "dest": "30"
  3349. },
  3350. {
  3351. "src": "41",
  3352. "dest": "43"
  3353. },
  3354. {
  3355. "src": "43",
  3356. "dest": "42"
  3357. },
  3358. {
  3359. "src": "0",
  3360. "dest": "44"
  3361. },
  3362. {
  3363. "src": "44",
  3364. "dest": "41"
  3365. },
  3366. {
  3367. "src": "0",
  3368. "dest": "45"
  3369. },
  3370. {
  3371. "src": "45",
  3372. "dest": "42"
  3373. },
  3374. {
  3375. "src": "47",
  3376. "dest": "49"
  3377. },
  3378. {
  3379. "src": "49",
  3380. "dest": "48"
  3381. },
  3382. {
  3383. "src": "7",
  3384. "dest": "50"
  3385. },
  3386. {
  3387. "src": "50",
  3388. "dest": "47"
  3389. },
  3390. {
  3391. "src": "7",
  3392. "dest": "51"
  3393. },
  3394. {
  3395. "src": "51",
  3396. "dest": "48"
  3397. }
  3398. ],
  3399. "metamodels": [
  3400. "/Formalisms/TrafficLight/TrafficLight.pattern",
  3401. "/Formalisms/__Transformations__/TransformationRule/TransformationRule"
  3402. ]
  3403. }
  3404. }