Traffic.defaultIcons.pattern.metamodel 31 KB

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