R_setOneCarToStartLine.model 31 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349
  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. 383,
  13. 164
  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. "1": {
  95. "typename": {
  96. "type": "string",
  97. "value": "RHSIcon"
  98. },
  99. "position": {
  100. "type": "list<double>",
  101. "value": [
  102. 760,
  103. 164
  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/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. 464,
  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. 470.09735847208105,
  431. 265.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": "M384,164L470.09735847208105,265.11433960093234",
  468. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/3.instance--/Formalisms/RaceCar/Race.defaultIcons.pattern/__pCarIcon/2.instance": "M470.0972115159524,265.1141670129208L555.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. 915,
  482. 342
  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. "5": {
  701. "link-style": {
  702. "type": "map<string,string>",
  703. "value": {
  704. "stroke": "#00ff00",
  705. "stroke-dasharray": "",
  706. "stroke-opacity": 0.2,
  707. "stroke-width": 1,
  708. "arrow-start": "none",
  709. "arrow-end": "classic-wide-long"
  710. }
  711. },
  712. "typename": {
  713. "type": "string",
  714. "value": "PatternContentsLink"
  715. },
  716. "position": {
  717. "type": "list<double>",
  718. "value": [
  719. 883.6133027381654,
  720. 271.59862384091326
  721. ]
  722. },
  723. "orientation": {
  724. "type": "double",
  725. "value": 0
  726. },
  727. "scale": {
  728. "type": "list<double>",
  729. "value": [
  730. 1,
  731. 1
  732. ]
  733. },
  734. "mapper": {
  735. "type": "code",
  736. "value": ""
  737. },
  738. "parser": {
  739. "type": "code",
  740. "value": ""
  741. },
  742. "$contents": {
  743. "type": "map<string,*>",
  744. "value": {
  745. "nodes": {},
  746. "edges": []
  747. }
  748. },
  749. "$asuri": {
  750. "type": "string",
  751. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/5.instance"
  752. },
  753. "$segments": {
  754. "type": "map<string,list<string>>",
  755. "value": {
  756. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon/1.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/5.instance": "M760,164L883.6133027381654,271.59862384091326",
  757. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/5.instance--/Formalisms/RaceCar/Race.defaultIcons.pattern/__pCarIcon/4.instance": "M883.5564434794418,271.54913096388657L1006.9993766965837,378.99945744844325"
  758. }
  759. },
  760. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  761. },
  762. "6": {
  763. "typename": {
  764. "type": "string",
  765. "value": "StartIcon"
  766. },
  767. "position": {
  768. "type": "list<double>",
  769. "value": [
  770. 688,
  771. 209
  772. ]
  773. },
  774. "orientation": {
  775. "type": "double",
  776. "value": 0
  777. },
  778. "scale": {
  779. "type": "list<double>",
  780. "value": [
  781. 1,
  782. 1
  783. ]
  784. },
  785. "mapper": {
  786. "type": "code",
  787. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  788. },
  789. "parser": {
  790. "type": "code",
  791. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  792. },
  793. "$contents": {
  794. "type": "map<string,*>",
  795. "value": {
  796. "nodes": {
  797. "24": {
  798. "src": {
  799. "type": "string",
  800. "value": "/Formalisms/RaceCar/icons/start.png"
  801. },
  802. "width": {
  803. "type": "double",
  804. "value": 12
  805. },
  806. "height": {
  807. "type": "double",
  808. "value": 404
  809. },
  810. "style": {
  811. "type": "map<string,string>",
  812. "value": {
  813. "stroke": "#000000",
  814. "stroke-dasharray": "",
  815. "fill": "#ffffff",
  816. "fill-opacity": 1,
  817. "font-size": "20px",
  818. "stroke-width": 1,
  819. "arrow-start": "none",
  820. "arrow-end": "none"
  821. }
  822. },
  823. "mapper": {
  824. "type": "code",
  825. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  826. },
  827. "parser": {
  828. "type": "code",
  829. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  830. },
  831. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image",
  832. "position": {
  833. "type": "list<double>",
  834. "value": [
  835. 6,
  836. 5
  837. ]
  838. },
  839. "orientation": {
  840. "type": "double",
  841. "value": 0
  842. },
  843. "scale": {
  844. "type": "list<double>",
  845. "value": [
  846. 1,
  847. 1
  848. ]
  849. }
  850. },
  851. "__pLabelText": {
  852. "position": {
  853. "type": "list<double>",
  854. "value": [
  855. 0,
  856. 0
  857. ]
  858. },
  859. "orientation": {
  860. "type": "double",
  861. "value": 0
  862. },
  863. "scale": {
  864. "type": "list<double>",
  865. "value": [
  866. 1,
  867. 1
  868. ]
  869. },
  870. "textContent": {
  871. "type": "string",
  872. "value": "1"
  873. },
  874. "style": {
  875. "type": "map<string,string>",
  876. "value": {
  877. "stroke": "#6000ff",
  878. "fill": "#6000ff",
  879. "font-size": "15px",
  880. "opacity": "1"
  881. }
  882. },
  883. "mapper": {
  884. "type": "code",
  885. "value": "({'textContent':getAttr('__pLabel')})"
  886. },
  887. "parser": {
  888. "type": "code",
  889. "value": "({'__pLabel':getAttr('textContent')})"
  890. },
  891. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  892. }
  893. },
  894. "edges": []
  895. }
  896. },
  897. "$asuri": {
  898. "type": "string",
  899. "value": "/Formalisms/RaceCar/Race.pattern/__pStart/6.instance"
  900. },
  901. "$type": "/Formalisms/RaceCar/Race.defaultIcons.pattern/__pStartIcon"
  902. },
  903. "7": {
  904. "link-style": {
  905. "type": "map<string,string>",
  906. "value": {
  907. "stroke": "#00ff00",
  908. "stroke-dasharray": "",
  909. "stroke-opacity": 0.2,
  910. "stroke-width": 1,
  911. "arrow-start": "none",
  912. "arrow-end": "classic-wide-long"
  913. }
  914. },
  915. "typename": {
  916. "type": "string",
  917. "value": "PatternContentsLink"
  918. },
  919. "position": {
  920. "type": "list<double>",
  921. "value": [
  922. 540.5,
  923. 288.75
  924. ]
  925. },
  926. "orientation": {
  927. "type": "double",
  928. "value": 0
  929. },
  930. "scale": {
  931. "type": "list<double>",
  932. "value": [
  933. 1,
  934. 1
  935. ]
  936. },
  937. "mapper": {
  938. "type": "code",
  939. "value": ""
  940. },
  941. "parser": {
  942. "type": "code",
  943. "value": ""
  944. },
  945. "$contents": {
  946. "type": "map<string,*>",
  947. "value": {
  948. "nodes": {},
  949. "edges": []
  950. }
  951. },
  952. "$asuri": {
  953. "type": "string",
  954. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/7.instance"
  955. },
  956. "$segments": {
  957. "type": "map<string,list<string>>",
  958. "value": {
  959. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/LHSIcon/0.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/7.instance": "M384,164L540.5,288.75",
  960. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/7.instance--/Formalisms/RaceCar/Race.defaultIcons.pattern/__pStartIcon/6.instance": "M540.5585114362883,288.7966409052841L696.9994720765937,413.49957917926565"
  961. }
  962. },
  963. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  964. },
  965. "8": {
  966. "typename": {
  967. "type": "string",
  968. "value": "StartIcon"
  969. },
  970. "position": {
  971. "type": "list<double>",
  972. "value": [
  973. 1140,
  974. 239
  975. ]
  976. },
  977. "orientation": {
  978. "type": "double",
  979. "value": 0
  980. },
  981. "scale": {
  982. "type": "list<double>",
  983. "value": [
  984. 1,
  985. 1
  986. ]
  987. },
  988. "mapper": {
  989. "type": "code",
  990. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  991. },
  992. "parser": {
  993. "type": "code",
  994. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  995. },
  996. "$contents": {
  997. "type": "map<string,*>",
  998. "value": {
  999. "nodes": {
  1000. "24": {
  1001. "src": {
  1002. "type": "string",
  1003. "value": "/Formalisms/RaceCar/icons/start.png"
  1004. },
  1005. "width": {
  1006. "type": "double",
  1007. "value": 12
  1008. },
  1009. "height": {
  1010. "type": "double",
  1011. "value": 404
  1012. },
  1013. "style": {
  1014. "type": "map<string,string>",
  1015. "value": {
  1016. "stroke": "#000000",
  1017. "stroke-dasharray": "",
  1018. "fill": "#ffffff",
  1019. "fill-opacity": 1,
  1020. "font-size": "20px",
  1021. "stroke-width": 1,
  1022. "arrow-start": "none",
  1023. "arrow-end": "none"
  1024. }
  1025. },
  1026. "mapper": {
  1027. "type": "code",
  1028. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1029. },
  1030. "parser": {
  1031. "type": "code",
  1032. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1033. },
  1034. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image",
  1035. "position": {
  1036. "type": "list<double>",
  1037. "value": [
  1038. 6,
  1039. 5
  1040. ]
  1041. },
  1042. "orientation": {
  1043. "type": "double",
  1044. "value": 0
  1045. },
  1046. "scale": {
  1047. "type": "list<double>",
  1048. "value": [
  1049. 1,
  1050. 1
  1051. ]
  1052. }
  1053. },
  1054. "__pLabelText": {
  1055. "position": {
  1056. "type": "list<double>",
  1057. "value": [
  1058. 0,
  1059. 0
  1060. ]
  1061. },
  1062. "orientation": {
  1063. "type": "double",
  1064. "value": 0
  1065. },
  1066. "scale": {
  1067. "type": "list<double>",
  1068. "value": [
  1069. 1,
  1070. 1
  1071. ]
  1072. },
  1073. "textContent": {
  1074. "type": "string",
  1075. "value": "1"
  1076. },
  1077. "style": {
  1078. "type": "map<string,string>",
  1079. "value": {
  1080. "stroke": "#6000ff",
  1081. "fill": "#6000ff",
  1082. "font-size": "15px",
  1083. "opacity": "1"
  1084. }
  1085. },
  1086. "mapper": {
  1087. "type": "code",
  1088. "value": "({'textContent':getAttr('__pLabel')})"
  1089. },
  1090. "parser": {
  1091. "type": "code",
  1092. "value": "({'__pLabel':getAttr('textContent')})"
  1093. },
  1094. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  1095. }
  1096. },
  1097. "edges": []
  1098. }
  1099. },
  1100. "$asuri": {
  1101. "type": "string",
  1102. "value": "/Formalisms/RaceCar/Race.pattern/__pStart/8.instance"
  1103. },
  1104. "$type": "/Formalisms/RaceCar/Race.defaultIcons.pattern/__pStartIcon"
  1105. },
  1106. "9": {
  1107. "link-style": {
  1108. "type": "map<string,string>",
  1109. "value": {
  1110. "stroke": "#00ff00",
  1111. "stroke-dasharray": "",
  1112. "stroke-opacity": 0.2,
  1113. "stroke-width": 1,
  1114. "arrow-start": "none",
  1115. "arrow-end": "classic-wide-long"
  1116. }
  1117. },
  1118. "typename": {
  1119. "type": "string",
  1120. "value": "PatternContentsLink"
  1121. },
  1122. "position": {
  1123. "type": "list<double>",
  1124. "value": [
  1125. 954.6218162768457,
  1126. 303.83752609094705
  1127. ]
  1128. },
  1129. "orientation": {
  1130. "type": "double",
  1131. "value": 0
  1132. },
  1133. "scale": {
  1134. "type": "list<double>",
  1135. "value": [
  1136. 1,
  1137. 1
  1138. ]
  1139. },
  1140. "mapper": {
  1141. "type": "code",
  1142. "value": ""
  1143. },
  1144. "parser": {
  1145. "type": "code",
  1146. "value": ""
  1147. },
  1148. "$contents": {
  1149. "type": "map<string,*>",
  1150. "value": {
  1151. "nodes": {},
  1152. "edges": []
  1153. }
  1154. },
  1155. "$asuri": {
  1156. "type": "string",
  1157. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/9.instance"
  1158. },
  1159. "$segments": {
  1160. "type": "map<string,list<string>>",
  1161. "value": {
  1162. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon/1.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/9.instance": "M760,164L954.6218162768457,303.83752609094705",
  1163. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/9.instance--/Formalisms/RaceCar/Race.defaultIcons.pattern/__pStartIcon/8.instance": "M954.561264925157,303.79401939995216L1148.999542426392,443.4996712292458"
  1164. }
  1165. },
  1166. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  1167. }
  1168. },
  1169. "edges": [],
  1170. "metamodels": [
  1171. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons",
  1172. "/Formalisms/RaceCar/Race.defaultIcons.pattern"
  1173. ]
  1174. },
  1175. "asm": {
  1176. "nodes": {
  1177. "0": {
  1178. "Condition": {
  1179. "type": "code",
  1180. "value": "result = True"
  1181. },
  1182. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/LHS"
  1183. },
  1184. "1": {
  1185. "Action": {
  1186. "type": "code",
  1187. "value": "carPos=getAttr('position','0')\nstartPos=getAttr('position','1')\nsetAttr('position',[startPos[0]-175,carPos[1]],'0')"
  1188. },
  1189. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/RHS"
  1190. },
  1191. "2": {
  1192. "__pLabel": {
  1193. "type": "string",
  1194. "value": "0"
  1195. },
  1196. "__pPivotIn": {
  1197. "type": "string",
  1198. "value": ""
  1199. },
  1200. "__pPivotOut": {
  1201. "type": "string",
  1202. "value": ""
  1203. },
  1204. "__pMatchSubtypes": {
  1205. "type": "boolean",
  1206. "value": false
  1207. },
  1208. "name": {
  1209. "type": "code",
  1210. "value": "result = True"
  1211. },
  1212. "position": {
  1213. "type": "code",
  1214. "value": "result = True"
  1215. },
  1216. "$type": "/Formalisms/RaceCar/Race.pattern/__pCar"
  1217. },
  1218. "3": {
  1219. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  1220. },
  1221. "4": {
  1222. "__pLabel": {
  1223. "type": "string",
  1224. "value": "0"
  1225. },
  1226. "__pPivotIn": {
  1227. "type": "string",
  1228. "value": ""
  1229. },
  1230. "__pPivotOut": {
  1231. "type": "string",
  1232. "value": ""
  1233. },
  1234. "__pMatchSubtypes": {
  1235. "type": "boolean"
  1236. },
  1237. "name": {
  1238. "type": "code",
  1239. "value": "result = getAttr()"
  1240. },
  1241. "position": {
  1242. "type": "code",
  1243. "value": "result = getAttr()"
  1244. },
  1245. "$type": "/Formalisms/RaceCar/Race.pattern/__pCar"
  1246. },
  1247. "5": {
  1248. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  1249. },
  1250. "6": {
  1251. "__pLabel": {
  1252. "type": "string",
  1253. "value": "1"
  1254. },
  1255. "__pPivotIn": {
  1256. "type": "string",
  1257. "value": ""
  1258. },
  1259. "__pPivotOut": {
  1260. "type": "string",
  1261. "value": ""
  1262. },
  1263. "__pMatchSubtypes": {
  1264. "type": "boolean",
  1265. "value": false
  1266. },
  1267. "name": {
  1268. "type": "code",
  1269. "value": "result = True"
  1270. },
  1271. "position": {
  1272. "type": "code",
  1273. "value": "result = True"
  1274. },
  1275. "$type": "/Formalisms/RaceCar/Race.pattern/__pStart"
  1276. },
  1277. "7": {
  1278. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  1279. },
  1280. "8": {
  1281. "__pLabel": {
  1282. "type": "string",
  1283. "value": "1"
  1284. },
  1285. "__pPivotIn": {
  1286. "type": "string",
  1287. "value": ""
  1288. },
  1289. "__pPivotOut": {
  1290. "type": "string",
  1291. "value": ""
  1292. },
  1293. "__pMatchSubtypes": {
  1294. "type": "boolean"
  1295. },
  1296. "name": {
  1297. "type": "code",
  1298. "value": "result = getAttr()"
  1299. },
  1300. "position": {
  1301. "type": "code",
  1302. "value": "result = getAttr()"
  1303. },
  1304. "$type": "/Formalisms/RaceCar/Race.pattern/__pStart"
  1305. },
  1306. "9": {
  1307. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  1308. }
  1309. },
  1310. "edges": [
  1311. {
  1312. "src": "0",
  1313. "dest": "3"
  1314. },
  1315. {
  1316. "src": "3",
  1317. "dest": "2"
  1318. },
  1319. {
  1320. "src": "1",
  1321. "dest": "5"
  1322. },
  1323. {
  1324. "src": "5",
  1325. "dest": "4"
  1326. },
  1327. {
  1328. "src": "0",
  1329. "dest": "7"
  1330. },
  1331. {
  1332. "src": "7",
  1333. "dest": "6"
  1334. },
  1335. {
  1336. "src": "1",
  1337. "dest": "9"
  1338. },
  1339. {
  1340. "src": "9",
  1341. "dest": "8"
  1342. }
  1343. ],
  1344. "metamodels": [
  1345. "/Formalisms/__Transformations__/TransformationRule/TransformationRule",
  1346. "/Formalisms/RaceCar/Race.pattern"
  1347. ]
  1348. }
  1349. }