TestMetamodel.model 115 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336
  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. 354,
  13. 153
  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": "Alone"
  140. },
  141. "style": {
  142. "type": "map<string,string>",
  143. "value": {
  144. "font-size": "18px",
  145. "font-style": "normal",
  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": ""
  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/0.instance"
  352. },
  353. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  354. },
  355. "1": {
  356. "typename": {
  357. "type": "string",
  358. "value": "ClassIcon"
  359. },
  360. "position": {
  361. "type": "list<double>",
  362. "value": [
  363. 639,
  364. 162
  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": "AloneAttr"
  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": "+ int : int\n+ string : string = Hola\n+ float : float\n+ boolean : boolean = true\n+ code : code\n+ file_html : file<*.html>\n+ map_int_string : map<int,string>\n+ list_int : lis<int> = 1,2\n+ enum : ENUM(One,Two,Three)\n+ enum2 : ENUM(Four,Five,Six,Seven)"
  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/1.instance"
  703. },
  704. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  705. },
  706. "2": {
  707. "typename": {
  708. "type": "string",
  709. "value": "ClassIcon"
  710. },
  711. "position": {
  712. "type": "list<double>",
  713. "value": [
  714. 308,
  715. 422
  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": "Source"
  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/2.instance"
  1054. },
  1055. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  1056. },
  1057. "3": {
  1058. "typename": {
  1059. "type": "string",
  1060. "value": "ClassIcon"
  1061. },
  1062. "position": {
  1063. "type": "list<double>",
  1064. "value": [
  1065. 796,
  1066. 426
  1067. ]
  1068. },
  1069. "orientation": {
  1070. "type": "double",
  1071. "value": 0
  1072. },
  1073. "scale": {
  1074. "type": "list<double>",
  1075. "value": [
  1076. 1,
  1077. 1
  1078. ]
  1079. },
  1080. "mapper": {
  1081. "type": "code",
  1082. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1083. },
  1084. "parser": {
  1085. "type": "code",
  1086. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1087. },
  1088. "$contents": {
  1089. "type": "map<string,*>",
  1090. "value": {
  1091. "nodes": {
  1092. "96": {
  1093. "width": {
  1094. "type": "double",
  1095. "value": 200
  1096. },
  1097. "height": {
  1098. "type": "double",
  1099. "value": 125
  1100. },
  1101. "cornerRadius": {
  1102. "type": "double",
  1103. "value": 0
  1104. },
  1105. "style": {
  1106. "type": "map<string,string>",
  1107. "value": {
  1108. "stroke": "#000000",
  1109. "stroke-dasharray": "",
  1110. "fill": "#ffffff",
  1111. "fill-opacity": 0.75,
  1112. "stroke-width": 2
  1113. }
  1114. },
  1115. "mapper": {
  1116. "type": "code",
  1117. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1118. },
  1119. "parser": {
  1120. "type": "code",
  1121. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1122. },
  1123. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  1124. "position": {
  1125. "type": "list<double>",
  1126. "value": [
  1127. 4,
  1128. 3
  1129. ]
  1130. },
  1131. "orientation": {
  1132. "type": "double",
  1133. "value": 0
  1134. },
  1135. "scale": {
  1136. "type": "list<double>",
  1137. "value": [
  1138. 1,
  1139. 1
  1140. ]
  1141. }
  1142. },
  1143. "97": {
  1144. "segments": {
  1145. "type": "string",
  1146. "value": "m0,0l197,0"
  1147. },
  1148. "style": {
  1149. "type": "map<string,string>",
  1150. "value": {
  1151. "stroke": "#000000",
  1152. "stroke-dasharray": "",
  1153. "fill": "#ffffff",
  1154. "fill-opacity": 0.75,
  1155. "font-size": "20px",
  1156. "stroke-width": 2,
  1157. "arrow-start": "none",
  1158. "arrow-end": "none"
  1159. }
  1160. },
  1161. "mapper": {
  1162. "type": "code",
  1163. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1164. },
  1165. "parser": {
  1166. "type": "code",
  1167. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1168. },
  1169. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1170. "position": {
  1171. "type": "list<double>",
  1172. "value": [
  1173. 6,
  1174. 36
  1175. ]
  1176. },
  1177. "orientation": {
  1178. "type": "double",
  1179. "value": 0
  1180. },
  1181. "scale": {
  1182. "type": "list<double>",
  1183. "value": [
  1184. 1,
  1185. 1
  1186. ]
  1187. }
  1188. },
  1189. "98": {
  1190. "textContent": {
  1191. "type": "string",
  1192. "value": "TargetAbstract"
  1193. },
  1194. "style": {
  1195. "type": "map<string,string>",
  1196. "value": {
  1197. "font-size": "18px",
  1198. "font-style": "italic",
  1199. "font-weight": "bold",
  1200. "line-height": "100%",
  1201. "letter-spacing": "0px",
  1202. "word-spacing": "0px",
  1203. "fill": "#000000",
  1204. "fill-opacity": "1",
  1205. "stroke": "none"
  1206. }
  1207. },
  1208. "mapper": {
  1209. "type": "code",
  1210. "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"
  1211. },
  1212. "parser": {
  1213. "type": "code",
  1214. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  1215. },
  1216. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1217. "position": {
  1218. "type": "list<double>",
  1219. "value": [
  1220. 8,
  1221. 8
  1222. ]
  1223. },
  1224. "orientation": {
  1225. "type": "double",
  1226. "value": 0
  1227. },
  1228. "scale": {
  1229. "type": "list<double>",
  1230. "value": [
  1231. 1,
  1232. 1
  1233. ]
  1234. }
  1235. },
  1236. "99": {
  1237. "textContent": {
  1238. "type": "string",
  1239. "value": "+ name : string"
  1240. },
  1241. "style": {
  1242. "type": "map<string,string>",
  1243. "value": {
  1244. "font-size": "14px",
  1245. "font-style": "normal",
  1246. "font-weight": "bold",
  1247. "line-height": "100%",
  1248. "letter-spacing": "0px",
  1249. "word-spacing": "0px",
  1250. "fill": "#000000",
  1251. "fill-opacity": "1",
  1252. "stroke": "none"
  1253. }
  1254. },
  1255. "mapper": {
  1256. "type": "code",
  1257. "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')})"
  1258. },
  1259. "parser": {
  1260. "type": "code",
  1261. "value": ""
  1262. },
  1263. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1264. "position": {
  1265. "type": "list<double>",
  1266. "value": [
  1267. 10,
  1268. 41
  1269. ]
  1270. },
  1271. "orientation": {
  1272. "type": "double",
  1273. "value": 0
  1274. },
  1275. "scale": {
  1276. "type": "list<double>",
  1277. "value": [
  1278. 1,
  1279. 1
  1280. ]
  1281. }
  1282. },
  1283. "100": {
  1284. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1285. "position": {
  1286. "type": "list<double>",
  1287. "value": [
  1288. 68.5,
  1289. 36.5
  1290. ]
  1291. },
  1292. "orientation": {
  1293. "type": "double",
  1294. "value": 0
  1295. },
  1296. "scale": {
  1297. "type": "list<double>",
  1298. "value": [
  1299. 1,
  1300. 1
  1301. ]
  1302. },
  1303. "link-style": {
  1304. "type": "map<string,string>",
  1305. "value": {
  1306. "stroke": "#00ffff",
  1307. "stroke-dasharray": "",
  1308. "stroke-opacity": 0.1,
  1309. "stroke-width": 1
  1310. }
  1311. }
  1312. },
  1313. "101": {
  1314. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1315. "position": {
  1316. "type": "list<double>",
  1317. "value": [
  1318. 12.5,
  1319. 27
  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. "link-style": {
  1334. "type": "map<string,string>",
  1335. "value": {
  1336. "stroke": "#00ffff",
  1337. "stroke-dasharray": "",
  1338. "stroke-opacity": 0.1,
  1339. "stroke-width": 1
  1340. }
  1341. }
  1342. },
  1343. "102": {
  1344. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1345. "position": {
  1346. "type": "list<double>",
  1347. "value": [
  1348. 53.75,
  1349. 20
  1350. ]
  1351. },
  1352. "orientation": {
  1353. "type": "double",
  1354. "value": 0
  1355. },
  1356. "scale": {
  1357. "type": "list<double>",
  1358. "value": [
  1359. 1,
  1360. 1
  1361. ]
  1362. },
  1363. "link-style": {
  1364. "type": "map<string,string>",
  1365. "value": {
  1366. "stroke": "#00ffff",
  1367. "stroke-dasharray": "",
  1368. "stroke-opacity": 0.1,
  1369. "stroke-width": 1
  1370. }
  1371. }
  1372. }
  1373. },
  1374. "edges": [
  1375. {
  1376. "src": "96",
  1377. "dest": "100"
  1378. },
  1379. {
  1380. "src": "100",
  1381. "dest": "98"
  1382. },
  1383. {
  1384. "src": "96",
  1385. "dest": "101"
  1386. },
  1387. {
  1388. "src": "101",
  1389. "dest": "99"
  1390. },
  1391. {
  1392. "src": "96",
  1393. "dest": "102"
  1394. },
  1395. {
  1396. "src": "102",
  1397. "dest": "97"
  1398. }
  1399. ]
  1400. }
  1401. },
  1402. "$asuri": {
  1403. "type": "string",
  1404. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/3.instance"
  1405. },
  1406. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  1407. },
  1408. "4": {
  1409. "link-style": {
  1410. "type": "map<string,string>",
  1411. "value": {
  1412. "stroke": "#000000",
  1413. "stroke-dasharray": "",
  1414. "stroke-opacity": 1,
  1415. "stroke-width": 2
  1416. }
  1417. },
  1418. "arrowHead": {
  1419. "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)",
  1420. "value": "custom"
  1421. },
  1422. "arrowTail": {
  1423. "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)",
  1424. "value": "arrow-black"
  1425. },
  1426. "typename": {
  1427. "type": "string",
  1428. "value": "AssociationLink"
  1429. },
  1430. "position": {
  1431. "type": "list<double>",
  1432. "value": [
  1433. 601,
  1434. 475.5
  1435. ]
  1436. },
  1437. "orientation": {
  1438. "type": "double",
  1439. "value": 0
  1440. },
  1441. "scale": {
  1442. "type": "list<double>",
  1443. "value": [
  1444. 1,
  1445. 1
  1446. ]
  1447. },
  1448. "mapper": {
  1449. "type": "code",
  1450. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1451. },
  1452. "parser": {
  1453. "type": "code",
  1454. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1455. },
  1456. "$contents": {
  1457. "type": "map<string,*>",
  1458. "value": {
  1459. "nodes": {
  1460. "71": {
  1461. "textContent": {
  1462. "type": "string",
  1463. "value": "OneToOne"
  1464. },
  1465. "style": {
  1466. "type": "map<string,string>",
  1467. "value": {
  1468. "font-size": "20px",
  1469. "font-style": "normal",
  1470. "font-weight": "normal",
  1471. "line-height": "100%",
  1472. "letter-spacing": "0px",
  1473. "word-spacing": "0px",
  1474. "fill": "#000000",
  1475. "fill-opacity": "1",
  1476. "stroke": "none",
  1477. "font-family": "Sans"
  1478. }
  1479. },
  1480. "mapper": {
  1481. "type": "code",
  1482. "value": "({'textContent':getAttr('name')})"
  1483. },
  1484. "parser": {
  1485. "type": "code",
  1486. "value": "({'name':getAttr('textContent')})"
  1487. },
  1488. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1489. "position": {
  1490. "type": "list<double>",
  1491. "value": [
  1492. "0;19.751624218071584,0%",
  1493. "0;-28.37123342015326,0%"
  1494. ]
  1495. },
  1496. "orientation": {
  1497. "type": "double",
  1498. "value": "0;0.3752960313772537"
  1499. },
  1500. "scale": {
  1501. "type": "list<double>",
  1502. "value": [
  1503. 1,
  1504. 1
  1505. ]
  1506. },
  1507. "$linkDecoratorInfo": {
  1508. "type": "map<string,double>",
  1509. "value": {
  1510. "xratio": 0.3803680981595092,
  1511. "yoffset": -28.5
  1512. }
  1513. }
  1514. },
  1515. "74": {
  1516. "textContent": {
  1517. "type": "string",
  1518. "value": "1"
  1519. },
  1520. "style": {
  1521. "type": "map<string,string>",
  1522. "value": {
  1523. "font-size": "20px",
  1524. "font-style": "normal",
  1525. "font-weight": "normal",
  1526. "line-height": "100%",
  1527. "letter-spacing": "0px",
  1528. "word-spacing": "0px",
  1529. "fill": "#000000",
  1530. "fill-opacity": "1",
  1531. "stroke": "none",
  1532. "font-family": "Sans"
  1533. }
  1534. },
  1535. "mapper": {
  1536. "type": "code",
  1537. "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})"
  1538. },
  1539. "parser": {
  1540. "type": "code",
  1541. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1542. },
  1543. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1544. "position": {
  1545. "type": "list<double>",
  1546. "value": [
  1547. "0;-88.3806550991468,0%",
  1548. "0;-25.09485243500791,0%"
  1549. ]
  1550. },
  1551. "orientation": {
  1552. "type": "double",
  1553. "value": "0;-0.26282283323652145"
  1554. },
  1555. "scale": {
  1556. "type": "list<double>",
  1557. "value": [
  1558. 1,
  1559. 1
  1560. ]
  1561. },
  1562. "$linkDecoratorInfo": {
  1563. "type": "map<string,double>",
  1564. "value": {
  1565. "xratio": 0.06134969325153374,
  1566. "yoffset": -25.5
  1567. }
  1568. }
  1569. },
  1570. "77": {
  1571. "textContent": {
  1572. "type": "string",
  1573. "value": "1"
  1574. },
  1575. "style": {
  1576. "type": "map<string,string>",
  1577. "value": {
  1578. "font-size": "20px",
  1579. "font-style": "normal",
  1580. "font-weight": "normal",
  1581. "line-height": "100%",
  1582. "letter-spacing": "0px",
  1583. "word-spacing": "0px",
  1584. "fill": "#000000",
  1585. "fill-opacity": "1",
  1586. "stroke": "none",
  1587. "font-family": "Sans"
  1588. }
  1589. },
  1590. "mapper": {
  1591. "type": "code",
  1592. "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})"
  1593. },
  1594. "parser": {
  1595. "type": "code",
  1596. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1597. },
  1598. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1599. "position": {
  1600. "type": "list<double>",
  1601. "value": [
  1602. "0;229.15337733555873,99.99785478349055%",
  1603. "0;-21.999493350624675,0.6550104578824175%"
  1604. ]
  1605. },
  1606. "orientation": {
  1607. "type": "double",
  1608. "value": "0;0.3752960313772537"
  1609. },
  1610. "scale": {
  1611. "type": "list<double>",
  1612. "value": [
  1613. 1,
  1614. 1
  1615. ]
  1616. },
  1617. "$linkDecoratorInfo": {
  1618. "type": "map<string,double>",
  1619. "value": {
  1620. "xratio": 1.0245398773006136,
  1621. "yoffset": -23.5
  1622. }
  1623. }
  1624. },
  1625. "140": {
  1626. "segments": {
  1627. "type": "string",
  1628. "value": "m0,0 l20,8 l-20,8"
  1629. },
  1630. "style": {
  1631. "type": "map<string,string>",
  1632. "value": {
  1633. "stroke": "#000000",
  1634. "fill": "#000000",
  1635. "fill-opacity": 0,
  1636. "stroke-width": 1,
  1637. "opacity": 1
  1638. }
  1639. },
  1640. "mapper": {
  1641. "type": "code",
  1642. "value": ""
  1643. },
  1644. "parser": {
  1645. "type": "code",
  1646. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1647. },
  1648. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1649. "position": {
  1650. "type": "list<double>",
  1651. "value": [
  1652. "0;229.05185071458698,99.99785478349055%",
  1653. "0;-6.499825859183659,0.6550104578824175%"
  1654. ]
  1655. },
  1656. "orientation": {
  1657. "type": "double",
  1658. "value": "0;0.3752960313772537"
  1659. },
  1660. "scale": {
  1661. "type": "list<double>",
  1662. "value": [
  1663. 1,
  1664. 1
  1665. ]
  1666. },
  1667. "$linkDecoratorInfo": {
  1668. "type": "map<string,double>",
  1669. "value": {
  1670. "xratio": 1,
  1671. "yoffset": -8
  1672. }
  1673. }
  1674. }
  1675. },
  1676. "edges": []
  1677. }
  1678. },
  1679. "$asuri": {
  1680. "type": "string",
  1681. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/4.instance"
  1682. },
  1683. "$segments": {
  1684. "type": "map<string,list<string>>",
  1685. "value": {
  1686. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/2.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/4.instance": "M492,476L601,475.5",
  1687. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/4.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/3.instance": "M601.1497247287894,475.49931318931743L829.9994498779564,477.0000025234956"
  1688. }
  1689. },
  1690. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  1691. },
  1692. "5": {
  1693. "typename": {
  1694. "type": "string",
  1695. "value": "ClassIcon"
  1696. },
  1697. "position": {
  1698. "type": "list<double>",
  1699. "value": [
  1700. 659,
  1701. 671
  1702. ]
  1703. },
  1704. "orientation": {
  1705. "type": "double",
  1706. "value": 0
  1707. },
  1708. "scale": {
  1709. "type": "list<double>",
  1710. "value": [
  1711. 1,
  1712. 1
  1713. ]
  1714. },
  1715. "mapper": {
  1716. "type": "code",
  1717. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1718. },
  1719. "parser": {
  1720. "type": "code",
  1721. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1722. },
  1723. "$contents": {
  1724. "type": "map<string,*>",
  1725. "value": {
  1726. "nodes": {
  1727. "96": {
  1728. "width": {
  1729. "type": "double",
  1730. "value": 200
  1731. },
  1732. "height": {
  1733. "type": "double",
  1734. "value": 125
  1735. },
  1736. "cornerRadius": {
  1737. "type": "double",
  1738. "value": 0
  1739. },
  1740. "style": {
  1741. "type": "map<string,string>",
  1742. "value": {
  1743. "stroke": "#000000",
  1744. "stroke-dasharray": "",
  1745. "fill": "#ffffff",
  1746. "fill-opacity": 0.75,
  1747. "stroke-width": 2
  1748. }
  1749. },
  1750. "mapper": {
  1751. "type": "code",
  1752. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1753. },
  1754. "parser": {
  1755. "type": "code",
  1756. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1757. },
  1758. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  1759. "position": {
  1760. "type": "list<double>",
  1761. "value": [
  1762. 4,
  1763. 3
  1764. ]
  1765. },
  1766. "orientation": {
  1767. "type": "double",
  1768. "value": 0
  1769. },
  1770. "scale": {
  1771. "type": "list<double>",
  1772. "value": [
  1773. 1,
  1774. 1
  1775. ]
  1776. }
  1777. },
  1778. "97": {
  1779. "segments": {
  1780. "type": "string",
  1781. "value": "m0,0l197,0"
  1782. },
  1783. "style": {
  1784. "type": "map<string,string>",
  1785. "value": {
  1786. "stroke": "#000000",
  1787. "stroke-dasharray": "",
  1788. "fill": "#ffffff",
  1789. "fill-opacity": 0.75,
  1790. "font-size": "20px",
  1791. "stroke-width": 2,
  1792. "arrow-start": "none",
  1793. "arrow-end": "none"
  1794. }
  1795. },
  1796. "mapper": {
  1797. "type": "code",
  1798. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1799. },
  1800. "parser": {
  1801. "type": "code",
  1802. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1803. },
  1804. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1805. "position": {
  1806. "type": "list<double>",
  1807. "value": [
  1808. 6,
  1809. 36
  1810. ]
  1811. },
  1812. "orientation": {
  1813. "type": "double",
  1814. "value": 0
  1815. },
  1816. "scale": {
  1817. "type": "list<double>",
  1818. "value": [
  1819. 1,
  1820. 1
  1821. ]
  1822. }
  1823. },
  1824. "98": {
  1825. "textContent": {
  1826. "type": "string",
  1827. "value": "Sub1"
  1828. },
  1829. "style": {
  1830. "type": "map<string,string>",
  1831. "value": {
  1832. "font-size": "18px",
  1833. "font-style": "normal",
  1834. "font-weight": "bold",
  1835. "line-height": "100%",
  1836. "letter-spacing": "0px",
  1837. "word-spacing": "0px",
  1838. "fill": "#000000",
  1839. "fill-opacity": "1",
  1840. "stroke": "none"
  1841. }
  1842. },
  1843. "mapper": {
  1844. "type": "code",
  1845. "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"
  1846. },
  1847. "parser": {
  1848. "type": "code",
  1849. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  1850. },
  1851. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1852. "position": {
  1853. "type": "list<double>",
  1854. "value": [
  1855. 8,
  1856. 8
  1857. ]
  1858. },
  1859. "orientation": {
  1860. "type": "double",
  1861. "value": 0
  1862. },
  1863. "scale": {
  1864. "type": "list<double>",
  1865. "value": [
  1866. 1,
  1867. 1
  1868. ]
  1869. }
  1870. },
  1871. "99": {
  1872. "textContent": {
  1873. "type": "string",
  1874. "value": ""
  1875. },
  1876. "style": {
  1877. "type": "map<string,string>",
  1878. "value": {
  1879. "font-size": "14px",
  1880. "font-style": "normal",
  1881. "font-weight": "bold",
  1882. "line-height": "100%",
  1883. "letter-spacing": "0px",
  1884. "word-spacing": "0px",
  1885. "fill": "#000000",
  1886. "fill-opacity": "1",
  1887. "stroke": "none"
  1888. }
  1889. },
  1890. "mapper": {
  1891. "type": "code",
  1892. "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')})"
  1893. },
  1894. "parser": {
  1895. "type": "code",
  1896. "value": ""
  1897. },
  1898. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1899. "position": {
  1900. "type": "list<double>",
  1901. "value": [
  1902. 10,
  1903. 41
  1904. ]
  1905. },
  1906. "orientation": {
  1907. "type": "double",
  1908. "value": 0
  1909. },
  1910. "scale": {
  1911. "type": "list<double>",
  1912. "value": [
  1913. 1,
  1914. 1
  1915. ]
  1916. }
  1917. },
  1918. "100": {
  1919. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1920. "position": {
  1921. "type": "list<double>",
  1922. "value": [
  1923. 68.5,
  1924. 36.5
  1925. ]
  1926. },
  1927. "orientation": {
  1928. "type": "double",
  1929. "value": 0
  1930. },
  1931. "scale": {
  1932. "type": "list<double>",
  1933. "value": [
  1934. 1,
  1935. 1
  1936. ]
  1937. },
  1938. "link-style": {
  1939. "type": "map<string,string>",
  1940. "value": {
  1941. "stroke": "#00ffff",
  1942. "stroke-dasharray": "",
  1943. "stroke-opacity": 0.1,
  1944. "stroke-width": 1
  1945. }
  1946. }
  1947. },
  1948. "101": {
  1949. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1950. "position": {
  1951. "type": "list<double>",
  1952. "value": [
  1953. 12.5,
  1954. 27
  1955. ]
  1956. },
  1957. "orientation": {
  1958. "type": "double",
  1959. "value": 0
  1960. },
  1961. "scale": {
  1962. "type": "list<double>",
  1963. "value": [
  1964. 1,
  1965. 1
  1966. ]
  1967. },
  1968. "link-style": {
  1969. "type": "map<string,string>",
  1970. "value": {
  1971. "stroke": "#00ffff",
  1972. "stroke-dasharray": "",
  1973. "stroke-opacity": 0.1,
  1974. "stroke-width": 1
  1975. }
  1976. }
  1977. },
  1978. "102": {
  1979. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1980. "position": {
  1981. "type": "list<double>",
  1982. "value": [
  1983. 53.75,
  1984. 20
  1985. ]
  1986. },
  1987. "orientation": {
  1988. "type": "double",
  1989. "value": 0
  1990. },
  1991. "scale": {
  1992. "type": "list<double>",
  1993. "value": [
  1994. 1,
  1995. 1
  1996. ]
  1997. },
  1998. "link-style": {
  1999. "type": "map<string,string>",
  2000. "value": {
  2001. "stroke": "#00ffff",
  2002. "stroke-dasharray": "",
  2003. "stroke-opacity": 0.1,
  2004. "stroke-width": 1
  2005. }
  2006. }
  2007. }
  2008. },
  2009. "edges": [
  2010. {
  2011. "src": "96",
  2012. "dest": "100"
  2013. },
  2014. {
  2015. "src": "100",
  2016. "dest": "98"
  2017. },
  2018. {
  2019. "src": "96",
  2020. "dest": "101"
  2021. },
  2022. {
  2023. "src": "101",
  2024. "dest": "99"
  2025. },
  2026. {
  2027. "src": "96",
  2028. "dest": "102"
  2029. },
  2030. {
  2031. "src": "102",
  2032. "dest": "97"
  2033. }
  2034. ]
  2035. }
  2036. },
  2037. "$asuri": {
  2038. "type": "string",
  2039. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/5.instance"
  2040. },
  2041. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  2042. },
  2043. "6": {
  2044. "typename": {
  2045. "type": "string",
  2046. "value": "ClassIcon"
  2047. },
  2048. "position": {
  2049. "type": "list<double>",
  2050. "value": [
  2051. 1007,
  2052. 693
  2053. ]
  2054. },
  2055. "orientation": {
  2056. "type": "double",
  2057. "value": 0
  2058. },
  2059. "scale": {
  2060. "type": "list<double>",
  2061. "value": [
  2062. 1,
  2063. 1
  2064. ]
  2065. },
  2066. "mapper": {
  2067. "type": "code",
  2068. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2069. },
  2070. "parser": {
  2071. "type": "code",
  2072. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2073. },
  2074. "$contents": {
  2075. "type": "map<string,*>",
  2076. "value": {
  2077. "nodes": {
  2078. "96": {
  2079. "width": {
  2080. "type": "double",
  2081. "value": 200
  2082. },
  2083. "height": {
  2084. "type": "double",
  2085. "value": 125
  2086. },
  2087. "cornerRadius": {
  2088. "type": "double",
  2089. "value": 0
  2090. },
  2091. "style": {
  2092. "type": "map<string,string>",
  2093. "value": {
  2094. "stroke": "#000000",
  2095. "stroke-dasharray": "",
  2096. "fill": "#ffffff",
  2097. "fill-opacity": 0.75,
  2098. "stroke-width": 2
  2099. }
  2100. },
  2101. "mapper": {
  2102. "type": "code",
  2103. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2104. },
  2105. "parser": {
  2106. "type": "code",
  2107. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2108. },
  2109. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  2110. "position": {
  2111. "type": "list<double>",
  2112. "value": [
  2113. 4,
  2114. 3
  2115. ]
  2116. },
  2117. "orientation": {
  2118. "type": "double",
  2119. "value": 0
  2120. },
  2121. "scale": {
  2122. "type": "list<double>",
  2123. "value": [
  2124. 1,
  2125. 1
  2126. ]
  2127. }
  2128. },
  2129. "97": {
  2130. "segments": {
  2131. "type": "string",
  2132. "value": "m0,0l197,0"
  2133. },
  2134. "style": {
  2135. "type": "map<string,string>",
  2136. "value": {
  2137. "stroke": "#000000",
  2138. "stroke-dasharray": "",
  2139. "fill": "#ffffff",
  2140. "fill-opacity": 0.75,
  2141. "font-size": "20px",
  2142. "stroke-width": 2,
  2143. "arrow-start": "none",
  2144. "arrow-end": "none"
  2145. }
  2146. },
  2147. "mapper": {
  2148. "type": "code",
  2149. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2150. },
  2151. "parser": {
  2152. "type": "code",
  2153. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2154. },
  2155. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  2156. "position": {
  2157. "type": "list<double>",
  2158. "value": [
  2159. 6,
  2160. 36
  2161. ]
  2162. },
  2163. "orientation": {
  2164. "type": "double",
  2165. "value": 0
  2166. },
  2167. "scale": {
  2168. "type": "list<double>",
  2169. "value": [
  2170. 1,
  2171. 1
  2172. ]
  2173. }
  2174. },
  2175. "98": {
  2176. "textContent": {
  2177. "type": "string",
  2178. "value": "Sub2"
  2179. },
  2180. "style": {
  2181. "type": "map<string,string>",
  2182. "value": {
  2183. "font-size": "18px",
  2184. "font-style": "normal",
  2185. "font-weight": "bold",
  2186. "line-height": "100%",
  2187. "letter-spacing": "0px",
  2188. "word-spacing": "0px",
  2189. "fill": "#000000",
  2190. "fill-opacity": "1",
  2191. "stroke": "none"
  2192. }
  2193. },
  2194. "mapper": {
  2195. "type": "code",
  2196. "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"
  2197. },
  2198. "parser": {
  2199. "type": "code",
  2200. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  2201. },
  2202. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2203. "position": {
  2204. "type": "list<double>",
  2205. "value": [
  2206. 8,
  2207. 8
  2208. ]
  2209. },
  2210. "orientation": {
  2211. "type": "double",
  2212. "value": 0
  2213. },
  2214. "scale": {
  2215. "type": "list<double>",
  2216. "value": [
  2217. 1,
  2218. 1
  2219. ]
  2220. }
  2221. },
  2222. "99": {
  2223. "textContent": {
  2224. "type": "string",
  2225. "value": ""
  2226. },
  2227. "style": {
  2228. "type": "map<string,string>",
  2229. "value": {
  2230. "font-size": "14px",
  2231. "font-style": "normal",
  2232. "font-weight": "bold",
  2233. "line-height": "100%",
  2234. "letter-spacing": "0px",
  2235. "word-spacing": "0px",
  2236. "fill": "#000000",
  2237. "fill-opacity": "1",
  2238. "stroke": "none"
  2239. }
  2240. },
  2241. "mapper": {
  2242. "type": "code",
  2243. "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')})"
  2244. },
  2245. "parser": {
  2246. "type": "code",
  2247. "value": ""
  2248. },
  2249. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2250. "position": {
  2251. "type": "list<double>",
  2252. "value": [
  2253. 10,
  2254. 41
  2255. ]
  2256. },
  2257. "orientation": {
  2258. "type": "double",
  2259. "value": 0
  2260. },
  2261. "scale": {
  2262. "type": "list<double>",
  2263. "value": [
  2264. 1,
  2265. 1
  2266. ]
  2267. }
  2268. },
  2269. "100": {
  2270. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2271. "position": {
  2272. "type": "list<double>",
  2273. "value": [
  2274. 68.5,
  2275. 36.5
  2276. ]
  2277. },
  2278. "orientation": {
  2279. "type": "double",
  2280. "value": 0
  2281. },
  2282. "scale": {
  2283. "type": "list<double>",
  2284. "value": [
  2285. 1,
  2286. 1
  2287. ]
  2288. },
  2289. "link-style": {
  2290. "type": "map<string,string>",
  2291. "value": {
  2292. "stroke": "#00ffff",
  2293. "stroke-dasharray": "",
  2294. "stroke-opacity": 0.1,
  2295. "stroke-width": 1
  2296. }
  2297. }
  2298. },
  2299. "101": {
  2300. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2301. "position": {
  2302. "type": "list<double>",
  2303. "value": [
  2304. 12.5,
  2305. 27
  2306. ]
  2307. },
  2308. "orientation": {
  2309. "type": "double",
  2310. "value": 0
  2311. },
  2312. "scale": {
  2313. "type": "list<double>",
  2314. "value": [
  2315. 1,
  2316. 1
  2317. ]
  2318. },
  2319. "link-style": {
  2320. "type": "map<string,string>",
  2321. "value": {
  2322. "stroke": "#00ffff",
  2323. "stroke-dasharray": "",
  2324. "stroke-opacity": 0.1,
  2325. "stroke-width": 1
  2326. }
  2327. }
  2328. },
  2329. "102": {
  2330. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2331. "position": {
  2332. "type": "list<double>",
  2333. "value": [
  2334. 53.75,
  2335. 20
  2336. ]
  2337. },
  2338. "orientation": {
  2339. "type": "double",
  2340. "value": 0
  2341. },
  2342. "scale": {
  2343. "type": "list<double>",
  2344. "value": [
  2345. 1,
  2346. 1
  2347. ]
  2348. },
  2349. "link-style": {
  2350. "type": "map<string,string>",
  2351. "value": {
  2352. "stroke": "#00ffff",
  2353. "stroke-dasharray": "",
  2354. "stroke-opacity": 0.1,
  2355. "stroke-width": 1
  2356. }
  2357. }
  2358. }
  2359. },
  2360. "edges": [
  2361. {
  2362. "src": "96",
  2363. "dest": "100"
  2364. },
  2365. {
  2366. "src": "100",
  2367. "dest": "98"
  2368. },
  2369. {
  2370. "src": "96",
  2371. "dest": "101"
  2372. },
  2373. {
  2374. "src": "101",
  2375. "dest": "99"
  2376. },
  2377. {
  2378. "src": "96",
  2379. "dest": "102"
  2380. },
  2381. {
  2382. "src": "102",
  2383. "dest": "97"
  2384. }
  2385. ]
  2386. }
  2387. },
  2388. "$asuri": {
  2389. "type": "string",
  2390. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/6.instance"
  2391. },
  2392. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  2393. },
  2394. "7": {
  2395. "link-style": {
  2396. "type": "map<string,string>",
  2397. "value": {
  2398. "stroke": "#000000",
  2399. "stroke-dasharray": "",
  2400. "stroke-opacity": 1,
  2401. "stroke-width": 2
  2402. }
  2403. },
  2404. "arrowHead": {
  2405. "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)",
  2406. "value": "custom"
  2407. },
  2408. "arrowTail": {
  2409. "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)",
  2410. "value": "arrow-black"
  2411. },
  2412. "typename": {
  2413. "type": "string",
  2414. "value": "InheritanceLink"
  2415. },
  2416. "position": {
  2417. "type": "list<double>",
  2418. "value": [
  2419. 817.5519607547179,
  2420. 605.8588236098233
  2421. ]
  2422. },
  2423. "orientation": {
  2424. "type": "double",
  2425. "value": 0
  2426. },
  2427. "scale": {
  2428. "type": "list<double>",
  2429. "value": [
  2430. 1,
  2431. 1
  2432. ]
  2433. },
  2434. "mapper": {
  2435. "type": "code",
  2436. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2437. },
  2438. "parser": {
  2439. "type": "code",
  2440. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2441. },
  2442. "$contents": {
  2443. "type": "map<string,*>",
  2444. "value": {
  2445. "nodes": {
  2446. "164": {
  2447. "segments": {
  2448. "type": "string",
  2449. "value": "m0,0 l20,10 l-20,10 z"
  2450. },
  2451. "style": {
  2452. "type": "map<string,string>",
  2453. "value": {
  2454. "stroke": "#000000",
  2455. "fill": "#ffffff",
  2456. "opacity": 1,
  2457. "stroke-width": 1
  2458. }
  2459. },
  2460. "mapper": {
  2461. "type": "code",
  2462. "value": ""
  2463. },
  2464. "parser": {
  2465. "type": "code",
  2466. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2467. },
  2468. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  2469. "position": {
  2470. "type": "list<double>",
  2471. "value": [
  2472. "0;17.063224443469835,34.54033315658438%",
  2473. "0;-75.31211939114985,-93.84543348204087%"
  2474. ]
  2475. },
  2476. "orientation": {
  2477. "type": "double",
  2478. "value": "0;-69.79358143704397"
  2479. },
  2480. "scale": {
  2481. "type": "list<double>",
  2482. "value": [
  2483. 1,
  2484. 1
  2485. ]
  2486. },
  2487. "$linkDecoratorInfo": {
  2488. "type": "map<string,double>",
  2489. "value": {
  2490. "xratio": 1,
  2491. "yoffset": -10
  2492. }
  2493. }
  2494. }
  2495. },
  2496. "edges": []
  2497. }
  2498. },
  2499. "$asuri": {
  2500. "type": "string",
  2501. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance/7.instance"
  2502. },
  2503. "$segments": {
  2504. "type": "map<string,list<string>>",
  2505. "value": {
  2506. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/5.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/7.instance": "M791,678L817.5519607547179,605.8588236098233",
  2507. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/7.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/3.instance": "M817.5518249097615,605.8591926980062L843.9997285463918,534.0007375343318"
  2508. }
  2509. },
  2510. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink"
  2511. },
  2512. "8": {
  2513. "link-style": {
  2514. "type": "map<string,string>",
  2515. "value": {
  2516. "stroke": "#000000",
  2517. "stroke-dasharray": "",
  2518. "stroke-opacity": 1,
  2519. "stroke-width": 2
  2520. }
  2521. },
  2522. "arrowHead": {
  2523. "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)",
  2524. "value": "custom"
  2525. },
  2526. "arrowTail": {
  2527. "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)",
  2528. "value": "arrow-black"
  2529. },
  2530. "typename": {
  2531. "type": "string",
  2532. "value": "InheritanceLink"
  2533. },
  2534. "position": {
  2535. "type": "list<double>",
  2536. "value": [
  2537. 1009.900420191507,
  2538. 623.8878151524573
  2539. ]
  2540. },
  2541. "orientation": {
  2542. "type": "double",
  2543. "value": 0
  2544. },
  2545. "scale": {
  2546. "type": "list<double>",
  2547. "value": [
  2548. 1,
  2549. 1
  2550. ]
  2551. },
  2552. "mapper": {
  2553. "type": "code",
  2554. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2555. },
  2556. "parser": {
  2557. "type": "code",
  2558. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2559. },
  2560. "$contents": {
  2561. "type": "map<string,*>",
  2562. "value": {
  2563. "nodes": {
  2564. "164": {
  2565. "segments": {
  2566. "type": "string",
  2567. "value": "m0,0 l20,10 l-20,10 z"
  2568. },
  2569. "style": {
  2570. "type": "map<string,string>",
  2571. "value": {
  2572. "stroke": "#000000",
  2573. "fill": "#ffffff",
  2574. "opacity": 1,
  2575. "stroke-width": 1
  2576. }
  2577. },
  2578. "mapper": {
  2579. "type": "code",
  2580. "value": ""
  2581. },
  2582. "parser": {
  2583. "type": "code",
  2584. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2585. },
  2586. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  2587. "position": {
  2588. "type": "list<double>",
  2589. "value": [
  2590. "0;-86.37881319748851,-66.3842107535188%",
  2591. "0;-82.24901719634818,-74.78727540586299%"
  2592. ]
  2593. },
  2594. "orientation": {
  2595. "type": "double",
  2596. "value": "0;-131.59355624500526"
  2597. },
  2598. "scale": {
  2599. "type": "list<double>",
  2600. "value": [
  2601. 1,
  2602. 1
  2603. ]
  2604. },
  2605. "$linkDecoratorInfo": {
  2606. "type": "map<string,double>",
  2607. "value": {
  2608. "xratio": 1,
  2609. "yoffset": -10
  2610. }
  2611. }
  2612. }
  2613. },
  2614. "edges": []
  2615. }
  2616. },
  2617. "$asuri": {
  2618. "type": "string",
  2619. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance/8.instance"
  2620. },
  2621. "$segments": {
  2622. "type": "map<string,list<string>>",
  2623. "value": {
  2624. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/6.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/8.instance": "M1089,713L1009.900420191507,623.8878151524573",
  2625. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/8.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/3.instance": "M1009.9005875524512,623.8880036983312L931.0003345346048,535.0003768807572"
  2626. }
  2627. },
  2628. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink"
  2629. },
  2630. "9": {
  2631. "typename": {
  2632. "type": "string",
  2633. "value": "ClassIcon"
  2634. },
  2635. "position": {
  2636. "type": "list<double>",
  2637. "value": [
  2638. 240,
  2639. 687
  2640. ]
  2641. },
  2642. "orientation": {
  2643. "type": "double",
  2644. "value": 0
  2645. },
  2646. "scale": {
  2647. "type": "list<double>",
  2648. "value": [
  2649. 1,
  2650. 1
  2651. ]
  2652. },
  2653. "mapper": {
  2654. "type": "code",
  2655. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2656. },
  2657. "parser": {
  2658. "type": "code",
  2659. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2660. },
  2661. "$contents": {
  2662. "type": "map<string,*>",
  2663. "value": {
  2664. "nodes": {
  2665. "96": {
  2666. "width": {
  2667. "type": "double",
  2668. "value": 200
  2669. },
  2670. "height": {
  2671. "type": "double",
  2672. "value": 125
  2673. },
  2674. "cornerRadius": {
  2675. "type": "double",
  2676. "value": 0
  2677. },
  2678. "style": {
  2679. "type": "map<string,string>",
  2680. "value": {
  2681. "stroke": "#000000",
  2682. "stroke-dasharray": "",
  2683. "fill": "#ffffff",
  2684. "fill-opacity": 0.75,
  2685. "stroke-width": 2
  2686. }
  2687. },
  2688. "mapper": {
  2689. "type": "code",
  2690. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2691. },
  2692. "parser": {
  2693. "type": "code",
  2694. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2695. },
  2696. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  2697. "position": {
  2698. "type": "list<double>",
  2699. "value": [
  2700. 4,
  2701. 3
  2702. ]
  2703. },
  2704. "orientation": {
  2705. "type": "double",
  2706. "value": 0
  2707. },
  2708. "scale": {
  2709. "type": "list<double>",
  2710. "value": [
  2711. 1,
  2712. 1
  2713. ]
  2714. }
  2715. },
  2716. "97": {
  2717. "segments": {
  2718. "type": "string",
  2719. "value": "m0,0l197,0"
  2720. },
  2721. "style": {
  2722. "type": "map<string,string>",
  2723. "value": {
  2724. "stroke": "#000000",
  2725. "stroke-dasharray": "",
  2726. "fill": "#ffffff",
  2727. "fill-opacity": 0.75,
  2728. "font-size": "20px",
  2729. "stroke-width": 2,
  2730. "arrow-start": "none",
  2731. "arrow-end": "none"
  2732. }
  2733. },
  2734. "mapper": {
  2735. "type": "code",
  2736. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2737. },
  2738. "parser": {
  2739. "type": "code",
  2740. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2741. },
  2742. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  2743. "position": {
  2744. "type": "list<double>",
  2745. "value": [
  2746. 6,
  2747. 36
  2748. ]
  2749. },
  2750. "orientation": {
  2751. "type": "double",
  2752. "value": 0
  2753. },
  2754. "scale": {
  2755. "type": "list<double>",
  2756. "value": [
  2757. 1,
  2758. 1
  2759. ]
  2760. }
  2761. },
  2762. "98": {
  2763. "textContent": {
  2764. "type": "string",
  2765. "value": "TargetMany"
  2766. },
  2767. "style": {
  2768. "type": "map<string,string>",
  2769. "value": {
  2770. "font-size": "18px",
  2771. "font-style": "normal",
  2772. "font-weight": "bold",
  2773. "line-height": "100%",
  2774. "letter-spacing": "0px",
  2775. "word-spacing": "0px",
  2776. "fill": "#000000",
  2777. "fill-opacity": "1",
  2778. "stroke": "none"
  2779. }
  2780. },
  2781. "mapper": {
  2782. "type": "code",
  2783. "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"
  2784. },
  2785. "parser": {
  2786. "type": "code",
  2787. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  2788. },
  2789. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2790. "position": {
  2791. "type": "list<double>",
  2792. "value": [
  2793. 8,
  2794. 8
  2795. ]
  2796. },
  2797. "orientation": {
  2798. "type": "double",
  2799. "value": 0
  2800. },
  2801. "scale": {
  2802. "type": "list<double>",
  2803. "value": [
  2804. 1,
  2805. 1
  2806. ]
  2807. }
  2808. },
  2809. "99": {
  2810. "textContent": {
  2811. "type": "string",
  2812. "value": ""
  2813. },
  2814. "style": {
  2815. "type": "map<string,string>",
  2816. "value": {
  2817. "font-size": "14px",
  2818. "font-style": "normal",
  2819. "font-weight": "bold",
  2820. "line-height": "100%",
  2821. "letter-spacing": "0px",
  2822. "word-spacing": "0px",
  2823. "fill": "#000000",
  2824. "fill-opacity": "1",
  2825. "stroke": "none"
  2826. }
  2827. },
  2828. "mapper": {
  2829. "type": "code",
  2830. "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')})"
  2831. },
  2832. "parser": {
  2833. "type": "code",
  2834. "value": ""
  2835. },
  2836. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2837. "position": {
  2838. "type": "list<double>",
  2839. "value": [
  2840. 10,
  2841. 41
  2842. ]
  2843. },
  2844. "orientation": {
  2845. "type": "double",
  2846. "value": 0
  2847. },
  2848. "scale": {
  2849. "type": "list<double>",
  2850. "value": [
  2851. 1,
  2852. 1
  2853. ]
  2854. }
  2855. },
  2856. "100": {
  2857. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2858. "position": {
  2859. "type": "list<double>",
  2860. "value": [
  2861. 68.5,
  2862. 36.5
  2863. ]
  2864. },
  2865. "orientation": {
  2866. "type": "double",
  2867. "value": 0
  2868. },
  2869. "scale": {
  2870. "type": "list<double>",
  2871. "value": [
  2872. 1,
  2873. 1
  2874. ]
  2875. },
  2876. "link-style": {
  2877. "type": "map<string,string>",
  2878. "value": {
  2879. "stroke": "#00ffff",
  2880. "stroke-dasharray": "",
  2881. "stroke-opacity": 0.1,
  2882. "stroke-width": 1
  2883. }
  2884. }
  2885. },
  2886. "101": {
  2887. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2888. "position": {
  2889. "type": "list<double>",
  2890. "value": [
  2891. 12.5,
  2892. 27
  2893. ]
  2894. },
  2895. "orientation": {
  2896. "type": "double",
  2897. "value": 0
  2898. },
  2899. "scale": {
  2900. "type": "list<double>",
  2901. "value": [
  2902. 1,
  2903. 1
  2904. ]
  2905. },
  2906. "link-style": {
  2907. "type": "map<string,string>",
  2908. "value": {
  2909. "stroke": "#00ffff",
  2910. "stroke-dasharray": "",
  2911. "stroke-opacity": 0.1,
  2912. "stroke-width": 1
  2913. }
  2914. }
  2915. },
  2916. "102": {
  2917. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2918. "position": {
  2919. "type": "list<double>",
  2920. "value": [
  2921. 53.75,
  2922. 20
  2923. ]
  2924. },
  2925. "orientation": {
  2926. "type": "double",
  2927. "value": 0
  2928. },
  2929. "scale": {
  2930. "type": "list<double>",
  2931. "value": [
  2932. 1,
  2933. 1
  2934. ]
  2935. },
  2936. "link-style": {
  2937. "type": "map<string,string>",
  2938. "value": {
  2939. "stroke": "#00ffff",
  2940. "stroke-dasharray": "",
  2941. "stroke-opacity": 0.1,
  2942. "stroke-width": 1
  2943. }
  2944. }
  2945. }
  2946. },
  2947. "edges": [
  2948. {
  2949. "src": "96",
  2950. "dest": "100"
  2951. },
  2952. {
  2953. "src": "100",
  2954. "dest": "98"
  2955. },
  2956. {
  2957. "src": "96",
  2958. "dest": "101"
  2959. },
  2960. {
  2961. "src": "101",
  2962. "dest": "99"
  2963. },
  2964. {
  2965. "src": "96",
  2966. "dest": "102"
  2967. },
  2968. {
  2969. "src": "102",
  2970. "dest": "97"
  2971. }
  2972. ]
  2973. }
  2974. },
  2975. "$asuri": {
  2976. "type": "string",
  2977. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/9.instance"
  2978. },
  2979. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  2980. },
  2981. "10": {
  2982. "link-style": {
  2983. "type": "map<string,string>",
  2984. "value": {
  2985. "stroke": "#000000",
  2986. "stroke-dasharray": "",
  2987. "stroke-opacity": 1,
  2988. "stroke-width": 2
  2989. }
  2990. },
  2991. "arrowHead": {
  2992. "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)",
  2993. "value": "custom"
  2994. },
  2995. "arrowTail": {
  2996. "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)",
  2997. "value": "arrow-black"
  2998. },
  2999. "typename": {
  3000. "type": "string",
  3001. "value": "AssociationLink"
  3002. },
  3003. "position": {
  3004. "type": "list<double>",
  3005. "value": [
  3006. 549.5,
  3007. 735.5
  3008. ]
  3009. },
  3010. "orientation": {
  3011. "type": "double",
  3012. "value": 0
  3013. },
  3014. "scale": {
  3015. "type": "list<double>",
  3016. "value": [
  3017. 1,
  3018. 1
  3019. ]
  3020. },
  3021. "mapper": {
  3022. "type": "code",
  3023. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  3024. },
  3025. "parser": {
  3026. "type": "code",
  3027. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3028. },
  3029. "$contents": {
  3030. "type": "map<string,*>",
  3031. "value": {
  3032. "nodes": {
  3033. "71": {
  3034. "textContent": {
  3035. "type": "string",
  3036. "value": "ManyToOne"
  3037. },
  3038. "style": {
  3039. "type": "map<string,string>",
  3040. "value": {
  3041. "font-size": "20px",
  3042. "font-style": "normal",
  3043. "font-weight": "normal",
  3044. "line-height": "100%",
  3045. "letter-spacing": "0px",
  3046. "word-spacing": "0px",
  3047. "fill": "#000000",
  3048. "fill-opacity": "1",
  3049. "stroke": "none",
  3050. "font-family": "Sans"
  3051. }
  3052. },
  3053. "mapper": {
  3054. "type": "code",
  3055. "value": "({'textContent':getAttr('name')})"
  3056. },
  3057. "parser": {
  3058. "type": "code",
  3059. "value": "({'name':getAttr('textContent')})"
  3060. },
  3061. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3062. "position": {
  3063. "type": "list<double>",
  3064. "value": [
  3065. "0;33.08551704477645,0%",
  3066. "0;24.83930686997587,0%"
  3067. ]
  3068. },
  3069. "orientation": {
  3070. "type": "double",
  3071. "value": "0;173.3569258974188"
  3072. },
  3073. "scale": {
  3074. "type": "list<double>",
  3075. "value": [
  3076. 1,
  3077. 1
  3078. ]
  3079. },
  3080. "$linkDecoratorInfo": {
  3081. "type": "map<string,double>",
  3082. "value": {
  3083. "xratio": 0.3803680981595092,
  3084. "yoffset": -28.5
  3085. }
  3086. }
  3087. },
  3088. "74": {
  3089. "textContent": {
  3090. "type": "string",
  3091. "value": "0..1"
  3092. },
  3093. "style": {
  3094. "type": "map<string,string>",
  3095. "value": {
  3096. "font-size": "20px",
  3097. "font-style": "normal",
  3098. "font-weight": "normal",
  3099. "line-height": "100%",
  3100. "letter-spacing": "0px",
  3101. "word-spacing": "0px",
  3102. "fill": "#000000",
  3103. "fill-opacity": "1",
  3104. "stroke": "none",
  3105. "font-family": "Sans"
  3106. }
  3107. },
  3108. "mapper": {
  3109. "type": "code",
  3110. "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})"
  3111. },
  3112. "parser": {
  3113. "type": "code",
  3114. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3115. },
  3116. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3117. "position": {
  3118. "type": "list<double>",
  3119. "value": [
  3120. "0;112.17389567008547,0%",
  3121. "0;12.607932650489374,0%"
  3122. ]
  3123. },
  3124. "orientation": {
  3125. "type": "double",
  3126. "value": "0;173.3569258974188"
  3127. },
  3128. "scale": {
  3129. "type": "list<double>",
  3130. "value": [
  3131. 1,
  3132. 1
  3133. ]
  3134. },
  3135. "$linkDecoratorInfo": {
  3136. "type": "map<string,double>",
  3137. "value": {
  3138. "xratio": 0.06134969325153374,
  3139. "yoffset": -25.5
  3140. }
  3141. }
  3142. },
  3143. "77": {
  3144. "textContent": {
  3145. "type": "string",
  3146. "value": "*"
  3147. },
  3148. "style": {
  3149. "type": "map<string,string>",
  3150. "value": {
  3151. "font-size": "20px",
  3152. "font-style": "normal",
  3153. "font-weight": "normal",
  3154. "line-height": "100%",
  3155. "letter-spacing": "0px",
  3156. "word-spacing": "0px",
  3157. "fill": "#000000",
  3158. "fill-opacity": "1",
  3159. "stroke": "none",
  3160. "font-family": "Sans"
  3161. }
  3162. },
  3163. "mapper": {
  3164. "type": "code",
  3165. "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})"
  3166. },
  3167. "parser": {
  3168. "type": "code",
  3169. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3170. },
  3171. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3172. "position": {
  3173. "type": "list<double>",
  3174. "value": [
  3175. "0;-121.78095004087714,-99.32860768754509%",
  3176. "0;37.842167156269056,11.568392059995183%"
  3177. ]
  3178. },
  3179. "orientation": {
  3180. "type": "double",
  3181. "value": "0;173.3569258974188"
  3182. },
  3183. "scale": {
  3184. "type": "list<double>",
  3185. "value": [
  3186. 1,
  3187. 1
  3188. ]
  3189. },
  3190. "$linkDecoratorInfo": {
  3191. "type": "map<string,double>",
  3192. "value": {
  3193. "xratio": 1.0245398773006136,
  3194. "yoffset": -23.5
  3195. }
  3196. }
  3197. },
  3198. "140": {
  3199. "segments": {
  3200. "type": "string",
  3201. "value": "m0,0 l20,8 l-20,8"
  3202. },
  3203. "style": {
  3204. "type": "map<string,string>",
  3205. "value": {
  3206. "stroke": "#000000",
  3207. "fill": "#000000",
  3208. "fill-opacity": 0,
  3209. "stroke-width": 1,
  3210. "opacity": 1
  3211. }
  3212. },
  3213. "mapper": {
  3214. "type": "code",
  3215. "value": ""
  3216. },
  3217. "parser": {
  3218. "type": "code",
  3219. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3220. },
  3221. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  3222. "position": {
  3223. "type": "list<double>",
  3224. "value": [
  3225. "0;-123.5740508101764,-99.32860768754509%",
  3226. "0;22.44623296469956,11.568392059995183%"
  3227. ]
  3228. },
  3229. "orientation": {
  3230. "type": "double",
  3231. "value": "0;173.3569258974188"
  3232. },
  3233. "scale": {
  3234. "type": "list<double>",
  3235. "value": [
  3236. 1,
  3237. 1
  3238. ]
  3239. },
  3240. "$linkDecoratorInfo": {
  3241. "type": "map<string,double>",
  3242. "value": {
  3243. "xratio": 1,
  3244. "yoffset": -8
  3245. }
  3246. }
  3247. }
  3248. },
  3249. "edges": []
  3250. }
  3251. },
  3252. "$asuri": {
  3253. "type": "string",
  3254. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/10.instance"
  3255. },
  3256. "$segments": {
  3257. "type": "map<string,list<string>>",
  3258. "value": {
  3259. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/5.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/10.instance": "M674,721L549.5,735.5",
  3260. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/10.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/9.instance": "M549.3508390717192,735.5173721563058L425.000477825024,749.999944349696"
  3261. }
  3262. },
  3263. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  3264. },
  3265. "11": {
  3266. "typename": {
  3267. "type": "string",
  3268. "value": "ClassIcon"
  3269. },
  3270. "position": {
  3271. "type": "list<double>",
  3272. "value": [
  3273. 1413,
  3274. 699
  3275. ]
  3276. },
  3277. "orientation": {
  3278. "type": "double",
  3279. "value": 0
  3280. },
  3281. "scale": {
  3282. "type": "list<double>",
  3283. "value": [
  3284. 1,
  3285. 1
  3286. ]
  3287. },
  3288. "mapper": {
  3289. "type": "code",
  3290. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  3291. },
  3292. "parser": {
  3293. "type": "code",
  3294. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3295. },
  3296. "$contents": {
  3297. "type": "map<string,*>",
  3298. "value": {
  3299. "nodes": {
  3300. "96": {
  3301. "width": {
  3302. "type": "double",
  3303. "value": 200
  3304. },
  3305. "height": {
  3306. "type": "double",
  3307. "value": 125
  3308. },
  3309. "cornerRadius": {
  3310. "type": "double",
  3311. "value": 0
  3312. },
  3313. "style": {
  3314. "type": "map<string,string>",
  3315. "value": {
  3316. "stroke": "#000000",
  3317. "stroke-dasharray": "",
  3318. "fill": "#ffffff",
  3319. "fill-opacity": 0.75,
  3320. "stroke-width": 2
  3321. }
  3322. },
  3323. "mapper": {
  3324. "type": "code",
  3325. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  3326. },
  3327. "parser": {
  3328. "type": "code",
  3329. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3330. },
  3331. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  3332. "position": {
  3333. "type": "list<double>",
  3334. "value": [
  3335. 4,
  3336. 3
  3337. ]
  3338. },
  3339. "orientation": {
  3340. "type": "double",
  3341. "value": 0
  3342. },
  3343. "scale": {
  3344. "type": "list<double>",
  3345. "value": [
  3346. 1,
  3347. 1
  3348. ]
  3349. }
  3350. },
  3351. "97": {
  3352. "segments": {
  3353. "type": "string",
  3354. "value": "m0,0l197,0"
  3355. },
  3356. "style": {
  3357. "type": "map<string,string>",
  3358. "value": {
  3359. "stroke": "#000000",
  3360. "stroke-dasharray": "",
  3361. "fill": "#ffffff",
  3362. "fill-opacity": 0.75,
  3363. "font-size": "20px",
  3364. "stroke-width": 2,
  3365. "arrow-start": "none",
  3366. "arrow-end": "none"
  3367. }
  3368. },
  3369. "mapper": {
  3370. "type": "code",
  3371. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  3372. },
  3373. "parser": {
  3374. "type": "code",
  3375. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3376. },
  3377. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  3378. "position": {
  3379. "type": "list<double>",
  3380. "value": [
  3381. 6,
  3382. 36
  3383. ]
  3384. },
  3385. "orientation": {
  3386. "type": "double",
  3387. "value": 0
  3388. },
  3389. "scale": {
  3390. "type": "list<double>",
  3391. "value": [
  3392. 1,
  3393. 1
  3394. ]
  3395. }
  3396. },
  3397. "98": {
  3398. "textContent": {
  3399. "type": "string",
  3400. "value": "Composite"
  3401. },
  3402. "style": {
  3403. "type": "map<string,string>",
  3404. "value": {
  3405. "font-size": "18px",
  3406. "font-style": "normal",
  3407. "font-weight": "bold",
  3408. "line-height": "100%",
  3409. "letter-spacing": "0px",
  3410. "word-spacing": "0px",
  3411. "fill": "#000000",
  3412. "fill-opacity": "1",
  3413. "stroke": "none"
  3414. }
  3415. },
  3416. "mapper": {
  3417. "type": "code",
  3418. "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"
  3419. },
  3420. "parser": {
  3421. "type": "code",
  3422. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  3423. },
  3424. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3425. "position": {
  3426. "type": "list<double>",
  3427. "value": [
  3428. 8,
  3429. 8
  3430. ]
  3431. },
  3432. "orientation": {
  3433. "type": "double",
  3434. "value": 0
  3435. },
  3436. "scale": {
  3437. "type": "list<double>",
  3438. "value": [
  3439. 1,
  3440. 1
  3441. ]
  3442. }
  3443. },
  3444. "99": {
  3445. "textContent": {
  3446. "type": "string",
  3447. "value": ""
  3448. },
  3449. "style": {
  3450. "type": "map<string,string>",
  3451. "value": {
  3452. "font-size": "14px",
  3453. "font-style": "normal",
  3454. "font-weight": "bold",
  3455. "line-height": "100%",
  3456. "letter-spacing": "0px",
  3457. "word-spacing": "0px",
  3458. "fill": "#000000",
  3459. "fill-opacity": "1",
  3460. "stroke": "none"
  3461. }
  3462. },
  3463. "mapper": {
  3464. "type": "code",
  3465. "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')})"
  3466. },
  3467. "parser": {
  3468. "type": "code",
  3469. "value": ""
  3470. },
  3471. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3472. "position": {
  3473. "type": "list<double>",
  3474. "value": [
  3475. 10,
  3476. 41
  3477. ]
  3478. },
  3479. "orientation": {
  3480. "type": "double",
  3481. "value": 0
  3482. },
  3483. "scale": {
  3484. "type": "list<double>",
  3485. "value": [
  3486. 1,
  3487. 1
  3488. ]
  3489. }
  3490. },
  3491. "100": {
  3492. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  3493. "position": {
  3494. "type": "list<double>",
  3495. "value": [
  3496. 68.5,
  3497. 36.5
  3498. ]
  3499. },
  3500. "orientation": {
  3501. "type": "double",
  3502. "value": 0
  3503. },
  3504. "scale": {
  3505. "type": "list<double>",
  3506. "value": [
  3507. 1,
  3508. 1
  3509. ]
  3510. },
  3511. "link-style": {
  3512. "type": "map<string,string>",
  3513. "value": {
  3514. "stroke": "#00ffff",
  3515. "stroke-dasharray": "",
  3516. "stroke-opacity": 0.1,
  3517. "stroke-width": 1
  3518. }
  3519. }
  3520. },
  3521. "101": {
  3522. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  3523. "position": {
  3524. "type": "list<double>",
  3525. "value": [
  3526. 12.5,
  3527. 27
  3528. ]
  3529. },
  3530. "orientation": {
  3531. "type": "double",
  3532. "value": 0
  3533. },
  3534. "scale": {
  3535. "type": "list<double>",
  3536. "value": [
  3537. 1,
  3538. 1
  3539. ]
  3540. },
  3541. "link-style": {
  3542. "type": "map<string,string>",
  3543. "value": {
  3544. "stroke": "#00ffff",
  3545. "stroke-dasharray": "",
  3546. "stroke-opacity": 0.1,
  3547. "stroke-width": 1
  3548. }
  3549. }
  3550. },
  3551. "102": {
  3552. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  3553. "position": {
  3554. "type": "list<double>",
  3555. "value": [
  3556. 53.75,
  3557. 20
  3558. ]
  3559. },
  3560. "orientation": {
  3561. "type": "double",
  3562. "value": 0
  3563. },
  3564. "scale": {
  3565. "type": "list<double>",
  3566. "value": [
  3567. 1,
  3568. 1
  3569. ]
  3570. },
  3571. "link-style": {
  3572. "type": "map<string,string>",
  3573. "value": {
  3574. "stroke": "#00ffff",
  3575. "stroke-dasharray": "",
  3576. "stroke-opacity": 0.1,
  3577. "stroke-width": 1
  3578. }
  3579. }
  3580. }
  3581. },
  3582. "edges": [
  3583. {
  3584. "src": "96",
  3585. "dest": "100"
  3586. },
  3587. {
  3588. "src": "100",
  3589. "dest": "98"
  3590. },
  3591. {
  3592. "src": "96",
  3593. "dest": "101"
  3594. },
  3595. {
  3596. "src": "101",
  3597. "dest": "99"
  3598. },
  3599. {
  3600. "src": "96",
  3601. "dest": "102"
  3602. },
  3603. {
  3604. "src": "102",
  3605. "dest": "97"
  3606. }
  3607. ]
  3608. }
  3609. },
  3610. "$asuri": {
  3611. "type": "string",
  3612. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/11.instance"
  3613. },
  3614. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  3615. },
  3616. "12": {
  3617. "link-style": {
  3618. "type": "map<string,string>",
  3619. "value": {
  3620. "stroke": "#000000",
  3621. "stroke-dasharray": "",
  3622. "stroke-opacity": 1,
  3623. "stroke-width": 2
  3624. }
  3625. },
  3626. "arrowHead": {
  3627. "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)",
  3628. "value": "custom"
  3629. },
  3630. "arrowTail": {
  3631. "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)",
  3632. "value": "arrow-black"
  3633. },
  3634. "typename": {
  3635. "type": "string",
  3636. "value": "AssociationLink"
  3637. },
  3638. "position": {
  3639. "type": "list<double>",
  3640. "value": [
  3641. 1337,
  3642. 742
  3643. ]
  3644. },
  3645. "orientation": {
  3646. "type": "double",
  3647. "value": 0
  3648. },
  3649. "scale": {
  3650. "type": "list<double>",
  3651. "value": [
  3652. 1,
  3653. 1
  3654. ]
  3655. },
  3656. "mapper": {
  3657. "type": "code",
  3658. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  3659. },
  3660. "parser": {
  3661. "type": "code",
  3662. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3663. },
  3664. "$contents": {
  3665. "type": "map<string,*>",
  3666. "value": {
  3667. "nodes": {
  3668. "71": {
  3669. "textContent": {
  3670. "type": "string",
  3671. "value": "Containment"
  3672. },
  3673. "style": {
  3674. "type": "map<string,string>",
  3675. "value": {
  3676. "font-size": "20px",
  3677. "font-style": "normal",
  3678. "font-weight": "normal",
  3679. "line-height": "100%",
  3680. "letter-spacing": "0px",
  3681. "word-spacing": "0px",
  3682. "fill": "#000000",
  3683. "fill-opacity": "1",
  3684. "stroke": "none",
  3685. "font-family": "Sans"
  3686. }
  3687. },
  3688. "mapper": {
  3689. "type": "code",
  3690. "value": "({'textContent':getAttr('name')})"
  3691. },
  3692. "parser": {
  3693. "type": "code",
  3694. "value": "({'name':getAttr('textContent')})"
  3695. },
  3696. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3697. "position": {
  3698. "type": "list<double>",
  3699. "value": [
  3700. "0;-31.075282064366775,0%",
  3701. "0;-30.137189483245947,0%"
  3702. ]
  3703. },
  3704. "orientation": {
  3705. "type": "double",
  3706. "value": "0;2.9464473800123296"
  3707. },
  3708. "scale": {
  3709. "type": "list<double>",
  3710. "value": [
  3711. 1,
  3712. 1
  3713. ]
  3714. },
  3715. "$linkDecoratorInfo": {
  3716. "type": "map<string,double>",
  3717. "value": {
  3718. "xratio": 0.3803680981595092,
  3719. "yoffset": -28.5
  3720. }
  3721. }
  3722. },
  3723. "74": {
  3724. "textContent": {
  3725. "type": "string",
  3726. "value": "*"
  3727. },
  3728. "style": {
  3729. "type": "map<string,string>",
  3730. "value": {
  3731. "font-size": "20px",
  3732. "font-style": "normal",
  3733. "font-weight": "normal",
  3734. "line-height": "100%",
  3735. "letter-spacing": "0px",
  3736. "word-spacing": "0px",
  3737. "fill": "#000000",
  3738. "fill-opacity": "1",
  3739. "stroke": "none",
  3740. "font-family": "Sans"
  3741. }
  3742. },
  3743. "mapper": {
  3744. "type": "code",
  3745. "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})"
  3746. },
  3747. "parser": {
  3748. "type": "code",
  3749. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3750. },
  3751. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3752. "position": {
  3753. "type": "list<double>",
  3754. "value": [
  3755. "0;-118.00217939422805,0%",
  3756. "0;-31.60739681851294,0%"
  3757. ]
  3758. },
  3759. "orientation": {
  3760. "type": "double",
  3761. "value": "0;2.9464473800123296"
  3762. },
  3763. "scale": {
  3764. "type": "list<double>",
  3765. "value": [
  3766. 1,
  3767. 1
  3768. ]
  3769. },
  3770. "$linkDecoratorInfo": {
  3771. "type": "map<string,double>",
  3772. "value": {
  3773. "xratio": 0.06134969325153374,
  3774. "yoffset": -25.5
  3775. }
  3776. }
  3777. },
  3778. "77": {
  3779. "textContent": {
  3780. "type": "string",
  3781. "value": "*"
  3782. },
  3783. "style": {
  3784. "type": "map<string,string>",
  3785. "value": {
  3786. "font-size": "20px",
  3787. "font-style": "normal",
  3788. "font-weight": "normal",
  3789. "line-height": "100%",
  3790. "letter-spacing": "0px",
  3791. "word-spacing": "0px",
  3792. "fill": "#000000",
  3793. "fill-opacity": "1",
  3794. "stroke": "none",
  3795. "font-family": "Sans"
  3796. }
  3797. },
  3798. "mapper": {
  3799. "type": "code",
  3800. "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})"
  3801. },
  3802. "parser": {
  3803. "type": "code",
  3804. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3805. },
  3806. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3807. "position": {
  3808. "type": "list<double>",
  3809. "value": [
  3810. "0;137.20696788818054,99.86780153667752%",
  3811. "0;-16.46898441567953,5.140254490858355%"
  3812. ]
  3813. },
  3814. "orientation": {
  3815. "type": "double",
  3816. "value": "0;2.946447380012302"
  3817. },
  3818. "scale": {
  3819. "type": "list<double>",
  3820. "value": [
  3821. 1,
  3822. 1
  3823. ]
  3824. },
  3825. "$linkDecoratorInfo": {
  3826. "type": "map<string,double>",
  3827. "value": {
  3828. "xratio": 1.0245398773006136,
  3829. "yoffset": -23.5
  3830. }
  3831. }
  3832. },
  3833. "140": {
  3834. "segments": {
  3835. "type": "string",
  3836. "value": "m0,0 l20,8 l-20,8"
  3837. },
  3838. "style": {
  3839. "type": "map<string,string>",
  3840. "value": {
  3841. "stroke": "#000000",
  3842. "fill": "#000000",
  3843. "fill-opacity": 0,
  3844. "stroke-width": 1,
  3845. "opacity": 1
  3846. }
  3847. },
  3848. "mapper": {
  3849. "type": "code",
  3850. "value": ""
  3851. },
  3852. "parser": {
  3853. "type": "code",
  3854. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3855. },
  3856. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  3857. "position": {
  3858. "type": "list<double>",
  3859. "value": [
  3860. "0;136.4102284420976,99.86780153667752%",
  3861. "0;-0.9894751774945689,5.140254490858355%"
  3862. ]
  3863. },
  3864. "orientation": {
  3865. "type": "double",
  3866. "value": "0;2.946447380012302"
  3867. },
  3868. "scale": {
  3869. "type": "list<double>",
  3870. "value": [
  3871. 1,
  3872. 1
  3873. ]
  3874. },
  3875. "$linkDecoratorInfo": {
  3876. "type": "map<string,double>",
  3877. "value": {
  3878. "xratio": 1,
  3879. "yoffset": -8
  3880. }
  3881. }
  3882. }
  3883. },
  3884. "edges": []
  3885. }
  3886. },
  3887. "$asuri": {
  3888. "type": "string",
  3889. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/12.instance"
  3890. },
  3891. "$segments": {
  3892. "type": "map<string,list<string>>",
  3893. "value": {
  3894. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/6.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/12.instance": "M1201,735L1337,742",
  3895. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/12.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/11.instance": "M1337.0746691143124,742.0038432632366L1472.9990080828288,748.9999489454397"
  3896. }
  3897. },
  3898. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  3899. }
  3900. },
  3901. "edges": [],
  3902. "metamodels": [
  3903. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons"
  3904. ]
  3905. },
  3906. "asm": {
  3907. "nodes": {
  3908. "0": {
  3909. "name": {
  3910. "type": "string",
  3911. "value": "Alone"
  3912. },
  3913. "attributes": {
  3914. "type": "list<$ATTRIBUTE>",
  3915. "value": []
  3916. },
  3917. "constraints": {
  3918. "type": "list<$EVENT_HANDLER>",
  3919. "value": []
  3920. },
  3921. "actions": {
  3922. "type": "list<$EVENT_HANDLER>",
  3923. "value": []
  3924. },
  3925. "cardinalities": {
  3926. "type": "list<$CARDINALITY>",
  3927. "value": []
  3928. },
  3929. "abstract": {
  3930. "type": "boolean",
  3931. "value": false
  3932. },
  3933. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  3934. },
  3935. "1": {
  3936. "name": {
  3937. "type": "string",
  3938. "value": "AloneAttr"
  3939. },
  3940. "attributes": {
  3941. "type": "list<$ATTRIBUTE>",
  3942. "value": [
  3943. {
  3944. "name": "int",
  3945. "type": "int",
  3946. "default": 0
  3947. },
  3948. {
  3949. "name": "string",
  3950. "type": "string",
  3951. "default": "Hola"
  3952. },
  3953. {
  3954. "name": "float",
  3955. "type": "float",
  3956. "default": 0
  3957. },
  3958. {
  3959. "name": "boolean",
  3960. "type": "boolean",
  3961. "default": true
  3962. },
  3963. {
  3964. "name": "code",
  3965. "type": "code",
  3966. "default": ""
  3967. },
  3968. {
  3969. "name": "file_html",
  3970. "type": "file<*.html>",
  3971. "default": ""
  3972. },
  3973. {
  3974. "name": "map_int_string",
  3975. "type": "map<int,string>"
  3976. },
  3977. {
  3978. "name": "list_int",
  3979. "type": "lis<int>",
  3980. "default": [
  3981. 1,
  3982. 2
  3983. ]
  3984. },
  3985. {
  3986. "name": "enum",
  3987. "type": "ENUM(One,Two,Three)"
  3988. },
  3989. {
  3990. "name": "enum2",
  3991. "type": "ENUM(Four,Five,Six,Seven)"
  3992. }
  3993. ]
  3994. },
  3995. "constraints": {
  3996. "type": "list<$EVENT_HANDLER>",
  3997. "value": []
  3998. },
  3999. "actions": {
  4000. "type": "list<$EVENT_HANDLER>",
  4001. "value": []
  4002. },
  4003. "cardinalities": {
  4004. "type": "list<$CARDINALITY>",
  4005. "value": []
  4006. },
  4007. "abstract": {
  4008. "type": "boolean",
  4009. "value": false
  4010. },
  4011. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  4012. },
  4013. "2": {
  4014. "name": {
  4015. "type": "string",
  4016. "value": "Source"
  4017. },
  4018. "attributes": {
  4019. "type": "list<$ATTRIBUTE>",
  4020. "value": []
  4021. },
  4022. "constraints": {
  4023. "type": "list<$EVENT_HANDLER>",
  4024. "value": []
  4025. },
  4026. "actions": {
  4027. "type": "list<$EVENT_HANDLER>",
  4028. "value": []
  4029. },
  4030. "cardinalities": {
  4031. "type": "list<$CARDINALITY>",
  4032. "value": [
  4033. {
  4034. "dir": "out",
  4035. "type": "OneToOne",
  4036. "min": "1",
  4037. "max": "1"
  4038. }
  4039. ]
  4040. },
  4041. "abstract": {
  4042. "type": "boolean",
  4043. "value": false
  4044. },
  4045. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  4046. },
  4047. "3": {
  4048. "name": {
  4049. "type": "string",
  4050. "value": "TargetAbstract"
  4051. },
  4052. "attributes": {
  4053. "type": "list<$ATTRIBUTE>",
  4054. "value": [
  4055. {
  4056. "name": "name",
  4057. "type": "string",
  4058. "default": ""
  4059. }
  4060. ]
  4061. },
  4062. "constraints": {
  4063. "type": "list<$EVENT_HANDLER>",
  4064. "value": []
  4065. },
  4066. "actions": {
  4067. "type": "list<$EVENT_HANDLER>",
  4068. "value": []
  4069. },
  4070. "cardinalities": {
  4071. "type": "list<$CARDINALITY>",
  4072. "value": [
  4073. {
  4074. "dir": "in",
  4075. "type": "OneToOne",
  4076. "min": "1",
  4077. "max": "1"
  4078. }
  4079. ]
  4080. },
  4081. "abstract": {
  4082. "type": "boolean",
  4083. "value": true
  4084. },
  4085. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  4086. },
  4087. "4": {
  4088. "name": {
  4089. "type": "string",
  4090. "value": "OneToOne"
  4091. },
  4092. "attributes": {
  4093. "type": "list<$ATTRIBUTE>",
  4094. "value": []
  4095. },
  4096. "constraints": {
  4097. "type": "list<$EVENT_HANDLER>",
  4098. "value": []
  4099. },
  4100. "actions": {
  4101. "type": "list<$EVENT_HANDLER>",
  4102. "value": []
  4103. },
  4104. "cardinalities": {
  4105. "type": "list<$CARDINALITY>",
  4106. "value": []
  4107. },
  4108. "linktype": {
  4109. "type": "ENUM(visual,containment)",
  4110. "value": "visual"
  4111. },
  4112. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  4113. },
  4114. "5": {
  4115. "name": {
  4116. "type": "string",
  4117. "value": "Sub1"
  4118. },
  4119. "attributes": {
  4120. "type": "list<$ATTRIBUTE>",
  4121. "value": []
  4122. },
  4123. "constraints": {
  4124. "type": "list<$EVENT_HANDLER>",
  4125. "value": []
  4126. },
  4127. "actions": {
  4128. "type": "list<$EVENT_HANDLER>",
  4129. "value": []
  4130. },
  4131. "cardinalities": {
  4132. "type": "list<$CARDINALITY>",
  4133. "value": []
  4134. },
  4135. "abstract": {
  4136. "type": "boolean",
  4137. "value": false
  4138. },
  4139. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  4140. },
  4141. "6": {
  4142. "name": {
  4143. "type": "string",
  4144. "value": "Sub2"
  4145. },
  4146. "attributes": {
  4147. "type": "list<$ATTRIBUTE>",
  4148. "value": []
  4149. },
  4150. "constraints": {
  4151. "type": "list<$EVENT_HANDLER>",
  4152. "value": []
  4153. },
  4154. "actions": {
  4155. "type": "list<$EVENT_HANDLER>",
  4156. "value": []
  4157. },
  4158. "cardinalities": {
  4159. "type": "list<$CARDINALITY>",
  4160. "value": []
  4161. },
  4162. "abstract": {
  4163. "type": "boolean",
  4164. "value": false
  4165. },
  4166. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  4167. },
  4168. "7": {
  4169. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance"
  4170. },
  4171. "8": {
  4172. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance"
  4173. },
  4174. "9": {
  4175. "name": {
  4176. "type": "string",
  4177. "value": "TargetMany"
  4178. },
  4179. "attributes": {
  4180. "type": "list<$ATTRIBUTE>",
  4181. "value": []
  4182. },
  4183. "constraints": {
  4184. "type": "list<$EVENT_HANDLER>",
  4185. "value": []
  4186. },
  4187. "actions": {
  4188. "type": "list<$EVENT_HANDLER>",
  4189. "value": []
  4190. },
  4191. "cardinalities": {
  4192. "type": "list<$CARDINALITY>",
  4193. "value": [
  4194. {
  4195. "dir": "in",
  4196. "type": "ManyToOne",
  4197. "min": "0",
  4198. "max": "1"
  4199. }
  4200. ]
  4201. },
  4202. "abstract": {
  4203. "type": "boolean",
  4204. "value": false
  4205. },
  4206. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  4207. },
  4208. "10": {
  4209. "name": {
  4210. "type": "string",
  4211. "value": "ManyToOne"
  4212. },
  4213. "attributes": {
  4214. "type": "list<$ATTRIBUTE>",
  4215. "value": []
  4216. },
  4217. "constraints": {
  4218. "type": "list<$EVENT_HANDLER>",
  4219. "value": []
  4220. },
  4221. "actions": {
  4222. "type": "list<$EVENT_HANDLER>",
  4223. "value": []
  4224. },
  4225. "cardinalities": {
  4226. "type": "list<$CARDINALITY>",
  4227. "value": []
  4228. },
  4229. "linktype": {
  4230. "type": "ENUM(visual,containment)",
  4231. "value": "visual"
  4232. },
  4233. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  4234. },
  4235. "11": {
  4236. "name": {
  4237. "type": "string",
  4238. "value": "Composite"
  4239. },
  4240. "attributes": {
  4241. "type": "list<$ATTRIBUTE>",
  4242. "value": []
  4243. },
  4244. "constraints": {
  4245. "type": "list<$EVENT_HANDLER>",
  4246. "value": []
  4247. },
  4248. "actions": {
  4249. "type": "list<$EVENT_HANDLER>",
  4250. "value": []
  4251. },
  4252. "cardinalities": {
  4253. "type": "list<$CARDINALITY>",
  4254. "value": []
  4255. },
  4256. "abstract": {
  4257. "type": "boolean",
  4258. "value": false
  4259. },
  4260. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  4261. },
  4262. "12": {
  4263. "name": {
  4264. "type": "string",
  4265. "value": "Containment"
  4266. },
  4267. "attributes": {
  4268. "type": "list<$ATTRIBUTE>",
  4269. "value": []
  4270. },
  4271. "constraints": {
  4272. "type": "list<$EVENT_HANDLER>",
  4273. "value": []
  4274. },
  4275. "actions": {
  4276. "type": "list<$EVENT_HANDLER>",
  4277. "value": []
  4278. },
  4279. "cardinalities": {
  4280. "type": "list<$CARDINALITY>",
  4281. "value": []
  4282. },
  4283. "linktype": {
  4284. "type": "ENUM(visual,containment)",
  4285. "value": "containment"
  4286. },
  4287. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  4288. }
  4289. },
  4290. "edges": [
  4291. {
  4292. "src": "2",
  4293. "dest": "4"
  4294. },
  4295. {
  4296. "src": "4",
  4297. "dest": "3"
  4298. },
  4299. {
  4300. "src": "5",
  4301. "dest": "7"
  4302. },
  4303. {
  4304. "src": "7",
  4305. "dest": "3"
  4306. },
  4307. {
  4308. "src": "6",
  4309. "dest": "8"
  4310. },
  4311. {
  4312. "src": "8",
  4313. "dest": "3"
  4314. },
  4315. {
  4316. "src": "5",
  4317. "dest": "10"
  4318. },
  4319. {
  4320. "src": "10",
  4321. "dest": "9"
  4322. },
  4323. {
  4324. "src": "6",
  4325. "dest": "12"
  4326. },
  4327. {
  4328. "src": "12",
  4329. "dest": "11"
  4330. }
  4331. ],
  4332. "metamodels": [
  4333. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram"
  4334. ]
  4335. }
  4336. }