R_oneCarRandomlyGoForward.model 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868
  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. },
  763. "edges": [],
  764. "metamodels": [
  765. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons",
  766. "/Formalisms/RaceCar/Race.defaultIcons.pattern"
  767. ]
  768. },
  769. "asm": {
  770. "nodes": {
  771. "0": {
  772. "Condition": {
  773. "type": "code",
  774. "value": "result = True"
  775. },
  776. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/LHS"
  777. },
  778. "1": {
  779. "Action": {
  780. "type": "code",
  781. "value": "import random\noldPos=getAttr('position','0')\nrandomInt = random.randint(20,100)\nsetAttr('position',[oldPos[0]+randomInt,oldPos[1]],'0')"
  782. },
  783. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/RHS"
  784. },
  785. "2": {
  786. "__pLabel": {
  787. "type": "string",
  788. "value": "0"
  789. },
  790. "__pPivotIn": {
  791. "type": "string",
  792. "value": ""
  793. },
  794. "__pPivotOut": {
  795. "type": "string",
  796. "value": ""
  797. },
  798. "__pMatchSubtypes": {
  799. "type": "boolean",
  800. "value": false
  801. },
  802. "name": {
  803. "type": "code",
  804. "value": "result = True"
  805. },
  806. "position": {
  807. "type": "code",
  808. "value": "result = True"
  809. },
  810. "$type": "/Formalisms/RaceCar/Race.pattern/__pCar"
  811. },
  812. "3": {
  813. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  814. },
  815. "4": {
  816. "__pLabel": {
  817. "type": "string",
  818. "value": "0"
  819. },
  820. "__pPivotIn": {
  821. "type": "string",
  822. "value": ""
  823. },
  824. "__pPivotOut": {
  825. "type": "string",
  826. "value": ""
  827. },
  828. "__pMatchSubtypes": {
  829. "type": "boolean"
  830. },
  831. "name": {
  832. "type": "code",
  833. "value": "result = getAttr()"
  834. },
  835. "position": {
  836. "type": "code",
  837. "value": "result = getAttr()"
  838. },
  839. "$type": "/Formalisms/RaceCar/Race.pattern/__pCar"
  840. },
  841. "5": {
  842. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  843. }
  844. },
  845. "edges": [
  846. {
  847. "src": "0",
  848. "dest": "3"
  849. },
  850. {
  851. "src": "3",
  852. "dest": "2"
  853. },
  854. {
  855. "src": "1",
  856. "dest": "5"
  857. },
  858. {
  859. "src": "5",
  860. "dest": "4"
  861. }
  862. ],
  863. "metamodels": [
  864. "/Formalisms/__Transformations__/TransformationRule/TransformationRule",
  865. "/Formalisms/RaceCar/Race.pattern"
  866. ]
  867. }
  868. }