R_trophyWon.model 50 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156
  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. 244,
  13. 143
  14. ]
  15. },
  16. "orientation": {
  17. "type": "double",
  18. "value": 0
  19. },
  20. "scale": {
  21. "type": "list<double>",
  22. "value": [
  23. 1,
  24. 1.0759999999999998
  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. "1": {
  95. "typename": {
  96. "type": "string",
  97. "value": "RHSIcon"
  98. },
  99. "position": {
  100. "type": "list<double>",
  101. "value": [
  102. 681,
  103. 142
  104. ]
  105. },
  106. "orientation": {
  107. "type": "double",
  108. "value": 0
  109. },
  110. "scale": {
  111. "type": "list<double>",
  112. "value": [
  113. 1.6391,
  114. 1.0861
  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/1.instance"
  181. },
  182. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon"
  183. },
  184. "2": {
  185. "typename": {
  186. "type": "string",
  187. "value": "CarIcon"
  188. },
  189. "position": {
  190. "type": "list<double>",
  191. "value": [
  192. 356,
  193. 329
  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. "5": {
  220. "src": {
  221. "type": "string",
  222. "value": "/Formalisms/RaceCar/Icons/racecar.png"
  223. },
  224. "width": {
  225. "type": "double",
  226. "value": 183
  227. },
  228. "height": {
  229. "type": "double",
  230. "value": 72
  231. },
  232. "style": {
  233. "type": "map<string,string>",
  234. "value": {
  235. "stroke": "#000000",
  236. "stroke-dasharray": "",
  237. "fill": "#ffffff",
  238. "fill-opacity": 1,
  239. "font-size": "20px",
  240. "stroke-width": 1,
  241. "arrow-start": "none",
  242. "arrow-end": "none"
  243. }
  244. },
  245. "mapper": {
  246. "type": "code",
  247. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  248. },
  249. "parser": {
  250. "type": "code",
  251. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  252. },
  253. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image",
  254. "position": {
  255. "type": "list<double>",
  256. "value": [
  257. 1,
  258. 2
  259. ]
  260. },
  261. "orientation": {
  262. "type": "double",
  263. "value": 0
  264. },
  265. "scale": {
  266. "type": "list<double>",
  267. "value": [
  268. 1,
  269. 1
  270. ]
  271. }
  272. },
  273. "6": {
  274. "textContent": {
  275. "type": "string",
  276. "value": "name"
  277. },
  278. "style": {
  279. "type": "map<string,string>",
  280. "value": {
  281. "stroke": "#000000",
  282. "stroke-dasharray": "",
  283. "fill": "#000000",
  284. "fill-opacity": 0.75,
  285. "font-size": "12px",
  286. "stroke-width": 1,
  287. "arrow-start": "none",
  288. "arrow-end": "none",
  289. "text-anchor": "middle"
  290. }
  291. },
  292. "mapper": {
  293. "type": "code",
  294. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  295. },
  296. "parser": {
  297. "type": "code",
  298. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  299. },
  300. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  301. "position": {
  302. "type": "list<double>",
  303. "value": [
  304. 90,
  305. 48
  306. ]
  307. },
  308. "orientation": {
  309. "type": "double",
  310. "value": 0
  311. },
  312. "scale": {
  313. "type": "list<double>",
  314. "value": [
  315. 1,
  316. 1
  317. ]
  318. }
  319. },
  320. "7": {
  321. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  322. "position": {
  323. "type": "list<double>",
  324. "value": [
  325. 48.88071412763202,
  326. 29.32499990929705
  327. ]
  328. },
  329. "orientation": {
  330. "type": "double",
  331. "value": 0
  332. },
  333. "scale": {
  334. "type": "list<double>",
  335. "value": [
  336. 1,
  337. 1
  338. ]
  339. },
  340. "link-style": {
  341. "type": "map<string,string>",
  342. "value": {
  343. "stroke": "#00ffff",
  344. "stroke-dasharray": "",
  345. "stroke-opacity": 0.1,
  346. "stroke-width": 1
  347. }
  348. }
  349. },
  350. "__pLabelText": {
  351. "position": {
  352. "type": "list<double>",
  353. "value": [
  354. 0,
  355. 0
  356. ]
  357. },
  358. "orientation": {
  359. "type": "double",
  360. "value": 0
  361. },
  362. "scale": {
  363. "type": "list<double>",
  364. "value": [
  365. 1,
  366. 1
  367. ]
  368. },
  369. "textContent": {
  370. "type": "string",
  371. "value": "0"
  372. },
  373. "style": {
  374. "type": "map<string,string>",
  375. "value": {
  376. "stroke": "#6000ff",
  377. "fill": "#6000ff",
  378. "font-size": "15px",
  379. "opacity": "1"
  380. }
  381. },
  382. "mapper": {
  383. "type": "code",
  384. "value": "({'textContent':getAttr('__pLabel')})"
  385. },
  386. "parser": {
  387. "type": "code",
  388. "value": "({'__pLabel':getAttr('textContent')})"
  389. },
  390. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  391. }
  392. },
  393. "edges": [
  394. {
  395. "src": "5",
  396. "dest": "7"
  397. },
  398. {
  399. "src": "7",
  400. "dest": "6"
  401. }
  402. ]
  403. }
  404. },
  405. "$asuri": {
  406. "type": "string",
  407. "value": "/Formalisms/RaceCar/Race.pattern/__pCar/2.instance"
  408. },
  409. "$type": "/Formalisms/RaceCar/Race.defaultIcons.pattern/__pCarIcon"
  410. },
  411. "3": {
  412. "link-style": {
  413. "type": "map<string,string>",
  414. "value": {
  415. "stroke": "#00ff00",
  416. "stroke-dasharray": "",
  417. "stroke-opacity": 0.2,
  418. "stroke-width": 1,
  419. "arrow-start": "none",
  420. "arrow-end": "classic-wide-long"
  421. }
  422. },
  423. "typename": {
  424. "type": "string",
  425. "value": "PatternContentsLink"
  426. },
  427. "position": {
  428. "type": "list<double>",
  429. "value": [
  430. 331.09735847208105,
  431. 262.11433960093234
  432. ]
  433. },
  434. "orientation": {
  435. "type": "double",
  436. "value": 0
  437. },
  438. "scale": {
  439. "type": "list<double>",
  440. "value": [
  441. 1,
  442. 1
  443. ]
  444. },
  445. "mapper": {
  446. "type": "code",
  447. "value": ""
  448. },
  449. "parser": {
  450. "type": "code",
  451. "value": ""
  452. },
  453. "$contents": {
  454. "type": "map<string,*>",
  455. "value": {
  456. "nodes": {},
  457. "edges": []
  458. }
  459. },
  460. "$asuri": {
  461. "type": "string",
  462. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/3.instance"
  463. },
  464. "$segments": {
  465. "type": "map<string,list<string>>",
  466. "value": {
  467. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/LHSIcon/0.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/3.instance": "M244.99999999999997,161L331.09735847208105,262.11433960093234",
  468. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/3.instance--/Formalisms/RaceCar/Race.defaultIcons.pattern/__pCarIcon/2.instance": "M331.0972115159524,262.1141670129208L447.9997062354562,365.9996549974543"
  469. }
  470. },
  471. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  472. },
  473. "4": {
  474. "typename": {
  475. "type": "string",
  476. "value": "CarIcon"
  477. },
  478. "position": {
  479. "type": "list<double>",
  480. "value": [
  481. 1122,
  482. 347
  483. ]
  484. },
  485. "orientation": {
  486. "type": "double",
  487. "value": 0
  488. },
  489. "scale": {
  490. "type": "list<double>",
  491. "value": [
  492. 1,
  493. 1
  494. ]
  495. },
  496. "mapper": {
  497. "type": "code",
  498. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  499. },
  500. "parser": {
  501. "type": "code",
  502. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  503. },
  504. "$contents": {
  505. "type": "map<string,*>",
  506. "value": {
  507. "nodes": {
  508. "5": {
  509. "src": {
  510. "type": "string",
  511. "value": "/Formalisms/RaceCar/Icons/racecar.png"
  512. },
  513. "width": {
  514. "type": "double",
  515. "value": 183
  516. },
  517. "height": {
  518. "type": "double",
  519. "value": 72
  520. },
  521. "style": {
  522. "type": "map<string,string>",
  523. "value": {
  524. "stroke": "#000000",
  525. "stroke-dasharray": "",
  526. "fill": "#ffffff",
  527. "fill-opacity": 1,
  528. "font-size": "20px",
  529. "stroke-width": 1,
  530. "arrow-start": "none",
  531. "arrow-end": "none"
  532. }
  533. },
  534. "mapper": {
  535. "type": "code",
  536. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  537. },
  538. "parser": {
  539. "type": "code",
  540. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  541. },
  542. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image",
  543. "position": {
  544. "type": "list<double>",
  545. "value": [
  546. 1,
  547. 2
  548. ]
  549. },
  550. "orientation": {
  551. "type": "double",
  552. "value": 0
  553. },
  554. "scale": {
  555. "type": "list<double>",
  556. "value": [
  557. 1,
  558. 1
  559. ]
  560. }
  561. },
  562. "6": {
  563. "textContent": {
  564. "type": "string",
  565. "value": "name"
  566. },
  567. "style": {
  568. "type": "map<string,string>",
  569. "value": {
  570. "stroke": "#000000",
  571. "stroke-dasharray": "",
  572. "fill": "#000000",
  573. "fill-opacity": 0.75,
  574. "font-size": "12px",
  575. "stroke-width": 1,
  576. "arrow-start": "none",
  577. "arrow-end": "none",
  578. "text-anchor": "middle"
  579. }
  580. },
  581. "mapper": {
  582. "type": "code",
  583. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  584. },
  585. "parser": {
  586. "type": "code",
  587. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  588. },
  589. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  590. "position": {
  591. "type": "list<double>",
  592. "value": [
  593. 90,
  594. 48
  595. ]
  596. },
  597. "orientation": {
  598. "type": "double",
  599. "value": 0
  600. },
  601. "scale": {
  602. "type": "list<double>",
  603. "value": [
  604. 1,
  605. 1
  606. ]
  607. }
  608. },
  609. "7": {
  610. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  611. "position": {
  612. "type": "list<double>",
  613. "value": [
  614. 48.88071412763202,
  615. 29.32499990929705
  616. ]
  617. },
  618. "orientation": {
  619. "type": "double",
  620. "value": 0
  621. },
  622. "scale": {
  623. "type": "list<double>",
  624. "value": [
  625. 1,
  626. 1
  627. ]
  628. },
  629. "link-style": {
  630. "type": "map<string,string>",
  631. "value": {
  632. "stroke": "#00ffff",
  633. "stroke-dasharray": "",
  634. "stroke-opacity": 0.1,
  635. "stroke-width": 1
  636. }
  637. }
  638. },
  639. "__pLabelText": {
  640. "position": {
  641. "type": "list<double>",
  642. "value": [
  643. 0,
  644. 0
  645. ]
  646. },
  647. "orientation": {
  648. "type": "double",
  649. "value": 0
  650. },
  651. "scale": {
  652. "type": "list<double>",
  653. "value": [
  654. 1,
  655. 1
  656. ]
  657. },
  658. "textContent": {
  659. "type": "string",
  660. "value": "0"
  661. },
  662. "style": {
  663. "type": "map<string,string>",
  664. "value": {
  665. "stroke": "#6000ff",
  666. "fill": "#6000ff",
  667. "font-size": "15px",
  668. "opacity": "1"
  669. }
  670. },
  671. "mapper": {
  672. "type": "code",
  673. "value": "({'textContent':getAttr('__pLabel')})"
  674. },
  675. "parser": {
  676. "type": "code",
  677. "value": "({'__pLabel':getAttr('textContent')})"
  678. },
  679. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  680. }
  681. },
  682. "edges": [
  683. {
  684. "src": "5",
  685. "dest": "7"
  686. },
  687. {
  688. "src": "7",
  689. "dest": "6"
  690. }
  691. ]
  692. }
  693. },
  694. "$asuri": {
  695. "type": "string",
  696. "value": "/Formalisms/RaceCar/Race.pattern/__pCar/4.instance"
  697. },
  698. "$type": "/Formalisms/RaceCar/Race.defaultIcons.pattern/__pCarIcon"
  699. },
  700. "6": {
  701. "typename": {
  702. "type": "string",
  703. "value": "StartIcon"
  704. },
  705. "position": {
  706. "type": "list<double>",
  707. "value": [
  708. 272,
  709. 221
  710. ]
  711. },
  712. "orientation": {
  713. "type": "double",
  714. "value": 0
  715. },
  716. "scale": {
  717. "type": "list<double>",
  718. "value": [
  719. 1,
  720. 1
  721. ]
  722. },
  723. "mapper": {
  724. "type": "code",
  725. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  726. },
  727. "parser": {
  728. "type": "code",
  729. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  730. },
  731. "$contents": {
  732. "type": "map<string,*>",
  733. "value": {
  734. "nodes": {
  735. "24": {
  736. "src": {
  737. "type": "string",
  738. "value": "/Formalisms/RaceCar/icons/start.png"
  739. },
  740. "width": {
  741. "type": "double",
  742. "value": 12
  743. },
  744. "height": {
  745. "type": "double",
  746. "value": 404
  747. },
  748. "style": {
  749. "type": "map<string,string>",
  750. "value": {
  751. "stroke": "#000000",
  752. "stroke-dasharray": "",
  753. "fill": "#ffffff",
  754. "fill-opacity": 1,
  755. "font-size": "20px",
  756. "stroke-width": 1,
  757. "arrow-start": "none",
  758. "arrow-end": "none"
  759. }
  760. },
  761. "mapper": {
  762. "type": "code",
  763. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  764. },
  765. "parser": {
  766. "type": "code",
  767. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  768. },
  769. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image",
  770. "position": {
  771. "type": "list<double>",
  772. "value": [
  773. 6,
  774. 5
  775. ]
  776. },
  777. "orientation": {
  778. "type": "double",
  779. "value": 0
  780. },
  781. "scale": {
  782. "type": "list<double>",
  783. "value": [
  784. 1,
  785. 1
  786. ]
  787. }
  788. },
  789. "__pLabelText": {
  790. "position": {
  791. "type": "list<double>",
  792. "value": [
  793. 0,
  794. 0
  795. ]
  796. },
  797. "orientation": {
  798. "type": "double",
  799. "value": 0
  800. },
  801. "scale": {
  802. "type": "list<double>",
  803. "value": [
  804. 1,
  805. 1
  806. ]
  807. },
  808. "textContent": {
  809. "type": "string",
  810. "value": "1"
  811. },
  812. "style": {
  813. "type": "map<string,string>",
  814. "value": {
  815. "stroke": "#6000ff",
  816. "fill": "#6000ff",
  817. "font-size": "15px",
  818. "opacity": "1"
  819. }
  820. },
  821. "mapper": {
  822. "type": "code",
  823. "value": "({'textContent':getAttr('__pLabel')})"
  824. },
  825. "parser": {
  826. "type": "code",
  827. "value": "({'__pLabel':getAttr('textContent')})"
  828. },
  829. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  830. }
  831. },
  832. "edges": []
  833. }
  834. },
  835. "$asuri": {
  836. "type": "string",
  837. "value": "/Formalisms/RaceCar/Race.pattern/__pStart/6.instance"
  838. },
  839. "$type": "/Formalisms/RaceCar/Race.defaultIcons.pattern/__pStartIcon"
  840. },
  841. "7": {
  842. "link-style": {
  843. "type": "map<string,string>",
  844. "value": {
  845. "stroke": "#00ff00",
  846. "stroke-dasharray": "",
  847. "stroke-opacity": 0.2,
  848. "stroke-width": 1,
  849. "arrow-start": "none",
  850. "arrow-end": "classic-wide-long"
  851. }
  852. },
  853. "typename": {
  854. "type": "string",
  855. "value": "PatternContentsLink"
  856. },
  857. "position": {
  858. "type": "list<double>",
  859. "value": [
  860. 401.5,
  861. 285.75
  862. ]
  863. },
  864. "orientation": {
  865. "type": "double",
  866. "value": 0
  867. },
  868. "scale": {
  869. "type": "list<double>",
  870. "value": [
  871. 1,
  872. 1
  873. ]
  874. },
  875. "mapper": {
  876. "type": "code",
  877. "value": ""
  878. },
  879. "parser": {
  880. "type": "code",
  881. "value": ""
  882. },
  883. "$contents": {
  884. "type": "map<string,*>",
  885. "value": {
  886. "nodes": {},
  887. "edges": []
  888. }
  889. },
  890. "$asuri": {
  891. "type": "string",
  892. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/7.instance"
  893. },
  894. "$segments": {
  895. "type": "map<string,list<string>>",
  896. "value": {
  897. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/LHSIcon/0.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/7.instance": "M244.99999999999997,161L401.5,285.75",
  898. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/7.instance--/Formalisms/RaceCar/Race.defaultIcons.pattern/__pStartIcon/6.instance": "M401.55851143628837,285.7966409052841L280.99947207659375,425.49957917926565"
  899. }
  900. },
  901. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  902. },
  903. "8": {
  904. "typename": {
  905. "type": "string",
  906. "value": "StartIcon"
  907. },
  908. "position": {
  909. "type": "list<double>",
  910. "value": [
  911. 856,
  912. 214
  913. ]
  914. },
  915. "orientation": {
  916. "type": "double",
  917. "value": 0
  918. },
  919. "scale": {
  920. "type": "list<double>",
  921. "value": [
  922. 1,
  923. 1
  924. ]
  925. },
  926. "mapper": {
  927. "type": "code",
  928. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  929. },
  930. "parser": {
  931. "type": "code",
  932. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  933. },
  934. "$contents": {
  935. "type": "map<string,*>",
  936. "value": {
  937. "nodes": {
  938. "24": {
  939. "src": {
  940. "type": "string",
  941. "value": "/Formalisms/RaceCar/icons/start.png"
  942. },
  943. "width": {
  944. "type": "double",
  945. "value": 12
  946. },
  947. "height": {
  948. "type": "double",
  949. "value": 404
  950. },
  951. "style": {
  952. "type": "map<string,string>",
  953. "value": {
  954. "stroke": "#000000",
  955. "stroke-dasharray": "",
  956. "fill": "#ffffff",
  957. "fill-opacity": 1,
  958. "font-size": "20px",
  959. "stroke-width": 1,
  960. "arrow-start": "none",
  961. "arrow-end": "none"
  962. }
  963. },
  964. "mapper": {
  965. "type": "code",
  966. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  967. },
  968. "parser": {
  969. "type": "code",
  970. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  971. },
  972. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image",
  973. "position": {
  974. "type": "list<double>",
  975. "value": [
  976. 6,
  977. 5
  978. ]
  979. },
  980. "orientation": {
  981. "type": "double",
  982. "value": 0
  983. },
  984. "scale": {
  985. "type": "list<double>",
  986. "value": [
  987. 1,
  988. 1
  989. ]
  990. }
  991. },
  992. "__pLabelText": {
  993. "position": {
  994. "type": "list<double>",
  995. "value": [
  996. 0,
  997. 0
  998. ]
  999. },
  1000. "orientation": {
  1001. "type": "double",
  1002. "value": 0
  1003. },
  1004. "scale": {
  1005. "type": "list<double>",
  1006. "value": [
  1007. 1,
  1008. 1
  1009. ]
  1010. },
  1011. "textContent": {
  1012. "type": "string",
  1013. "value": "1"
  1014. },
  1015. "style": {
  1016. "type": "map<string,string>",
  1017. "value": {
  1018. "stroke": "#6000ff",
  1019. "fill": "#6000ff",
  1020. "font-size": "15px",
  1021. "opacity": "1"
  1022. }
  1023. },
  1024. "mapper": {
  1025. "type": "code",
  1026. "value": "({'textContent':getAttr('__pLabel')})"
  1027. },
  1028. "parser": {
  1029. "type": "code",
  1030. "value": "({'__pLabel':getAttr('textContent')})"
  1031. },
  1032. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  1033. }
  1034. },
  1035. "edges": []
  1036. }
  1037. },
  1038. "$asuri": {
  1039. "type": "string",
  1040. "value": "/Formalisms/RaceCar/Race.pattern/__pStart/8.instance"
  1041. },
  1042. "$type": "/Formalisms/RaceCar/Race.defaultIcons.pattern/__pStartIcon"
  1043. },
  1044. "12": {
  1045. "typename": {
  1046. "type": "string",
  1047. "value": "FinishIcon"
  1048. },
  1049. "position": {
  1050. "type": "list<double>",
  1051. "value": [
  1052. 439,
  1053. 154
  1054. ]
  1055. },
  1056. "orientation": {
  1057. "type": "double",
  1058. "value": 0
  1059. },
  1060. "scale": {
  1061. "type": "list<double>",
  1062. "value": [
  1063. 1,
  1064. 1
  1065. ]
  1066. },
  1067. "mapper": {
  1068. "type": "code",
  1069. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1070. },
  1071. "parser": {
  1072. "type": "code",
  1073. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1074. },
  1075. "$contents": {
  1076. "type": "map<string,*>",
  1077. "value": {
  1078. "nodes": {
  1079. "25": {
  1080. "src": {
  1081. "type": "string",
  1082. "value": "/Formalisms/RaceCar/icons/finish.png"
  1083. },
  1084. "width": {
  1085. "type": "double",
  1086. "value": 200
  1087. },
  1088. "height": {
  1089. "type": "double",
  1090. "value": 495
  1091. },
  1092. "style": {
  1093. "type": "map<string,string>",
  1094. "value": {
  1095. "stroke": "#000000",
  1096. "stroke-dasharray": "",
  1097. "fill": "#ffffff",
  1098. "fill-opacity": 1,
  1099. "font-size": "20px",
  1100. "stroke-width": 1,
  1101. "arrow-start": "none",
  1102. "arrow-end": "none"
  1103. }
  1104. },
  1105. "mapper": {
  1106. "type": "code",
  1107. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1108. },
  1109. "parser": {
  1110. "type": "code",
  1111. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1112. },
  1113. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image",
  1114. "position": {
  1115. "type": "list<double>",
  1116. "value": [
  1117. 5,
  1118. 3
  1119. ]
  1120. },
  1121. "orientation": {
  1122. "type": "double",
  1123. "value": 0
  1124. },
  1125. "scale": {
  1126. "type": "list<double>",
  1127. "value": [
  1128. 1,
  1129. 1
  1130. ]
  1131. }
  1132. },
  1133. "__pLabelText": {
  1134. "position": {
  1135. "type": "list<double>",
  1136. "value": [
  1137. 0,
  1138. 0
  1139. ]
  1140. },
  1141. "orientation": {
  1142. "type": "double",
  1143. "value": 0
  1144. },
  1145. "scale": {
  1146. "type": "list<double>",
  1147. "value": [
  1148. 1,
  1149. 1
  1150. ]
  1151. },
  1152. "textContent": {
  1153. "type": "string",
  1154. "value": "2"
  1155. },
  1156. "style": {
  1157. "type": "map<string,string>",
  1158. "value": {
  1159. "stroke": "#6000ff",
  1160. "fill": "#6000ff",
  1161. "font-size": "15px",
  1162. "opacity": "1"
  1163. }
  1164. },
  1165. "mapper": {
  1166. "type": "code",
  1167. "value": "({'textContent':getAttr('__pLabel')})"
  1168. },
  1169. "parser": {
  1170. "type": "code",
  1171. "value": "({'__pLabel':getAttr('textContent')})"
  1172. },
  1173. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  1174. }
  1175. },
  1176. "edges": []
  1177. }
  1178. },
  1179. "$asuri": {
  1180. "type": "string",
  1181. "value": "/Formalisms/RaceCar/Race.pattern/__pFinish/12.instance"
  1182. },
  1183. "$type": "/Formalisms/RaceCar/Race.defaultIcons.pattern/__pFinishIcon"
  1184. },
  1185. "13": {
  1186. "link-style": {
  1187. "type": "map<string,string>",
  1188. "value": {
  1189. "stroke": "#00ff00",
  1190. "stroke-dasharray": "",
  1191. "stroke-opacity": 0.2,
  1192. "stroke-width": 1,
  1193. "arrow-start": "none",
  1194. "arrow-end": "classic-wide-long"
  1195. }
  1196. },
  1197. "typename": {
  1198. "type": "string",
  1199. "value": "PatternContentsLink"
  1200. },
  1201. "position": {
  1202. "type": "list<double>",
  1203. "value": [
  1204. 364.75,
  1205. 286.5
  1206. ]
  1207. },
  1208. "orientation": {
  1209. "type": "double",
  1210. "value": 0
  1211. },
  1212. "scale": {
  1213. "type": "list<double>",
  1214. "value": [
  1215. 1,
  1216. 1
  1217. ]
  1218. },
  1219. "mapper": {
  1220. "type": "code",
  1221. "value": ""
  1222. },
  1223. "parser": {
  1224. "type": "code",
  1225. "value": ""
  1226. },
  1227. "$contents": {
  1228. "type": "map<string,*>",
  1229. "value": {
  1230. "nodes": {},
  1231. "edges": []
  1232. }
  1233. },
  1234. "$asuri": {
  1235. "type": "string",
  1236. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/13.instance"
  1237. },
  1238. "$segments": {
  1239. "type": "map<string,list<string>>",
  1240. "value": {
  1241. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/LHSIcon/0.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/13.instance": "M244.99999999999997,161L364.75,286.5",
  1242. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/13.instance--/Formalisms/RaceCar/Race.defaultIcons.pattern/__pFinishIcon/12.instance": "M364.8017346873329,286.5542188163697L541.4994601588646,402.9994342374738"
  1243. }
  1244. },
  1245. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  1246. },
  1247. "14": {
  1248. "link-style": {
  1249. "type": "map<string,string>",
  1250. "value": {
  1251. "stroke": "#00ff00",
  1252. "stroke-dasharray": "",
  1253. "stroke-opacity": 0.2,
  1254. "stroke-width": 1,
  1255. "arrow-start": "none",
  1256. "arrow-end": "classic-wide-long"
  1257. }
  1258. },
  1259. "typename": {
  1260. "type": "string",
  1261. "value": "PatternContentsLink"
  1262. },
  1263. "position": {
  1264. "type": "list<double>",
  1265. "value": [
  1266. 837.1190839591853,
  1267. 262.09160304552717
  1268. ]
  1269. },
  1270. "orientation": {
  1271. "type": "double",
  1272. "value": 0
  1273. },
  1274. "scale": {
  1275. "type": "list<double>",
  1276. "value": [
  1277. 1,
  1278. 1
  1279. ]
  1280. },
  1281. "mapper": {
  1282. "type": "code",
  1283. "value": ""
  1284. },
  1285. "parser": {
  1286. "type": "code",
  1287. "value": ""
  1288. },
  1289. "$contents": {
  1290. "type": "map<string,*>",
  1291. "value": {
  1292. "nodes": {},
  1293. "edges": []
  1294. }
  1295. },
  1296. "$asuri": {
  1297. "type": "string",
  1298. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/14.instance"
  1299. },
  1300. "$segments": {
  1301. "type": "map<string,list<string>>",
  1302. "value": {
  1303. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon/1.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/14.instance": "M681,142L837.1190839591853,262.09160304552717",
  1304. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/14.instance--/Formalisms/RaceCar/Race.defaultIcons.pattern/__pCarIcon/4.instance": "M837.0593601758725,262.0456616737481L1213.999454854808,383.9995806575446"
  1305. }
  1306. },
  1307. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  1308. },
  1309. "15": {
  1310. "link-style": {
  1311. "type": "map<string,string>",
  1312. "value": {
  1313. "stroke": "#00ff00",
  1314. "stroke-dasharray": "",
  1315. "stroke-opacity": 0.2,
  1316. "stroke-width": 1,
  1317. "arrow-start": "none",
  1318. "arrow-end": "classic-wide-long"
  1319. }
  1320. },
  1321. "typename": {
  1322. "type": "string",
  1323. "value": "PatternContentsLink"
  1324. },
  1325. "position": {
  1326. "type": "list<double>",
  1327. "value": [
  1328. 773.0831325200642,
  1329. 280.3749246836835
  1330. ]
  1331. },
  1332. "orientation": {
  1333. "type": "double",
  1334. "value": 0
  1335. },
  1336. "scale": {
  1337. "type": "list<double>",
  1338. "value": [
  1339. 1,
  1340. 1
  1341. ]
  1342. },
  1343. "mapper": {
  1344. "type": "code",
  1345. "value": ""
  1346. },
  1347. "parser": {
  1348. "type": "code",
  1349. "value": ""
  1350. },
  1351. "$contents": {
  1352. "type": "map<string,*>",
  1353. "value": {
  1354. "nodes": {},
  1355. "edges": []
  1356. }
  1357. },
  1358. "$asuri": {
  1359. "type": "string",
  1360. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/15.instance"
  1361. },
  1362. "$segments": {
  1363. "type": "map<string,list<string>>",
  1364. "value": {
  1365. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon/1.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/15.instance": "M681,142L773.0831325200642,280.3749246836835",
  1366. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/15.instance--/Formalisms/RaceCar/Race.defaultIcons.pattern/__pStartIcon/8.instance": "M773.0414160243046,280.3122365800011L864.9995495529804,418.4993231054298"
  1367. }
  1368. },
  1369. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  1370. },
  1371. "16": {
  1372. "typename": {
  1373. "type": "string",
  1374. "value": "FinishIcon"
  1375. },
  1376. "position": {
  1377. "type": "list<double>",
  1378. "value": [
  1379. 1202,
  1380. 153
  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": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1397. },
  1398. "parser": {
  1399. "type": "code",
  1400. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1401. },
  1402. "$contents": {
  1403. "type": "map<string,*>",
  1404. "value": {
  1405. "nodes": {
  1406. "25": {
  1407. "src": {
  1408. "type": "string",
  1409. "value": "/Formalisms/RaceCar/icons/finish.png"
  1410. },
  1411. "width": {
  1412. "type": "double",
  1413. "value": 200
  1414. },
  1415. "height": {
  1416. "type": "double",
  1417. "value": 495
  1418. },
  1419. "style": {
  1420. "type": "map<string,string>",
  1421. "value": {
  1422. "stroke": "#000000",
  1423. "stroke-dasharray": "",
  1424. "fill": "#ffffff",
  1425. "fill-opacity": 1,
  1426. "font-size": "20px",
  1427. "stroke-width": 1,
  1428. "arrow-start": "none",
  1429. "arrow-end": "none"
  1430. }
  1431. },
  1432. "mapper": {
  1433. "type": "code",
  1434. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1435. },
  1436. "parser": {
  1437. "type": "code",
  1438. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1439. },
  1440. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image",
  1441. "position": {
  1442. "type": "list<double>",
  1443. "value": [
  1444. 5,
  1445. 3
  1446. ]
  1447. },
  1448. "orientation": {
  1449. "type": "double",
  1450. "value": 0
  1451. },
  1452. "scale": {
  1453. "type": "list<double>",
  1454. "value": [
  1455. 1,
  1456. 1
  1457. ]
  1458. }
  1459. },
  1460. "__pLabelText": {
  1461. "position": {
  1462. "type": "list<double>",
  1463. "value": [
  1464. 0,
  1465. 0
  1466. ]
  1467. },
  1468. "orientation": {
  1469. "type": "double",
  1470. "value": 0
  1471. },
  1472. "scale": {
  1473. "type": "list<double>",
  1474. "value": [
  1475. 1,
  1476. 1
  1477. ]
  1478. },
  1479. "textContent": {
  1480. "type": "string",
  1481. "value": "2"
  1482. },
  1483. "style": {
  1484. "type": "map<string,string>",
  1485. "value": {
  1486. "stroke": "#6000ff",
  1487. "fill": "#6000ff",
  1488. "font-size": "15px",
  1489. "opacity": "1"
  1490. }
  1491. },
  1492. "mapper": {
  1493. "type": "code",
  1494. "value": "({'textContent':getAttr('__pLabel')})"
  1495. },
  1496. "parser": {
  1497. "type": "code",
  1498. "value": "({'__pLabel':getAttr('textContent')})"
  1499. },
  1500. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  1501. }
  1502. },
  1503. "edges": []
  1504. }
  1505. },
  1506. "$asuri": {
  1507. "type": "string",
  1508. "value": "/Formalisms/RaceCar/Race.pattern/__pFinish/16.instance"
  1509. },
  1510. "$type": "/Formalisms/RaceCar/Race.defaultIcons.pattern/__pFinishIcon"
  1511. },
  1512. "17": {
  1513. "link-style": {
  1514. "type": "map<string,string>",
  1515. "value": {
  1516. "stroke": "#00ff00",
  1517. "stroke-dasharray": "",
  1518. "stroke-opacity": 0.2,
  1519. "stroke-width": 1,
  1520. "arrow-start": "none",
  1521. "arrow-end": "classic-wide-long"
  1522. }
  1523. },
  1524. "typename": {
  1525. "type": "string",
  1526. "value": "PatternContentsLink"
  1527. },
  1528. "position": {
  1529. "type": "list<double>",
  1530. "value": [
  1531. 992.888555551501,
  1532. 272.05777777608694
  1533. ]
  1534. },
  1535. "orientation": {
  1536. "type": "double",
  1537. "value": 0
  1538. },
  1539. "scale": {
  1540. "type": "list<double>",
  1541. "value": [
  1542. 1,
  1543. 1
  1544. ]
  1545. },
  1546. "mapper": {
  1547. "type": "code",
  1548. "value": ""
  1549. },
  1550. "parser": {
  1551. "type": "code",
  1552. "value": ""
  1553. },
  1554. "$contents": {
  1555. "type": "map<string,*>",
  1556. "value": {
  1557. "nodes": {},
  1558. "edges": []
  1559. }
  1560. },
  1561. "$asuri": {
  1562. "type": "string",
  1563. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/17.instance"
  1564. },
  1565. "$segments": {
  1566. "type": "map<string,list<string>>",
  1567. "value": {
  1568. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon/1.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/17.instance": "M681,142L992.888555551501,272.05777777608694",
  1569. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/17.instance--/Formalisms/RaceCar/Race.defaultIcons.pattern/__pFinishIcon/16.instance": "M992.888309230535,272.0576750600466L1304.4993434035316,401.99972619874615"
  1570. }
  1571. },
  1572. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  1573. },
  1574. "18": {
  1575. "typename": {
  1576. "type": "string",
  1577. "value": "CupIcon"
  1578. },
  1579. "position": {
  1580. "type": "list<double>",
  1581. "value": [
  1582. 1003,
  1583. 289
  1584. ]
  1585. },
  1586. "orientation": {
  1587. "type": "double",
  1588. "value": 0
  1589. },
  1590. "scale": {
  1591. "type": "list<double>",
  1592. "value": [
  1593. 1,
  1594. 1
  1595. ]
  1596. },
  1597. "mapper": {
  1598. "type": "code",
  1599. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1600. },
  1601. "parser": {
  1602. "type": "code",
  1603. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1604. },
  1605. "$contents": {
  1606. "type": "map<string,*>",
  1607. "value": {
  1608. "nodes": {
  1609. "10": {
  1610. "src": {
  1611. "type": "string",
  1612. "value": "/Formalisms/RaceCar/Icons/cup.png"
  1613. },
  1614. "width": {
  1615. "type": "double",
  1616. "value": 256
  1617. },
  1618. "height": {
  1619. "type": "double",
  1620. "value": 256
  1621. },
  1622. "style": {
  1623. "type": "map<string,string>",
  1624. "value": {
  1625. "stroke": "#000000",
  1626. "stroke-dasharray": "",
  1627. "fill": "#ffffff",
  1628. "fill-opacity": 1,
  1629. "font-size": "20px",
  1630. "stroke-width": 1,
  1631. "arrow-start": "none",
  1632. "arrow-end": "none"
  1633. }
  1634. },
  1635. "mapper": {
  1636. "type": "code",
  1637. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1638. },
  1639. "parser": {
  1640. "type": "code",
  1641. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1642. },
  1643. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image",
  1644. "position": {
  1645. "type": "list<double>",
  1646. "value": [
  1647. 1,
  1648. 1
  1649. ]
  1650. },
  1651. "orientation": {
  1652. "type": "double",
  1653. "value": 0
  1654. },
  1655. "scale": {
  1656. "type": "list<double>",
  1657. "value": [
  1658. 1,
  1659. 1
  1660. ]
  1661. }
  1662. },
  1663. "11": {
  1664. "textContent": {
  1665. "type": "string",
  1666. "value": "name"
  1667. },
  1668. "style": {
  1669. "type": "map<string,string>",
  1670. "value": {
  1671. "stroke": "#000000",
  1672. "stroke-dasharray": "",
  1673. "fill": "#000000",
  1674. "fill-opacity": 0.75,
  1675. "font-size": "12px",
  1676. "stroke-width": 1,
  1677. "arrow-start": "none",
  1678. "arrow-end": "none",
  1679. "text-anchor": "middle"
  1680. }
  1681. },
  1682. "mapper": {
  1683. "type": "code",
  1684. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1685. },
  1686. "parser": {
  1687. "type": "code",
  1688. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1689. },
  1690. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1691. "position": {
  1692. "type": "list<double>",
  1693. "value": [
  1694. 84,
  1695. 223
  1696. ]
  1697. },
  1698. "orientation": {
  1699. "type": "double",
  1700. "value": 0
  1701. },
  1702. "scale": {
  1703. "type": "list<double>",
  1704. "value": [
  1705. 1,
  1706. 1
  1707. ]
  1708. }
  1709. },
  1710. "12": {
  1711. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1712. "position": {
  1713. "type": "list<double>",
  1714. "value": [
  1715. 51.55866934212008,
  1716. 116.38820561520004
  1717. ]
  1718. },
  1719. "orientation": {
  1720. "type": "double",
  1721. "value": 0
  1722. },
  1723. "scale": {
  1724. "type": "list<double>",
  1725. "value": [
  1726. 1,
  1727. 1
  1728. ]
  1729. },
  1730. "link-style": {
  1731. "type": "map<string,string>",
  1732. "value": {
  1733. "stroke": "#00ffff",
  1734. "stroke-dasharray": "",
  1735. "stroke-opacity": 0.1,
  1736. "stroke-width": 1
  1737. }
  1738. }
  1739. },
  1740. "__pLabelText": {
  1741. "position": {
  1742. "type": "list<double>",
  1743. "value": [
  1744. 0,
  1745. 0
  1746. ]
  1747. },
  1748. "orientation": {
  1749. "type": "double",
  1750. "value": 0
  1751. },
  1752. "scale": {
  1753. "type": "list<double>",
  1754. "value": [
  1755. 1,
  1756. 1
  1757. ]
  1758. },
  1759. "textContent": {
  1760. "type": "string",
  1761. "value": "4"
  1762. },
  1763. "style": {
  1764. "type": "map<string,string>",
  1765. "value": {
  1766. "stroke": "#6000ff",
  1767. "fill": "#6000ff",
  1768. "font-size": "15px",
  1769. "opacity": "1"
  1770. }
  1771. },
  1772. "mapper": {
  1773. "type": "code",
  1774. "value": "({'textContent':getAttr('__pLabel')})"
  1775. },
  1776. "parser": {
  1777. "type": "code",
  1778. "value": "({'__pLabel':getAttr('textContent')})"
  1779. },
  1780. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  1781. }
  1782. },
  1783. "edges": [
  1784. {
  1785. "src": "10",
  1786. "dest": "12"
  1787. },
  1788. {
  1789. "src": "12",
  1790. "dest": "11"
  1791. }
  1792. ]
  1793. }
  1794. },
  1795. "$asuri": {
  1796. "type": "string",
  1797. "value": "/Formalisms/RaceCar/Race.pattern/__pCup/18.instance"
  1798. },
  1799. "$type": "/Formalisms/RaceCar/Race.defaultIcons.pattern/__pCupIcon"
  1800. },
  1801. "19": {
  1802. "link-style": {
  1803. "type": "map<string,string>",
  1804. "value": {
  1805. "stroke": "#00ff00",
  1806. "stroke-dasharray": "",
  1807. "stroke-opacity": 0.2,
  1808. "stroke-width": 1,
  1809. "arrow-start": "none",
  1810. "arrow-end": "classic-wide-long"
  1811. }
  1812. },
  1813. "typename": {
  1814. "type": "string",
  1815. "value": "PatternContentsLink"
  1816. },
  1817. "position": {
  1818. "type": "list<double>",
  1819. "value": [
  1820. 887.75,
  1821. 335.25
  1822. ]
  1823. },
  1824. "orientation": {
  1825. "type": "double",
  1826. "value": 0
  1827. },
  1828. "scale": {
  1829. "type": "list<double>",
  1830. "value": [
  1831. 1,
  1832. 1
  1833. ]
  1834. },
  1835. "mapper": {
  1836. "type": "code",
  1837. "value": ""
  1838. },
  1839. "parser": {
  1840. "type": "code",
  1841. "value": ""
  1842. },
  1843. "$contents": {
  1844. "type": "map<string,*>",
  1845. "value": {
  1846. "nodes": {},
  1847. "edges": []
  1848. }
  1849. },
  1850. "$asuri": {
  1851. "type": "string",
  1852. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/19.instance"
  1853. },
  1854. "$segments": {
  1855. "type": "map<string,list<string>>",
  1856. "value": {
  1857. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon/1.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/19.instance": "M681,142L887.75,335.25",
  1858. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/19.instance--/Formalisms/RaceCar/Race.defaultIcons.pattern/__pCupIcon/18.instance": "M887.8593524658447,335.35221215973144L1131.499380731163,417.49942116709656"
  1859. }
  1860. },
  1861. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  1862. }
  1863. },
  1864. "edges": [],
  1865. "metamodels": [
  1866. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons",
  1867. "/Formalisms/RaceCar/Race.defaultIcons.pattern"
  1868. ]
  1869. },
  1870. "asm": {
  1871. "nodes": {
  1872. "0": {
  1873. "Condition": {
  1874. "type": "code",
  1875. "value": "result = True"
  1876. },
  1877. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/LHS"
  1878. },
  1879. "1": {
  1880. "Action": {
  1881. "type": "code",
  1882. "value": "startPos=getAttr('position','1')\nfinishPos=getAttr('position','2')\n\ncupPosX=(finishPos[0]+startPos[0])/2-150\ncupPosY=startPos[1]\n\nsetAttr('position',[cupPosX,cupPosY],'4')\nsetAttr('name',getAttr('name','0'),'4')"
  1883. },
  1884. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/RHS"
  1885. },
  1886. "2": {
  1887. "__pLabel": {
  1888. "type": "string",
  1889. "value": "0"
  1890. },
  1891. "__pPivotIn": {
  1892. "type": "string",
  1893. "value": "winner"
  1894. },
  1895. "__pPivotOut": {
  1896. "type": "string",
  1897. "value": ""
  1898. },
  1899. "__pMatchSubtypes": {
  1900. "type": "boolean",
  1901. "value": false
  1902. },
  1903. "name": {
  1904. "type": "code",
  1905. "value": "result = True"
  1906. },
  1907. "position": {
  1908. "type": "code",
  1909. "value": "result = True"
  1910. },
  1911. "$type": "/Formalisms/RaceCar/Race.pattern/__pCar"
  1912. },
  1913. "3": {
  1914. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  1915. },
  1916. "4": {
  1917. "__pLabel": {
  1918. "type": "string",
  1919. "value": "0"
  1920. },
  1921. "__pPivotIn": {
  1922. "type": "string",
  1923. "value": ""
  1924. },
  1925. "__pPivotOut": {
  1926. "type": "string",
  1927. "value": ""
  1928. },
  1929. "__pMatchSubtypes": {
  1930. "type": "boolean"
  1931. },
  1932. "name": {
  1933. "type": "code",
  1934. "value": "result = getAttr()"
  1935. },
  1936. "position": {
  1937. "type": "code",
  1938. "value": "result = getAttr()"
  1939. },
  1940. "$type": "/Formalisms/RaceCar/Race.pattern/__pCar"
  1941. },
  1942. "6": {
  1943. "__pLabel": {
  1944. "type": "string",
  1945. "value": "1"
  1946. },
  1947. "__pPivotIn": {
  1948. "type": "string",
  1949. "value": ""
  1950. },
  1951. "__pPivotOut": {
  1952. "type": "string",
  1953. "value": ""
  1954. },
  1955. "__pMatchSubtypes": {
  1956. "type": "boolean",
  1957. "value": false
  1958. },
  1959. "name": {
  1960. "type": "code",
  1961. "value": "result = True"
  1962. },
  1963. "position": {
  1964. "type": "code",
  1965. "value": "result = True"
  1966. },
  1967. "$type": "/Formalisms/RaceCar/Race.pattern/__pStart"
  1968. },
  1969. "7": {
  1970. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  1971. },
  1972. "8": {
  1973. "__pLabel": {
  1974. "type": "string",
  1975. "value": "1"
  1976. },
  1977. "__pPivotIn": {
  1978. "type": "string",
  1979. "value": ""
  1980. },
  1981. "__pPivotOut": {
  1982. "type": "string",
  1983. "value": ""
  1984. },
  1985. "__pMatchSubtypes": {
  1986. "type": "boolean"
  1987. },
  1988. "name": {
  1989. "type": "code",
  1990. "value": "result = getAttr()"
  1991. },
  1992. "position": {
  1993. "type": "code",
  1994. "value": "result = getAttr()"
  1995. },
  1996. "$type": "/Formalisms/RaceCar/Race.pattern/__pStart"
  1997. },
  1998. "12": {
  1999. "__pLabel": {
  2000. "type": "string",
  2001. "value": "2"
  2002. },
  2003. "__pPivotIn": {
  2004. "type": "string",
  2005. "value": ""
  2006. },
  2007. "__pPivotOut": {
  2008. "type": "string",
  2009. "value": ""
  2010. },
  2011. "__pMatchSubtypes": {
  2012. "type": "boolean",
  2013. "value": false
  2014. },
  2015. "name": {
  2016. "type": "code",
  2017. "value": "result = True"
  2018. },
  2019. "position": {
  2020. "type": "code",
  2021. "value": "result = True"
  2022. },
  2023. "$type": "/Formalisms/RaceCar/Race.pattern/__pFinish"
  2024. },
  2025. "13": {
  2026. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  2027. },
  2028. "14": {
  2029. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  2030. },
  2031. "15": {
  2032. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  2033. },
  2034. "16": {
  2035. "__pLabel": {
  2036. "type": "string",
  2037. "value": "2"
  2038. },
  2039. "__pPivotIn": {
  2040. "type": "string",
  2041. "value": ""
  2042. },
  2043. "__pPivotOut": {
  2044. "type": "string",
  2045. "value": ""
  2046. },
  2047. "__pMatchSubtypes": {
  2048. "type": "boolean"
  2049. },
  2050. "name": {
  2051. "type": "code",
  2052. "value": "result = getAttr()"
  2053. },
  2054. "position": {
  2055. "type": "code",
  2056. "value": "result = getAttr()"
  2057. },
  2058. "$type": "/Formalisms/RaceCar/Race.pattern/__pFinish"
  2059. },
  2060. "17": {
  2061. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  2062. },
  2063. "18": {
  2064. "__pLabel": {
  2065. "type": "string",
  2066. "value": "4"
  2067. },
  2068. "__pPivotIn": {
  2069. "type": "string",
  2070. "value": ""
  2071. },
  2072. "__pPivotOut": {
  2073. "type": "string",
  2074. "value": ""
  2075. },
  2076. "__pMatchSubtypes": {
  2077. "type": "boolean"
  2078. },
  2079. "name": {
  2080. "type": "code",
  2081. "value": "result = \"\""
  2082. },
  2083. "position": {
  2084. "type": "code",
  2085. "value": "result = [0,0]"
  2086. },
  2087. "$type": "/Formalisms/RaceCar/Race.pattern/__pCup"
  2088. },
  2089. "19": {
  2090. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  2091. }
  2092. },
  2093. "edges": [
  2094. {
  2095. "src": "0",
  2096. "dest": "3"
  2097. },
  2098. {
  2099. "src": "3",
  2100. "dest": "2"
  2101. },
  2102. {
  2103. "src": "0",
  2104. "dest": "7"
  2105. },
  2106. {
  2107. "src": "7",
  2108. "dest": "6"
  2109. },
  2110. {
  2111. "src": "0",
  2112. "dest": "13"
  2113. },
  2114. {
  2115. "src": "13",
  2116. "dest": "12"
  2117. },
  2118. {
  2119. "src": "1",
  2120. "dest": "14"
  2121. },
  2122. {
  2123. "src": "14",
  2124. "dest": "4"
  2125. },
  2126. {
  2127. "src": "1",
  2128. "dest": "15"
  2129. },
  2130. {
  2131. "src": "15",
  2132. "dest": "8"
  2133. },
  2134. {
  2135. "src": "1",
  2136. "dest": "17"
  2137. },
  2138. {
  2139. "src": "17",
  2140. "dest": "16"
  2141. },
  2142. {
  2143. "src": "1",
  2144. "dest": "19"
  2145. },
  2146. {
  2147. "src": "19",
  2148. "dest": "18"
  2149. }
  2150. ],
  2151. "metamodels": [
  2152. "/Formalisms/__Transformations__/TransformationRule/TransformationRule",
  2153. "/Formalisms/RaceCar/Race.pattern"
  2154. ]
  2155. }
  2156. }