RaceMM.model 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076
  1. {
  2. "csm": {
  3. "nodes": {
  4. "0": {
  5. "typename": {
  6. "type": "string",
  7. "value": "ClassIcon"
  8. },
  9. "position": {
  10. "type": "list<double>",
  11. "value": [
  12. 572,
  13. 294
  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. "5": {
  40. "width": {
  41. "type": "double",
  42. "value": 200
  43. },
  44. "height": {
  45. "type": "double",
  46. "value": 125
  47. },
  48. "cornerRadius": {
  49. "type": "double",
  50. "value": 0
  51. },
  52. "style": {
  53. "type": "map<string,string>",
  54. "value": {
  55. "stroke": "#000000",
  56. "stroke-dasharray": "",
  57. "fill": "#ffffff",
  58. "fill-opacity": 0.75,
  59. "stroke-width": 2
  60. }
  61. },
  62. "mapper": {
  63. "type": "code",
  64. "value": ""
  65. },
  66. "parser": {
  67. "type": "code",
  68. "value": ""
  69. },
  70. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  71. "position": {
  72. "type": "list<double>",
  73. "value": [
  74. 0,
  75. 0
  76. ]
  77. },
  78. "orientation": {
  79. "type": "double",
  80. "value": 0
  81. },
  82. "scale": {
  83. "type": "list<double>",
  84. "value": [
  85. 1,
  86. 1
  87. ]
  88. }
  89. },
  90. "6": {
  91. "textContent": {
  92. "type": "string",
  93. "value": "Car"
  94. },
  95. "style": {
  96. "type": "map<string,string>",
  97. "value": {
  98. "stroke": "#000000",
  99. "fill": "#ffffff",
  100. "fill-opacity": 0.75,
  101. "font-size": "20px",
  102. "font-style": "normal"
  103. }
  104. },
  105. "mapper": {
  106. "type": "code",
  107. "value": "var style = \n {\n \"stroke\": \"#000000\",\n \"fill\": \"#ffffff\",\n \"fill-opacity\": 0.75,\n \"font-size\": \"20px\",\n \"font-style\": (getAttr('abstract') ? 'italic' : 'normal')\n };\n\n({'textContent': getAttr('name'), 'style':style})\n\n\n\n"
  108. },
  109. "parser": {
  110. "type": "code",
  111. "value": "({'name': getAttr('textContent')})"
  112. },
  113. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  114. "position": {
  115. "type": "list<double>",
  116. "value": [
  117. 23,
  118. 2
  119. ]
  120. },
  121. "orientation": {
  122. "type": "double",
  123. "value": 0
  124. },
  125. "scale": {
  126. "type": "list<double>",
  127. "value": [
  128. 1,
  129. 1
  130. ]
  131. }
  132. },
  133. "7": {
  134. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  135. "position": {
  136. "type": "list<double>",
  137. "value": [
  138. 13.896110991026944,
  139. 3.0451514439171206
  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. "link-style": {
  154. "type": "map<string,string>",
  155. "value": {
  156. "stroke": "#00ffff",
  157. "stroke-dasharray": "",
  158. "stroke-opacity": 0.1,
  159. "arrow-start": "none",
  160. "arrow-end": "classic-wide-long"
  161. }
  162. }
  163. },
  164. "17": {
  165. "segments": {
  166. "type": "string",
  167. "value": "m0,0l200,0"
  168. },
  169. "style": {
  170. "type": "map<string,string>",
  171. "value": {
  172. "stroke": "#000000",
  173. "stroke-dasharray": "",
  174. "fill": "#ffffff",
  175. "fill-opacity": 0.75,
  176. "font-size": "20px",
  177. "stroke-width": 2,
  178. "arrow-start": "none",
  179. "arrow-end": "none"
  180. }
  181. },
  182. "mapper": {
  183. "type": "code",
  184. "value": ""
  185. },
  186. "parser": {
  187. "type": "code",
  188. "value": ""
  189. },
  190. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  191. "position": {
  192. "type": "list<double>",
  193. "value": [
  194. 1,
  195. 26
  196. ]
  197. },
  198. "orientation": {
  199. "type": "double",
  200. "value": 0
  201. },
  202. "scale": {
  203. "type": "list<double>",
  204. "value": [
  205. 1,
  206. 1
  207. ]
  208. }
  209. },
  210. "18": {
  211. "textContent": {
  212. "type": "string",
  213. "value": "+ name"
  214. },
  215. "style": {
  216. "type": "map<string,string>",
  217. "value": {
  218. "stroke": "#000000",
  219. "stroke-dasharray": "",
  220. "fill": "#ffffff",
  221. "fill-opacity": 0.75,
  222. "font-size": "13px",
  223. "stroke-width": 1,
  224. "arrow-start": "none",
  225. "arrow-end": "none"
  226. }
  227. },
  228. "mapper": {
  229. "type": "code",
  230. "value": "var filenames = getAttr('attributes').map(\n function(attr)\n {\n return '+ '+attr['name'];\n });\n\n({'textContent': filenames.join('\\n')})"
  231. },
  232. "parser": {
  233. "type": "code",
  234. "value": ""
  235. },
  236. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  237. "position": {
  238. "type": "list<double>",
  239. "value": [
  240. 3,
  241. 25
  242. ]
  243. },
  244. "orientation": {
  245. "type": "double",
  246. "value": 0
  247. },
  248. "scale": {
  249. "type": "list<double>",
  250. "value": [
  251. 1,
  252. 1
  253. ]
  254. }
  255. },
  256. "19": {
  257. "width": {
  258. "type": "boolean",
  259. "value": true
  260. },
  261. "ratio": {
  262. "type": "double",
  263. "value": 1
  264. },
  265. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Span",
  266. "position": {
  267. "type": "list<double>",
  268. "value": [
  269. 168.09129891774523,
  270. 30.625911571363645
  271. ]
  272. },
  273. "orientation": {
  274. "type": "double",
  275. "value": 0
  276. },
  277. "scale": {
  278. "type": "list<double>",
  279. "value": [
  280. 1,
  281. 1
  282. ]
  283. },
  284. "link-style": {
  285. "type": "map<string,string>",
  286. "value": {
  287. "stroke": "#0000ff",
  288. "stroke-dasharray": "",
  289. "stroke-opacity": 1,
  290. "arrow-start": "none",
  291. "arrow-end": "classic-wide-long"
  292. }
  293. }
  294. },
  295. "20": {
  296. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  297. "position": {
  298. "type": "list<double>",
  299. "value": [
  300. 6.49899850809561,
  301. 18.998998508095553
  302. ]
  303. },
  304. "orientation": {
  305. "type": "double",
  306. "value": 0
  307. },
  308. "scale": {
  309. "type": "list<double>",
  310. "value": [
  311. 1,
  312. 1
  313. ]
  314. },
  315. "link-style": {
  316. "type": "map<string,string>",
  317. "value": {
  318. "stroke": "#00ffff",
  319. "stroke-dasharray": "",
  320. "stroke-opacity": 0.1,
  321. "arrow-start": "none",
  322. "arrow-end": "classic-wide-long"
  323. }
  324. }
  325. }
  326. },
  327. "edges": [
  328. {
  329. "src": "5",
  330. "dest": "7"
  331. },
  332. {
  333. "src": "7",
  334. "dest": "6"
  335. },
  336. {
  337. "src": "17",
  338. "dest": "19"
  339. },
  340. {
  341. "src": "19",
  342. "dest": "5"
  343. },
  344. {
  345. "src": "5",
  346. "dest": "20"
  347. },
  348. {
  349. "src": "20",
  350. "dest": "18"
  351. }
  352. ]
  353. }
  354. },
  355. "$asuri": {
  356. "type": "string",
  357. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/0.instance"
  358. },
  359. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  360. },
  361. "1": {
  362. "typename": {
  363. "type": "string",
  364. "value": "ClassIcon"
  365. },
  366. "position": {
  367. "type": "list<double>",
  368. "value": [
  369. 267,
  370. 293
  371. ]
  372. },
  373. "orientation": {
  374. "type": "double",
  375. "value": 0
  376. },
  377. "scale": {
  378. "type": "list<double>",
  379. "value": [
  380. 1,
  381. 1
  382. ]
  383. },
  384. "mapper": {
  385. "type": "code",
  386. "value": ""
  387. },
  388. "parser": {
  389. "type": "code",
  390. "value": ""
  391. },
  392. "$contents": {
  393. "type": "map<string,*>",
  394. "value": {
  395. "nodes": {
  396. "5": {
  397. "width": {
  398. "type": "double",
  399. "value": 200
  400. },
  401. "height": {
  402. "type": "double",
  403. "value": 125
  404. },
  405. "cornerRadius": {
  406. "type": "double",
  407. "value": 0
  408. },
  409. "style": {
  410. "type": "map<string,string>",
  411. "value": {
  412. "stroke": "#000000",
  413. "stroke-dasharray": "",
  414. "fill": "#ffffff",
  415. "fill-opacity": 0.75,
  416. "stroke-width": 2
  417. }
  418. },
  419. "mapper": {
  420. "type": "code",
  421. "value": ""
  422. },
  423. "parser": {
  424. "type": "code",
  425. "value": ""
  426. },
  427. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  428. "position": {
  429. "type": "list<double>",
  430. "value": [
  431. 0,
  432. 0
  433. ]
  434. },
  435. "orientation": {
  436. "type": "double",
  437. "value": 0
  438. },
  439. "scale": {
  440. "type": "list<double>",
  441. "value": [
  442. 1,
  443. 1
  444. ]
  445. }
  446. },
  447. "6": {
  448. "textContent": {
  449. "type": "string",
  450. "value": "UnitTrack"
  451. },
  452. "style": {
  453. "type": "map<string,string>",
  454. "value": {
  455. "stroke": "#000000",
  456. "fill": "#ffffff",
  457. "fill-opacity": 0.75,
  458. "font-size": "20px",
  459. "font-style": "normal"
  460. }
  461. },
  462. "mapper": {
  463. "type": "code",
  464. "value": "var style = \n {\n \"stroke\": \"#000000\",\n \"fill\": \"#ffffff\",\n \"fill-opacity\": 0.75,\n \"font-size\": \"20px\",\n \"font-style\": (getAttr('abstract') ? 'italic' : 'normal')\n };\n\n({'textContent': getAttr('name'), 'style':style})\n\n\n\n"
  465. },
  466. "parser": {
  467. "type": "code",
  468. "value": "({'name': getAttr('textContent')})"
  469. },
  470. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  471. "position": {
  472. "type": "list<double>",
  473. "value": [
  474. 23,
  475. 2
  476. ]
  477. },
  478. "orientation": {
  479. "type": "double",
  480. "value": 0
  481. },
  482. "scale": {
  483. "type": "list<double>",
  484. "value": [
  485. 1,
  486. 1
  487. ]
  488. }
  489. },
  490. "7": {
  491. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  492. "position": {
  493. "type": "list<double>",
  494. "value": [
  495. 13.896110991026944,
  496. 3.0451514439171206
  497. ]
  498. },
  499. "orientation": {
  500. "type": "double",
  501. "value": 0
  502. },
  503. "scale": {
  504. "type": "list<double>",
  505. "value": [
  506. 1,
  507. 1
  508. ]
  509. },
  510. "link-style": {
  511. "type": "map<string,string>",
  512. "value": {
  513. "stroke": "#00ffff",
  514. "stroke-dasharray": "",
  515. "stroke-opacity": 0.1,
  516. "arrow-start": "none",
  517. "arrow-end": "classic-wide-long"
  518. }
  519. }
  520. },
  521. "17": {
  522. "segments": {
  523. "type": "string",
  524. "value": "m0,0l200,0"
  525. },
  526. "style": {
  527. "type": "map<string,string>",
  528. "value": {
  529. "stroke": "#000000",
  530. "stroke-dasharray": "",
  531. "fill": "#ffffff",
  532. "fill-opacity": 0.75,
  533. "font-size": "20px",
  534. "stroke-width": 2,
  535. "arrow-start": "none",
  536. "arrow-end": "none"
  537. }
  538. },
  539. "mapper": {
  540. "type": "code",
  541. "value": ""
  542. },
  543. "parser": {
  544. "type": "code",
  545. "value": ""
  546. },
  547. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  548. "position": {
  549. "type": "list<double>",
  550. "value": [
  551. 1,
  552. 26
  553. ]
  554. },
  555. "orientation": {
  556. "type": "double",
  557. "value": 0
  558. },
  559. "scale": {
  560. "type": "list<double>",
  561. "value": [
  562. 1,
  563. 1
  564. ]
  565. }
  566. },
  567. "18": {
  568. "textContent": {
  569. "type": "string",
  570. "value": ""
  571. },
  572. "style": {
  573. "type": "map<string,string>",
  574. "value": {
  575. "stroke": "#000000",
  576. "stroke-dasharray": "",
  577. "fill": "#ffffff",
  578. "fill-opacity": 0.75,
  579. "font-size": "13px",
  580. "stroke-width": 1,
  581. "arrow-start": "none",
  582. "arrow-end": "none"
  583. }
  584. },
  585. "mapper": {
  586. "type": "code",
  587. "value": "var filenames = getAttr('attributes').map(\n function(attr)\n {\n return '+ '+attr['name'];\n });\n\n({'textContent': filenames.join('\\n')})"
  588. },
  589. "parser": {
  590. "type": "code",
  591. "value": ""
  592. },
  593. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  594. "position": {
  595. "type": "list<double>",
  596. "value": [
  597. 3,
  598. 25
  599. ]
  600. },
  601. "orientation": {
  602. "type": "double",
  603. "value": 0
  604. },
  605. "scale": {
  606. "type": "list<double>",
  607. "value": [
  608. 1,
  609. 1
  610. ]
  611. }
  612. },
  613. "19": {
  614. "width": {
  615. "type": "boolean",
  616. "value": true
  617. },
  618. "ratio": {
  619. "type": "double",
  620. "value": 1
  621. },
  622. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Span",
  623. "position": {
  624. "type": "list<double>",
  625. "value": [
  626. 168.09129891774523,
  627. 30.625911571363645
  628. ]
  629. },
  630. "orientation": {
  631. "type": "double",
  632. "value": 0
  633. },
  634. "scale": {
  635. "type": "list<double>",
  636. "value": [
  637. 1,
  638. 1
  639. ]
  640. },
  641. "link-style": {
  642. "type": "map<string,string>",
  643. "value": {
  644. "stroke": "#0000ff",
  645. "stroke-dasharray": "",
  646. "stroke-opacity": 1,
  647. "arrow-start": "none",
  648. "arrow-end": "classic-wide-long"
  649. }
  650. }
  651. },
  652. "20": {
  653. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  654. "position": {
  655. "type": "list<double>",
  656. "value": [
  657. 6.49899850809561,
  658. 18.998998508095553
  659. ]
  660. },
  661. "orientation": {
  662. "type": "double",
  663. "value": 0
  664. },
  665. "scale": {
  666. "type": "list<double>",
  667. "value": [
  668. 1,
  669. 1
  670. ]
  671. },
  672. "link-style": {
  673. "type": "map<string,string>",
  674. "value": {
  675. "stroke": "#00ffff",
  676. "stroke-dasharray": "",
  677. "stroke-opacity": 0.1,
  678. "arrow-start": "none",
  679. "arrow-end": "classic-wide-long"
  680. }
  681. }
  682. }
  683. },
  684. "edges": [
  685. {
  686. "src": "5",
  687. "dest": "7"
  688. },
  689. {
  690. "src": "7",
  691. "dest": "6"
  692. },
  693. {
  694. "src": "17",
  695. "dest": "19"
  696. },
  697. {
  698. "src": "19",
  699. "dest": "5"
  700. },
  701. {
  702. "src": "5",
  703. "dest": "20"
  704. },
  705. {
  706. "src": "20",
  707. "dest": "18"
  708. }
  709. ]
  710. }
  711. },
  712. "$asuri": {
  713. "type": "string",
  714. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/1.instance"
  715. },
  716. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  717. },
  718. "3": {
  719. "typename": {
  720. "type": "string",
  721. "value": "ClassIcon"
  722. },
  723. "position": {
  724. "type": "list<double>",
  725. "value": [
  726. 909,
  727. 295
  728. ]
  729. },
  730. "orientation": {
  731. "type": "double",
  732. "value": 0
  733. },
  734. "scale": {
  735. "type": "list<double>",
  736. "value": [
  737. 1,
  738. 1
  739. ]
  740. },
  741. "mapper": {
  742. "type": "code",
  743. "value": ""
  744. },
  745. "parser": {
  746. "type": "code",
  747. "value": ""
  748. },
  749. "$contents": {
  750. "type": "map<string,*>",
  751. "value": {
  752. "nodes": {
  753. "5": {
  754. "width": {
  755. "type": "double",
  756. "value": 200
  757. },
  758. "height": {
  759. "type": "double",
  760. "value": 125
  761. },
  762. "cornerRadius": {
  763. "type": "double",
  764. "value": 0
  765. },
  766. "style": {
  767. "type": "map<string,string>",
  768. "value": {
  769. "stroke": "#000000",
  770. "stroke-dasharray": "",
  771. "fill": "#ffffff",
  772. "fill-opacity": 0.75,
  773. "stroke-width": 2
  774. }
  775. },
  776. "mapper": {
  777. "type": "code",
  778. "value": ""
  779. },
  780. "parser": {
  781. "type": "code",
  782. "value": ""
  783. },
  784. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  785. "position": {
  786. "type": "list<double>",
  787. "value": [
  788. 0,
  789. 0
  790. ]
  791. },
  792. "orientation": {
  793. "type": "double",
  794. "value": 0
  795. },
  796. "scale": {
  797. "type": "list<double>",
  798. "value": [
  799. 1,
  800. 1
  801. ]
  802. }
  803. },
  804. "6": {
  805. "textContent": {
  806. "type": "string",
  807. "value": "Positionable"
  808. },
  809. "style": {
  810. "type": "map<string,string>",
  811. "value": {
  812. "stroke": "#000000",
  813. "fill": "#ffffff",
  814. "fill-opacity": 0.75,
  815. "font-size": "20px",
  816. "font-style": "italic"
  817. }
  818. },
  819. "mapper": {
  820. "type": "code",
  821. "value": "var style = \n {\n \"stroke\": \"#000000\",\n \"fill\": \"#ffffff\",\n \"fill-opacity\": 0.75,\n \"font-size\": \"20px\",\n \"font-style\": (getAttr('abstract') ? 'italic' : 'normal')\n };\n\n({'textContent': getAttr('name'), 'style':style})\n\n\n\n"
  822. },
  823. "parser": {
  824. "type": "code",
  825. "value": "({'name': getAttr('textContent')})"
  826. },
  827. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  828. "position": {
  829. "type": "list<double>",
  830. "value": [
  831. 23,
  832. 2
  833. ]
  834. },
  835. "orientation": {
  836. "type": "double",
  837. "value": 0
  838. },
  839. "scale": {
  840. "type": "list<double>",
  841. "value": [
  842. 1,
  843. 1
  844. ]
  845. }
  846. },
  847. "7": {
  848. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  849. "position": {
  850. "type": "list<double>",
  851. "value": [
  852. 13.896110991026944,
  853. 3.0451514439171206
  854. ]
  855. },
  856. "orientation": {
  857. "type": "double",
  858. "value": 0
  859. },
  860. "scale": {
  861. "type": "list<double>",
  862. "value": [
  863. 1,
  864. 1
  865. ]
  866. },
  867. "link-style": {
  868. "type": "map<string,string>",
  869. "value": {
  870. "stroke": "#00ffff",
  871. "stroke-dasharray": "",
  872. "stroke-opacity": 0.1,
  873. "arrow-start": "none",
  874. "arrow-end": "classic-wide-long"
  875. }
  876. }
  877. },
  878. "17": {
  879. "segments": {
  880. "type": "string",
  881. "value": "m0,0l200,0"
  882. },
  883. "style": {
  884. "type": "map<string,string>",
  885. "value": {
  886. "stroke": "#000000",
  887. "stroke-dasharray": "",
  888. "fill": "#ffffff",
  889. "fill-opacity": 0.75,
  890. "font-size": "20px",
  891. "stroke-width": 2,
  892. "arrow-start": "none",
  893. "arrow-end": "none"
  894. }
  895. },
  896. "mapper": {
  897. "type": "code",
  898. "value": ""
  899. },
  900. "parser": {
  901. "type": "code",
  902. "value": ""
  903. },
  904. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  905. "position": {
  906. "type": "list<double>",
  907. "value": [
  908. 1,
  909. 26
  910. ]
  911. },
  912. "orientation": {
  913. "type": "double",
  914. "value": 0
  915. },
  916. "scale": {
  917. "type": "list<double>",
  918. "value": [
  919. 1,
  920. 1
  921. ]
  922. }
  923. },
  924. "18": {
  925. "textContent": {
  926. "type": "string",
  927. "value": "+ position"
  928. },
  929. "style": {
  930. "type": "map<string,string>",
  931. "value": {
  932. "stroke": "#000000",
  933. "stroke-dasharray": "",
  934. "fill": "#ffffff",
  935. "fill-opacity": 0.75,
  936. "font-size": "13px",
  937. "stroke-width": 1,
  938. "arrow-start": "none",
  939. "arrow-end": "none"
  940. }
  941. },
  942. "mapper": {
  943. "type": "code",
  944. "value": "var filenames = getAttr('attributes').map(\n function(attr)\n {\n return '+ '+attr['name'];\n });\n\n({'textContent': filenames.join('\\n')})"
  945. },
  946. "parser": {
  947. "type": "code",
  948. "value": ""
  949. },
  950. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  951. "position": {
  952. "type": "list<double>",
  953. "value": [
  954. 3,
  955. 25
  956. ]
  957. },
  958. "orientation": {
  959. "type": "double",
  960. "value": 0
  961. },
  962. "scale": {
  963. "type": "list<double>",
  964. "value": [
  965. 1,
  966. 1
  967. ]
  968. }
  969. },
  970. "19": {
  971. "width": {
  972. "type": "boolean",
  973. "value": true
  974. },
  975. "ratio": {
  976. "type": "double",
  977. "value": 1
  978. },
  979. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Span",
  980. "position": {
  981. "type": "list<double>",
  982. "value": [
  983. 168.09129891774523,
  984. 30.625911571363645
  985. ]
  986. },
  987. "orientation": {
  988. "type": "double",
  989. "value": 0
  990. },
  991. "scale": {
  992. "type": "list<double>",
  993. "value": [
  994. 1,
  995. 1
  996. ]
  997. },
  998. "link-style": {
  999. "type": "map<string,string>",
  1000. "value": {
  1001. "stroke": "#0000ff",
  1002. "stroke-dasharray": "",
  1003. "stroke-opacity": 1,
  1004. "arrow-start": "none",
  1005. "arrow-end": "classic-wide-long"
  1006. }
  1007. }
  1008. },
  1009. "20": {
  1010. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1011. "position": {
  1012. "type": "list<double>",
  1013. "value": [
  1014. 6.49899850809561,
  1015. 18.998998508095553
  1016. ]
  1017. },
  1018. "orientation": {
  1019. "type": "double",
  1020. "value": 0
  1021. },
  1022. "scale": {
  1023. "type": "list<double>",
  1024. "value": [
  1025. 1,
  1026. 1
  1027. ]
  1028. },
  1029. "link-style": {
  1030. "type": "map<string,string>",
  1031. "value": {
  1032. "stroke": "#00ffff",
  1033. "stroke-dasharray": "",
  1034. "stroke-opacity": 0.1,
  1035. "arrow-start": "none",
  1036. "arrow-end": "classic-wide-long"
  1037. }
  1038. }
  1039. }
  1040. },
  1041. "edges": [
  1042. {
  1043. "src": "5",
  1044. "dest": "7"
  1045. },
  1046. {
  1047. "src": "7",
  1048. "dest": "6"
  1049. },
  1050. {
  1051. "src": "17",
  1052. "dest": "19"
  1053. },
  1054. {
  1055. "src": "19",
  1056. "dest": "5"
  1057. },
  1058. {
  1059. "src": "5",
  1060. "dest": "20"
  1061. },
  1062. {
  1063. "src": "20",
  1064. "dest": "18"
  1065. }
  1066. ]
  1067. }
  1068. },
  1069. "$asuri": {
  1070. "type": "string",
  1071. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/3.instance"
  1072. },
  1073. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  1074. },
  1075. "4": {
  1076. "link-style": {
  1077. "type": "map<string,string>",
  1078. "value": {
  1079. "stroke": "#000000",
  1080. "stroke-dasharray": "",
  1081. "stroke-opacity": 1,
  1082. "stroke-width": 2
  1083. }
  1084. },
  1085. "arrowHead": {
  1086. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  1087. "value": "custom"
  1088. },
  1089. "arrowTail": {
  1090. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  1091. "value": "arrow-black"
  1092. },
  1093. "typename": {
  1094. "type": "string",
  1095. "value": "InheritanceLink"
  1096. },
  1097. "position": {
  1098. "type": "list<double>",
  1099. "value": [
  1100. 839.5,
  1101. 310
  1102. ]
  1103. },
  1104. "orientation": {
  1105. "type": "double",
  1106. "value": 0
  1107. },
  1108. "scale": {
  1109. "type": "list<double>",
  1110. "value": [
  1111. 1,
  1112. 1
  1113. ]
  1114. },
  1115. "mapper": {
  1116. "type": "code",
  1117. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1118. },
  1119. "parser": {
  1120. "type": "code",
  1121. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1122. },
  1123. "$contents": {
  1124. "type": "map<string,*>",
  1125. "value": {
  1126. "nodes": {
  1127. "164": {
  1128. "segments": {
  1129. "type": "string",
  1130. "value": "m0,0 l20,10 l-20,10 z"
  1131. },
  1132. "style": {
  1133. "type": "map<string,string>",
  1134. "value": {
  1135. "stroke": "#000000",
  1136. "fill": "#ffffff",
  1137. "opacity": 1,
  1138. "stroke-width": 1
  1139. }
  1140. },
  1141. "mapper": {
  1142. "type": "code",
  1143. "value": ""
  1144. },
  1145. "parser": {
  1146. "type": "code",
  1147. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1148. },
  1149. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1150. "position": {
  1151. "type": "list<double>",
  1152. "value": [
  1153. "0;72.49917317479185,100%",
  1154. "0;-10,0%"
  1155. ]
  1156. },
  1157. "orientation": {
  1158. "type": "double",
  1159. "value": "0;0"
  1160. },
  1161. "scale": {
  1162. "type": "list<double>",
  1163. "value": [
  1164. 1,
  1165. 1
  1166. ]
  1167. },
  1168. "$linkDecoratorInfo": {
  1169. "type": "map<string,double>",
  1170. "value": {
  1171. "xratio": 1,
  1172. "yoffset": -10
  1173. }
  1174. }
  1175. }
  1176. },
  1177. "edges": []
  1178. }
  1179. },
  1180. "$asuri": {
  1181. "type": "string",
  1182. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance/4.instance"
  1183. },
  1184. "$segments": {
  1185. "type": "map<string,list<string>>",
  1186. "value": {
  1187. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/0.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/4.instance": "M767,310L839.5,310",
  1188. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/4.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/3.instance": "M839.5008333333333,309.99999999999994L911.9991731747918,310"
  1189. }
  1190. },
  1191. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink"
  1192. },
  1193. "5": {
  1194. "link-style": {
  1195. "type": "map<string,string>",
  1196. "value": {
  1197. "stroke": "#000000",
  1198. "stroke-dasharray": "",
  1199. "stroke-opacity": 1,
  1200. "stroke-width": 2
  1201. }
  1202. },
  1203. "arrowHead": {
  1204. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  1205. "value": "custom"
  1206. },
  1207. "arrowTail": {
  1208. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  1209. "value": "arrow-black"
  1210. },
  1211. "typename": {
  1212. "type": "string",
  1213. "value": "InheritanceLink"
  1214. },
  1215. "position": {
  1216. "type": "list<double>",
  1217. "value": [
  1218. 686.5010073051756,
  1219. 268.2768366388184
  1220. ]
  1221. },
  1222. "orientation": {
  1223. "type": "double",
  1224. "value": 0
  1225. },
  1226. "scale": {
  1227. "type": "list<double>",
  1228. "value": [
  1229. 1,
  1230. 1
  1231. ]
  1232. },
  1233. "mapper": {
  1234. "type": "code",
  1235. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1236. },
  1237. "parser": {
  1238. "type": "code",
  1239. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1240. },
  1241. "$contents": {
  1242. "type": "map<string,*>",
  1243. "value": {
  1244. "nodes": {
  1245. "164": {
  1246. "segments": {
  1247. "type": "string",
  1248. "value": "m0,0 l20,10 l-20,10 z"
  1249. },
  1250. "style": {
  1251. "type": "map<string,string>",
  1252. "value": {
  1253. "stroke": "#000000",
  1254. "fill": "#ffffff",
  1255. "opacity": 1,
  1256. "stroke-width": 1
  1257. }
  1258. },
  1259. "mapper": {
  1260. "type": "code",
  1261. "value": ""
  1262. },
  1263. "parser": {
  1264. "type": "code",
  1265. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1266. },
  1267. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1268. "position": {
  1269. "type": "list<double>",
  1270. "value": [
  1271. "0;245.49899269482444,6.123031769111886e-15%",
  1272. "0;26.723163361181605,100%"
  1273. ]
  1274. },
  1275. "orientation": {
  1276. "type": "double",
  1277. "value": "0;90"
  1278. },
  1279. "scale": {
  1280. "type": "list<double>",
  1281. "value": [
  1282. 1,
  1283. 1
  1284. ]
  1285. },
  1286. "$linkDecoratorInfo": {
  1287. "type": "map<string,double>",
  1288. "value": {
  1289. "xratio": 1,
  1290. "yoffset": -10
  1291. }
  1292. }
  1293. }
  1294. },
  1295. "edges": []
  1296. }
  1297. },
  1298. "$asuri": {
  1299. "type": "string",
  1300. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance/5.instance"
  1301. },
  1302. "$segments": {
  1303. "type": "map<string,list<string>>",
  1304. "value": {
  1305. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/1.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/5.instance": "M464,305L512,305L512,267L686.5010073051756,268.2768366388184",
  1306. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/5.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/3.instance": "M686.5010073051756,268.2768366388184L922,270L922,295"
  1307. }
  1308. },
  1309. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink"
  1310. },
  1311. "6": {
  1312. "link-style": {
  1313. "type": "map<string,string>",
  1314. "value": {
  1315. "stroke": "#000000",
  1316. "stroke-dasharray": "",
  1317. "stroke-opacity": 1,
  1318. "stroke-width": 2
  1319. }
  1320. },
  1321. "arrowHead": {
  1322. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  1323. "value": "custom"
  1324. },
  1325. "arrowTail": {
  1326. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  1327. "value": "arrow-black"
  1328. },
  1329. "typename": {
  1330. "type": "string",
  1331. "value": "AssociationLink"
  1332. },
  1333. "position": {
  1334. "type": "list<double>",
  1335. "value": [
  1336. 330.0497256,
  1337. 446.520994512
  1338. ]
  1339. },
  1340. "orientation": {
  1341. "type": "double",
  1342. "value": 0
  1343. },
  1344. "scale": {
  1345. "type": "list<double>",
  1346. "value": [
  1347. 1,
  1348. 1
  1349. ]
  1350. },
  1351. "mapper": {
  1352. "type": "code",
  1353. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1354. },
  1355. "parser": {
  1356. "type": "code",
  1357. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1358. },
  1359. "$contents": {
  1360. "type": "map<string,*>",
  1361. "value": {
  1362. "nodes": {
  1363. "71": {
  1364. "textContent": {
  1365. "type": "string",
  1366. "value": "next"
  1367. },
  1368. "style": {
  1369. "type": "map<string,string>",
  1370. "value": {
  1371. "stroke": "#000000",
  1372. "stroke-dasharray": "",
  1373. "fill": "#ffffff",
  1374. "fill-opacity": 0.75,
  1375. "font-size": "20px",
  1376. "stroke-width": 1,
  1377. "arrow-start": "none",
  1378. "arrow-end": "none"
  1379. }
  1380. },
  1381. "mapper": {
  1382. "type": "code",
  1383. "value": "({'textContent':getAttr('name')})"
  1384. },
  1385. "parser": {
  1386. "type": "code",
  1387. "value": "({'name':getAttr('textContent')})"
  1388. },
  1389. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1390. "position": {
  1391. "type": "list<double>",
  1392. "value": [
  1393. "0;-14.301526521351377,0%",
  1394. "0;-28.791729960541034,0%"
  1395. ]
  1396. },
  1397. "orientation": {
  1398. "type": "double",
  1399. "value": "0;1.1457628381751384"
  1400. },
  1401. "scale": {
  1402. "type": "list<double>",
  1403. "value": [
  1404. 1,
  1405. 1
  1406. ]
  1407. },
  1408. "$linkDecoratorInfo": {
  1409. "type": "map<string,double>",
  1410. "value": {
  1411. "xratio": 0.3803680981595092,
  1412. "yoffset": -28.5
  1413. }
  1414. }
  1415. },
  1416. "74": {
  1417. "textContent": {
  1418. "type": "string",
  1419. "value": "*"
  1420. },
  1421. "style": {
  1422. "type": "map<string,string>",
  1423. "value": {
  1424. "stroke": "#000000",
  1425. "stroke-dasharray": "",
  1426. "fill": "#ffffff",
  1427. "fill-opacity": 0.75,
  1428. "font-size": "20px",
  1429. "stroke-width": 1,
  1430. "arrow-start": "none",
  1431. "arrow-end": "none"
  1432. }
  1433. },
  1434. "mapper": {
  1435. "type": "code",
  1436. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n//TBC: write some code that uses getAttr('cardinalities') to determine the correct cardinality to display"
  1437. },
  1438. "parser": {
  1439. "type": "code",
  1440. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1441. },
  1442. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1443. "position": {
  1444. "type": "list<double>",
  1445. "value": [
  1446. "0;-11.503381404289428,-5.255883312276406%",
  1447. "0;-35.75948551374478,-99.86178293325096%"
  1448. ]
  1449. },
  1450. "orientation": {
  1451. "type": "double",
  1452. "value": "0;-93.01278750418336"
  1453. },
  1454. "scale": {
  1455. "type": "list<double>",
  1456. "value": [
  1457. 1,
  1458. 1
  1459. ]
  1460. },
  1461. "$linkDecoratorInfo": {
  1462. "type": "map<string,double>",
  1463. "value": {
  1464. "xratio": 1.2085889570552146,
  1465. "yoffset": -33.5
  1466. }
  1467. }
  1468. },
  1469. "77": {
  1470. "textContent": {
  1471. "type": "string",
  1472. "value": "*"
  1473. },
  1474. "style": {
  1475. "type": "map<string,string>",
  1476. "value": {
  1477. "stroke": "#000000",
  1478. "stroke-dasharray": "",
  1479. "fill": "#ffffff",
  1480. "fill-opacity": 0.75,
  1481. "font-size": "20px",
  1482. "stroke-width": 1,
  1483. "arrow-start": "none",
  1484. "arrow-end": "none"
  1485. }
  1486. },
  1487. "mapper": {
  1488. "type": "code",
  1489. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n//TBC: write some code that uses getAttr('cardinalities') to determine the correct cardinality to display"
  1490. },
  1491. "parser": {
  1492. "type": "code",
  1493. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1494. },
  1495. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1496. "position": {
  1497. "type": "list<double>",
  1498. "value": [
  1499. "0;8.437357491866067,0%",
  1500. "0;-35.59079775944815,0%"
  1501. ]
  1502. },
  1503. "orientation": {
  1504. "type": "double",
  1505. "value": "0;91.5911402711946"
  1506. },
  1507. "scale": {
  1508. "type": "list<double>",
  1509. "value": [
  1510. 1,
  1511. 1
  1512. ]
  1513. },
  1514. "$linkDecoratorInfo": {
  1515. "type": "map<string,double>",
  1516. "value": {
  1517. "xratio": -0.03680981595092025,
  1518. "yoffset": -33.5
  1519. }
  1520. }
  1521. },
  1522. "140": {
  1523. "segments": {
  1524. "type": "string",
  1525. "value": "m0,0 l20,8 l-20,8"
  1526. },
  1527. "style": {
  1528. "type": "map<string,string>",
  1529. "value": {
  1530. "stroke": "#000000",
  1531. "fill": "#000000",
  1532. "fill-opacity": 0,
  1533. "stroke-width": 1,
  1534. "opacity": 1
  1535. }
  1536. },
  1537. "mapper": {
  1538. "type": "code",
  1539. "value": ""
  1540. },
  1541. "parser": {
  1542. "type": "code",
  1543. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1544. },
  1545. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1546. "position": {
  1547. "type": "list<double>",
  1548. "value": [
  1549. "0;13.961373243689536,-5.255883312276406%",
  1550. "0;-37.09973575837523,-99.86178293325096%"
  1551. ]
  1552. },
  1553. "orientation": {
  1554. "type": "double",
  1555. "value": "0;-93.01278750418336"
  1556. },
  1557. "scale": {
  1558. "type": "list<double>",
  1559. "value": [
  1560. 1,
  1561. 1
  1562. ]
  1563. },
  1564. "$linkDecoratorInfo": {
  1565. "type": "map<string,double>",
  1566. "value": {
  1567. "xratio": 1,
  1568. "yoffset": -8
  1569. }
  1570. }
  1571. }
  1572. },
  1573. "edges": []
  1574. }
  1575. },
  1576. "$asuri": {
  1577. "type": "string",
  1578. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/6.instance"
  1579. },
  1580. "$segments": {
  1581. "type": "map<string,list<string>>",
  1582. "value": {
  1583. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/1.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/6.instance": "M305,410L304,446L330.0497256,446.520994512",
  1584. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/6.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/1.instance": "M330.0497256,446.520994512L354,447L352.0000414783496,409.00078808864265"
  1585. }
  1586. },
  1587. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  1588. },
  1589. "7": {
  1590. "link-style": {
  1591. "type": "map<string,string>",
  1592. "value": {
  1593. "stroke": "#000000",
  1594. "stroke-dasharray": "",
  1595. "stroke-opacity": 1,
  1596. "stroke-width": 2
  1597. }
  1598. },
  1599. "arrowHead": {
  1600. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  1601. "value": "custom"
  1602. },
  1603. "arrowTail": {
  1604. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  1605. "value": "arrow-black"
  1606. },
  1607. "typename": {
  1608. "type": "string",
  1609. "value": "AssociationLink"
  1610. },
  1611. "position": {
  1612. "type": "list<double>",
  1613. "value": [
  1614. 519.6499998433707,
  1615. 324.50132743224225
  1616. ]
  1617. },
  1618. "orientation": {
  1619. "type": "double",
  1620. "value": 0
  1621. },
  1622. "scale": {
  1623. "type": "list<double>",
  1624. "value": [
  1625. 1,
  1626. 1
  1627. ]
  1628. },
  1629. "mapper": {
  1630. "type": "code",
  1631. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1632. },
  1633. "parser": {
  1634. "type": "code",
  1635. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1636. },
  1637. "$contents": {
  1638. "type": "map<string,*>",
  1639. "value": {
  1640. "nodes": {
  1641. "71": {
  1642. "textContent": {
  1643. "type": "string",
  1644. "value": "onTrack"
  1645. },
  1646. "style": {
  1647. "type": "map<string,string>",
  1648. "value": {
  1649. "stroke": "#000000",
  1650. "stroke-dasharray": "",
  1651. "fill": "#ffffff",
  1652. "fill-opacity": 0.75,
  1653. "font-size": "20px",
  1654. "stroke-width": 1,
  1655. "arrow-start": "none",
  1656. "arrow-end": "none"
  1657. }
  1658. },
  1659. "mapper": {
  1660. "type": "code",
  1661. "value": "({'textContent':getAttr('name')})"
  1662. },
  1663. "parser": {
  1664. "type": "code",
  1665. "value": "({'name':getAttr('textContent')})"
  1666. },
  1667. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1668. "position": {
  1669. "type": "list<double>",
  1670. "value": [
  1671. "0;-13.41630316045439,0%",
  1672. "0;-28.61984430872792,0%"
  1673. ]
  1674. },
  1675. "orientation": {
  1676. "type": "double",
  1677. "value": "0;0.5070290609148066"
  1678. },
  1679. "scale": {
  1680. "type": "list<double>",
  1681. "value": [
  1682. 1,
  1683. 1
  1684. ]
  1685. },
  1686. "$linkDecoratorInfo": {
  1687. "type": "map<string,double>",
  1688. "value": {
  1689. "xratio": 0.3803680981595092,
  1690. "yoffset": -28.5
  1691. }
  1692. }
  1693. },
  1694. "74": {
  1695. "textContent": {
  1696. "type": "string",
  1697. "value": "*"
  1698. },
  1699. "style": {
  1700. "type": "map<string,string>",
  1701. "value": {
  1702. "stroke": "#000000",
  1703. "stroke-dasharray": "",
  1704. "fill": "#ffffff",
  1705. "fill-opacity": 0.75,
  1706. "font-size": "20px",
  1707. "stroke-width": 1,
  1708. "arrow-start": "none",
  1709. "arrow-end": "none"
  1710. }
  1711. },
  1712. "mapper": {
  1713. "type": "code",
  1714. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n//TBC: write some code that uses getAttr('cardinalities') to determine the correct cardinality to display"
  1715. },
  1716. "parser": {
  1717. "type": "code",
  1718. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1719. },
  1720. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1721. "position": {
  1722. "type": "list<double>",
  1723. "value": [
  1724. "0;56.64618339561582,99.99608449656264%",
  1725. "0;-33.00001808664467,0.884921101739429%"
  1726. ]
  1727. },
  1728. "orientation": {
  1729. "type": "double",
  1730. "value": "0;0.5070290609147392"
  1731. },
  1732. "scale": {
  1733. "type": "list<double>",
  1734. "value": [
  1735. 1,
  1736. 1
  1737. ]
  1738. },
  1739. "$linkDecoratorInfo": {
  1740. "type": "map<string,double>",
  1741. "value": {
  1742. "xratio": 1.2085889570552146,
  1743. "yoffset": -33.5
  1744. }
  1745. }
  1746. },
  1747. "77": {
  1748. "textContent": {
  1749. "type": "string",
  1750. "value": "*"
  1751. },
  1752. "style": {
  1753. "type": "map<string,string>",
  1754. "value": {
  1755. "stroke": "#000000",
  1756. "stroke-dasharray": "",
  1757. "fill": "#ffffff",
  1758. "fill-opacity": 0.75,
  1759. "font-size": "20px",
  1760. "stroke-width": 1,
  1761. "arrow-start": "none",
  1762. "arrow-end": "none"
  1763. }
  1764. },
  1765. "mapper": {
  1766. "type": "code",
  1767. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n//TBC: write some code that uses getAttr('cardinalities') to determine the correct cardinality to display"
  1768. },
  1769. "parser": {
  1770. "type": "code",
  1771. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1772. },
  1773. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1774. "position": {
  1775. "type": "list<double>",
  1776. "value": [
  1777. "0;-56.35355127428795,0%",
  1778. "0;-34.00001573859072,0%"
  1779. ]
  1780. },
  1781. "orientation": {
  1782. "type": "double",
  1783. "value": "0;0.5070290609148066"
  1784. },
  1785. "scale": {
  1786. "type": "list<double>",
  1787. "value": [
  1788. 1,
  1789. 1
  1790. ]
  1791. },
  1792. "$linkDecoratorInfo": {
  1793. "type": "map<string,double>",
  1794. "value": {
  1795. "xratio": -0.03680981595092025,
  1796. "yoffset": -33.5
  1797. }
  1798. }
  1799. },
  1800. "140": {
  1801. "segments": {
  1802. "type": "string",
  1803. "value": "m0,0 l20,8 l-20,8"
  1804. },
  1805. "style": {
  1806. "type": "map<string,string>",
  1807. "value": {
  1808. "stroke": "#000000",
  1809. "fill": "#000000",
  1810. "fill-opacity": 0,
  1811. "stroke-width": 1,
  1812. "opacity": 1
  1813. }
  1814. },
  1815. "mapper": {
  1816. "type": "code",
  1817. "value": ""
  1818. },
  1819. "parser": {
  1820. "type": "code",
  1821. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1822. },
  1823. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1824. "position": {
  1825. "type": "list<double>",
  1826. "value": [
  1827. "0;56.42052851467224,99.99608449656264%",
  1828. "0;-7.501016540021226,0.884921101739429%"
  1829. ]
  1830. },
  1831. "orientation": {
  1832. "type": "double",
  1833. "value": "0;0.5070290609147392"
  1834. },
  1835. "scale": {
  1836. "type": "list<double>",
  1837. "value": [
  1838. 1,
  1839. 1
  1840. ]
  1841. },
  1842. "$linkDecoratorInfo": {
  1843. "type": "map<string,double>",
  1844. "value": {
  1845. "xratio": 1,
  1846. "yoffset": -8
  1847. }
  1848. }
  1849. }
  1850. },
  1851. "edges": []
  1852. }
  1853. },
  1854. "$asuri": {
  1855. "type": "string",
  1856. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/7.instance"
  1857. },
  1858. "$segments": {
  1859. "type": "map<string,list<string>>",
  1860. "value": {
  1861. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/1.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/7.instance": "M463,324L519.6499998433707,324.50132743224225",
  1862. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/7.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/0.instance": "M519.5748672371623,324.50066254192177L575.9997346699038,324.99999765194605"
  1863. }
  1864. },
  1865. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  1866. }
  1867. },
  1868. "edges": [],
  1869. "metamodels": [
  1870. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons"
  1871. ]
  1872. },
  1873. "asm": {
  1874. "nodes": {
  1875. "0": {
  1876. "name": {
  1877. "type": "string",
  1878. "value": "Car"
  1879. },
  1880. "attributes": {
  1881. "type": "list<$ATTRIBUTE>",
  1882. "value": [
  1883. {
  1884. "name": "name",
  1885. "type": "string",
  1886. "default": "Car1"
  1887. }
  1888. ]
  1889. },
  1890. "constraints": {
  1891. "type": "list<$EVENT_HANDLER>",
  1892. "value": []
  1893. },
  1894. "actions": {
  1895. "type": "list<$EVENT_HANDLER>",
  1896. "value": []
  1897. },
  1898. "cardinalities": {
  1899. "type": "list<$CARDINALITY>",
  1900. "value": []
  1901. },
  1902. "abstract": {
  1903. "type": "boolean",
  1904. "value": false
  1905. },
  1906. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  1907. },
  1908. "1": {
  1909. "name": {
  1910. "type": "string",
  1911. "value": "UnitTrack"
  1912. },
  1913. "attributes": {
  1914. "type": "list<$ATTRIBUTE>",
  1915. "value": []
  1916. },
  1917. "constraints": {
  1918. "type": "list<$EVENT_HANDLER>",
  1919. "value": []
  1920. },
  1921. "actions": {
  1922. "type": "list<$EVENT_HANDLER>",
  1923. "value": []
  1924. },
  1925. "cardinalities": {
  1926. "type": "list<$CARDINALITY>",
  1927. "value": []
  1928. },
  1929. "abstract": {
  1930. "type": "boolean",
  1931. "value": false
  1932. },
  1933. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  1934. },
  1935. "3": {
  1936. "name": {
  1937. "type": "string",
  1938. "value": "Positionable"
  1939. },
  1940. "attributes": {
  1941. "type": "list<$ATTRIBUTE>",
  1942. "value": [
  1943. {
  1944. "name": "position",
  1945. "type": "list<int>",
  1946. "default": [
  1947. 0,
  1948. 0
  1949. ]
  1950. }
  1951. ]
  1952. },
  1953. "constraints": {
  1954. "type": "list<$EVENT_HANDLER>",
  1955. "value": []
  1956. },
  1957. "actions": {
  1958. "type": "list<$EVENT_HANDLER>",
  1959. "value": [
  1960. {
  1961. "name": "snapToTarget",
  1962. "event": "post-connect",
  1963. "code": "/*newline*/var neighborLinks = getNeighbors('>'),/*newline*/ neighborLink = neighborLinks[neighborLinks.length-1];/*newline*/if( neighborLink )/*newline*/{/*newline*/ if( getAttr('$type', neighborLink).match(/next/) )/*newline*/ {/*newline*/ var neighbor = getNeighbors('>','*',neighborLink)[0],/*newline*/ npos = getAttr('position',neighbor);/*newline*/ setAttr('position', [npos[0] - 75, npos[1]]);/*newline*/ }/*newline*/ else if( getAttr('$type', neighborLink).match(/onTrack/) )/*newline*/ {/*newline*/ var neighbor = getNeighbors('>','*',neighborLink)[0],/*newline*/ gpos = getAttr('position');/*newline*/ setAttr('position', [gpos[0] + 10, gpos[1] + 35], neighbor);/*newline*/ }/*newline*/ else/*newline*/ {/*newline*/ print('Invalid link');/*newline*/ }/*newline*/}"
  1964. }
  1965. ]
  1966. },
  1967. "cardinalities": {
  1968. "type": "list<$CARDINALITY>",
  1969. "value": []
  1970. },
  1971. "abstract": {
  1972. "type": "boolean",
  1973. "value": true
  1974. },
  1975. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  1976. },
  1977. "4": {
  1978. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance"
  1979. },
  1980. "5": {
  1981. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance"
  1982. },
  1983. "6": {
  1984. "name": {
  1985. "type": "string",
  1986. "value": "next"
  1987. },
  1988. "attributes": {
  1989. "type": "list<$ATTRIBUTE>",
  1990. "value": []
  1991. },
  1992. "constraints": {
  1993. "type": "list<$EVENT_HANDLER>",
  1994. "value": []
  1995. },
  1996. "actions": {
  1997. "type": "list<$EVENT_HANDLER>",
  1998. "value": []
  1999. },
  2000. "cardinalities": {
  2001. "type": "list<$CARDINALITY>",
  2002. "value": []
  2003. },
  2004. "linktype": {
  2005. "type": "ENUM(visual,containment)",
  2006. "value": "visual"
  2007. },
  2008. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  2009. },
  2010. "7": {
  2011. "name": {
  2012. "type": "string",
  2013. "value": "onTrack"
  2014. },
  2015. "attributes": {
  2016. "type": "list<$ATTRIBUTE>",
  2017. "value": []
  2018. },
  2019. "constraints": {
  2020. "type": "list<$EVENT_HANDLER>",
  2021. "value": []
  2022. },
  2023. "actions": {
  2024. "type": "list<$EVENT_HANDLER>",
  2025. "value": []
  2026. },
  2027. "cardinalities": {
  2028. "type": "list<$CARDINALITY>",
  2029. "value": []
  2030. },
  2031. "linktype": {
  2032. "type": "ENUM(visual,containment)",
  2033. "value": "containment"
  2034. },
  2035. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  2036. }
  2037. },
  2038. "edges": [
  2039. {
  2040. "src": "0",
  2041. "dest": "4"
  2042. },
  2043. {
  2044. "src": "4",
  2045. "dest": "3"
  2046. },
  2047. {
  2048. "src": "1",
  2049. "dest": "5"
  2050. },
  2051. {
  2052. "src": "5",
  2053. "dest": "3"
  2054. },
  2055. {
  2056. "src": "1",
  2057. "dest": "6"
  2058. },
  2059. {
  2060. "src": "6",
  2061. "dest": "1"
  2062. },
  2063. {
  2064. "src": "1",
  2065. "dest": "7"
  2066. },
  2067. {
  2068. "src": "7",
  2069. "dest": "0"
  2070. }
  2071. ],
  2072. "metamodels": [
  2073. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram"
  2074. ]
  2075. }
  2076. }