TrainDoor.model 46 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747
  1. {
  2. "csm": {
  3. "nodes": {
  4. "3": {
  5. "typename": {
  6. "type": "string",
  7. "value": "ClassIcon"
  8. },
  9. "position": {
  10. "type": "list<double>",
  11. "value": [
  12. 935,
  13. 214
  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": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  30. },
  31. "parser": {
  32. "type": "code",
  33. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  34. },
  35. "$contents": {
  36. "type": "map<string,*>",
  37. "value": {
  38. "nodes": {
  39. "96": {
  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": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  65. },
  66. "parser": {
  67. "type": "code",
  68. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  69. },
  70. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  71. "position": {
  72. "type": "list<double>",
  73. "value": [
  74. 4,
  75. 3
  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. "97": {
  91. "segments": {
  92. "type": "string",
  93. "value": "m0,0l197,0"
  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": 2,
  104. "arrow-start": "none",
  105. "arrow-end": "none"
  106. }
  107. },
  108. "mapper": {
  109. "type": "code",
  110. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  111. },
  112. "parser": {
  113. "type": "code",
  114. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  115. },
  116. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  117. "position": {
  118. "type": "list<double>",
  119. "value": [
  120. 6,
  121. 36
  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. "98": {
  137. "textContent": {
  138. "type": "string",
  139. "value": "State"
  140. },
  141. "style": {
  142. "type": "map<string,string>",
  143. "value": {
  144. "font-size": "18px",
  145. "font-style": "italic",
  146. "font-weight": "bold",
  147. "line-height": "100%",
  148. "letter-spacing": "0px",
  149. "word-spacing": "0px",
  150. "fill": "#000000",
  151. "fill-opacity": "1",
  152. "stroke": "none"
  153. }
  154. },
  155. "mapper": {
  156. "type": "code",
  157. "value": "var style = \n{\n \"font-size\": \"18px\",\n \"font-style\": \"normal\",\n \"font-weight\": \"bold\",\n \"line-height\": \"100%\",\n \"letter-spacing\": \"0px\",\n \"word-spacing\": \"0px\",\n \"fill\": \"#000000\",\n \"fill-opacity\": \"1\",\n \"stroke\": \"none\",\n \"font-style\": (getAttr('abstract') ? 'italic' : 'normal')\n};\n\n({'textContent': getAttr('name'), 'style':style})\n\n\n"
  158. },
  159. "parser": {
  160. "type": "code",
  161. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  162. },
  163. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  164. "position": {
  165. "type": "list<double>",
  166. "value": [
  167. 8,
  168. 8
  169. ]
  170. },
  171. "orientation": {
  172. "type": "double",
  173. "value": 0
  174. },
  175. "scale": {
  176. "type": "list<double>",
  177. "value": [
  178. 1,
  179. 1
  180. ]
  181. }
  182. },
  183. "99": {
  184. "textContent": {
  185. "type": "string",
  186. "value": "+ name : string"
  187. },
  188. "style": {
  189. "type": "map<string,string>",
  190. "value": {
  191. "font-size": "14px",
  192. "font-style": "normal",
  193. "font-weight": "bold",
  194. "line-height": "100%",
  195. "letter-spacing": "0px",
  196. "word-spacing": "0px",
  197. "fill": "#000000",
  198. "fill-opacity": "1",
  199. "stroke": "none"
  200. }
  201. },
  202. "mapper": {
  203. "type": "code",
  204. "value": "var filenames = getAttr('attributes').map(\n function(attr)\n {\n var s = '+ '+attr['name'] + ' : ' + attr['type'];\n if (attr['default'])\n s += ' = ' + attr['default'];\n return s;\n });\n\n({'textContent': filenames.join('\\n')})"
  205. },
  206. "parser": {
  207. "type": "code",
  208. "value": ""
  209. },
  210. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  211. "position": {
  212. "type": "list<double>",
  213. "value": [
  214. 10,
  215. 41
  216. ]
  217. },
  218. "orientation": {
  219. "type": "double",
  220. "value": 0
  221. },
  222. "scale": {
  223. "type": "list<double>",
  224. "value": [
  225. 1,
  226. 1
  227. ]
  228. }
  229. },
  230. "100": {
  231. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  232. "position": {
  233. "type": "list<double>",
  234. "value": [
  235. 68.5,
  236. 36.5
  237. ]
  238. },
  239. "orientation": {
  240. "type": "double",
  241. "value": 0
  242. },
  243. "scale": {
  244. "type": "list<double>",
  245. "value": [
  246. 1,
  247. 1
  248. ]
  249. },
  250. "link-style": {
  251. "type": "map<string,string>",
  252. "value": {
  253. "stroke": "#00ffff",
  254. "stroke-dasharray": "",
  255. "stroke-opacity": 0.1,
  256. "stroke-width": 1
  257. }
  258. }
  259. },
  260. "101": {
  261. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  262. "position": {
  263. "type": "list<double>",
  264. "value": [
  265. 12.5,
  266. 27
  267. ]
  268. },
  269. "orientation": {
  270. "type": "double",
  271. "value": 0
  272. },
  273. "scale": {
  274. "type": "list<double>",
  275. "value": [
  276. 1,
  277. 1
  278. ]
  279. },
  280. "link-style": {
  281. "type": "map<string,string>",
  282. "value": {
  283. "stroke": "#00ffff",
  284. "stroke-dasharray": "",
  285. "stroke-opacity": 0.1,
  286. "stroke-width": 1
  287. }
  288. }
  289. },
  290. "102": {
  291. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  292. "position": {
  293. "type": "list<double>",
  294. "value": [
  295. 53.75,
  296. 20
  297. ]
  298. },
  299. "orientation": {
  300. "type": "double",
  301. "value": 0
  302. },
  303. "scale": {
  304. "type": "list<double>",
  305. "value": [
  306. 1,
  307. 1
  308. ]
  309. },
  310. "link-style": {
  311. "type": "map<string,string>",
  312. "value": {
  313. "stroke": "#00ffff",
  314. "stroke-dasharray": "",
  315. "stroke-opacity": 0.1,
  316. "stroke-width": 1
  317. }
  318. }
  319. }
  320. },
  321. "edges": [
  322. {
  323. "src": "96",
  324. "dest": "100"
  325. },
  326. {
  327. "src": "100",
  328. "dest": "98"
  329. },
  330. {
  331. "src": "96",
  332. "dest": "101"
  333. },
  334. {
  335. "src": "101",
  336. "dest": "99"
  337. },
  338. {
  339. "src": "96",
  340. "dest": "102"
  341. },
  342. {
  343. "src": "102",
  344. "dest": "97"
  345. }
  346. ]
  347. }
  348. },
  349. "$asuri": {
  350. "type": "string",
  351. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/3.instance"
  352. },
  353. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  354. },
  355. "4": {
  356. "typename": {
  357. "type": "string",
  358. "value": "ClassIcon"
  359. },
  360. "position": {
  361. "type": "list<double>",
  362. "value": [
  363. 796,
  364. 528
  365. ]
  366. },
  367. "orientation": {
  368. "type": "double",
  369. "value": 0
  370. },
  371. "scale": {
  372. "type": "list<double>",
  373. "value": [
  374. 1,
  375. 1
  376. ]
  377. },
  378. "mapper": {
  379. "type": "code",
  380. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  381. },
  382. "parser": {
  383. "type": "code",
  384. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  385. },
  386. "$contents": {
  387. "type": "map<string,*>",
  388. "value": {
  389. "nodes": {
  390. "96": {
  391. "width": {
  392. "type": "double",
  393. "value": 200
  394. },
  395. "height": {
  396. "type": "double",
  397. "value": 125
  398. },
  399. "cornerRadius": {
  400. "type": "double",
  401. "value": 0
  402. },
  403. "style": {
  404. "type": "map<string,string>",
  405. "value": {
  406. "stroke": "#000000",
  407. "stroke-dasharray": "",
  408. "fill": "#ffffff",
  409. "fill-opacity": 0.75,
  410. "stroke-width": 2
  411. }
  412. },
  413. "mapper": {
  414. "type": "code",
  415. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  416. },
  417. "parser": {
  418. "type": "code",
  419. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  420. },
  421. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  422. "position": {
  423. "type": "list<double>",
  424. "value": [
  425. 4,
  426. 3
  427. ]
  428. },
  429. "orientation": {
  430. "type": "double",
  431. "value": 0
  432. },
  433. "scale": {
  434. "type": "list<double>",
  435. "value": [
  436. 1,
  437. 1
  438. ]
  439. }
  440. },
  441. "97": {
  442. "segments": {
  443. "type": "string",
  444. "value": "m0,0l197,0"
  445. },
  446. "style": {
  447. "type": "map<string,string>",
  448. "value": {
  449. "stroke": "#000000",
  450. "stroke-dasharray": "",
  451. "fill": "#ffffff",
  452. "fill-opacity": 0.75,
  453. "font-size": "20px",
  454. "stroke-width": 2,
  455. "arrow-start": "none",
  456. "arrow-end": "none"
  457. }
  458. },
  459. "mapper": {
  460. "type": "code",
  461. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  462. },
  463. "parser": {
  464. "type": "code",
  465. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  466. },
  467. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  468. "position": {
  469. "type": "list<double>",
  470. "value": [
  471. 6,
  472. 36
  473. ]
  474. },
  475. "orientation": {
  476. "type": "double",
  477. "value": 0
  478. },
  479. "scale": {
  480. "type": "list<double>",
  481. "value": [
  482. 1,
  483. 1
  484. ]
  485. }
  486. },
  487. "98": {
  488. "textContent": {
  489. "type": "string",
  490. "value": "Open"
  491. },
  492. "style": {
  493. "type": "map<string,string>",
  494. "value": {
  495. "font-size": "18px",
  496. "font-style": "normal",
  497. "font-weight": "bold",
  498. "line-height": "100%",
  499. "letter-spacing": "0px",
  500. "word-spacing": "0px",
  501. "fill": "#000000",
  502. "fill-opacity": "1",
  503. "stroke": "none"
  504. }
  505. },
  506. "mapper": {
  507. "type": "code",
  508. "value": "var style = \n{\n \"font-size\": \"18px\",\n \"font-style\": \"normal\",\n \"font-weight\": \"bold\",\n \"line-height\": \"100%\",\n \"letter-spacing\": \"0px\",\n \"word-spacing\": \"0px\",\n \"fill\": \"#000000\",\n \"fill-opacity\": \"1\",\n \"stroke\": \"none\",\n \"font-style\": (getAttr('abstract') ? 'italic' : 'normal')\n};\n\n({'textContent': getAttr('name'), 'style':style})\n\n\n"
  509. },
  510. "parser": {
  511. "type": "code",
  512. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  513. },
  514. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  515. "position": {
  516. "type": "list<double>",
  517. "value": [
  518. 8,
  519. 8
  520. ]
  521. },
  522. "orientation": {
  523. "type": "double",
  524. "value": 0
  525. },
  526. "scale": {
  527. "type": "list<double>",
  528. "value": [
  529. 1,
  530. 1
  531. ]
  532. }
  533. },
  534. "99": {
  535. "textContent": {
  536. "type": "string",
  537. "value": ""
  538. },
  539. "style": {
  540. "type": "map<string,string>",
  541. "value": {
  542. "font-size": "14px",
  543. "font-style": "normal",
  544. "font-weight": "bold",
  545. "line-height": "100%",
  546. "letter-spacing": "0px",
  547. "word-spacing": "0px",
  548. "fill": "#000000",
  549. "fill-opacity": "1",
  550. "stroke": "none"
  551. }
  552. },
  553. "mapper": {
  554. "type": "code",
  555. "value": "var filenames = getAttr('attributes').map(\n function(attr)\n {\n var s = '+ '+attr['name'] + ' : ' + attr['type'];\n if (attr['default'])\n s += ' = ' + attr['default'];\n return s;\n });\n\n({'textContent': filenames.join('\\n')})"
  556. },
  557. "parser": {
  558. "type": "code",
  559. "value": ""
  560. },
  561. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  562. "position": {
  563. "type": "list<double>",
  564. "value": [
  565. 10,
  566. 41
  567. ]
  568. },
  569. "orientation": {
  570. "type": "double",
  571. "value": 0
  572. },
  573. "scale": {
  574. "type": "list<double>",
  575. "value": [
  576. 1,
  577. 1
  578. ]
  579. }
  580. },
  581. "100": {
  582. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  583. "position": {
  584. "type": "list<double>",
  585. "value": [
  586. 68.5,
  587. 36.5
  588. ]
  589. },
  590. "orientation": {
  591. "type": "double",
  592. "value": 0
  593. },
  594. "scale": {
  595. "type": "list<double>",
  596. "value": [
  597. 1,
  598. 1
  599. ]
  600. },
  601. "link-style": {
  602. "type": "map<string,string>",
  603. "value": {
  604. "stroke": "#00ffff",
  605. "stroke-dasharray": "",
  606. "stroke-opacity": 0.1,
  607. "stroke-width": 1
  608. }
  609. }
  610. },
  611. "101": {
  612. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  613. "position": {
  614. "type": "list<double>",
  615. "value": [
  616. 12.5,
  617. 27
  618. ]
  619. },
  620. "orientation": {
  621. "type": "double",
  622. "value": 0
  623. },
  624. "scale": {
  625. "type": "list<double>",
  626. "value": [
  627. 1,
  628. 1
  629. ]
  630. },
  631. "link-style": {
  632. "type": "map<string,string>",
  633. "value": {
  634. "stroke": "#00ffff",
  635. "stroke-dasharray": "",
  636. "stroke-opacity": 0.1,
  637. "stroke-width": 1
  638. }
  639. }
  640. },
  641. "102": {
  642. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  643. "position": {
  644. "type": "list<double>",
  645. "value": [
  646. 53.75,
  647. 20
  648. ]
  649. },
  650. "orientation": {
  651. "type": "double",
  652. "value": 0
  653. },
  654. "scale": {
  655. "type": "list<double>",
  656. "value": [
  657. 1,
  658. 1
  659. ]
  660. },
  661. "link-style": {
  662. "type": "map<string,string>",
  663. "value": {
  664. "stroke": "#00ffff",
  665. "stroke-dasharray": "",
  666. "stroke-opacity": 0.1,
  667. "stroke-width": 1
  668. }
  669. }
  670. }
  671. },
  672. "edges": [
  673. {
  674. "src": "96",
  675. "dest": "100"
  676. },
  677. {
  678. "src": "100",
  679. "dest": "98"
  680. },
  681. {
  682. "src": "96",
  683. "dest": "101"
  684. },
  685. {
  686. "src": "101",
  687. "dest": "99"
  688. },
  689. {
  690. "src": "96",
  691. "dest": "102"
  692. },
  693. {
  694. "src": "102",
  695. "dest": "97"
  696. }
  697. ]
  698. }
  699. },
  700. "$asuri": {
  701. "type": "string",
  702. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/4.instance"
  703. },
  704. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  705. },
  706. "5": {
  707. "typename": {
  708. "type": "string",
  709. "value": "ClassIcon"
  710. },
  711. "position": {
  712. "type": "list<double>",
  713. "value": [
  714. 1125,
  715. 528
  716. ]
  717. },
  718. "orientation": {
  719. "type": "double",
  720. "value": 0
  721. },
  722. "scale": {
  723. "type": "list<double>",
  724. "value": [
  725. 1,
  726. 1
  727. ]
  728. },
  729. "mapper": {
  730. "type": "code",
  731. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  732. },
  733. "parser": {
  734. "type": "code",
  735. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  736. },
  737. "$contents": {
  738. "type": "map<string,*>",
  739. "value": {
  740. "nodes": {
  741. "96": {
  742. "width": {
  743. "type": "double",
  744. "value": 200
  745. },
  746. "height": {
  747. "type": "double",
  748. "value": 125
  749. },
  750. "cornerRadius": {
  751. "type": "double",
  752. "value": 0
  753. },
  754. "style": {
  755. "type": "map<string,string>",
  756. "value": {
  757. "stroke": "#000000",
  758. "stroke-dasharray": "",
  759. "fill": "#ffffff",
  760. "fill-opacity": 0.75,
  761. "stroke-width": 2
  762. }
  763. },
  764. "mapper": {
  765. "type": "code",
  766. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  767. },
  768. "parser": {
  769. "type": "code",
  770. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  771. },
  772. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  773. "position": {
  774. "type": "list<double>",
  775. "value": [
  776. 4,
  777. 3
  778. ]
  779. },
  780. "orientation": {
  781. "type": "double",
  782. "value": 0
  783. },
  784. "scale": {
  785. "type": "list<double>",
  786. "value": [
  787. 1,
  788. 1
  789. ]
  790. }
  791. },
  792. "97": {
  793. "segments": {
  794. "type": "string",
  795. "value": "m0,0l197,0"
  796. },
  797. "style": {
  798. "type": "map<string,string>",
  799. "value": {
  800. "stroke": "#000000",
  801. "stroke-dasharray": "",
  802. "fill": "#ffffff",
  803. "fill-opacity": 0.75,
  804. "font-size": "20px",
  805. "stroke-width": 2,
  806. "arrow-start": "none",
  807. "arrow-end": "none"
  808. }
  809. },
  810. "mapper": {
  811. "type": "code",
  812. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  813. },
  814. "parser": {
  815. "type": "code",
  816. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  817. },
  818. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  819. "position": {
  820. "type": "list<double>",
  821. "value": [
  822. 6,
  823. 36
  824. ]
  825. },
  826. "orientation": {
  827. "type": "double",
  828. "value": 0
  829. },
  830. "scale": {
  831. "type": "list<double>",
  832. "value": [
  833. 1,
  834. 1
  835. ]
  836. }
  837. },
  838. "98": {
  839. "textContent": {
  840. "type": "string",
  841. "value": "Closed"
  842. },
  843. "style": {
  844. "type": "map<string,string>",
  845. "value": {
  846. "font-size": "18px",
  847. "font-style": "normal",
  848. "font-weight": "bold",
  849. "line-height": "100%",
  850. "letter-spacing": "0px",
  851. "word-spacing": "0px",
  852. "fill": "#000000",
  853. "fill-opacity": "1",
  854. "stroke": "none"
  855. }
  856. },
  857. "mapper": {
  858. "type": "code",
  859. "value": "var style = \n{\n \"font-size\": \"18px\",\n \"font-style\": \"normal\",\n \"font-weight\": \"bold\",\n \"line-height\": \"100%\",\n \"letter-spacing\": \"0px\",\n \"word-spacing\": \"0px\",\n \"fill\": \"#000000\",\n \"fill-opacity\": \"1\",\n \"stroke\": \"none\",\n \"font-style\": (getAttr('abstract') ? 'italic' : 'normal')\n};\n\n({'textContent': getAttr('name'), 'style':style})\n\n\n"
  860. },
  861. "parser": {
  862. "type": "code",
  863. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  864. },
  865. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  866. "position": {
  867. "type": "list<double>",
  868. "value": [
  869. 8,
  870. 8
  871. ]
  872. },
  873. "orientation": {
  874. "type": "double",
  875. "value": 0
  876. },
  877. "scale": {
  878. "type": "list<double>",
  879. "value": [
  880. 1,
  881. 1
  882. ]
  883. }
  884. },
  885. "99": {
  886. "textContent": {
  887. "type": "string",
  888. "value": ""
  889. },
  890. "style": {
  891. "type": "map<string,string>",
  892. "value": {
  893. "font-size": "14px",
  894. "font-style": "normal",
  895. "font-weight": "bold",
  896. "line-height": "100%",
  897. "letter-spacing": "0px",
  898. "word-spacing": "0px",
  899. "fill": "#000000",
  900. "fill-opacity": "1",
  901. "stroke": "none"
  902. }
  903. },
  904. "mapper": {
  905. "type": "code",
  906. "value": "var filenames = getAttr('attributes').map(\n function(attr)\n {\n var s = '+ '+attr['name'] + ' : ' + attr['type'];\n if (attr['default'])\n s += ' = ' + attr['default'];\n return s;\n });\n\n({'textContent': filenames.join('\\n')})"
  907. },
  908. "parser": {
  909. "type": "code",
  910. "value": ""
  911. },
  912. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  913. "position": {
  914. "type": "list<double>",
  915. "value": [
  916. 10,
  917. 41
  918. ]
  919. },
  920. "orientation": {
  921. "type": "double",
  922. "value": 0
  923. },
  924. "scale": {
  925. "type": "list<double>",
  926. "value": [
  927. 1,
  928. 1
  929. ]
  930. }
  931. },
  932. "100": {
  933. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  934. "position": {
  935. "type": "list<double>",
  936. "value": [
  937. 68.5,
  938. 36.5
  939. ]
  940. },
  941. "orientation": {
  942. "type": "double",
  943. "value": 0
  944. },
  945. "scale": {
  946. "type": "list<double>",
  947. "value": [
  948. 1,
  949. 1
  950. ]
  951. },
  952. "link-style": {
  953. "type": "map<string,string>",
  954. "value": {
  955. "stroke": "#00ffff",
  956. "stroke-dasharray": "",
  957. "stroke-opacity": 0.1,
  958. "stroke-width": 1
  959. }
  960. }
  961. },
  962. "101": {
  963. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  964. "position": {
  965. "type": "list<double>",
  966. "value": [
  967. 12.5,
  968. 27
  969. ]
  970. },
  971. "orientation": {
  972. "type": "double",
  973. "value": 0
  974. },
  975. "scale": {
  976. "type": "list<double>",
  977. "value": [
  978. 1,
  979. 1
  980. ]
  981. },
  982. "link-style": {
  983. "type": "map<string,string>",
  984. "value": {
  985. "stroke": "#00ffff",
  986. "stroke-dasharray": "",
  987. "stroke-opacity": 0.1,
  988. "stroke-width": 1
  989. }
  990. }
  991. },
  992. "102": {
  993. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  994. "position": {
  995. "type": "list<double>",
  996. "value": [
  997. 53.75,
  998. 20
  999. ]
  1000. },
  1001. "orientation": {
  1002. "type": "double",
  1003. "value": 0
  1004. },
  1005. "scale": {
  1006. "type": "list<double>",
  1007. "value": [
  1008. 1,
  1009. 1
  1010. ]
  1011. },
  1012. "link-style": {
  1013. "type": "map<string,string>",
  1014. "value": {
  1015. "stroke": "#00ffff",
  1016. "stroke-dasharray": "",
  1017. "stroke-opacity": 0.1,
  1018. "stroke-width": 1
  1019. }
  1020. }
  1021. }
  1022. },
  1023. "edges": [
  1024. {
  1025. "src": "96",
  1026. "dest": "100"
  1027. },
  1028. {
  1029. "src": "100",
  1030. "dest": "98"
  1031. },
  1032. {
  1033. "src": "96",
  1034. "dest": "101"
  1035. },
  1036. {
  1037. "src": "101",
  1038. "dest": "99"
  1039. },
  1040. {
  1041. "src": "96",
  1042. "dest": "102"
  1043. },
  1044. {
  1045. "src": "102",
  1046. "dest": "97"
  1047. }
  1048. ]
  1049. }
  1050. },
  1051. "$asuri": {
  1052. "type": "string",
  1053. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/5.instance"
  1054. },
  1055. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  1056. },
  1057. "6": {
  1058. "link-style": {
  1059. "type": "map<string,string>",
  1060. "value": {
  1061. "stroke": "#000000",
  1062. "stroke-dasharray": "",
  1063. "stroke-opacity": 1,
  1064. "stroke-width": 2
  1065. }
  1066. },
  1067. "arrowHead": {
  1068. "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)",
  1069. "value": "custom"
  1070. },
  1071. "arrowTail": {
  1072. "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)",
  1073. "value": "arrow-black"
  1074. },
  1075. "typename": {
  1076. "type": "string",
  1077. "value": "InheritanceLink"
  1078. },
  1079. "position": {
  1080. "type": "list<double>",
  1081. "value": [
  1082. 956.0407766862171,
  1083. 437.3550971329069
  1084. ]
  1085. },
  1086. "orientation": {
  1087. "type": "double",
  1088. "value": 0
  1089. },
  1090. "scale": {
  1091. "type": "list<double>",
  1092. "value": [
  1093. 1,
  1094. 1
  1095. ]
  1096. },
  1097. "mapper": {
  1098. "type": "code",
  1099. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1100. },
  1101. "parser": {
  1102. "type": "code",
  1103. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1104. },
  1105. "$contents": {
  1106. "type": "map<string,*>",
  1107. "value": {
  1108. "nodes": {
  1109. "164": {
  1110. "segments": {
  1111. "type": "string",
  1112. "value": "m0,0 l20,10 l-20,10 z"
  1113. },
  1114. "style": {
  1115. "type": "map<string,string>",
  1116. "value": {
  1117. "stroke": "#000000",
  1118. "fill": "#ffffff",
  1119. "opacity": 1,
  1120. "stroke-width": 1
  1121. }
  1122. },
  1123. "mapper": {
  1124. "type": "code",
  1125. "value": ""
  1126. },
  1127. "parser": {
  1128. "type": "code",
  1129. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1130. },
  1131. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1132. "position": {
  1133. "type": "list<double>",
  1134. "value": [
  1135. "0;18.33294974421426,27.08856571323083%",
  1136. "0;-102.06339133869864,-96.26115315951692%"
  1137. ]
  1138. },
  1139. "orientation": {
  1140. "type": "double",
  1141. "value": "0;-74.28302460126534"
  1142. },
  1143. "scale": {
  1144. "type": "list<double>",
  1145. "value": [
  1146. 1,
  1147. 1
  1148. ]
  1149. },
  1150. "$linkDecoratorInfo": {
  1151. "type": "map<string,double>",
  1152. "value": {
  1153. "xratio": 1,
  1154. "yoffset": -10
  1155. }
  1156. }
  1157. }
  1158. },
  1159. "edges": []
  1160. }
  1161. },
  1162. "$asuri": {
  1163. "type": "string",
  1164. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance/6.instance"
  1165. },
  1166. "$segments": {
  1167. "type": "map<string,list<string>>",
  1168. "value": {
  1169. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/4.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/6.instance": "M928,537L956.0407766862171,437.3550971329069",
  1170. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/6.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/3.instance": "M956.0406975082353,437.3553784975211L983.999841746383,338.0005623655314"
  1171. }
  1172. },
  1173. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink"
  1174. },
  1175. "7": {
  1176. "link-style": {
  1177. "type": "map<string,string>",
  1178. "value": {
  1179. "stroke": "#000000",
  1180. "stroke-dasharray": "",
  1181. "stroke-opacity": 1,
  1182. "stroke-width": 2
  1183. }
  1184. },
  1185. "arrowHead": {
  1186. "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)",
  1187. "value": "custom"
  1188. },
  1189. "arrowTail": {
  1190. "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)",
  1191. "value": "arrow-black"
  1192. },
  1193. "typename": {
  1194. "type": "string",
  1195. "value": "InheritanceLink"
  1196. },
  1197. "position": {
  1198. "type": "list<double>",
  1199. "value": [
  1200. 1097,
  1201. 437
  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. "mapper": {
  1216. "type": "code",
  1217. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1218. },
  1219. "parser": {
  1220. "type": "code",
  1221. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1222. },
  1223. "$contents": {
  1224. "type": "map<string,*>",
  1225. "value": {
  1226. "nodes": {
  1227. "164": {
  1228. "segments": {
  1229. "type": "string",
  1230. "value": "m0,0 l20,10 l-20,10 z"
  1231. },
  1232. "style": {
  1233. "type": "map<string,string>",
  1234. "value": {
  1235. "stroke": "#000000",
  1236. "fill": "#ffffff",
  1237. "opacity": 1,
  1238. "stroke-width": 1
  1239. }
  1240. },
  1241. "mapper": {
  1242. "type": "code",
  1243. "value": ""
  1244. },
  1245. "parser": {
  1246. "type": "code",
  1247. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1248. },
  1249. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1250. "position": {
  1251. "type": "list<double>",
  1252. "value": [
  1253. "0;-62.67077781839771,-49.81244605683142%",
  1254. "0;-89.01827215370321,-86.71055424707687%"
  1255. ]
  1256. },
  1257. "orientation": {
  1258. "type": "double",
  1259. "value": "0;-119.87599269168945"
  1260. },
  1261. "scale": {
  1262. "type": "list<double>",
  1263. "value": [
  1264. 1,
  1265. 1
  1266. ]
  1267. },
  1268. "$linkDecoratorInfo": {
  1269. "type": "map<string,double>",
  1270. "value": {
  1271. "xratio": 1,
  1272. "yoffset": -10
  1273. }
  1274. }
  1275. }
  1276. },
  1277. "edges": []
  1278. }
  1279. },
  1280. "$asuri": {
  1281. "type": "string",
  1282. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance/7.instance"
  1283. },
  1284. "$segments": {
  1285. "type": "map<string,list<string>>",
  1286. "value": {
  1287. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/5.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/7.instance": "M1151,531L1097,437",
  1288. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/7.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/3.instance": "M1096.9251389102035,436.869686251095L1043.00027760631,343.0004832406137"
  1289. }
  1290. },
  1291. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink"
  1292. },
  1293. "8": {
  1294. "link-style": {
  1295. "type": "map<string,string>",
  1296. "value": {
  1297. "stroke": "#000000",
  1298. "stroke-dasharray": "",
  1299. "stroke-opacity": 1,
  1300. "stroke-width": 2
  1301. }
  1302. },
  1303. "arrowHead": {
  1304. "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)",
  1305. "value": "custom"
  1306. },
  1307. "arrowTail": {
  1308. "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)",
  1309. "value": "arrow-black"
  1310. },
  1311. "typename": {
  1312. "type": "string",
  1313. "value": "AssociationLink"
  1314. },
  1315. "position": {
  1316. "type": "list<double>",
  1317. "value": [
  1318. 1210,
  1319. 273.05000713436385
  1320. ]
  1321. },
  1322. "orientation": {
  1323. "type": "double",
  1324. "value": 0
  1325. },
  1326. "scale": {
  1327. "type": "list<double>",
  1328. "value": [
  1329. 1,
  1330. 1
  1331. ]
  1332. },
  1333. "mapper": {
  1334. "type": "code",
  1335. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1336. },
  1337. "parser": {
  1338. "type": "code",
  1339. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1340. },
  1341. "$contents": {
  1342. "type": "map<string,*>",
  1343. "value": {
  1344. "nodes": {
  1345. "71": {
  1346. "textContent": {
  1347. "type": "string",
  1348. "value": "Transition"
  1349. },
  1350. "style": {
  1351. "type": "map<string,string>",
  1352. "value": {
  1353. "font-size": "20px",
  1354. "font-style": "normal",
  1355. "font-weight": "normal",
  1356. "line-height": "100%",
  1357. "letter-spacing": "0px",
  1358. "word-spacing": "0px",
  1359. "fill": "#000000",
  1360. "fill-opacity": "1",
  1361. "stroke": "none",
  1362. "font-family": "Sans"
  1363. }
  1364. },
  1365. "mapper": {
  1366. "type": "code",
  1367. "value": "({'textContent':getAttr('name')})"
  1368. },
  1369. "parser": {
  1370. "type": "code",
  1371. "value": "({'name':getAttr('textContent')})"
  1372. },
  1373. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1374. "position": {
  1375. "type": "list<double>",
  1376. "value": [
  1377. "0;28.5,0%",
  1378. "0;-28.260169163322274,0%"
  1379. ]
  1380. },
  1381. "orientation": {
  1382. "type": "double",
  1383. "value": "0;90"
  1384. },
  1385. "scale": {
  1386. "type": "list<double>",
  1387. "value": [
  1388. 1,
  1389. 1
  1390. ]
  1391. },
  1392. "$linkDecoratorInfo": {
  1393. "type": "map<string,double>",
  1394. "value": {
  1395. "xratio": 0.3803680981595092,
  1396. "yoffset": -28.5
  1397. }
  1398. }
  1399. },
  1400. "74": {
  1401. "textContent": {
  1402. "type": "string",
  1403. "value": "*"
  1404. },
  1405. "style": {
  1406. "type": "map<string,string>",
  1407. "value": {
  1408. "font-size": "20px",
  1409. "font-style": "normal",
  1410. "font-weight": "normal",
  1411. "line-height": "100%",
  1412. "letter-spacing": "0px",
  1413. "word-spacing": "0px",
  1414. "fill": "#000000",
  1415. "fill-opacity": "1",
  1416. "stroke": "none",
  1417. "font-family": "Sans"
  1418. }
  1419. },
  1420. "mapper": {
  1421. "type": "code",
  1422. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar clazz = getNeighbors('>'),\n mult = '';\nif (clazz.length > 0) {\n clazz = clazz[0];\n var cardinalities = getAttr('cardinalities', clazz), card;\n for (i = 0; i < cardinalities.length; i++) {\n if (cardinalities[i]['type'] == getAttr('name') && cardinalities[i]['dir'] == 'in') {\n card = cardinalities[i];\n break;\n }\n }\n if (card) {\n var min = card['min'],\n max = card['max'];\n if (min == '')\n min = '0';\n if (max == '' || max == 'Infinity')\n max = '*';\n if (min == '0' && max == '*')\n mult = '*';\n else if (min == max)\n mult = max;\n else mult = min + '..' + max;\n }\n}\nif (mult == '')\n mult = '*';\n({'textContent': mult})"
  1423. },
  1424. "parser": {
  1425. "type": "code",
  1426. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1427. },
  1428. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1429. "position": {
  1430. "type": "list<double>",
  1431. "value": [
  1432. "0;-60.517768069186786,0%",
  1433. "0;-68.55000713436385,0%"
  1434. ]
  1435. },
  1436. "orientation": {
  1437. "type": "double",
  1438. "value": "0;0"
  1439. },
  1440. "scale": {
  1441. "type": "list<double>",
  1442. "value": [
  1443. 1,
  1444. 1
  1445. ]
  1446. },
  1447. "$linkDecoratorInfo": {
  1448. "type": "map<string,double>",
  1449. "value": {
  1450. "xratio": 0.06134969325153374,
  1451. "yoffset": -25.5
  1452. }
  1453. }
  1454. },
  1455. "77": {
  1456. "textContent": {
  1457. "type": "string",
  1458. "value": "*"
  1459. },
  1460. "style": {
  1461. "type": "map<string,string>",
  1462. "value": {
  1463. "font-size": "20px",
  1464. "font-style": "normal",
  1465. "font-weight": "normal",
  1466. "line-height": "100%",
  1467. "letter-spacing": "0px",
  1468. "word-spacing": "0px",
  1469. "fill": "#000000",
  1470. "fill-opacity": "1",
  1471. "stroke": "none",
  1472. "font-family": "Sans"
  1473. }
  1474. },
  1475. "mapper": {
  1476. "type": "code",
  1477. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar clazz = getNeighbors('<'),\n mult = '';\nif (clazz.length > 0) {\n clazz = clazz[0];\n var cardinalities = getAttr('cardinalities', clazz), card;\n for (i = 0; i < cardinalities.length; i++) {\n if (cardinalities[i]['type'] == getAttr('name') && cardinalities[i]['dir'] == 'out') {\n card = cardinalities[i];\n break;\n }\n }\n if (card) {\n var min = card['min'],\n max = card['max'];\n if (min == '')\n min = '0';\n if (max == '' || max == 'Infinity')\n max = '*';\n if (min == '0' && max == '*')\n mult = '*';\n else if (min == max)\n mult = max;\n else mult = min + '..' + max;\n }\n}\nif (mult == '')\n mult = '*';\n({'textContent': mult})"
  1478. },
  1479. "parser": {
  1480. "type": "code",
  1481. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1482. },
  1483. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1484. "position": {
  1485. "type": "list<double>",
  1486. "value": [
  1487. "0;-74.95151572592908,-99.91792438542416%",
  1488. "0;64.43072151675847,-4.050726664274016%"
  1489. ]
  1490. },
  1491. "orientation": {
  1492. "type": "double",
  1493. "value": "0;-177.67846941016725"
  1494. },
  1495. "scale": {
  1496. "type": "list<double>",
  1497. "value": [
  1498. 1,
  1499. 1
  1500. ]
  1501. },
  1502. "$linkDecoratorInfo": {
  1503. "type": "map<string,double>",
  1504. "value": {
  1505. "xratio": 1.0245398773006136,
  1506. "yoffset": -23.5
  1507. }
  1508. }
  1509. },
  1510. "140": {
  1511. "segments": {
  1512. "type": "string",
  1513. "value": "m0,0 l20,8 l-20,8"
  1514. },
  1515. "style": {
  1516. "type": "map<string,string>",
  1517. "value": {
  1518. "stroke": "#000000",
  1519. "fill": "#000000",
  1520. "fill-opacity": 0,
  1521. "stroke-width": 1,
  1522. "opacity": 1
  1523. }
  1524. },
  1525. "mapper": {
  1526. "type": "code",
  1527. "value": ""
  1528. },
  1529. "parser": {
  1530. "type": "code",
  1531. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1532. },
  1533. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1534. "position": {
  1535. "type": "list<double>",
  1536. "value": [
  1537. "0;-74.32365309296665,-99.91792438542416%",
  1538. "0;48.94344323701773,-4.050726664274016%"
  1539. ]
  1540. },
  1541. "orientation": {
  1542. "type": "double",
  1543. "value": "0;-177.67846941016725"
  1544. },
  1545. "scale": {
  1546. "type": "list<double>",
  1547. "value": [
  1548. 1,
  1549. 1
  1550. ]
  1551. },
  1552. "$linkDecoratorInfo": {
  1553. "type": "map<string,double>",
  1554. "value": {
  1555. "xratio": 1,
  1556. "yoffset": -8
  1557. }
  1558. }
  1559. }
  1560. },
  1561. "edges": []
  1562. }
  1563. },
  1564. "$asuri": {
  1565. "type": "string",
  1566. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/8.instance"
  1567. },
  1568. "$segments": {
  1569. "type": "map<string,list<string>>",
  1570. "value": {
  1571. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/3.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/8.instance": "M1135,230L1210,230L1210,273.05000713436385",
  1572. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/8.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/3.instance": "M1210,273.05000713436385L1210,317L1136.0004050401753,314.00001642054764"
  1573. }
  1574. },
  1575. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  1576. }
  1577. },
  1578. "edges": [],
  1579. "metamodels": [
  1580. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons"
  1581. ]
  1582. },
  1583. "asm": {
  1584. "nodes": {
  1585. "3": {
  1586. "name": {
  1587. "type": "string",
  1588. "value": "State"
  1589. },
  1590. "attributes": {
  1591. "type": "list<$ATTRIBUTE>",
  1592. "value": [
  1593. {
  1594. "name": "name",
  1595. "type": "string",
  1596. "default": ""
  1597. }
  1598. ]
  1599. },
  1600. "constraints": {
  1601. "type": "list<$EVENT_HANDLER>",
  1602. "value": []
  1603. },
  1604. "actions": {
  1605. "type": "list<$EVENT_HANDLER>",
  1606. "value": []
  1607. },
  1608. "cardinalities": {
  1609. "type": "list<$CARDINALITY>",
  1610. "value": []
  1611. },
  1612. "abstract": {
  1613. "type": "boolean",
  1614. "value": true
  1615. },
  1616. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  1617. },
  1618. "4": {
  1619. "name": {
  1620. "type": "string",
  1621. "value": "Open"
  1622. },
  1623. "attributes": {
  1624. "type": "list<$ATTRIBUTE>",
  1625. "value": []
  1626. },
  1627. "constraints": {
  1628. "type": "list<$EVENT_HANDLER>",
  1629. "value": []
  1630. },
  1631. "actions": {
  1632. "type": "list<$EVENT_HANDLER>",
  1633. "value": []
  1634. },
  1635. "cardinalities": {
  1636. "type": "list<$CARDINALITY>",
  1637. "value": []
  1638. },
  1639. "abstract": {
  1640. "type": "boolean",
  1641. "value": false
  1642. },
  1643. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  1644. },
  1645. "5": {
  1646. "name": {
  1647. "type": "string",
  1648. "value": "Closed"
  1649. },
  1650. "attributes": {
  1651. "type": "list<$ATTRIBUTE>",
  1652. "value": []
  1653. },
  1654. "constraints": {
  1655. "type": "list<$EVENT_HANDLER>",
  1656. "value": []
  1657. },
  1658. "actions": {
  1659. "type": "list<$EVENT_HANDLER>",
  1660. "value": []
  1661. },
  1662. "cardinalities": {
  1663. "type": "list<$CARDINALITY>",
  1664. "value": []
  1665. },
  1666. "abstract": {
  1667. "type": "boolean",
  1668. "value": false
  1669. },
  1670. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  1671. },
  1672. "6": {
  1673. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance"
  1674. },
  1675. "7": {
  1676. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance"
  1677. },
  1678. "8": {
  1679. "name": {
  1680. "type": "string",
  1681. "value": "Transition"
  1682. },
  1683. "attributes": {
  1684. "type": "list<$ATTRIBUTE>",
  1685. "value": [
  1686. {
  1687. "name": "condition",
  1688. "type": "string",
  1689. "default": ""
  1690. },
  1691. {
  1692. "name": "event",
  1693. "type": "string",
  1694. "default": ""
  1695. }
  1696. ]
  1697. },
  1698. "constraints": {
  1699. "type": "list<$EVENT_HANDLER>",
  1700. "value": []
  1701. },
  1702. "actions": {
  1703. "type": "list<$EVENT_HANDLER>",
  1704. "value": []
  1705. },
  1706. "cardinalities": {
  1707. "type": "list<$CARDINALITY>",
  1708. "value": []
  1709. },
  1710. "linktype": {
  1711. "type": "ENUM(visual,containment)",
  1712. "value": "visual"
  1713. },
  1714. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  1715. }
  1716. },
  1717. "edges": [
  1718. {
  1719. "src": "4",
  1720. "dest": "6"
  1721. },
  1722. {
  1723. "src": "6",
  1724. "dest": "3"
  1725. },
  1726. {
  1727. "src": "5",
  1728. "dest": "7"
  1729. },
  1730. {
  1731. "src": "7",
  1732. "dest": "3"
  1733. },
  1734. {
  1735. "src": "3",
  1736. "dest": "8"
  1737. },
  1738. {
  1739. "src": "8",
  1740. "dest": "3"
  1741. }
  1742. ],
  1743. "metamodels": [
  1744. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram"
  1745. ]
  1746. }
  1747. }