Race.defaultIcons.pattern.metamodel 30 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433
  1. {
  2. "types": {
  3. "__pStartIcon": [
  4. {
  5. "name": "typename",
  6. "type": "string",
  7. "default": "StartIcon"
  8. },
  9. {
  10. "name": "position",
  11. "type": "list<double>",
  12. "default": [
  13. 58,
  14. 97
  15. ]
  16. },
  17. {
  18. "name": "orientation",
  19. "type": "double",
  20. "default": 0
  21. },
  22. {
  23. "name": "scale",
  24. "type": "list<double>",
  25. "default": [
  26. 1,
  27. 1
  28. ]
  29. },
  30. {
  31. "name": "mapper",
  32. "type": "code",
  33. "default": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  34. },
  35. {
  36. "name": "parser",
  37. "type": "code",
  38. "default": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  39. },
  40. {
  41. "name": "$contents",
  42. "type": "map<string,*>",
  43. "default": {
  44. "nodes": {
  45. "24": {
  46. "src": {
  47. "type": "string",
  48. "value": "/Formalisms/RaceCar/icons/start.png"
  49. },
  50. "width": {
  51. "type": "double",
  52. "value": 12
  53. },
  54. "height": {
  55. "type": "double",
  56. "value": 404
  57. },
  58. "style": {
  59. "type": "map<string,string>",
  60. "value": {
  61. "stroke": "#000000",
  62. "stroke-dasharray": "",
  63. "fill": "#ffffff",
  64. "fill-opacity": 1,
  65. "font-size": "20px",
  66. "stroke-width": 1,
  67. "arrow-start": "none",
  68. "arrow-end": "none"
  69. }
  70. },
  71. "mapper": {
  72. "type": "code",
  73. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  74. },
  75. "parser": {
  76. "type": "code",
  77. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  78. },
  79. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image",
  80. "position": {
  81. "type": "list<double>",
  82. "value": [
  83. 6,
  84. 5
  85. ]
  86. },
  87. "orientation": {
  88. "type": "double",
  89. "value": 0
  90. },
  91. "scale": {
  92. "type": "list<double>",
  93. "value": [
  94. 1,
  95. 1
  96. ]
  97. }
  98. },
  99. "__pLabelText": {
  100. "position": {
  101. "type": "list<double>",
  102. "value": [
  103. 0,
  104. 0
  105. ]
  106. },
  107. "orientation": {
  108. "type": "double",
  109. "value": 0
  110. },
  111. "scale": {
  112. "type": "list<double>",
  113. "value": [
  114. 1,
  115. 1
  116. ]
  117. },
  118. "textContent": {
  119. "type": "string",
  120. "value": "#"
  121. },
  122. "style": {
  123. "type": "map<string,string>",
  124. "value": {
  125. "stroke": "#6000ff",
  126. "fill": "#6000ff",
  127. "font-size": "15px",
  128. "opacity": "1"
  129. }
  130. },
  131. "mapper": {
  132. "type": "code",
  133. "value": "({'textContent':getAttr('__pLabel')})"
  134. },
  135. "parser": {
  136. "type": "code",
  137. "value": "({'__pLabel':getAttr('textContent')})"
  138. },
  139. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  140. }
  141. },
  142. "edges": []
  143. }
  144. },
  145. {
  146. "name": "$asuri",
  147. "type": "string",
  148. "default": "-1"
  149. }
  150. ],
  151. "__pFinishIcon": [
  152. {
  153. "name": "typename",
  154. "type": "string",
  155. "default": "FinishIcon"
  156. },
  157. {
  158. "name": "position",
  159. "type": "list<double>",
  160. "default": [
  161. 386,
  162. 159
  163. ]
  164. },
  165. {
  166. "name": "orientation",
  167. "type": "double",
  168. "default": 0
  169. },
  170. {
  171. "name": "scale",
  172. "type": "list<double>",
  173. "default": [
  174. 1,
  175. 1
  176. ]
  177. },
  178. {
  179. "name": "mapper",
  180. "type": "code",
  181. "default": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  182. },
  183. {
  184. "name": "parser",
  185. "type": "code",
  186. "default": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  187. },
  188. {
  189. "name": "$contents",
  190. "type": "map<string,*>",
  191. "default": {
  192. "nodes": {
  193. "25": {
  194. "src": {
  195. "type": "string",
  196. "value": "/Formalisms/RaceCar/icons/finish.png"
  197. },
  198. "width": {
  199. "type": "double",
  200. "value": 200
  201. },
  202. "height": {
  203. "type": "double",
  204. "value": 495
  205. },
  206. "style": {
  207. "type": "map<string,string>",
  208. "value": {
  209. "stroke": "#000000",
  210. "stroke-dasharray": "",
  211. "fill": "#ffffff",
  212. "fill-opacity": 1,
  213. "font-size": "20px",
  214. "stroke-width": 1,
  215. "arrow-start": "none",
  216. "arrow-end": "none"
  217. }
  218. },
  219. "mapper": {
  220. "type": "code",
  221. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  222. },
  223. "parser": {
  224. "type": "code",
  225. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  226. },
  227. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image",
  228. "position": {
  229. "type": "list<double>",
  230. "value": [
  231. 5,
  232. 3
  233. ]
  234. },
  235. "orientation": {
  236. "type": "double",
  237. "value": 0
  238. },
  239. "scale": {
  240. "type": "list<double>",
  241. "value": [
  242. 1,
  243. 1
  244. ]
  245. }
  246. },
  247. "__pLabelText": {
  248. "position": {
  249. "type": "list<double>",
  250. "value": [
  251. 0,
  252. 0
  253. ]
  254. },
  255. "orientation": {
  256. "type": "double",
  257. "value": 0
  258. },
  259. "scale": {
  260. "type": "list<double>",
  261. "value": [
  262. 1,
  263. 1
  264. ]
  265. },
  266. "textContent": {
  267. "type": "string",
  268. "value": "#"
  269. },
  270. "style": {
  271. "type": "map<string,string>",
  272. "value": {
  273. "stroke": "#6000ff",
  274. "fill": "#6000ff",
  275. "font-size": "15px",
  276. "opacity": "1"
  277. }
  278. },
  279. "mapper": {
  280. "type": "code",
  281. "value": "({'textContent':getAttr('__pLabel')})"
  282. },
  283. "parser": {
  284. "type": "code",
  285. "value": "({'__pLabel':getAttr('textContent')})"
  286. },
  287. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  288. }
  289. },
  290. "edges": []
  291. }
  292. },
  293. {
  294. "name": "$asuri",
  295. "type": "string",
  296. "default": "-1"
  297. }
  298. ],
  299. "__pCarIcon": [
  300. {
  301. "name": "typename",
  302. "type": "string",
  303. "default": "CarIcon"
  304. },
  305. {
  306. "name": "position",
  307. "type": "list<double>",
  308. "default": [
  309. 725,
  310. 215
  311. ]
  312. },
  313. {
  314. "name": "orientation",
  315. "type": "double",
  316. "default": 0
  317. },
  318. {
  319. "name": "scale",
  320. "type": "list<double>",
  321. "default": [
  322. 1,
  323. 1
  324. ]
  325. },
  326. {
  327. "name": "mapper",
  328. "type": "code",
  329. "default": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  330. },
  331. {
  332. "name": "parser",
  333. "type": "code",
  334. "default": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  335. },
  336. {
  337. "name": "$contents",
  338. "type": "map<string,*>",
  339. "default": {
  340. "nodes": {
  341. "5": {
  342. "src": {
  343. "type": "string",
  344. "value": "/Formalisms/RaceCar/Icons/racecar.png"
  345. },
  346. "width": {
  347. "type": "double",
  348. "value": 183
  349. },
  350. "height": {
  351. "type": "double",
  352. "value": 72
  353. },
  354. "style": {
  355. "type": "map<string,string>",
  356. "value": {
  357. "stroke": "#000000",
  358. "stroke-dasharray": "",
  359. "fill": "#ffffff",
  360. "fill-opacity": 1,
  361. "font-size": "20px",
  362. "stroke-width": 1,
  363. "arrow-start": "none",
  364. "arrow-end": "none"
  365. }
  366. },
  367. "mapper": {
  368. "type": "code",
  369. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  370. },
  371. "parser": {
  372. "type": "code",
  373. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  374. },
  375. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image",
  376. "position": {
  377. "type": "list<double>",
  378. "value": [
  379. 1,
  380. 2
  381. ]
  382. },
  383. "orientation": {
  384. "type": "double",
  385. "value": 0
  386. },
  387. "scale": {
  388. "type": "list<double>",
  389. "value": [
  390. 1,
  391. 1
  392. ]
  393. }
  394. },
  395. "6": {
  396. "textContent": {
  397. "type": "string",
  398. "value": "name"
  399. },
  400. "style": {
  401. "type": "map<string,string>",
  402. "value": {
  403. "stroke": "#000000",
  404. "stroke-dasharray": "",
  405. "fill": "#000000",
  406. "fill-opacity": 0.75,
  407. "font-size": "12px",
  408. "stroke-width": 1,
  409. "arrow-start": "none",
  410. "arrow-end": "none",
  411. "text-anchor": "middle"
  412. }
  413. },
  414. "mapper": {
  415. "type": "code",
  416. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  417. },
  418. "parser": {
  419. "type": "code",
  420. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  421. },
  422. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  423. "position": {
  424. "type": "list<double>",
  425. "value": [
  426. 90,
  427. 48
  428. ]
  429. },
  430. "orientation": {
  431. "type": "double",
  432. "value": 0
  433. },
  434. "scale": {
  435. "type": "list<double>",
  436. "value": [
  437. 1,
  438. 1
  439. ]
  440. }
  441. },
  442. "7": {
  443. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  444. "position": {
  445. "type": "list<double>",
  446. "value": [
  447. 48.88071412763202,
  448. 29.32499990929705
  449. ]
  450. },
  451. "orientation": {
  452. "type": "double",
  453. "value": 0
  454. },
  455. "scale": {
  456. "type": "list<double>",
  457. "value": [
  458. 1,
  459. 1
  460. ]
  461. },
  462. "link-style": {
  463. "type": "map<string,string>",
  464. "value": {
  465. "stroke": "#00ffff",
  466. "stroke-dasharray": "",
  467. "stroke-opacity": 0.1,
  468. "stroke-width": 1
  469. }
  470. }
  471. },
  472. "__pLabelText": {
  473. "position": {
  474. "type": "list<double>",
  475. "value": [
  476. 0,
  477. 0
  478. ]
  479. },
  480. "orientation": {
  481. "type": "double",
  482. "value": 0
  483. },
  484. "scale": {
  485. "type": "list<double>",
  486. "value": [
  487. 1,
  488. 1
  489. ]
  490. },
  491. "textContent": {
  492. "type": "string",
  493. "value": "#"
  494. },
  495. "style": {
  496. "type": "map<string,string>",
  497. "value": {
  498. "stroke": "#6000ff",
  499. "fill": "#6000ff",
  500. "font-size": "15px",
  501. "opacity": "1"
  502. }
  503. },
  504. "mapper": {
  505. "type": "code",
  506. "value": "({'textContent':getAttr('__pLabel')})"
  507. },
  508. "parser": {
  509. "type": "code",
  510. "value": "({'__pLabel':getAttr('textContent')})"
  511. },
  512. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  513. }
  514. },
  515. "edges": [
  516. {
  517. "src": "5",
  518. "dest": "7"
  519. },
  520. {
  521. "src": "7",
  522. "dest": "6"
  523. }
  524. ]
  525. }
  526. },
  527. {
  528. "name": "$asuri",
  529. "type": "string",
  530. "default": "-1"
  531. }
  532. ],
  533. "__pCupIcon": [
  534. {
  535. "name": "typename",
  536. "type": "string",
  537. "default": "CupIcon"
  538. },
  539. {
  540. "name": "position",
  541. "type": "list<double>",
  542. "default": [
  543. 950,
  544. 236
  545. ]
  546. },
  547. {
  548. "name": "orientation",
  549. "type": "double",
  550. "default": 0
  551. },
  552. {
  553. "name": "scale",
  554. "type": "list<double>",
  555. "default": [
  556. 1,
  557. 1
  558. ]
  559. },
  560. {
  561. "name": "mapper",
  562. "type": "code",
  563. "default": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  564. },
  565. {
  566. "name": "parser",
  567. "type": "code",
  568. "default": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  569. },
  570. {
  571. "name": "$contents",
  572. "type": "map<string,*>",
  573. "default": {
  574. "nodes": {
  575. "29": {
  576. "width": {
  577. "type": "double",
  578. "value": 400
  579. },
  580. "height": {
  581. "type": "double",
  582. "value": 400
  583. },
  584. "cornerRadius": {
  585. "type": "double",
  586. "value": 5
  587. },
  588. "style": {
  589. "type": "map<string,string>",
  590. "value": {
  591. "stroke": "#ffffff",
  592. "stroke-dasharray": "",
  593. "fill": "#ffffff",
  594. "fill-opacity": 0.75,
  595. "font-size": "20px",
  596. "stroke-width": 1,
  597. "arrow-start": "none",
  598. "arrow-end": "none"
  599. }
  600. },
  601. "mapper": {
  602. "type": "code",
  603. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  604. },
  605. "parser": {
  606. "type": "code",
  607. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  608. },
  609. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  610. "position": {
  611. "type": "list<double>",
  612. "value": [
  613. 6,
  614. 7
  615. ]
  616. },
  617. "orientation": {
  618. "type": "double",
  619. "value": 0
  620. },
  621. "scale": {
  622. "type": "list<double>",
  623. "value": [
  624. 1,
  625. 1
  626. ]
  627. }
  628. },
  629. "32": {
  630. "src": {
  631. "type": "string",
  632. "value": "/Formalisms/RaceCar/Icons/cup.png"
  633. },
  634. "width": {
  635. "type": "double",
  636. "value": 256
  637. },
  638. "height": {
  639. "type": "double",
  640. "value": 256
  641. },
  642. "style": {
  643. "type": "map<string,string>",
  644. "value": {
  645. "stroke": "#000000",
  646. "stroke-dasharray": "",
  647. "fill": "#ffffff",
  648. "fill-opacity": 1,
  649. "font-size": "20px",
  650. "stroke-width": 1,
  651. "arrow-start": "none",
  652. "arrow-end": "none"
  653. }
  654. },
  655. "mapper": {
  656. "type": "code",
  657. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  658. },
  659. "parser": {
  660. "type": "code",
  661. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  662. },
  663. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image",
  664. "position": {
  665. "type": "list<double>",
  666. "value": [
  667. 89,
  668. 84
  669. ]
  670. },
  671. "orientation": {
  672. "type": "double",
  673. "value": 0
  674. },
  675. "scale": {
  676. "type": "list<double>",
  677. "value": [
  678. 1,
  679. 1
  680. ]
  681. }
  682. },
  683. "35": {
  684. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  685. "position": {
  686. "type": "list<double>",
  687. "value": [
  688. 111.6080204610389,
  689. 110.10443684384802
  690. ]
  691. },
  692. "orientation": {
  693. "type": "double",
  694. "value": 0
  695. },
  696. "scale": {
  697. "type": "list<double>",
  698. "value": [
  699. 1,
  700. 1
  701. ]
  702. },
  703. "link-style": {
  704. "type": "map<string,string>",
  705. "value": {
  706. "stroke": "#00ffff",
  707. "stroke-dasharray": "",
  708. "stroke-opacity": 0.1,
  709. "stroke-width": 1
  710. }
  711. }
  712. },
  713. "37": {
  714. "textContent": {
  715. "type": "string",
  716. "value": "name"
  717. },
  718. "style": {
  719. "type": "map<string,string>",
  720. "value": {
  721. "stroke": "#000000",
  722. "stroke-dasharray": "",
  723. "fill": "yellow",
  724. "fill-opacity": 1,
  725. "font-size": "40px",
  726. "stroke-width": 1,
  727. "arrow-start": "none",
  728. "arrow-end": "none",
  729. "text-anchor": "middle"
  730. }
  731. },
  732. "mapper": {
  733. "type": "code",
  734. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  735. },
  736. "parser": {
  737. "type": "code",
  738. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  739. },
  740. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  741. "position": {
  742. "type": "list<double>",
  743. "value": [
  744. 175,
  745. 345
  746. ]
  747. },
  748. "orientation": {
  749. "type": "double",
  750. "value": 0
  751. },
  752. "scale": {
  753. "type": "list<double>",
  754. "value": [
  755. 1,
  756. 1
  757. ]
  758. }
  759. },
  760. "38": {
  761. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  762. "position": {
  763. "type": "list<double>",
  764. "value": [
  765. 131,
  766. 189.75
  767. ]
  768. },
  769. "orientation": {
  770. "type": "double",
  771. "value": 0
  772. },
  773. "scale": {
  774. "type": "list<double>",
  775. "value": [
  776. 1,
  777. 1
  778. ]
  779. },
  780. "link-style": {
  781. "type": "map<string,string>",
  782. "value": {
  783. "stroke": "#00ffff",
  784. "stroke-dasharray": "",
  785. "stroke-opacity": 0.1,
  786. "stroke-width": 1
  787. }
  788. }
  789. },
  790. "39": {
  791. "textContent": {
  792. "type": "string",
  793. "value": "Winner is:"
  794. },
  795. "style": {
  796. "type": "map<string,string>",
  797. "value": {
  798. "stroke": "#000000",
  799. "stroke-dasharray": "",
  800. "fill": "#000000",
  801. "fill-opacity": 1,
  802. "font-size": "30px",
  803. "stroke-width": 1,
  804. "arrow-start": "none",
  805. "arrow-end": "none",
  806. "text-anchor": "middle"
  807. }
  808. },
  809. "mapper": {
  810. "type": "code",
  811. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  812. },
  813. "parser": {
  814. "type": "code",
  815. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  816. },
  817. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  818. "position": {
  819. "type": "list<double>",
  820. "value": [
  821. 168,
  822. 48
  823. ]
  824. },
  825. "orientation": {
  826. "type": "double",
  827. "value": 0
  828. },
  829. "scale": {
  830. "type": "list<double>",
  831. "value": [
  832. 1,
  833. 1
  834. ]
  835. }
  836. },
  837. "40": {
  838. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  839. "position": {
  840. "type": "list<double>",
  841. "value": [
  842. 119.89583329782226,
  843. 35.78557691441381
  844. ]
  845. },
  846. "orientation": {
  847. "type": "double",
  848. "value": 0
  849. },
  850. "scale": {
  851. "type": "list<double>",
  852. "value": [
  853. 1,
  854. 1
  855. ]
  856. },
  857. "link-style": {
  858. "type": "map<string,string>",
  859. "value": {
  860. "stroke": "#00ffff",
  861. "stroke-dasharray": "",
  862. "stroke-opacity": 0.1,
  863. "stroke-width": 1
  864. }
  865. }
  866. },
  867. "__pLabelText": {
  868. "position": {
  869. "type": "list<double>",
  870. "value": [
  871. 0,
  872. 0
  873. ]
  874. },
  875. "orientation": {
  876. "type": "double",
  877. "value": 0
  878. },
  879. "scale": {
  880. "type": "list<double>",
  881. "value": [
  882. 1,
  883. 1
  884. ]
  885. },
  886. "textContent": {
  887. "type": "string",
  888. "value": "#"
  889. },
  890. "style": {
  891. "type": "map<string,string>",
  892. "value": {
  893. "stroke": "#6000ff",
  894. "fill": "#6000ff",
  895. "font-size": "15px",
  896. "opacity": "1"
  897. }
  898. },
  899. "mapper": {
  900. "type": "code",
  901. "value": "({'textContent':getAttr('__pLabel')})"
  902. },
  903. "parser": {
  904. "type": "code",
  905. "value": "({'__pLabel':getAttr('textContent')})"
  906. },
  907. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  908. }
  909. },
  910. "edges": [
  911. {
  912. "src": "29",
  913. "dest": "35"
  914. },
  915. {
  916. "src": "35",
  917. "dest": "32"
  918. },
  919. {
  920. "src": "29",
  921. "dest": "38"
  922. },
  923. {
  924. "src": "38",
  925. "dest": "37"
  926. },
  927. {
  928. "src": "29",
  929. "dest": "40"
  930. },
  931. {
  932. "src": "40",
  933. "dest": "39"
  934. }
  935. ]
  936. }
  937. },
  938. {
  939. "name": "$asuri",
  940. "type": "string",
  941. "default": "-1"
  942. }
  943. ],
  944. "__pElementIcon": [
  945. {
  946. "name": "typename",
  947. "type": "string",
  948. "default": "__pElementIcon"
  949. },
  950. {
  951. "name": "position",
  952. "type": "list<double>",
  953. "default": [
  954. 0,
  955. 0
  956. ]
  957. },
  958. {
  959. "name": "orientation",
  960. "type": "double",
  961. "default": 0
  962. },
  963. {
  964. "name": "scale",
  965. "type": "list<double>",
  966. "default": [
  967. 1,
  968. 1
  969. ]
  970. },
  971. {
  972. "name": "mapper",
  973. "type": "code",
  974. "default": ""
  975. },
  976. {
  977. "name": "parser",
  978. "type": "code",
  979. "default": ""
  980. },
  981. {
  982. "name": "$contents",
  983. "type": "map<string,*>",
  984. "default": {
  985. "nodes": {
  986. "text": {
  987. "textContent": {
  988. "type": "string",
  989. "value": "__pElementIcon"
  990. },
  991. "style": {
  992. "type": "map<string,string>",
  993. "value": {
  994. "stroke": "#000000",
  995. "stroke-dasharray": "",
  996. "fill": "#000000",
  997. "fill-opacity": "1",
  998. "font-size": "13px"
  999. }
  1000. },
  1001. "mapper": {
  1002. "type": "code",
  1003. "value": ""
  1004. },
  1005. "parser": {
  1006. "type": "code",
  1007. "value": ""
  1008. },
  1009. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1010. "position": {
  1011. "type": "list<double>",
  1012. "value": [
  1013. 10,
  1014. 76
  1015. ]
  1016. },
  1017. "orientation": {
  1018. "type": "double",
  1019. "value": 0
  1020. },
  1021. "scale": {
  1022. "type": "list<double>",
  1023. "value": [
  1024. 1,
  1025. 1
  1026. ]
  1027. }
  1028. },
  1029. "rect": {
  1030. "width": {
  1031. "type": "double",
  1032. "value": 75
  1033. },
  1034. "height": {
  1035. "type": "double",
  1036. "value": 75
  1037. },
  1038. "cornerRadius": {
  1039. "type": "double",
  1040. "value": 15
  1041. },
  1042. "style": {
  1043. "type": "map<string,string>",
  1044. "value": {
  1045. "stroke": "#000000",
  1046. "fill": "#ffffff",
  1047. "fill-opacity": 0.75
  1048. }
  1049. },
  1050. "mapper": {
  1051. "type": "code",
  1052. "value": ""
  1053. },
  1054. "parser": {
  1055. "type": "code",
  1056. "value": ""
  1057. },
  1058. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  1059. "position": {
  1060. "type": "list<double>",
  1061. "value": [
  1062. 0,
  1063. 0
  1064. ]
  1065. },
  1066. "orientation": {
  1067. "type": "double",
  1068. "value": 0
  1069. },
  1070. "scale": {
  1071. "type": "list<double>",
  1072. "value": [
  1073. 1,
  1074. 1
  1075. ]
  1076. }
  1077. },
  1078. "textBelowRect": {
  1079. "distance": {
  1080. "type": "double",
  1081. "value": 10
  1082. },
  1083. "alignment": {
  1084. "type": "ENUM(\"right\",\"left\",\"center\")",
  1085. "value": "center"
  1086. },
  1087. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Below",
  1088. "position": {
  1089. "type": "list<double>",
  1090. "value": [
  1091. 5,
  1092. 38
  1093. ]
  1094. },
  1095. "orientation": {
  1096. "type": "double",
  1097. "value": 0
  1098. },
  1099. "scale": {
  1100. "type": "list<double>",
  1101. "value": [
  1102. 1,
  1103. 1
  1104. ]
  1105. },
  1106. "link-style": {
  1107. "type": "map<string,string>",
  1108. "value": {
  1109. "stroke": "#00ff00",
  1110. "stroke-dasharray": "",
  1111. "stroke-opacity": 1,
  1112. "arrow-start": "none",
  1113. "arrow-end": "classic-wide-long"
  1114. }
  1115. }
  1116. },
  1117. "__pLabelText": {
  1118. "position": {
  1119. "type": "list<double>",
  1120. "value": [
  1121. 0,
  1122. 0
  1123. ]
  1124. },
  1125. "orientation": {
  1126. "type": "double",
  1127. "value": 0
  1128. },
  1129. "scale": {
  1130. "type": "list<double>",
  1131. "value": [
  1132. 1,
  1133. 1
  1134. ]
  1135. },
  1136. "textContent": {
  1137. "type": "string",
  1138. "value": "#"
  1139. },
  1140. "style": {
  1141. "type": "map<string,string>",
  1142. "value": {
  1143. "stroke": "#6000ff",
  1144. "fill": "#6000ff",
  1145. "font-size": "15px",
  1146. "opacity": "1"
  1147. }
  1148. },
  1149. "mapper": {
  1150. "type": "code",
  1151. "value": "({'textContent':getAttr('__pLabel')})"
  1152. },
  1153. "parser": {
  1154. "type": "code",
  1155. "value": "({'__pLabel':getAttr('textContent')})"
  1156. },
  1157. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  1158. }
  1159. },
  1160. "edges": [
  1161. {
  1162. "src": "text",
  1163. "dest": "textBelowRect"
  1164. },
  1165. {
  1166. "src": "textBelowRect",
  1167. "dest": "rect"
  1168. }
  1169. ]
  1170. }
  1171. },
  1172. {
  1173. "name": "$asuri",
  1174. "type": "string",
  1175. "default": "-1"
  1176. }
  1177. ],
  1178. "__pPositionableIcon": [
  1179. {
  1180. "name": "typename",
  1181. "type": "string",
  1182. "default": "__pPositionableIcon"
  1183. },
  1184. {
  1185. "name": "position",
  1186. "type": "list<double>",
  1187. "default": [
  1188. 0,
  1189. 0
  1190. ]
  1191. },
  1192. {
  1193. "name": "orientation",
  1194. "type": "double",
  1195. "default": 0
  1196. },
  1197. {
  1198. "name": "scale",
  1199. "type": "list<double>",
  1200. "default": [
  1201. 1,
  1202. 1
  1203. ]
  1204. },
  1205. {
  1206. "name": "mapper",
  1207. "type": "code",
  1208. "default": ""
  1209. },
  1210. {
  1211. "name": "parser",
  1212. "type": "code",
  1213. "default": ""
  1214. },
  1215. {
  1216. "name": "$contents",
  1217. "type": "map<string,*>",
  1218. "default": {
  1219. "nodes": {
  1220. "text": {
  1221. "textContent": {
  1222. "type": "string",
  1223. "value": "__pPositionableIcon"
  1224. },
  1225. "style": {
  1226. "type": "map<string,string>",
  1227. "value": {
  1228. "stroke": "#000000",
  1229. "stroke-dasharray": "",
  1230. "fill": "#000000",
  1231. "fill-opacity": "1",
  1232. "font-size": "13px"
  1233. }
  1234. },
  1235. "mapper": {
  1236. "type": "code",
  1237. "value": ""
  1238. },
  1239. "parser": {
  1240. "type": "code",
  1241. "value": ""
  1242. },
  1243. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1244. "position": {
  1245. "type": "list<double>",
  1246. "value": [
  1247. 10,
  1248. 76
  1249. ]
  1250. },
  1251. "orientation": {
  1252. "type": "double",
  1253. "value": 0
  1254. },
  1255. "scale": {
  1256. "type": "list<double>",
  1257. "value": [
  1258. 1,
  1259. 1
  1260. ]
  1261. }
  1262. },
  1263. "rect": {
  1264. "width": {
  1265. "type": "double",
  1266. "value": 75
  1267. },
  1268. "height": {
  1269. "type": "double",
  1270. "value": 75
  1271. },
  1272. "cornerRadius": {
  1273. "type": "double",
  1274. "value": 15
  1275. },
  1276. "style": {
  1277. "type": "map<string,string>",
  1278. "value": {
  1279. "stroke": "#000000",
  1280. "fill": "#ffffff",
  1281. "fill-opacity": 0.75
  1282. }
  1283. },
  1284. "mapper": {
  1285. "type": "code",
  1286. "value": ""
  1287. },
  1288. "parser": {
  1289. "type": "code",
  1290. "value": ""
  1291. },
  1292. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  1293. "position": {
  1294. "type": "list<double>",
  1295. "value": [
  1296. 0,
  1297. 0
  1298. ]
  1299. },
  1300. "orientation": {
  1301. "type": "double",
  1302. "value": 0
  1303. },
  1304. "scale": {
  1305. "type": "list<double>",
  1306. "value": [
  1307. 1,
  1308. 1
  1309. ]
  1310. }
  1311. },
  1312. "textBelowRect": {
  1313. "distance": {
  1314. "type": "double",
  1315. "value": 10
  1316. },
  1317. "alignment": {
  1318. "type": "ENUM(\"right\",\"left\",\"center\")",
  1319. "value": "center"
  1320. },
  1321. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Below",
  1322. "position": {
  1323. "type": "list<double>",
  1324. "value": [
  1325. 5,
  1326. 38
  1327. ]
  1328. },
  1329. "orientation": {
  1330. "type": "double",
  1331. "value": 0
  1332. },
  1333. "scale": {
  1334. "type": "list<double>",
  1335. "value": [
  1336. 1,
  1337. 1
  1338. ]
  1339. },
  1340. "link-style": {
  1341. "type": "map<string,string>",
  1342. "value": {
  1343. "stroke": "#00ff00",
  1344. "stroke-dasharray": "",
  1345. "stroke-opacity": 1,
  1346. "arrow-start": "none",
  1347. "arrow-end": "classic-wide-long"
  1348. }
  1349. }
  1350. },
  1351. "__pLabelText": {
  1352. "position": {
  1353. "type": "list<double>",
  1354. "value": [
  1355. 0,
  1356. 0
  1357. ]
  1358. },
  1359. "orientation": {
  1360. "type": "double",
  1361. "value": 0
  1362. },
  1363. "scale": {
  1364. "type": "list<double>",
  1365. "value": [
  1366. 1,
  1367. 1
  1368. ]
  1369. },
  1370. "textContent": {
  1371. "type": "string",
  1372. "value": "#"
  1373. },
  1374. "style": {
  1375. "type": "map<string,string>",
  1376. "value": {
  1377. "stroke": "#6000ff",
  1378. "fill": "#6000ff",
  1379. "font-size": "15px",
  1380. "opacity": "1"
  1381. }
  1382. },
  1383. "mapper": {
  1384. "type": "code",
  1385. "value": "({'textContent':getAttr('__pLabel')})"
  1386. },
  1387. "parser": {
  1388. "type": "code",
  1389. "value": "({'__pLabel':getAttr('textContent')})"
  1390. },
  1391. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  1392. }
  1393. },
  1394. "edges": [
  1395. {
  1396. "src": "text",
  1397. "dest": "textBelowRect"
  1398. },
  1399. {
  1400. "src": "textBelowRect",
  1401. "dest": "rect"
  1402. }
  1403. ]
  1404. }
  1405. },
  1406. {
  1407. "name": "$asuri",
  1408. "type": "string",
  1409. "default": "-1"
  1410. }
  1411. ]
  1412. },
  1413. "constraints": [],
  1414. "actions": [],
  1415. "cardinalities": {
  1416. "__pStartIcon": [],
  1417. "__pFinishIcon": [],
  1418. "__pCarIcon": [],
  1419. "__pCupIcon": [],
  1420. "__pElementIcon": [],
  1421. "__pPositionableIcon": []
  1422. },
  1423. "legalConnections": {},
  1424. "connectorTypes": {},
  1425. "types2parentTypes": {
  1426. "__pStartIcon": [],
  1427. "__pFinishIcon": [],
  1428. "__pCarIcon": [],
  1429. "__pCupIcon": [],
  1430. "__pElementIcon": [],
  1431. "__pPositionableIcon": []
  1432. }
  1433. }