TrafficMM.model 67 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965
  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. 175,
  13. 327
  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": 5
  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": "Generator"
  94. },
  95. "style": {
  96. "type": "map<string,string>",
  97. "value": {
  98. "stroke": "#000000",
  99. "stroke-dasharray": "",
  100. "fill": "#ffffff",
  101. "fill-opacity": 0.75,
  102. "font-size": "20px",
  103. "stroke-width": 1,
  104. "arrow-start": "none",
  105. "arrow-end": "none"
  106. }
  107. },
  108. "mapper": {
  109. "type": "code",
  110. "value": "({'textContent': getAttr('name')})"
  111. },
  112. "parser": {
  113. "type": "code",
  114. "value": "({'name': getAttr('textContent')})"
  115. },
  116. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  117. "position": {
  118. "type": "list<double>",
  119. "value": [
  120. 23,
  121. 2
  122. ]
  123. },
  124. "orientation": {
  125. "type": "double",
  126. "value": 0
  127. },
  128. "scale": {
  129. "type": "list<double>",
  130. "value": [
  131. 1,
  132. 1
  133. ]
  134. }
  135. },
  136. "7": {
  137. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  138. "position": {
  139. "type": "list<double>",
  140. "value": [
  141. 13.896110991026944,
  142. 3.0451514439171206
  143. ]
  144. },
  145. "orientation": {
  146. "type": "double",
  147. "value": 0
  148. },
  149. "scale": {
  150. "type": "list<double>",
  151. "value": [
  152. 1,
  153. 1
  154. ]
  155. },
  156. "link-style": {
  157. "type": "map<string,string>",
  158. "value": {
  159. "stroke": "#00ffff",
  160. "stroke-dasharray": "",
  161. "stroke-opacity": 0.1,
  162. "arrow-start": "none",
  163. "arrow-end": "classic-wide-long"
  164. }
  165. }
  166. },
  167. "17": {
  168. "segments": {
  169. "type": "string",
  170. "value": "m0,0l200,0"
  171. },
  172. "style": {
  173. "type": "map<string,string>",
  174. "value": {
  175. "stroke": "#000000",
  176. "stroke-dasharray": "",
  177. "fill": "#ffffff",
  178. "fill-opacity": 0.75,
  179. "font-size": "20px",
  180. "stroke-width": 2,
  181. "arrow-start": "none",
  182. "arrow-end": "none"
  183. }
  184. },
  185. "mapper": {
  186. "type": "code",
  187. "value": ""
  188. },
  189. "parser": {
  190. "type": "code",
  191. "value": ""
  192. },
  193. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  194. "position": {
  195. "type": "list<double>",
  196. "value": [
  197. 1,
  198. 26
  199. ]
  200. },
  201. "orientation": {
  202. "type": "double",
  203. "value": 0
  204. },
  205. "scale": {
  206. "type": "list<double>",
  207. "value": [
  208. 1,
  209. 1
  210. ]
  211. }
  212. },
  213. "18": {
  214. "textContent": {
  215. "type": "string",
  216. "value": "producedCars"
  217. },
  218. "style": {
  219. "type": "map<string,string>",
  220. "value": {
  221. "stroke": "#000000",
  222. "stroke-dasharray": "",
  223. "fill": "#ffffff",
  224. "fill-opacity": 0.75,
  225. "font-size": "13px",
  226. "stroke-width": 1,
  227. "arrow-start": "none",
  228. "arrow-end": "none"
  229. }
  230. },
  231. "mapper": {
  232. "type": "code",
  233. "value": "var filenames = getAttr('attributes').map(\n\t\t\t\tfunction(attr)\n\t\t\t\t{\n\t\t\t\t\treturn attr['name'];\n\t\t\t\t});\n({'textContent': filenames.join('\\n')})"
  234. },
  235. "parser": {
  236. "type": "code",
  237. "value": ""
  238. },
  239. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  240. "position": {
  241. "type": "list<double>",
  242. "value": [
  243. 3,
  244. 25
  245. ]
  246. },
  247. "orientation": {
  248. "type": "double",
  249. "value": 0
  250. },
  251. "scale": {
  252. "type": "list<double>",
  253. "value": [
  254. 1,
  255. 1
  256. ]
  257. }
  258. },
  259. "19": {
  260. "width": {
  261. "type": "boolean",
  262. "value": true
  263. },
  264. "ratio": {
  265. "type": "double",
  266. "value": 1
  267. },
  268. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Span",
  269. "position": {
  270. "type": "list<double>",
  271. "value": [
  272. 168.09129891774523,
  273. 30.625911571363645
  274. ]
  275. },
  276. "orientation": {
  277. "type": "double",
  278. "value": 0
  279. },
  280. "scale": {
  281. "type": "list<double>",
  282. "value": [
  283. 1,
  284. 1
  285. ]
  286. },
  287. "link-style": {
  288. "type": "map<string,string>",
  289. "value": {
  290. "stroke": "#0000ff",
  291. "stroke-dasharray": "",
  292. "stroke-opacity": 1,
  293. "arrow-start": "none",
  294. "arrow-end": "classic-wide-long"
  295. }
  296. }
  297. },
  298. "20": {
  299. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  300. "position": {
  301. "type": "list<double>",
  302. "value": [
  303. 6.49899850809561,
  304. 18.998998508095553
  305. ]
  306. },
  307. "orientation": {
  308. "type": "double",
  309. "value": 0
  310. },
  311. "scale": {
  312. "type": "list<double>",
  313. "value": [
  314. 1,
  315. 1
  316. ]
  317. },
  318. "link-style": {
  319. "type": "map<string,string>",
  320. "value": {
  321. "stroke": "#00ffff",
  322. "stroke-dasharray": "",
  323. "stroke-opacity": 0.1,
  324. "arrow-start": "none",
  325. "arrow-end": "classic-wide-long"
  326. }
  327. }
  328. }
  329. },
  330. "edges": [
  331. {
  332. "src": "5",
  333. "dest": "7"
  334. },
  335. {
  336. "src": "7",
  337. "dest": "6"
  338. },
  339. {
  340. "src": "17",
  341. "dest": "19"
  342. },
  343. {
  344. "src": "19",
  345. "dest": "5"
  346. },
  347. {
  348. "src": "5",
  349. "dest": "20"
  350. },
  351. {
  352. "src": "20",
  353. "dest": "18"
  354. }
  355. ]
  356. }
  357. },
  358. "$asuri": {
  359. "type": "string",
  360. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/0.instance"
  361. },
  362. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon"
  363. },
  364. "1": {
  365. "typename": {
  366. "type": "string",
  367. "value": "ClassIcon"
  368. },
  369. "position": {
  370. "type": "list<double>",
  371. "value": [
  372. 551,
  373. 322
  374. ]
  375. },
  376. "orientation": {
  377. "type": "double",
  378. "value": 0
  379. },
  380. "scale": {
  381. "type": "list<double>",
  382. "value": [
  383. 1,
  384. 1
  385. ]
  386. },
  387. "mapper": {
  388. "type": "code",
  389. "value": ""
  390. },
  391. "parser": {
  392. "type": "code",
  393. "value": ""
  394. },
  395. "$contents": {
  396. "type": "map<string,*>",
  397. "value": {
  398. "nodes": {
  399. "5": {
  400. "width": {
  401. "type": "double",
  402. "value": 200
  403. },
  404. "height": {
  405. "type": "double",
  406. "value": 125
  407. },
  408. "cornerRadius": {
  409. "type": "double",
  410. "value": 5
  411. },
  412. "style": {
  413. "type": "map<string,string>",
  414. "value": {
  415. "stroke": "#000000",
  416. "stroke-dasharray": "",
  417. "fill": "#ffffff",
  418. "fill-opacity": 0.75,
  419. "stroke-width": 2
  420. }
  421. },
  422. "mapper": {
  423. "type": "code",
  424. "value": ""
  425. },
  426. "parser": {
  427. "type": "code",
  428. "value": ""
  429. },
  430. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  431. "position": {
  432. "type": "list<double>",
  433. "value": [
  434. 0,
  435. 0
  436. ]
  437. },
  438. "orientation": {
  439. "type": "double",
  440. "value": 0
  441. },
  442. "scale": {
  443. "type": "list<double>",
  444. "value": [
  445. 1,
  446. 1
  447. ]
  448. }
  449. },
  450. "6": {
  451. "textContent": {
  452. "type": "string",
  453. "value": "RoadSegment"
  454. },
  455. "style": {
  456. "type": "map<string,string>",
  457. "value": {
  458. "stroke": "#000000",
  459. "stroke-dasharray": "",
  460. "fill": "#ffffff",
  461. "fill-opacity": 0.75,
  462. "font-size": "20px",
  463. "stroke-width": 1,
  464. "arrow-start": "none",
  465. "arrow-end": "none"
  466. }
  467. },
  468. "mapper": {
  469. "type": "code",
  470. "value": "({'textContent': getAttr('name')})"
  471. },
  472. "parser": {
  473. "type": "code",
  474. "value": "({'name': getAttr('textContent')})"
  475. },
  476. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  477. "position": {
  478. "type": "list<double>",
  479. "value": [
  480. 23,
  481. 2
  482. ]
  483. },
  484. "orientation": {
  485. "type": "double",
  486. "value": 0
  487. },
  488. "scale": {
  489. "type": "list<double>",
  490. "value": [
  491. 1,
  492. 1
  493. ]
  494. }
  495. },
  496. "7": {
  497. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  498. "position": {
  499. "type": "list<double>",
  500. "value": [
  501. 13.896110991026944,
  502. 3.0451514439171206
  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. "link-style": {
  517. "type": "map<string,string>",
  518. "value": {
  519. "stroke": "#00ffff",
  520. "stroke-dasharray": "",
  521. "stroke-opacity": 0.1,
  522. "arrow-start": "none",
  523. "arrow-end": "classic-wide-long"
  524. }
  525. }
  526. },
  527. "17": {
  528. "segments": {
  529. "type": "string",
  530. "value": "m0,0l200,0"
  531. },
  532. "style": {
  533. "type": "map<string,string>",
  534. "value": {
  535. "stroke": "#000000",
  536. "stroke-dasharray": "",
  537. "fill": "#ffffff",
  538. "fill-opacity": 0.75,
  539. "font-size": "20px",
  540. "stroke-width": 2,
  541. "arrow-start": "none",
  542. "arrow-end": "none"
  543. }
  544. },
  545. "mapper": {
  546. "type": "code",
  547. "value": ""
  548. },
  549. "parser": {
  550. "type": "code",
  551. "value": ""
  552. },
  553. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  554. "position": {
  555. "type": "list<double>",
  556. "value": [
  557. 1,
  558. 26
  559. ]
  560. },
  561. "orientation": {
  562. "type": "double",
  563. "value": 0
  564. },
  565. "scale": {
  566. "type": "list<double>",
  567. "value": [
  568. 1,
  569. 1
  570. ]
  571. }
  572. },
  573. "18": {
  574. "textContent": {
  575. "type": "string",
  576. "value": "currentCars"
  577. },
  578. "style": {
  579. "type": "map<string,string>",
  580. "value": {
  581. "stroke": "#000000",
  582. "stroke-dasharray": "",
  583. "fill": "#ffffff",
  584. "fill-opacity": 0.75,
  585. "font-size": "13px",
  586. "stroke-width": 1,
  587. "arrow-start": "none",
  588. "arrow-end": "none"
  589. }
  590. },
  591. "mapper": {
  592. "type": "code",
  593. "value": "var filenames = getAttr('attributes').map(\n\t\t\t\tfunction(attr)\n\t\t\t\t{\n\t\t\t\t\treturn attr['name'];\n\t\t\t\t});\n({'textContent': filenames.join('\\n')})"
  594. },
  595. "parser": {
  596. "type": "code",
  597. "value": ""
  598. },
  599. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  600. "position": {
  601. "type": "list<double>",
  602. "value": [
  603. 3,
  604. 25
  605. ]
  606. },
  607. "orientation": {
  608. "type": "double",
  609. "value": 0
  610. },
  611. "scale": {
  612. "type": "list<double>",
  613. "value": [
  614. 1,
  615. 1
  616. ]
  617. }
  618. },
  619. "19": {
  620. "width": {
  621. "type": "boolean",
  622. "value": true
  623. },
  624. "ratio": {
  625. "type": "double",
  626. "value": 1
  627. },
  628. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Span",
  629. "position": {
  630. "type": "list<double>",
  631. "value": [
  632. 168.09129891774523,
  633. 30.625911571363645
  634. ]
  635. },
  636. "orientation": {
  637. "type": "double",
  638. "value": 0
  639. },
  640. "scale": {
  641. "type": "list<double>",
  642. "value": [
  643. 1,
  644. 1
  645. ]
  646. },
  647. "link-style": {
  648. "type": "map<string,string>",
  649. "value": {
  650. "stroke": "#0000ff",
  651. "stroke-dasharray": "",
  652. "stroke-opacity": 1,
  653. "arrow-start": "none",
  654. "arrow-end": "classic-wide-long"
  655. }
  656. }
  657. },
  658. "20": {
  659. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  660. "position": {
  661. "type": "list<double>",
  662. "value": [
  663. 6.49899850809561,
  664. 18.998998508095553
  665. ]
  666. },
  667. "orientation": {
  668. "type": "double",
  669. "value": 0
  670. },
  671. "scale": {
  672. "type": "list<double>",
  673. "value": [
  674. 1,
  675. 1
  676. ]
  677. },
  678. "link-style": {
  679. "type": "map<string,string>",
  680. "value": {
  681. "stroke": "#00ffff",
  682. "stroke-dasharray": "",
  683. "stroke-opacity": 0.1,
  684. "arrow-start": "none",
  685. "arrow-end": "classic-wide-long"
  686. }
  687. }
  688. }
  689. },
  690. "edges": [
  691. {
  692. "src": "5",
  693. "dest": "7"
  694. },
  695. {
  696. "src": "7",
  697. "dest": "6"
  698. },
  699. {
  700. "src": "17",
  701. "dest": "19"
  702. },
  703. {
  704. "src": "19",
  705. "dest": "5"
  706. },
  707. {
  708. "src": "5",
  709. "dest": "20"
  710. },
  711. {
  712. "src": "20",
  713. "dest": "18"
  714. }
  715. ]
  716. }
  717. },
  718. "$asuri": {
  719. "type": "string",
  720. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/1.instance"
  721. },
  722. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon"
  723. },
  724. "2": {
  725. "typename": {
  726. "type": "string",
  727. "value": "ClassIcon"
  728. },
  729. "position": {
  730. "type": "list<double>",
  731. "value": [
  732. 900,
  733. 325
  734. ]
  735. },
  736. "orientation": {
  737. "type": "double",
  738. "value": 0
  739. },
  740. "scale": {
  741. "type": "list<double>",
  742. "value": [
  743. 1,
  744. 1
  745. ]
  746. },
  747. "mapper": {
  748. "type": "code",
  749. "value": ""
  750. },
  751. "parser": {
  752. "type": "code",
  753. "value": ""
  754. },
  755. "$contents": {
  756. "type": "map<string,*>",
  757. "value": {
  758. "nodes": {
  759. "5": {
  760. "width": {
  761. "type": "double",
  762. "value": 200
  763. },
  764. "height": {
  765. "type": "double",
  766. "value": 125
  767. },
  768. "cornerRadius": {
  769. "type": "double",
  770. "value": 5
  771. },
  772. "style": {
  773. "type": "map<string,string>",
  774. "value": {
  775. "stroke": "#000000",
  776. "stroke-dasharray": "",
  777. "fill": "#ffffff",
  778. "fill-opacity": 0.75,
  779. "stroke-width": 2
  780. }
  781. },
  782. "mapper": {
  783. "type": "code",
  784. "value": ""
  785. },
  786. "parser": {
  787. "type": "code",
  788. "value": ""
  789. },
  790. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  791. "position": {
  792. "type": "list<double>",
  793. "value": [
  794. 0,
  795. 0
  796. ]
  797. },
  798. "orientation": {
  799. "type": "double",
  800. "value": 0
  801. },
  802. "scale": {
  803. "type": "list<double>",
  804. "value": [
  805. 1,
  806. 1
  807. ]
  808. }
  809. },
  810. "6": {
  811. "textContent": {
  812. "type": "string",
  813. "value": "Sink"
  814. },
  815. "style": {
  816. "type": "map<string,string>",
  817. "value": {
  818. "stroke": "#000000",
  819. "stroke-dasharray": "",
  820. "fill": "#ffffff",
  821. "fill-opacity": 0.75,
  822. "font-size": "20px",
  823. "stroke-width": 1,
  824. "arrow-start": "none",
  825. "arrow-end": "none"
  826. }
  827. },
  828. "mapper": {
  829. "type": "code",
  830. "value": "({'textContent': getAttr('name')})"
  831. },
  832. "parser": {
  833. "type": "code",
  834. "value": "({'name': getAttr('textContent')})"
  835. },
  836. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  837. "position": {
  838. "type": "list<double>",
  839. "value": [
  840. 23,
  841. 2
  842. ]
  843. },
  844. "orientation": {
  845. "type": "double",
  846. "value": 0
  847. },
  848. "scale": {
  849. "type": "list<double>",
  850. "value": [
  851. 1,
  852. 1
  853. ]
  854. }
  855. },
  856. "7": {
  857. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  858. "position": {
  859. "type": "list<double>",
  860. "value": [
  861. 13.896110991026944,
  862. 3.0451514439171206
  863. ]
  864. },
  865. "orientation": {
  866. "type": "double",
  867. "value": 0
  868. },
  869. "scale": {
  870. "type": "list<double>",
  871. "value": [
  872. 1,
  873. 1
  874. ]
  875. },
  876. "link-style": {
  877. "type": "map<string,string>",
  878. "value": {
  879. "stroke": "#00ffff",
  880. "stroke-dasharray": "",
  881. "stroke-opacity": 0.1,
  882. "arrow-start": "none",
  883. "arrow-end": "classic-wide-long"
  884. }
  885. }
  886. },
  887. "17": {
  888. "segments": {
  889. "type": "string",
  890. "value": "m0,0l200,0"
  891. },
  892. "style": {
  893. "type": "map<string,string>",
  894. "value": {
  895. "stroke": "#000000",
  896. "stroke-dasharray": "",
  897. "fill": "#ffffff",
  898. "fill-opacity": 0.75,
  899. "font-size": "20px",
  900. "stroke-width": 2,
  901. "arrow-start": "none",
  902. "arrow-end": "none"
  903. }
  904. },
  905. "mapper": {
  906. "type": "code",
  907. "value": ""
  908. },
  909. "parser": {
  910. "type": "code",
  911. "value": ""
  912. },
  913. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  914. "position": {
  915. "type": "list<double>",
  916. "value": [
  917. 1,
  918. 26
  919. ]
  920. },
  921. "orientation": {
  922. "type": "double",
  923. "value": 0
  924. },
  925. "scale": {
  926. "type": "list<double>",
  927. "value": [
  928. 1,
  929. 1
  930. ]
  931. }
  932. },
  933. "18": {
  934. "textContent": {
  935. "type": "string",
  936. "value": "consumedCars"
  937. },
  938. "style": {
  939. "type": "map<string,string>",
  940. "value": {
  941. "stroke": "#000000",
  942. "stroke-dasharray": "",
  943. "fill": "#ffffff",
  944. "fill-opacity": 0.75,
  945. "font-size": "13px",
  946. "stroke-width": 1,
  947. "arrow-start": "none",
  948. "arrow-end": "none"
  949. }
  950. },
  951. "mapper": {
  952. "type": "code",
  953. "value": "var filenames = getAttr('attributes').map(\n\t\t\t\tfunction(attr)\n\t\t\t\t{\n\t\t\t\t\treturn attr['name'];\n\t\t\t\t});\n({'textContent': filenames.join('\\n')})"
  954. },
  955. "parser": {
  956. "type": "code",
  957. "value": ""
  958. },
  959. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  960. "position": {
  961. "type": "list<double>",
  962. "value": [
  963. 3,
  964. 25
  965. ]
  966. },
  967. "orientation": {
  968. "type": "double",
  969. "value": 0
  970. },
  971. "scale": {
  972. "type": "list<double>",
  973. "value": [
  974. 1,
  975. 1
  976. ]
  977. }
  978. },
  979. "19": {
  980. "width": {
  981. "type": "boolean",
  982. "value": true
  983. },
  984. "ratio": {
  985. "type": "double",
  986. "value": 1
  987. },
  988. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Span",
  989. "position": {
  990. "type": "list<double>",
  991. "value": [
  992. 168.09129891774523,
  993. 30.625911571363645
  994. ]
  995. },
  996. "orientation": {
  997. "type": "double",
  998. "value": 0
  999. },
  1000. "scale": {
  1001. "type": "list<double>",
  1002. "value": [
  1003. 1,
  1004. 1
  1005. ]
  1006. },
  1007. "link-style": {
  1008. "type": "map<string,string>",
  1009. "value": {
  1010. "stroke": "#0000ff",
  1011. "stroke-dasharray": "",
  1012. "stroke-opacity": 1,
  1013. "arrow-start": "none",
  1014. "arrow-end": "classic-wide-long"
  1015. }
  1016. }
  1017. },
  1018. "20": {
  1019. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1020. "position": {
  1021. "type": "list<double>",
  1022. "value": [
  1023. 6.49899850809561,
  1024. 18.998998508095553
  1025. ]
  1026. },
  1027. "orientation": {
  1028. "type": "double",
  1029. "value": 0
  1030. },
  1031. "scale": {
  1032. "type": "list<double>",
  1033. "value": [
  1034. 1,
  1035. 1
  1036. ]
  1037. },
  1038. "link-style": {
  1039. "type": "map<string,string>",
  1040. "value": {
  1041. "stroke": "#00ffff",
  1042. "stroke-dasharray": "",
  1043. "stroke-opacity": 0.1,
  1044. "arrow-start": "none",
  1045. "arrow-end": "classic-wide-long"
  1046. }
  1047. }
  1048. }
  1049. },
  1050. "edges": [
  1051. {
  1052. "src": "5",
  1053. "dest": "7"
  1054. },
  1055. {
  1056. "src": "7",
  1057. "dest": "6"
  1058. },
  1059. {
  1060. "src": "17",
  1061. "dest": "19"
  1062. },
  1063. {
  1064. "src": "19",
  1065. "dest": "5"
  1066. },
  1067. {
  1068. "src": "5",
  1069. "dest": "20"
  1070. },
  1071. {
  1072. "src": "20",
  1073. "dest": "18"
  1074. }
  1075. ]
  1076. }
  1077. },
  1078. "$asuri": {
  1079. "type": "string",
  1080. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/2.instance"
  1081. },
  1082. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon"
  1083. },
  1084. "3": {
  1085. "typename": {
  1086. "type": "string",
  1087. "value": "ClassIcon"
  1088. },
  1089. "position": {
  1090. "type": "list<double>",
  1091. "value": [
  1092. 553,
  1093. 531
  1094. ]
  1095. },
  1096. "orientation": {
  1097. "type": "double",
  1098. "value": 0
  1099. },
  1100. "scale": {
  1101. "type": "list<double>",
  1102. "value": [
  1103. 1,
  1104. 1
  1105. ]
  1106. },
  1107. "mapper": {
  1108. "type": "code",
  1109. "value": ""
  1110. },
  1111. "parser": {
  1112. "type": "code",
  1113. "value": ""
  1114. },
  1115. "$contents": {
  1116. "type": "map<string,*>",
  1117. "value": {
  1118. "nodes": {
  1119. "5": {
  1120. "width": {
  1121. "type": "double",
  1122. "value": 200
  1123. },
  1124. "height": {
  1125. "type": "double",
  1126. "value": 125
  1127. },
  1128. "cornerRadius": {
  1129. "type": "double",
  1130. "value": 5
  1131. },
  1132. "style": {
  1133. "type": "map<string,string>",
  1134. "value": {
  1135. "stroke": "#000000",
  1136. "stroke-dasharray": "",
  1137. "fill": "#ffffff",
  1138. "fill-opacity": 0.75,
  1139. "stroke-width": 2
  1140. }
  1141. },
  1142. "mapper": {
  1143. "type": "code",
  1144. "value": ""
  1145. },
  1146. "parser": {
  1147. "type": "code",
  1148. "value": ""
  1149. },
  1150. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  1151. "position": {
  1152. "type": "list<double>",
  1153. "value": [
  1154. 0,
  1155. 0
  1156. ]
  1157. },
  1158. "orientation": {
  1159. "type": "double",
  1160. "value": 0
  1161. },
  1162. "scale": {
  1163. "type": "list<double>",
  1164. "value": [
  1165. 1,
  1166. 1
  1167. ]
  1168. }
  1169. },
  1170. "6": {
  1171. "textContent": {
  1172. "type": "string",
  1173. "value": "Car"
  1174. },
  1175. "style": {
  1176. "type": "map<string,string>",
  1177. "value": {
  1178. "stroke": "#000000",
  1179. "stroke-dasharray": "",
  1180. "fill": "#ffffff",
  1181. "fill-opacity": 0.75,
  1182. "font-size": "20px",
  1183. "stroke-width": 1,
  1184. "arrow-start": "none",
  1185. "arrow-end": "none"
  1186. }
  1187. },
  1188. "mapper": {
  1189. "type": "code",
  1190. "value": "({'textContent': getAttr('name')})"
  1191. },
  1192. "parser": {
  1193. "type": "code",
  1194. "value": "({'name': getAttr('textContent')})"
  1195. },
  1196. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1197. "position": {
  1198. "type": "list<double>",
  1199. "value": [
  1200. 23,
  1201. 2
  1202. ]
  1203. },
  1204. "orientation": {
  1205. "type": "double",
  1206. "value": 0
  1207. },
  1208. "scale": {
  1209. "type": "list<double>",
  1210. "value": [
  1211. 1,
  1212. 1
  1213. ]
  1214. }
  1215. },
  1216. "7": {
  1217. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1218. "position": {
  1219. "type": "list<double>",
  1220. "value": [
  1221. 13.896110991026944,
  1222. 3.0451514439171206
  1223. ]
  1224. },
  1225. "orientation": {
  1226. "type": "double",
  1227. "value": 0
  1228. },
  1229. "scale": {
  1230. "type": "list<double>",
  1231. "value": [
  1232. 1,
  1233. 1
  1234. ]
  1235. },
  1236. "link-style": {
  1237. "type": "map<string,string>",
  1238. "value": {
  1239. "stroke": "#00ffff",
  1240. "stroke-dasharray": "",
  1241. "stroke-opacity": 0.1,
  1242. "arrow-start": "none",
  1243. "arrow-end": "classic-wide-long"
  1244. }
  1245. }
  1246. },
  1247. "17": {
  1248. "segments": {
  1249. "type": "string",
  1250. "value": "m0,0l200,0"
  1251. },
  1252. "style": {
  1253. "type": "map<string,string>",
  1254. "value": {
  1255. "stroke": "#000000",
  1256. "stroke-dasharray": "",
  1257. "fill": "#ffffff",
  1258. "fill-opacity": 0.75,
  1259. "font-size": "20px",
  1260. "stroke-width": 2,
  1261. "arrow-start": "none",
  1262. "arrow-end": "none"
  1263. }
  1264. },
  1265. "mapper": {
  1266. "type": "code",
  1267. "value": ""
  1268. },
  1269. "parser": {
  1270. "type": "code",
  1271. "value": ""
  1272. },
  1273. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1274. "position": {
  1275. "type": "list<double>",
  1276. "value": [
  1277. 1,
  1278. 26
  1279. ]
  1280. },
  1281. "orientation": {
  1282. "type": "double",
  1283. "value": 0
  1284. },
  1285. "scale": {
  1286. "type": "list<double>",
  1287. "value": [
  1288. 1,
  1289. 1
  1290. ]
  1291. }
  1292. },
  1293. "18": {
  1294. "textContent": {
  1295. "type": "string",
  1296. "value": "color"
  1297. },
  1298. "style": {
  1299. "type": "map<string,string>",
  1300. "value": {
  1301. "stroke": "#000000",
  1302. "stroke-dasharray": "",
  1303. "fill": "#ffffff",
  1304. "fill-opacity": 0.75,
  1305. "font-size": "13px",
  1306. "stroke-width": 1,
  1307. "arrow-start": "none",
  1308. "arrow-end": "none"
  1309. }
  1310. },
  1311. "mapper": {
  1312. "type": "code",
  1313. "value": "var filenames = getAttr('attributes').map(\n\t\t\t\tfunction(attr)\n\t\t\t\t{\n\t\t\t\t\treturn attr['name'];\n\t\t\t\t});\n({'textContent': filenames.join('\\n')})"
  1314. },
  1315. "parser": {
  1316. "type": "code",
  1317. "value": ""
  1318. },
  1319. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1320. "position": {
  1321. "type": "list<double>",
  1322. "value": [
  1323. 3,
  1324. 25
  1325. ]
  1326. },
  1327. "orientation": {
  1328. "type": "double",
  1329. "value": 0
  1330. },
  1331. "scale": {
  1332. "type": "list<double>",
  1333. "value": [
  1334. 1,
  1335. 1
  1336. ]
  1337. }
  1338. },
  1339. "19": {
  1340. "width": {
  1341. "type": "boolean",
  1342. "value": true
  1343. },
  1344. "ratio": {
  1345. "type": "double",
  1346. "value": 1
  1347. },
  1348. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Span",
  1349. "position": {
  1350. "type": "list<double>",
  1351. "value": [
  1352. 168.09129891774523,
  1353. 30.625911571363645
  1354. ]
  1355. },
  1356. "orientation": {
  1357. "type": "double",
  1358. "value": 0
  1359. },
  1360. "scale": {
  1361. "type": "list<double>",
  1362. "value": [
  1363. 1,
  1364. 1
  1365. ]
  1366. },
  1367. "link-style": {
  1368. "type": "map<string,string>",
  1369. "value": {
  1370. "stroke": "#0000ff",
  1371. "stroke-dasharray": "",
  1372. "stroke-opacity": 1,
  1373. "arrow-start": "none",
  1374. "arrow-end": "classic-wide-long"
  1375. }
  1376. }
  1377. },
  1378. "20": {
  1379. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1380. "position": {
  1381. "type": "list<double>",
  1382. "value": [
  1383. 6.49899850809561,
  1384. 18.998998508095553
  1385. ]
  1386. },
  1387. "orientation": {
  1388. "type": "double",
  1389. "value": 0
  1390. },
  1391. "scale": {
  1392. "type": "list<double>",
  1393. "value": [
  1394. 1,
  1395. 1
  1396. ]
  1397. },
  1398. "link-style": {
  1399. "type": "map<string,string>",
  1400. "value": {
  1401. "stroke": "#00ffff",
  1402. "stroke-dasharray": "",
  1403. "stroke-opacity": 0.1,
  1404. "arrow-start": "none",
  1405. "arrow-end": "classic-wide-long"
  1406. }
  1407. }
  1408. }
  1409. },
  1410. "edges": [
  1411. {
  1412. "src": "5",
  1413. "dest": "7"
  1414. },
  1415. {
  1416. "src": "7",
  1417. "dest": "6"
  1418. },
  1419. {
  1420. "src": "17",
  1421. "dest": "19"
  1422. },
  1423. {
  1424. "src": "19",
  1425. "dest": "5"
  1426. },
  1427. {
  1428. "src": "5",
  1429. "dest": "20"
  1430. },
  1431. {
  1432. "src": "20",
  1433. "dest": "18"
  1434. }
  1435. ]
  1436. }
  1437. },
  1438. "$asuri": {
  1439. "type": "string",
  1440. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/3.instance"
  1441. },
  1442. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon"
  1443. },
  1444. "4": {
  1445. "link-style": {
  1446. "type": "map<string,string>",
  1447. "value": {
  1448. "stroke": "#000000",
  1449. "stroke-dasharray": "",
  1450. "stroke-opacity": 1,
  1451. "stroke-width": 2,
  1452. "arrow-start": "none",
  1453. "arrow-end": "classic-wide-long"
  1454. }
  1455. },
  1456. "typename": {
  1457. "type": "string",
  1458. "value": "AssociationLink"
  1459. },
  1460. "position": {
  1461. "type": "list<double>",
  1462. "value": [
  1463. 438.55000017531063,
  1464. 367.4935135160406
  1465. ]
  1466. },
  1467. "orientation": {
  1468. "type": "double",
  1469. "value": 0
  1470. },
  1471. "scale": {
  1472. "type": "list<double>",
  1473. "value": [
  1474. 1,
  1475. 1
  1476. ]
  1477. },
  1478. "mapper": {
  1479. "type": "code",
  1480. "value": ""
  1481. },
  1482. "parser": {
  1483. "type": "code",
  1484. "value": ""
  1485. },
  1486. "$contents": {
  1487. "type": "map<string,*>",
  1488. "value": {
  1489. "nodes": {
  1490. "15": {
  1491. "textContent": {
  1492. "type": "string",
  1493. "value": "RS2G"
  1494. },
  1495. "style": {
  1496. "type": "map<string,string>",
  1497. "value": {
  1498. "stroke": "#000000",
  1499. "stroke-dasharray": "",
  1500. "fill": "#ffffff",
  1501. "fill-opacity": 0.75,
  1502. "font-size": "13px",
  1503. "stroke-width": 1,
  1504. "arrow-start": "none",
  1505. "arrow-end": "none"
  1506. }
  1507. },
  1508. "mapper": {
  1509. "type": "code",
  1510. "value": "({'textContent':getAttr('name')})"
  1511. },
  1512. "parser": {
  1513. "type": "code",
  1514. "value": "({'name':getAttr('textContent')})"
  1515. },
  1516. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1517. "position": {
  1518. "type": "list<double>",
  1519. "value": [
  1520. 0,
  1521. -2
  1522. ]
  1523. },
  1524. "orientation": {
  1525. "type": "double",
  1526. "value": 0
  1527. },
  1528. "scale": {
  1529. "type": "list<double>",
  1530. "value": [
  1531. 1,
  1532. 1
  1533. ]
  1534. }
  1535. }
  1536. },
  1537. "edges": []
  1538. }
  1539. },
  1540. "$asuri": {
  1541. "type": "string",
  1542. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/4.instance"
  1543. },
  1544. "$segments": {
  1545. "type": "map<string,list<string>>",
  1546. "value": {
  1547. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon/1.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/AssociationLink/4.instance": "M556,391L463.3500000584369,391",
  1548. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/AssociationLink/4.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon/0.instance": "M463.3500000584369,391L371.0006481811541,391.00001401472764"
  1549. }
  1550. },
  1551. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/AssociationLink"
  1552. },
  1553. "5": {
  1554. "link-style": {
  1555. "type": "map<string,string>",
  1556. "value": {
  1557. "stroke": "#000000",
  1558. "stroke-dasharray": "",
  1559. "stroke-opacity": 1,
  1560. "stroke-width": 2,
  1561. "arrow-start": "none",
  1562. "arrow-end": "classic-wide-long"
  1563. }
  1564. },
  1565. "typename": {
  1566. "type": "string",
  1567. "value": "AssociationLink"
  1568. },
  1569. "position": {
  1570. "type": "list<double>",
  1571. "value": [
  1572. 798.5500002434177,
  1573. 363.50382165398366
  1574. ]
  1575. },
  1576. "orientation": {
  1577. "type": "double",
  1578. "value": 0
  1579. },
  1580. "scale": {
  1581. "type": "list<double>",
  1582. "value": [
  1583. 1,
  1584. 1
  1585. ]
  1586. },
  1587. "mapper": {
  1588. "type": "code",
  1589. "value": ""
  1590. },
  1591. "parser": {
  1592. "type": "code",
  1593. "value": ""
  1594. },
  1595. "$contents": {
  1596. "type": "map<string,*>",
  1597. "value": {
  1598. "nodes": {
  1599. "15": {
  1600. "textContent": {
  1601. "type": "string",
  1602. "value": "S2RS"
  1603. },
  1604. "style": {
  1605. "type": "map<string,string>",
  1606. "value": {
  1607. "stroke": "#000000",
  1608. "stroke-dasharray": "",
  1609. "fill": "#ffffff",
  1610. "fill-opacity": 0.75,
  1611. "font-size": "13px",
  1612. "stroke-width": 1,
  1613. "arrow-start": "none",
  1614. "arrow-end": "none"
  1615. }
  1616. },
  1617. "mapper": {
  1618. "type": "code",
  1619. "value": "({'textContent':getAttr('name')})"
  1620. },
  1621. "parser": {
  1622. "type": "code",
  1623. "value": "({'name':getAttr('textContent')})"
  1624. },
  1625. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1626. "position": {
  1627. "type": "list<double>",
  1628. "value": [
  1629. 0,
  1630. -2
  1631. ]
  1632. },
  1633. "orientation": {
  1634. "type": "double",
  1635. "value": 0
  1636. },
  1637. "scale": {
  1638. "type": "list<double>",
  1639. "value": [
  1640. 1,
  1641. 1
  1642. ]
  1643. }
  1644. }
  1645. },
  1646. "edges": []
  1647. }
  1648. },
  1649. "$asuri": {
  1650. "type": "string",
  1651. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/5.instance"
  1652. },
  1653. "$segments": {
  1654. "type": "map<string,list<string>>",
  1655. "value": {
  1656. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon/2.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/AssociationLink/5.instance": "M902,389L823.3500000811393,389",
  1657. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/AssociationLink/5.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon/1.instance": "M823.3500000811393,389L746,389"
  1658. }
  1659. },
  1660. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/AssociationLink"
  1661. },
  1662. "6": {
  1663. "link-style": {
  1664. "type": "map<string,string>",
  1665. "value": {
  1666. "stroke": "#000000",
  1667. "stroke-dasharray": "",
  1668. "stroke-opacity": 1,
  1669. "stroke-width": 2,
  1670. "arrow-start": "none",
  1671. "arrow-end": "classic-wide-long"
  1672. }
  1673. },
  1674. "typename": {
  1675. "type": "string",
  1676. "value": "AssociationLink"
  1677. },
  1678. "position": {
  1679. "type": "list<double>",
  1680. "value": [
  1681. 618.5999466888796,
  1682. 253.5
  1683. ]
  1684. },
  1685. "orientation": {
  1686. "type": "double",
  1687. "value": 0
  1688. },
  1689. "scale": {
  1690. "type": "list<double>",
  1691. "value": [
  1692. 1,
  1693. 1
  1694. ]
  1695. },
  1696. "mapper": {
  1697. "type": "code",
  1698. "value": ""
  1699. },
  1700. "parser": {
  1701. "type": "code",
  1702. "value": ""
  1703. },
  1704. "$contents": {
  1705. "type": "map<string,*>",
  1706. "value": {
  1707. "nodes": {
  1708. "15": {
  1709. "textContent": {
  1710. "type": "string",
  1711. "value": "RS2RS"
  1712. },
  1713. "style": {
  1714. "type": "map<string,string>",
  1715. "value": {
  1716. "stroke": "#000000",
  1717. "stroke-dasharray": "",
  1718. "fill": "#ffffff",
  1719. "fill-opacity": 0.75,
  1720. "font-size": "13px",
  1721. "stroke-width": 1,
  1722. "arrow-start": "none",
  1723. "arrow-end": "none"
  1724. }
  1725. },
  1726. "mapper": {
  1727. "type": "code",
  1728. "value": "({'textContent':getAttr('name')})"
  1729. },
  1730. "parser": {
  1731. "type": "code",
  1732. "value": "({'name':getAttr('textContent')})"
  1733. },
  1734. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1735. "position": {
  1736. "type": "list<double>",
  1737. "value": [
  1738. 0,
  1739. -2
  1740. ]
  1741. },
  1742. "orientation": {
  1743. "type": "double",
  1744. "value": 0
  1745. },
  1746. "scale": {
  1747. "type": "list<double>",
  1748. "value": [
  1749. 1,
  1750. 1
  1751. ]
  1752. }
  1753. }
  1754. },
  1755. "edges": []
  1756. }
  1757. },
  1758. "$asuri": {
  1759. "type": "string",
  1760. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/6.instance"
  1761. },
  1762. "$segments": {
  1763. "type": "map<string,list<string>>",
  1764. "value": {
  1765. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon/1.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/AssociationLink/6.instance": "M616,321L616,276L641.0999466888795,276",
  1766. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/AssociationLink/6.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon/1.instance": "M641.0999466888795,276L665,276L665,321.99934877126657"
  1767. }
  1768. },
  1769. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/AssociationLink"
  1770. },
  1771. "8": {
  1772. "link-style": {
  1773. "type": "map<string,string>",
  1774. "value": {
  1775. "stroke": "#000000",
  1776. "stroke-dasharray": "",
  1777. "stroke-opacity": 1,
  1778. "stroke-width": 2,
  1779. "arrow-start": "none",
  1780. "arrow-end": "classic-wide-long"
  1781. }
  1782. },
  1783. "typename": {
  1784. "type": "string",
  1785. "value": "AssociationLink"
  1786. },
  1787. "position": {
  1788. "type": "list<double>",
  1789. "value": [
  1790. 625,
  1791. 475.5
  1792. ]
  1793. },
  1794. "orientation": {
  1795. "type": "double",
  1796. "value": 0
  1797. },
  1798. "scale": {
  1799. "type": "list<double>",
  1800. "value": [
  1801. 1,
  1802. 1
  1803. ]
  1804. },
  1805. "mapper": {
  1806. "type": "code",
  1807. "value": ""
  1808. },
  1809. "parser": {
  1810. "type": "code",
  1811. "value": ""
  1812. },
  1813. "$contents": {
  1814. "type": "map<string,*>",
  1815. "value": {
  1816. "nodes": {
  1817. "15": {
  1818. "textContent": {
  1819. "type": "string",
  1820. "value": "CarOnRoadSegment"
  1821. },
  1822. "style": {
  1823. "type": "map<string,string>",
  1824. "value": {
  1825. "stroke": "#000000",
  1826. "stroke-dasharray": "",
  1827. "fill": "#ffffff",
  1828. "fill-opacity": 0.75,
  1829. "font-size": "13px",
  1830. "stroke-width": 1,
  1831. "arrow-start": "none",
  1832. "arrow-end": "none"
  1833. }
  1834. },
  1835. "mapper": {
  1836. "type": "code",
  1837. "value": "({'textContent':getAttr('name')})"
  1838. },
  1839. "parser": {
  1840. "type": "code",
  1841. "value": "({'name':getAttr('textContent')})"
  1842. },
  1843. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1844. "position": {
  1845. "type": "list<double>",
  1846. "value": [
  1847. 0,
  1848. -2
  1849. ]
  1850. },
  1851. "orientation": {
  1852. "type": "double",
  1853. "value": 0
  1854. },
  1855. "scale": {
  1856. "type": "list<double>",
  1857. "value": [
  1858. 1,
  1859. 1
  1860. ]
  1861. }
  1862. }
  1863. },
  1864. "edges": []
  1865. }
  1866. },
  1867. "$asuri": {
  1868. "type": "string",
  1869. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/8.instance"
  1870. },
  1871. "$segments": {
  1872. "type": "map<string,list<string>>",
  1873. "value": {
  1874. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon/1.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/AssociationLink/8.instance": "M649,444L650,501",
  1875. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/AssociationLink/8.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon/3.instance": "M650,501L649.9999959468978,529.9996514332072"
  1876. }
  1877. },
  1878. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/AssociationLink"
  1879. },
  1880. "9": {
  1881. "typename": {
  1882. "type": "string",
  1883. "value": "ClassIcon"
  1884. },
  1885. "position": {
  1886. "type": "list<double>",
  1887. "value": [
  1888. 551,
  1889. 728
  1890. ]
  1891. },
  1892. "orientation": {
  1893. "type": "double",
  1894. "value": 0
  1895. },
  1896. "scale": {
  1897. "type": "list<double>",
  1898. "value": [
  1899. 1,
  1900. 1
  1901. ]
  1902. },
  1903. "mapper": {
  1904. "type": "code",
  1905. "value": ""
  1906. },
  1907. "parser": {
  1908. "type": "code",
  1909. "value": ""
  1910. },
  1911. "$contents": {
  1912. "type": "map<string,*>",
  1913. "value": {
  1914. "nodes": {
  1915. "5": {
  1916. "width": {
  1917. "type": "double",
  1918. "value": 200
  1919. },
  1920. "height": {
  1921. "type": "double",
  1922. "value": 125
  1923. },
  1924. "cornerRadius": {
  1925. "type": "double",
  1926. "value": 5
  1927. },
  1928. "style": {
  1929. "type": "map<string,string>",
  1930. "value": {
  1931. "stroke": "#000000",
  1932. "stroke-dasharray": "",
  1933. "fill": "#ffffff",
  1934. "fill-opacity": 0.75,
  1935. "stroke-width": 2
  1936. }
  1937. },
  1938. "mapper": {
  1939. "type": "code",
  1940. "value": ""
  1941. },
  1942. "parser": {
  1943. "type": "code",
  1944. "value": ""
  1945. },
  1946. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  1947. "position": {
  1948. "type": "list<double>",
  1949. "value": [
  1950. 0,
  1951. 0
  1952. ]
  1953. },
  1954. "orientation": {
  1955. "type": "double",
  1956. "value": 0
  1957. },
  1958. "scale": {
  1959. "type": "list<double>",
  1960. "value": [
  1961. 1,
  1962. 1
  1963. ]
  1964. }
  1965. },
  1966. "6": {
  1967. "textContent": {
  1968. "type": "string",
  1969. "value": "Positionable"
  1970. },
  1971. "style": {
  1972. "type": "map<string,string>",
  1973. "value": {
  1974. "stroke": "#000000",
  1975. "stroke-dasharray": "",
  1976. "fill": "#ffffff",
  1977. "fill-opacity": 0.75,
  1978. "font-size": "20px",
  1979. "stroke-width": 1,
  1980. "arrow-start": "none",
  1981. "arrow-end": "none"
  1982. }
  1983. },
  1984. "mapper": {
  1985. "type": "code",
  1986. "value": "({'textContent': getAttr('name')})"
  1987. },
  1988. "parser": {
  1989. "type": "code",
  1990. "value": "({'name': getAttr('textContent')})"
  1991. },
  1992. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1993. "position": {
  1994. "type": "list<double>",
  1995. "value": [
  1996. 23,
  1997. 2
  1998. ]
  1999. },
  2000. "orientation": {
  2001. "type": "double",
  2002. "value": 0
  2003. },
  2004. "scale": {
  2005. "type": "list<double>",
  2006. "value": [
  2007. 1,
  2008. 1
  2009. ]
  2010. }
  2011. },
  2012. "7": {
  2013. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2014. "position": {
  2015. "type": "list<double>",
  2016. "value": [
  2017. 13.896110991026944,
  2018. 3.0451514439171206
  2019. ]
  2020. },
  2021. "orientation": {
  2022. "type": "double",
  2023. "value": 0
  2024. },
  2025. "scale": {
  2026. "type": "list<double>",
  2027. "value": [
  2028. 1,
  2029. 1
  2030. ]
  2031. },
  2032. "link-style": {
  2033. "type": "map<string,string>",
  2034. "value": {
  2035. "stroke": "#00ffff",
  2036. "stroke-dasharray": "",
  2037. "stroke-opacity": 0.1,
  2038. "arrow-start": "none",
  2039. "arrow-end": "classic-wide-long"
  2040. }
  2041. }
  2042. },
  2043. "17": {
  2044. "segments": {
  2045. "type": "string",
  2046. "value": "m0,0l200,0"
  2047. },
  2048. "style": {
  2049. "type": "map<string,string>",
  2050. "value": {
  2051. "stroke": "#000000",
  2052. "stroke-dasharray": "",
  2053. "fill": "#ffffff",
  2054. "fill-opacity": 0.75,
  2055. "font-size": "20px",
  2056. "stroke-width": 2,
  2057. "arrow-start": "none",
  2058. "arrow-end": "none"
  2059. }
  2060. },
  2061. "mapper": {
  2062. "type": "code",
  2063. "value": ""
  2064. },
  2065. "parser": {
  2066. "type": "code",
  2067. "value": ""
  2068. },
  2069. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  2070. "position": {
  2071. "type": "list<double>",
  2072. "value": [
  2073. 1,
  2074. 26
  2075. ]
  2076. },
  2077. "orientation": {
  2078. "type": "double",
  2079. "value": 0
  2080. },
  2081. "scale": {
  2082. "type": "list<double>",
  2083. "value": [
  2084. 1,
  2085. 1
  2086. ]
  2087. }
  2088. },
  2089. "18": {
  2090. "textContent": {
  2091. "type": "string",
  2092. "value": "position"
  2093. },
  2094. "style": {
  2095. "type": "map<string,string>",
  2096. "value": {
  2097. "stroke": "#000000",
  2098. "stroke-dasharray": "",
  2099. "fill": "#ffffff",
  2100. "fill-opacity": 0.75,
  2101. "font-size": "13px",
  2102. "stroke-width": 1,
  2103. "arrow-start": "none",
  2104. "arrow-end": "none"
  2105. }
  2106. },
  2107. "mapper": {
  2108. "type": "code",
  2109. "value": "var filenames = getAttr('attributes').map(\n\t\t\t\tfunction(attr)\n\t\t\t\t{\n\t\t\t\t\treturn attr['name'];\n\t\t\t\t});\n({'textContent': filenames.join('\\n')})"
  2110. },
  2111. "parser": {
  2112. "type": "code",
  2113. "value": ""
  2114. },
  2115. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2116. "position": {
  2117. "type": "list<double>",
  2118. "value": [
  2119. 3,
  2120. 25
  2121. ]
  2122. },
  2123. "orientation": {
  2124. "type": "double",
  2125. "value": 0
  2126. },
  2127. "scale": {
  2128. "type": "list<double>",
  2129. "value": [
  2130. 1,
  2131. 1
  2132. ]
  2133. }
  2134. },
  2135. "19": {
  2136. "width": {
  2137. "type": "boolean",
  2138. "value": true
  2139. },
  2140. "ratio": {
  2141. "type": "double",
  2142. "value": 1
  2143. },
  2144. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Span",
  2145. "position": {
  2146. "type": "list<double>",
  2147. "value": [
  2148. 168.09129891774523,
  2149. 30.625911571363645
  2150. ]
  2151. },
  2152. "orientation": {
  2153. "type": "double",
  2154. "value": 0
  2155. },
  2156. "scale": {
  2157. "type": "list<double>",
  2158. "value": [
  2159. 1,
  2160. 1
  2161. ]
  2162. },
  2163. "link-style": {
  2164. "type": "map<string,string>",
  2165. "value": {
  2166. "stroke": "#0000ff",
  2167. "stroke-dasharray": "",
  2168. "stroke-opacity": 1,
  2169. "arrow-start": "none",
  2170. "arrow-end": "classic-wide-long"
  2171. }
  2172. }
  2173. },
  2174. "20": {
  2175. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2176. "position": {
  2177. "type": "list<double>",
  2178. "value": [
  2179. 6.49899850809561,
  2180. 18.998998508095553
  2181. ]
  2182. },
  2183. "orientation": {
  2184. "type": "double",
  2185. "value": 0
  2186. },
  2187. "scale": {
  2188. "type": "list<double>",
  2189. "value": [
  2190. 1,
  2191. 1
  2192. ]
  2193. },
  2194. "link-style": {
  2195. "type": "map<string,string>",
  2196. "value": {
  2197. "stroke": "#00ffff",
  2198. "stroke-dasharray": "",
  2199. "stroke-opacity": 0.1,
  2200. "arrow-start": "none",
  2201. "arrow-end": "classic-wide-long"
  2202. }
  2203. }
  2204. }
  2205. },
  2206. "edges": [
  2207. {
  2208. "src": "5",
  2209. "dest": "7"
  2210. },
  2211. {
  2212. "src": "7",
  2213. "dest": "6"
  2214. },
  2215. {
  2216. "src": "17",
  2217. "dest": "19"
  2218. },
  2219. {
  2220. "src": "19",
  2221. "dest": "5"
  2222. },
  2223. {
  2224. "src": "5",
  2225. "dest": "20"
  2226. },
  2227. {
  2228. "src": "20",
  2229. "dest": "18"
  2230. }
  2231. ]
  2232. }
  2233. },
  2234. "$asuri": {
  2235. "type": "string",
  2236. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/9.instance"
  2237. },
  2238. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon"
  2239. },
  2240. "11": {
  2241. "link-style": {
  2242. "type": "map<string,string>",
  2243. "value": {
  2244. "stroke": "#000000",
  2245. "stroke-dasharray": "- ",
  2246. "stroke-opacity": 1,
  2247. "stroke-width": 2,
  2248. "arrow-start": "none",
  2249. "arrow-end": "classic-wide-long"
  2250. }
  2251. },
  2252. "typename": {
  2253. "type": "string",
  2254. "value": "InheritanceLink"
  2255. },
  2256. "position": {
  2257. "type": "list<double>",
  2258. "value": [
  2259. 475.6245974272174,
  2260. 787.9989985080956
  2261. ]
  2262. },
  2263. "orientation": {
  2264. "type": "double",
  2265. "value": 0
  2266. },
  2267. "scale": {
  2268. "type": "list<double>",
  2269. "value": [
  2270. 1,
  2271. 1
  2272. ]
  2273. },
  2274. "mapper": {
  2275. "type": "code",
  2276. "value": ""
  2277. },
  2278. "parser": {
  2279. "type": "code",
  2280. "value": ""
  2281. },
  2282. "$contents": {
  2283. "type": "map<string,*>",
  2284. "value": {
  2285. "nodes": {},
  2286. "edges": []
  2287. }
  2288. },
  2289. "$asuri": {
  2290. "type": "string",
  2291. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance/11.instance"
  2292. },
  2293. "$segments": {
  2294. "type": "map<string,list<string>>",
  2295. "value": {
  2296. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon/0.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/InheritanceLink/11.instance": "M345,453L343,788L475,788",
  2297. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/InheritanceLink/11.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon/9.instance": "M475,788L550,788"
  2298. }
  2299. },
  2300. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/InheritanceLink"
  2301. },
  2302. "12": {
  2303. "link-style": {
  2304. "type": "map<string,string>",
  2305. "value": {
  2306. "stroke": "#000000",
  2307. "stroke-dasharray": "- ",
  2308. "stroke-opacity": 1,
  2309. "stroke-width": 2,
  2310. "arrow-start": "none",
  2311. "arrow-end": "classic-wide-long"
  2312. }
  2313. },
  2314. "typename": {
  2315. "type": "string",
  2316. "value": "InheritanceLink"
  2317. },
  2318. "position": {
  2319. "type": "list<double>",
  2320. "value": [
  2321. 814.4989985080956,
  2322. 425.9989985080956
  2323. ]
  2324. },
  2325. "orientation": {
  2326. "type": "double",
  2327. "value": 0
  2328. },
  2329. "scale": {
  2330. "type": "list<double>",
  2331. "value": [
  2332. 1,
  2333. 1
  2334. ]
  2335. },
  2336. "mapper": {
  2337. "type": "code",
  2338. "value": ""
  2339. },
  2340. "parser": {
  2341. "type": "code",
  2342. "value": ""
  2343. },
  2344. "$contents": {
  2345. "type": "map<string,*>",
  2346. "value": {
  2347. "nodes": {},
  2348. "edges": []
  2349. }
  2350. },
  2351. "$asuri": {
  2352. "type": "string",
  2353. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance/12.instance"
  2354. },
  2355. "$segments": {
  2356. "type": "map<string,list<string>>",
  2357. "value": {
  2358. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon/1.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/InheritanceLink/12.instance": "M751,426L814,426",
  2359. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/InheritanceLink/12.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon/9.instance": "M814,426L814,794L750,795"
  2360. }
  2361. },
  2362. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/InheritanceLink"
  2363. },
  2364. "13": {
  2365. "link-style": {
  2366. "type": "map<string,string>",
  2367. "value": {
  2368. "stroke": "#000000",
  2369. "stroke-dasharray": "- ",
  2370. "stroke-opacity": 1,
  2371. "stroke-width": 2,
  2372. "arrow-start": "none",
  2373. "arrow-end": "classic-wide-long"
  2374. }
  2375. },
  2376. "typename": {
  2377. "type": "string",
  2378. "value": "InheritanceLink"
  2379. },
  2380. "position": {
  2381. "type": "list<double>",
  2382. "value": [
  2383. 923.9989985080956,
  2384. 814.9741996290885
  2385. ]
  2386. },
  2387. "orientation": {
  2388. "type": "double",
  2389. "value": 0
  2390. },
  2391. "scale": {
  2392. "type": "list<double>",
  2393. "value": [
  2394. 1,
  2395. 1
  2396. ]
  2397. },
  2398. "mapper": {
  2399. "type": "code",
  2400. "value": ""
  2401. },
  2402. "parser": {
  2403. "type": "code",
  2404. "value": ""
  2405. },
  2406. "$contents": {
  2407. "type": "map<string,*>",
  2408. "value": {
  2409. "nodes": {},
  2410. "edges": []
  2411. }
  2412. },
  2413. "$asuri": {
  2414. "type": "string",
  2415. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance/13.instance"
  2416. },
  2417. "$segments": {
  2418. "type": "map<string,list<string>>",
  2419. "value": {
  2420. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon/2.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/InheritanceLink/13.instance": "M924,450L924,814",
  2421. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/InheritanceLink/13.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon/9.instance": "M924,814L752,815"
  2422. }
  2423. },
  2424. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/InheritanceLink"
  2425. },
  2426. "15": {
  2427. "link-style": {
  2428. "type": "map<string,string>",
  2429. "value": {
  2430. "stroke": "#000000",
  2431. "stroke-dasharray": "- ",
  2432. "stroke-opacity": 1,
  2433. "stroke-width": 2,
  2434. "arrow-start": "none",
  2435. "arrow-end": "classic-wide-long"
  2436. }
  2437. },
  2438. "typename": {
  2439. "type": "string",
  2440. "value": "InheritanceLink"
  2441. },
  2442. "position": {
  2443. "type": "list<double>",
  2444. "value": [
  2445. "678,50%",
  2446. "692,50%"
  2447. ]
  2448. },
  2449. "orientation": {
  2450. "type": "double",
  2451. "value": 0
  2452. },
  2453. "scale": {
  2454. "type": "list<double>",
  2455. "value": [
  2456. 1,
  2457. 1
  2458. ]
  2459. },
  2460. "mapper": {
  2461. "type": "code",
  2462. "value": ""
  2463. },
  2464. "parser": {
  2465. "type": "code",
  2466. "value": ""
  2467. },
  2468. "$contents": {
  2469. "type": "map<string,*>",
  2470. "value": {
  2471. "nodes": {},
  2472. "edges": []
  2473. }
  2474. },
  2475. "$asuri": {
  2476. "type": "string",
  2477. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance/15.instance"
  2478. },
  2479. "$segments": {
  2480. "type": "map<string,list<string>>",
  2481. "value": {
  2482. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon/3.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/InheritanceLink/15.instance": "M678,656L678,692",
  2483. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/InheritanceLink/15.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon/9.instance": "M678,692.0769013564637L678.0000000000001,727.9995837191359"
  2484. }
  2485. },
  2486. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/InheritanceLink"
  2487. }
  2488. },
  2489. "edges": [],
  2490. "metamodels": [
  2491. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons"
  2492. ]
  2493. },
  2494. "asm": {
  2495. "nodes": {
  2496. "0": {
  2497. "name": {
  2498. "type": "string",
  2499. "value": "Generator"
  2500. },
  2501. "attributes": {
  2502. "type": "list<$ATTRIBUTE>",
  2503. "value": [
  2504. {
  2505. "name": "producedCars",
  2506. "type": "int",
  2507. "default": 0
  2508. }
  2509. ]
  2510. },
  2511. "constraints": {
  2512. "type": "list<$EVENT_HANDLER>",
  2513. "value": []
  2514. },
  2515. "actions": {
  2516. "type": "list<$EVENT_HANDLER>",
  2517. "value": []
  2518. },
  2519. "cardinalities": {
  2520. "type": "list<$CARDINALITY>",
  2521. "value": [
  2522. {
  2523. "dir": "in",
  2524. "type": "RS2G",
  2525. "min": "1",
  2526. "max": "1"
  2527. }
  2528. ]
  2529. },
  2530. "abstract": {
  2531. "type": "boolean",
  2532. "value": false
  2533. },
  2534. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  2535. },
  2536. "1": {
  2537. "name": {
  2538. "type": "string",
  2539. "value": "RoadSegment"
  2540. },
  2541. "attributes": {
  2542. "type": "list<$ATTRIBUTE>",
  2543. "value": [
  2544. {
  2545. "name": "currentCars",
  2546. "type": "int",
  2547. "default": 0
  2548. }
  2549. ]
  2550. },
  2551. "constraints": {
  2552. "type": "list<$EVENT_HANDLER>",
  2553. "value": []
  2554. },
  2555. "actions": {
  2556. "type": "list<$EVENT_HANDLER>",
  2557. "value": []
  2558. },
  2559. "cardinalities": {
  2560. "type": "list<$CARDINALITY>",
  2561. "value": [
  2562. {
  2563. "dir": "out",
  2564. "type": "RS2G",
  2565. "min": "0",
  2566. "max": "1"
  2567. },
  2568. {
  2569. "dir": "out",
  2570. "type": "RS2RS",
  2571. "min": "0",
  2572. "max": "1"
  2573. },
  2574. {
  2575. "dir": "in",
  2576. "type": "RS2RS",
  2577. "min": "0",
  2578. "max": "1"
  2579. },
  2580. {
  2581. "dir": "in",
  2582. "type": "S2RS",
  2583. "min": "0",
  2584. "max": "1"
  2585. },
  2586. {
  2587. "dir": "out",
  2588. "type": "CarOnRoadSegment",
  2589. "min": "0",
  2590. "max": "Infinity"
  2591. }
  2592. ]
  2593. },
  2594. "abstract": {
  2595. "type": "boolean",
  2596. "value": false
  2597. },
  2598. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  2599. },
  2600. "2": {
  2601. "name": {
  2602. "type": "string",
  2603. "value": "Sink"
  2604. },
  2605. "attributes": {
  2606. "type": "list<$ATTRIBUTE>",
  2607. "value": [
  2608. {
  2609. "name": "consumedCars",
  2610. "type": "int",
  2611. "default": 0
  2612. }
  2613. ]
  2614. },
  2615. "constraints": {
  2616. "type": "list<$EVENT_HANDLER>",
  2617. "value": []
  2618. },
  2619. "actions": {
  2620. "type": "list<$EVENT_HANDLER>",
  2621. "value": []
  2622. },
  2623. "cardinalities": {
  2624. "type": "list<$CARDINALITY>",
  2625. "value": [
  2626. {
  2627. "dir": "out",
  2628. "type": "S2RS",
  2629. "min": "1",
  2630. "max": "1"
  2631. }
  2632. ]
  2633. },
  2634. "abstract": {
  2635. "type": "boolean",
  2636. "value": false
  2637. },
  2638. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  2639. },
  2640. "3": {
  2641. "name": {
  2642. "type": "string",
  2643. "value": "Car"
  2644. },
  2645. "attributes": {
  2646. "type": "list<$ATTRIBUTE>",
  2647. "value": [
  2648. {
  2649. "name": "color",
  2650. "type": "string",
  2651. "default": "#ff0000"
  2652. }
  2653. ]
  2654. },
  2655. "constraints": {
  2656. "type": "list<$EVENT_HANDLER>",
  2657. "value": []
  2658. },
  2659. "actions": {
  2660. "type": "list<$EVENT_HANDLER>",
  2661. "value": []
  2662. },
  2663. "cardinalities": {
  2664. "type": "list<$CARDINALITY>",
  2665. "value": [
  2666. {
  2667. "dir": "in",
  2668. "type": "CarOnRoadSegment",
  2669. "min": "1",
  2670. "max": "1"
  2671. }
  2672. ]
  2673. },
  2674. "abstract": {
  2675. "type": "boolean",
  2676. "value": false
  2677. },
  2678. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  2679. },
  2680. "4": {
  2681. "name": {
  2682. "type": "string",
  2683. "value": "RS2G"
  2684. },
  2685. "attributes": {
  2686. "type": "list<$ATTRIBUTE>",
  2687. "value": []
  2688. },
  2689. "constraints": {
  2690. "type": "list<$EVENT_HANDLER>",
  2691. "value": []
  2692. },
  2693. "actions": {
  2694. "type": "list<$EVENT_HANDLER>",
  2695. "value": []
  2696. },
  2697. "cardinalities": {
  2698. "type": "list<$CARDINALITY>",
  2699. "value": [
  2700. {
  2701. "dir": "in",
  2702. "type": "RoadSegment",
  2703. "min": "1",
  2704. "max": "1"
  2705. },
  2706. {
  2707. "dir": "out",
  2708. "type": "Generator",
  2709. "min": "1",
  2710. "max": "1"
  2711. }
  2712. ]
  2713. },
  2714. "linktype": {
  2715. "type": "ENUM(visual,containment)",
  2716. "value": "visual"
  2717. },
  2718. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  2719. },
  2720. "5": {
  2721. "name": {
  2722. "type": "string",
  2723. "value": "S2RS"
  2724. },
  2725. "attributes": {
  2726. "type": "list<$ATTRIBUTE>",
  2727. "value": []
  2728. },
  2729. "constraints": {
  2730. "type": "list<$EVENT_HANDLER>",
  2731. "value": []
  2732. },
  2733. "actions": {
  2734. "type": "list<$EVENT_HANDLER>",
  2735. "value": []
  2736. },
  2737. "cardinalities": {
  2738. "type": "list<$CARDINALITY>",
  2739. "value": [
  2740. {
  2741. "dir": "in",
  2742. "type": "Sink",
  2743. "min": "1",
  2744. "max": "1"
  2745. },
  2746. {
  2747. "dir": "out",
  2748. "type": "RoadSegment",
  2749. "min": "1",
  2750. "max": "1"
  2751. }
  2752. ]
  2753. },
  2754. "linktype": {
  2755. "type": "ENUM(visual,containment)",
  2756. "value": "visual"
  2757. },
  2758. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  2759. },
  2760. "6": {
  2761. "name": {
  2762. "type": "string",
  2763. "value": "RS2RS"
  2764. },
  2765. "attributes": {
  2766. "type": "list<$ATTRIBUTE>",
  2767. "value": []
  2768. },
  2769. "constraints": {
  2770. "type": "list<$EVENT_HANDLER>",
  2771. "value": []
  2772. },
  2773. "actions": {
  2774. "type": "list<$EVENT_HANDLER>",
  2775. "value": []
  2776. },
  2777. "cardinalities": {
  2778. "type": "list<$CARDINALITY>",
  2779. "value": [
  2780. {
  2781. "dir": "in",
  2782. "type": "RoadSegment",
  2783. "min": "1",
  2784. "max": "1"
  2785. },
  2786. {
  2787. "dir": "out",
  2788. "type": "RoadSegment",
  2789. "min": "1",
  2790. "max": "1"
  2791. }
  2792. ]
  2793. },
  2794. "linktype": {
  2795. "type": "ENUM(visual,containment)",
  2796. "value": "visual"
  2797. },
  2798. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  2799. },
  2800. "8": {
  2801. "name": {
  2802. "type": "string",
  2803. "value": "CarOnRoadSegment"
  2804. },
  2805. "attributes": {
  2806. "type": "list<$ATTRIBUTE>",
  2807. "value": []
  2808. },
  2809. "constraints": {
  2810. "type": "list<$EVENT_HANDLER>",
  2811. "value": []
  2812. },
  2813. "actions": {
  2814. "type": "list<$EVENT_HANDLER>",
  2815. "value": []
  2816. },
  2817. "cardinalities": {
  2818. "type": "list<$CARDINALITY>",
  2819. "value": [
  2820. {
  2821. "dir": "in",
  2822. "type": "RoadSegment",
  2823. "min": "1",
  2824. "max": "1"
  2825. },
  2826. {
  2827. "dir": "out",
  2828. "type": "Car",
  2829. "min": "1",
  2830. "max": "1"
  2831. }
  2832. ]
  2833. },
  2834. "linktype": {
  2835. "type": "ENUM(visual,containment)",
  2836. "value": "containment"
  2837. },
  2838. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  2839. },
  2840. "9": {
  2841. "name": {
  2842. "type": "string",
  2843. "value": "Positionable"
  2844. },
  2845. "attributes": {
  2846. "type": "list<$ATTRIBUTE>",
  2847. "value": [
  2848. {
  2849. "name": "position",
  2850. "type": "list<int>",
  2851. "default": [
  2852. 0,
  2853. 0
  2854. ]
  2855. }
  2856. ]
  2857. },
  2858. "constraints": {
  2859. "type": "list<$EVENT_HANDLER>",
  2860. "value": []
  2861. },
  2862. "actions": {
  2863. "type": "list<$EVENT_HANDLER>",
  2864. "value": [
  2865. {
  2866. "name": "snapToTarget",
  2867. "event": "post-connect",
  2868. "code": "/*newline*/var neighborLinks = getNeighbors('>'),/*newline*/ neighborLink = neighborLinks[neighborLinks.length-1];/*newline*/if( neighborLink )/*newline*/{/*newline*/ if(! getAttr('$type', neighborLink).match(/CarOnRoadSegment/) )/*newline*/ {/*newline*/ var neighbor = getNeighbors('>','*',neighborLink)[0],/*newline*/ npos = getAttr('position',neighbor);/*newline*/ setAttr('position', [npos[0]+(getAttr('$type',neighbor).match(/Generator/) ? 80 : 300),npos[1]]);/*newline*/ }/*newline*/ else/*newline*/ {/*newline*/ var car = getNeighbors('>','*',neighborLink)[0],/*newline*/ rspos = getAttr('position'),/*newline*/ rspop = getNeighbors('>','/Formalisms/Traffic/Traffic/CarOnRoadSegment').length;/*newline*/ setAttr('position', [rspos[0]+rspop*20,rspos[1]],car);/*newline*/ }/*newline*/}"
  2869. }
  2870. ]
  2871. },
  2872. "cardinalities": {
  2873. "type": "list<$CARDINALITY>",
  2874. "value": []
  2875. },
  2876. "abstract": {
  2877. "type": "boolean",
  2878. "value": true
  2879. },
  2880. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  2881. },
  2882. "11": {
  2883. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance"
  2884. },
  2885. "12": {
  2886. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance"
  2887. },
  2888. "13": {
  2889. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance"
  2890. },
  2891. "15": {
  2892. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance"
  2893. }
  2894. },
  2895. "edges": [
  2896. {
  2897. "src": "1",
  2898. "dest": "4"
  2899. },
  2900. {
  2901. "src": "4",
  2902. "dest": "0"
  2903. },
  2904. {
  2905. "src": "2",
  2906. "dest": "5"
  2907. },
  2908. {
  2909. "src": "5",
  2910. "dest": "1"
  2911. },
  2912. {
  2913. "src": "1",
  2914. "dest": "6"
  2915. },
  2916. {
  2917. "src": "6",
  2918. "dest": "1"
  2919. },
  2920. {
  2921. "src": "1",
  2922. "dest": "8"
  2923. },
  2924. {
  2925. "src": "8",
  2926. "dest": "3"
  2927. },
  2928. {
  2929. "src": "0",
  2930. "dest": "11"
  2931. },
  2932. {
  2933. "src": "11",
  2934. "dest": "9"
  2935. },
  2936. {
  2937. "src": "1",
  2938. "dest": "12"
  2939. },
  2940. {
  2941. "src": "12",
  2942. "dest": "9"
  2943. },
  2944. {
  2945. "src": "2",
  2946. "dest": "13"
  2947. },
  2948. {
  2949. "src": "13",
  2950. "dest": "9"
  2951. },
  2952. {
  2953. "src": "3",
  2954. "dest": "15"
  2955. },
  2956. {
  2957. "src": "15",
  2958. "dest": "9"
  2959. }
  2960. ],
  2961. "metamodels": [
  2962. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram"
  2963. ]
  2964. }
  2965. }