SCCDMM.model 164 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779
  1. {
  2. "csm": {
  3. "nodes": {
  4. "118": {
  5. "typename": {
  6. "type": "string",
  7. "value": "GlobalConstraintIcon"
  8. },
  9. "position": {
  10. "type": "list<double>",
  11. "value": [
  12. 956,
  13. 74
  14. ]
  15. },
  16. "orientation": {
  17. "type": "double",
  18. "value": 0
  19. },
  20. "scale": {
  21. "type": "list<double>",
  22. "value": [
  23. 1,
  24. 1
  25. ]
  26. },
  27. "mapper": {
  28. "type": "code",
  29. "value": ""
  30. },
  31. "parser": {
  32. "type": "code",
  33. "value": ""
  34. },
  35. "$contents": {
  36. "type": "map<string,*>",
  37. "value": {
  38. "nodes": {
  39. "11": {
  40. "textContent": {
  41. "type": "string",
  42. "value": "check distinctNames on validate"
  43. },
  44. "style": {
  45. "type": "map<string,string>",
  46. "value": {
  47. "stroke": "#00ff70",
  48. "stroke-dasharray": "",
  49. "fill": "#00ff70",
  50. "fill-opacity": 0.75,
  51. "font-size": "20px",
  52. "stroke-width": 1,
  53. "arrow-start": "none",
  54. "arrow-end": "none"
  55. }
  56. },
  57. "mapper": {
  58. "type": "code",
  59. "value": "({'textContent' : 'check '+getAttr('name')+' on '+(getAttr('event') || 'validate')})\n"
  60. },
  61. "parser": {
  62. "type": "code",
  63. "value": ""
  64. },
  65. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  66. "position": {
  67. "type": "list<double>",
  68. "value": [
  69. 0,
  70. -1
  71. ]
  72. },
  73. "orientation": {
  74. "type": "double",
  75. "value": 0
  76. },
  77. "scale": {
  78. "type": "list<double>",
  79. "value": [
  80. 1,
  81. 1
  82. ]
  83. }
  84. }
  85. },
  86. "edges": []
  87. }
  88. },
  89. "$asuri": {
  90. "type": "string",
  91. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/GlobalConstraint/8.instance"
  92. },
  93. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/GlobalConstraintIcon"
  94. },
  95. "119": {
  96. "typename": {
  97. "type": "string",
  98. "value": "ClassIcon"
  99. },
  100. "position": {
  101. "type": "list<double>",
  102. "value": [
  103. 116,
  104. 975
  105. ]
  106. },
  107. "orientation": {
  108. "type": "double",
  109. "value": 0
  110. },
  111. "scale": {
  112. "type": "list<double>",
  113. "value": [
  114. 1,
  115. 1
  116. ]
  117. },
  118. "mapper": {
  119. "type": "code",
  120. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  121. },
  122. "parser": {
  123. "type": "code",
  124. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  125. },
  126. "$contents": {
  127. "type": "map<string,*>",
  128. "value": {
  129. "nodes": {
  130. "96": {
  131. "width": {
  132. "type": "double",
  133. "value": 200
  134. },
  135. "height": {
  136. "type": "double",
  137. "value": 125
  138. },
  139. "cornerRadius": {
  140. "type": "double",
  141. "value": 0
  142. },
  143. "style": {
  144. "type": "map<string,string>",
  145. "value": {
  146. "stroke": "#000000",
  147. "stroke-dasharray": "",
  148. "fill": "#ffffff",
  149. "fill-opacity": 0.75,
  150. "stroke-width": 2
  151. }
  152. },
  153. "mapper": {
  154. "type": "code",
  155. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  156. },
  157. "parser": {
  158. "type": "code",
  159. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  160. },
  161. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  162. "position": {
  163. "type": "list<double>",
  164. "value": [
  165. 4,
  166. 3
  167. ]
  168. },
  169. "orientation": {
  170. "type": "double",
  171. "value": 0
  172. },
  173. "scale": {
  174. "type": "list<double>",
  175. "value": [
  176. 1,
  177. 1
  178. ]
  179. }
  180. },
  181. "97": {
  182. "segments": {
  183. "type": "string",
  184. "value": "m0,0l197,0"
  185. },
  186. "style": {
  187. "type": "map<string,string>",
  188. "value": {
  189. "stroke": "#000000",
  190. "stroke-dasharray": "",
  191. "fill": "#ffffff",
  192. "fill-opacity": 0.75,
  193. "font-size": "20px",
  194. "stroke-width": 2,
  195. "arrow-start": "none",
  196. "arrow-end": "none"
  197. }
  198. },
  199. "mapper": {
  200. "type": "code",
  201. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  202. },
  203. "parser": {
  204. "type": "code",
  205. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  206. },
  207. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  208. "position": {
  209. "type": "list<double>",
  210. "value": [
  211. 6,
  212. 36
  213. ]
  214. },
  215. "orientation": {
  216. "type": "double",
  217. "value": 0
  218. },
  219. "scale": {
  220. "type": "list<double>",
  221. "value": [
  222. 1,
  223. 1
  224. ]
  225. }
  226. },
  227. "98": {
  228. "textContent": {
  229. "type": "string",
  230. "value": "OrthogonalComponent"
  231. },
  232. "style": {
  233. "type": "map<string,string>",
  234. "value": {
  235. "font-size": "18px",
  236. "font-style": "normal",
  237. "font-weight": "bold",
  238. "line-height": "100%",
  239. "letter-spacing": "0px",
  240. "word-spacing": "0px",
  241. "fill": "#000000",
  242. "fill-opacity": "1",
  243. "stroke": "none"
  244. }
  245. },
  246. "mapper": {
  247. "type": "code",
  248. "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"
  249. },
  250. "parser": {
  251. "type": "code",
  252. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  253. },
  254. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  255. "position": {
  256. "type": "list<double>",
  257. "value": [
  258. 8,
  259. 8
  260. ]
  261. },
  262. "orientation": {
  263. "type": "double",
  264. "value": 0
  265. },
  266. "scale": {
  267. "type": "list<double>",
  268. "value": [
  269. 1,
  270. 1
  271. ]
  272. }
  273. },
  274. "99": {
  275. "textContent": {
  276. "type": "string",
  277. "value": "+ name : string = OC_"
  278. },
  279. "style": {
  280. "type": "map<string,string>",
  281. "value": {
  282. "font-size": "14px",
  283. "font-style": "normal",
  284. "font-weight": "bold",
  285. "line-height": "100%",
  286. "letter-spacing": "0px",
  287. "word-spacing": "0px",
  288. "fill": "#000000",
  289. "fill-opacity": "1",
  290. "stroke": "none"
  291. }
  292. },
  293. "mapper": {
  294. "type": "code",
  295. "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')})"
  296. },
  297. "parser": {
  298. "type": "code",
  299. "value": ""
  300. },
  301. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  302. "position": {
  303. "type": "list<double>",
  304. "value": [
  305. 10,
  306. 41
  307. ]
  308. },
  309. "orientation": {
  310. "type": "double",
  311. "value": 0
  312. },
  313. "scale": {
  314. "type": "list<double>",
  315. "value": [
  316. 1,
  317. 1
  318. ]
  319. }
  320. },
  321. "100": {
  322. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  323. "position": {
  324. "type": "list<double>",
  325. "value": [
  326. 68.5,
  327. 36.5
  328. ]
  329. },
  330. "orientation": {
  331. "type": "double",
  332. "value": 0
  333. },
  334. "scale": {
  335. "type": "list<double>",
  336. "value": [
  337. 1,
  338. 1
  339. ]
  340. },
  341. "link-style": {
  342. "type": "map<string,string>",
  343. "value": {
  344. "stroke": "#00ffff",
  345. "stroke-dasharray": "",
  346. "stroke-opacity": 0.1,
  347. "stroke-width": 1
  348. }
  349. }
  350. },
  351. "101": {
  352. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  353. "position": {
  354. "type": "list<double>",
  355. "value": [
  356. 12.5,
  357. 27
  358. ]
  359. },
  360. "orientation": {
  361. "type": "double",
  362. "value": 0
  363. },
  364. "scale": {
  365. "type": "list<double>",
  366. "value": [
  367. 1,
  368. 1
  369. ]
  370. },
  371. "link-style": {
  372. "type": "map<string,string>",
  373. "value": {
  374. "stroke": "#00ffff",
  375. "stroke-dasharray": "",
  376. "stroke-opacity": 0.1,
  377. "stroke-width": 1
  378. }
  379. }
  380. },
  381. "102": {
  382. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  383. "position": {
  384. "type": "list<double>",
  385. "value": [
  386. 53.75,
  387. 20
  388. ]
  389. },
  390. "orientation": {
  391. "type": "double",
  392. "value": 0
  393. },
  394. "scale": {
  395. "type": "list<double>",
  396. "value": [
  397. 1,
  398. 1
  399. ]
  400. },
  401. "link-style": {
  402. "type": "map<string,string>",
  403. "value": {
  404. "stroke": "#00ffff",
  405. "stroke-dasharray": "",
  406. "stroke-opacity": 0.1,
  407. "stroke-width": 1
  408. }
  409. }
  410. }
  411. },
  412. "edges": [
  413. {
  414. "src": "96",
  415. "dest": "100"
  416. },
  417. {
  418. "src": "100",
  419. "dest": "98"
  420. },
  421. {
  422. "src": "96",
  423. "dest": "101"
  424. },
  425. {
  426. "src": "101",
  427. "dest": "99"
  428. },
  429. {
  430. "src": "96",
  431. "dest": "102"
  432. },
  433. {
  434. "src": "102",
  435. "dest": "97"
  436. }
  437. ]
  438. }
  439. },
  440. "$asuri": {
  441. "type": "string",
  442. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/12.instance"
  443. },
  444. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  445. },
  446. "120": {
  447. "typename": {
  448. "type": "string",
  449. "value": "ClassIcon"
  450. },
  451. "position": {
  452. "type": "list<double>",
  453. "value": [
  454. 556,
  455. 749
  456. ]
  457. },
  458. "orientation": {
  459. "type": "double",
  460. "value": 0
  461. },
  462. "scale": {
  463. "type": "list<double>",
  464. "value": [
  465. 1,
  466. 1
  467. ]
  468. },
  469. "mapper": {
  470. "type": "code",
  471. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  472. },
  473. "parser": {
  474. "type": "code",
  475. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  476. },
  477. "$contents": {
  478. "type": "map<string,*>",
  479. "value": {
  480. "nodes": {
  481. "96": {
  482. "width": {
  483. "type": "double",
  484. "value": 200
  485. },
  486. "height": {
  487. "type": "double",
  488. "value": 125
  489. },
  490. "cornerRadius": {
  491. "type": "double",
  492. "value": 0
  493. },
  494. "style": {
  495. "type": "map<string,string>",
  496. "value": {
  497. "stroke": "#000000",
  498. "stroke-dasharray": "",
  499. "fill": "#ffffff",
  500. "fill-opacity": 0.75,
  501. "stroke-width": 2
  502. }
  503. },
  504. "mapper": {
  505. "type": "code",
  506. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  507. },
  508. "parser": {
  509. "type": "code",
  510. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  511. },
  512. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  513. "position": {
  514. "type": "list<double>",
  515. "value": [
  516. 4,
  517. 3
  518. ]
  519. },
  520. "orientation": {
  521. "type": "double",
  522. "value": 0
  523. },
  524. "scale": {
  525. "type": "list<double>",
  526. "value": [
  527. 1,
  528. 1
  529. ]
  530. }
  531. },
  532. "97": {
  533. "segments": {
  534. "type": "string",
  535. "value": "m0,0l197,0"
  536. },
  537. "style": {
  538. "type": "map<string,string>",
  539. "value": {
  540. "stroke": "#000000",
  541. "stroke-dasharray": "",
  542. "fill": "#ffffff",
  543. "fill-opacity": 0.75,
  544. "font-size": "20px",
  545. "stroke-width": 2,
  546. "arrow-start": "none",
  547. "arrow-end": "none"
  548. }
  549. },
  550. "mapper": {
  551. "type": "code",
  552. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  553. },
  554. "parser": {
  555. "type": "code",
  556. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  557. },
  558. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  559. "position": {
  560. "type": "list<double>",
  561. "value": [
  562. 6,
  563. 36
  564. ]
  565. },
  566. "orientation": {
  567. "type": "double",
  568. "value": 0
  569. },
  570. "scale": {
  571. "type": "list<double>",
  572. "value": [
  573. 1,
  574. 1
  575. ]
  576. }
  577. },
  578. "98": {
  579. "textContent": {
  580. "type": "string",
  581. "value": "State"
  582. },
  583. "style": {
  584. "type": "map<string,string>",
  585. "value": {
  586. "font-size": "18px",
  587. "font-style": "italic",
  588. "font-weight": "bold",
  589. "line-height": "100%",
  590. "letter-spacing": "0px",
  591. "word-spacing": "0px",
  592. "fill": "#000000",
  593. "fill-opacity": "1",
  594. "stroke": "none"
  595. }
  596. },
  597. "mapper": {
  598. "type": "code",
  599. "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"
  600. },
  601. "parser": {
  602. "type": "code",
  603. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  604. },
  605. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  606. "position": {
  607. "type": "list<double>",
  608. "value": [
  609. 8,
  610. 8
  611. ]
  612. },
  613. "orientation": {
  614. "type": "double",
  615. "value": 0
  616. },
  617. "scale": {
  618. "type": "list<double>",
  619. "value": [
  620. 1,
  621. 1
  622. ]
  623. }
  624. },
  625. "99": {
  626. "textContent": {
  627. "type": "string",
  628. "value": "+ name : string = S_\n+ entryAction : code\n+ exitAction : code\n+ isStart : boolean\n+ isCurrent : boolean\n+ option : ENUM(ITF, OTF, RTO) = ITF\n+ raiseEntry : list<map<[event,scope,arguments],[string,string,list<string>]>> = \n+ raiseExit : list<map<[event,scope,arguments],[string,string,list<string>]>> = "
  629. },
  630. "style": {
  631. "type": "map<string,string>",
  632. "value": {
  633. "font-size": "14px",
  634. "font-style": "normal",
  635. "font-weight": "bold",
  636. "line-height": "100%",
  637. "letter-spacing": "0px",
  638. "word-spacing": "0px",
  639. "fill": "#000000",
  640. "fill-opacity": "1",
  641. "stroke": "none"
  642. }
  643. },
  644. "mapper": {
  645. "type": "code",
  646. "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')})"
  647. },
  648. "parser": {
  649. "type": "code",
  650. "value": ""
  651. },
  652. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  653. "position": {
  654. "type": "list<double>",
  655. "value": [
  656. 10,
  657. 41
  658. ]
  659. },
  660. "orientation": {
  661. "type": "double",
  662. "value": 0
  663. },
  664. "scale": {
  665. "type": "list<double>",
  666. "value": [
  667. 1,
  668. 1
  669. ]
  670. }
  671. },
  672. "100": {
  673. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  674. "position": {
  675. "type": "list<double>",
  676. "value": [
  677. 68.5,
  678. 36.5
  679. ]
  680. },
  681. "orientation": {
  682. "type": "double",
  683. "value": 0
  684. },
  685. "scale": {
  686. "type": "list<double>",
  687. "value": [
  688. 1,
  689. 1
  690. ]
  691. },
  692. "link-style": {
  693. "type": "map<string,string>",
  694. "value": {
  695. "stroke": "#00ffff",
  696. "stroke-dasharray": "",
  697. "stroke-opacity": 0.1,
  698. "stroke-width": 1
  699. }
  700. }
  701. },
  702. "101": {
  703. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  704. "position": {
  705. "type": "list<double>",
  706. "value": [
  707. 12.5,
  708. 27
  709. ]
  710. },
  711. "orientation": {
  712. "type": "double",
  713. "value": 0
  714. },
  715. "scale": {
  716. "type": "list<double>",
  717. "value": [
  718. 1,
  719. 1
  720. ]
  721. },
  722. "link-style": {
  723. "type": "map<string,string>",
  724. "value": {
  725. "stroke": "#00ffff",
  726. "stroke-dasharray": "",
  727. "stroke-opacity": 0.1,
  728. "stroke-width": 1
  729. }
  730. }
  731. },
  732. "102": {
  733. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  734. "position": {
  735. "type": "list<double>",
  736. "value": [
  737. 53.75,
  738. 20
  739. ]
  740. },
  741. "orientation": {
  742. "type": "double",
  743. "value": 0
  744. },
  745. "scale": {
  746. "type": "list<double>",
  747. "value": [
  748. 1,
  749. 1
  750. ]
  751. },
  752. "link-style": {
  753. "type": "map<string,string>",
  754. "value": {
  755. "stroke": "#00ffff",
  756. "stroke-dasharray": "",
  757. "stroke-opacity": 0.1,
  758. "stroke-width": 1
  759. }
  760. }
  761. }
  762. },
  763. "edges": [
  764. {
  765. "src": "96",
  766. "dest": "100"
  767. },
  768. {
  769. "src": "100",
  770. "dest": "98"
  771. },
  772. {
  773. "src": "96",
  774. "dest": "101"
  775. },
  776. {
  777. "src": "101",
  778. "dest": "99"
  779. },
  780. {
  781. "src": "96",
  782. "dest": "102"
  783. },
  784. {
  785. "src": "102",
  786. "dest": "97"
  787. }
  788. ]
  789. }
  790. },
  791. "$asuri": {
  792. "type": "string",
  793. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/18.instance"
  794. },
  795. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  796. },
  797. "121": {
  798. "typename": {
  799. "type": "string",
  800. "value": "ClassIcon"
  801. },
  802. "position": {
  803. "type": "list<double>",
  804. "value": [
  805. 456,
  806. 972
  807. ]
  808. },
  809. "orientation": {
  810. "type": "double",
  811. "value": 0
  812. },
  813. "scale": {
  814. "type": "list<double>",
  815. "value": [
  816. 1,
  817. 1
  818. ]
  819. },
  820. "mapper": {
  821. "type": "code",
  822. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  823. },
  824. "parser": {
  825. "type": "code",
  826. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  827. },
  828. "$contents": {
  829. "type": "map<string,*>",
  830. "value": {
  831. "nodes": {
  832. "96": {
  833. "width": {
  834. "type": "double",
  835. "value": 200
  836. },
  837. "height": {
  838. "type": "double",
  839. "value": 125
  840. },
  841. "cornerRadius": {
  842. "type": "double",
  843. "value": 0
  844. },
  845. "style": {
  846. "type": "map<string,string>",
  847. "value": {
  848. "stroke": "#000000",
  849. "stroke-dasharray": "",
  850. "fill": "#ffffff",
  851. "fill-opacity": 0.75,
  852. "stroke-width": 2
  853. }
  854. },
  855. "mapper": {
  856. "type": "code",
  857. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  858. },
  859. "parser": {
  860. "type": "code",
  861. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  862. },
  863. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  864. "position": {
  865. "type": "list<double>",
  866. "value": [
  867. 4,
  868. 3
  869. ]
  870. },
  871. "orientation": {
  872. "type": "double",
  873. "value": 0
  874. },
  875. "scale": {
  876. "type": "list<double>",
  877. "value": [
  878. 1,
  879. 1
  880. ]
  881. }
  882. },
  883. "97": {
  884. "segments": {
  885. "type": "string",
  886. "value": "m0,0l197,0"
  887. },
  888. "style": {
  889. "type": "map<string,string>",
  890. "value": {
  891. "stroke": "#000000",
  892. "stroke-dasharray": "",
  893. "fill": "#ffffff",
  894. "fill-opacity": 0.75,
  895. "font-size": "20px",
  896. "stroke-width": 2,
  897. "arrow-start": "none",
  898. "arrow-end": "none"
  899. }
  900. },
  901. "mapper": {
  902. "type": "code",
  903. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  904. },
  905. "parser": {
  906. "type": "code",
  907. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  908. },
  909. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  910. "position": {
  911. "type": "list<double>",
  912. "value": [
  913. 6,
  914. 36
  915. ]
  916. },
  917. "orientation": {
  918. "type": "double",
  919. "value": 0
  920. },
  921. "scale": {
  922. "type": "list<double>",
  923. "value": [
  924. 1,
  925. 1
  926. ]
  927. }
  928. },
  929. "98": {
  930. "textContent": {
  931. "type": "string",
  932. "value": "CompositeState"
  933. },
  934. "style": {
  935. "type": "map<string,string>",
  936. "value": {
  937. "font-size": "18px",
  938. "font-style": "normal",
  939. "font-weight": "bold",
  940. "line-height": "100%",
  941. "letter-spacing": "0px",
  942. "word-spacing": "0px",
  943. "fill": "#000000",
  944. "fill-opacity": "1",
  945. "stroke": "none"
  946. }
  947. },
  948. "mapper": {
  949. "type": "code",
  950. "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"
  951. },
  952. "parser": {
  953. "type": "code",
  954. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  955. },
  956. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  957. "position": {
  958. "type": "list<double>",
  959. "value": [
  960. 8,
  961. 8
  962. ]
  963. },
  964. "orientation": {
  965. "type": "double",
  966. "value": 0
  967. },
  968. "scale": {
  969. "type": "list<double>",
  970. "value": [
  971. 1,
  972. 1
  973. ]
  974. }
  975. },
  976. "99": {
  977. "textContent": {
  978. "type": "string",
  979. "value": ""
  980. },
  981. "style": {
  982. "type": "map<string,string>",
  983. "value": {
  984. "font-size": "14px",
  985. "font-style": "normal",
  986. "font-weight": "bold",
  987. "line-height": "100%",
  988. "letter-spacing": "0px",
  989. "word-spacing": "0px",
  990. "fill": "#000000",
  991. "fill-opacity": "1",
  992. "stroke": "none"
  993. }
  994. },
  995. "mapper": {
  996. "type": "code",
  997. "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')})"
  998. },
  999. "parser": {
  1000. "type": "code",
  1001. "value": ""
  1002. },
  1003. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1004. "position": {
  1005. "type": "list<double>",
  1006. "value": [
  1007. 10,
  1008. 41
  1009. ]
  1010. },
  1011. "orientation": {
  1012. "type": "double",
  1013. "value": 0
  1014. },
  1015. "scale": {
  1016. "type": "list<double>",
  1017. "value": [
  1018. 1,
  1019. 1
  1020. ]
  1021. }
  1022. },
  1023. "100": {
  1024. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1025. "position": {
  1026. "type": "list<double>",
  1027. "value": [
  1028. 68.5,
  1029. 36.5
  1030. ]
  1031. },
  1032. "orientation": {
  1033. "type": "double",
  1034. "value": 0
  1035. },
  1036. "scale": {
  1037. "type": "list<double>",
  1038. "value": [
  1039. 1,
  1040. 1
  1041. ]
  1042. },
  1043. "link-style": {
  1044. "type": "map<string,string>",
  1045. "value": {
  1046. "stroke": "#00ffff",
  1047. "stroke-dasharray": "",
  1048. "stroke-opacity": 0.1,
  1049. "stroke-width": 1
  1050. }
  1051. }
  1052. },
  1053. "101": {
  1054. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1055. "position": {
  1056. "type": "list<double>",
  1057. "value": [
  1058. 12.5,
  1059. 27
  1060. ]
  1061. },
  1062. "orientation": {
  1063. "type": "double",
  1064. "value": 0
  1065. },
  1066. "scale": {
  1067. "type": "list<double>",
  1068. "value": [
  1069. 1,
  1070. 1
  1071. ]
  1072. },
  1073. "link-style": {
  1074. "type": "map<string,string>",
  1075. "value": {
  1076. "stroke": "#00ffff",
  1077. "stroke-dasharray": "",
  1078. "stroke-opacity": 0.1,
  1079. "stroke-width": 1
  1080. }
  1081. }
  1082. },
  1083. "102": {
  1084. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1085. "position": {
  1086. "type": "list<double>",
  1087. "value": [
  1088. 53.75,
  1089. 20
  1090. ]
  1091. },
  1092. "orientation": {
  1093. "type": "double",
  1094. "value": 0
  1095. },
  1096. "scale": {
  1097. "type": "list<double>",
  1098. "value": [
  1099. 1,
  1100. 1
  1101. ]
  1102. },
  1103. "link-style": {
  1104. "type": "map<string,string>",
  1105. "value": {
  1106. "stroke": "#00ffff",
  1107. "stroke-dasharray": "",
  1108. "stroke-opacity": 0.1,
  1109. "stroke-width": 1
  1110. }
  1111. }
  1112. }
  1113. },
  1114. "edges": [
  1115. {
  1116. "src": "96",
  1117. "dest": "100"
  1118. },
  1119. {
  1120. "src": "100",
  1121. "dest": "98"
  1122. },
  1123. {
  1124. "src": "96",
  1125. "dest": "101"
  1126. },
  1127. {
  1128. "src": "101",
  1129. "dest": "99"
  1130. },
  1131. {
  1132. "src": "96",
  1133. "dest": "102"
  1134. },
  1135. {
  1136. "src": "102",
  1137. "dest": "97"
  1138. }
  1139. ]
  1140. }
  1141. },
  1142. "$asuri": {
  1143. "type": "string",
  1144. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/19.instance"
  1145. },
  1146. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  1147. },
  1148. "122": {
  1149. "typename": {
  1150. "type": "string",
  1151. "value": "ClassIcon"
  1152. },
  1153. "position": {
  1154. "type": "list<double>",
  1155. "value": [
  1156. 683,
  1157. 973
  1158. ]
  1159. },
  1160. "orientation": {
  1161. "type": "double",
  1162. "value": 0
  1163. },
  1164. "scale": {
  1165. "type": "list<double>",
  1166. "value": [
  1167. 1,
  1168. 1
  1169. ]
  1170. },
  1171. "mapper": {
  1172. "type": "code",
  1173. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1174. },
  1175. "parser": {
  1176. "type": "code",
  1177. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1178. },
  1179. "$contents": {
  1180. "type": "map<string,*>",
  1181. "value": {
  1182. "nodes": {
  1183. "96": {
  1184. "width": {
  1185. "type": "double",
  1186. "value": 200
  1187. },
  1188. "height": {
  1189. "type": "double",
  1190. "value": 125
  1191. },
  1192. "cornerRadius": {
  1193. "type": "double",
  1194. "value": 0
  1195. },
  1196. "style": {
  1197. "type": "map<string,string>",
  1198. "value": {
  1199. "stroke": "#000000",
  1200. "stroke-dasharray": "",
  1201. "fill": "#ffffff",
  1202. "fill-opacity": 0.75,
  1203. "stroke-width": 2
  1204. }
  1205. },
  1206. "mapper": {
  1207. "type": "code",
  1208. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1209. },
  1210. "parser": {
  1211. "type": "code",
  1212. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1213. },
  1214. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  1215. "position": {
  1216. "type": "list<double>",
  1217. "value": [
  1218. 4,
  1219. 3
  1220. ]
  1221. },
  1222. "orientation": {
  1223. "type": "double",
  1224. "value": 0
  1225. },
  1226. "scale": {
  1227. "type": "list<double>",
  1228. "value": [
  1229. 1,
  1230. 1
  1231. ]
  1232. }
  1233. },
  1234. "97": {
  1235. "segments": {
  1236. "type": "string",
  1237. "value": "m0,0l197,0"
  1238. },
  1239. "style": {
  1240. "type": "map<string,string>",
  1241. "value": {
  1242. "stroke": "#000000",
  1243. "stroke-dasharray": "",
  1244. "fill": "#ffffff",
  1245. "fill-opacity": 0.75,
  1246. "font-size": "20px",
  1247. "stroke-width": 2,
  1248. "arrow-start": "none",
  1249. "arrow-end": "none"
  1250. }
  1251. },
  1252. "mapper": {
  1253. "type": "code",
  1254. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1255. },
  1256. "parser": {
  1257. "type": "code",
  1258. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1259. },
  1260. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1261. "position": {
  1262. "type": "list<double>",
  1263. "value": [
  1264. 6,
  1265. 36
  1266. ]
  1267. },
  1268. "orientation": {
  1269. "type": "double",
  1270. "value": 0
  1271. },
  1272. "scale": {
  1273. "type": "list<double>",
  1274. "value": [
  1275. 1,
  1276. 1
  1277. ]
  1278. }
  1279. },
  1280. "98": {
  1281. "textContent": {
  1282. "type": "string",
  1283. "value": "BasicState"
  1284. },
  1285. "style": {
  1286. "type": "map<string,string>",
  1287. "value": {
  1288. "font-size": "18px",
  1289. "font-style": "normal",
  1290. "font-weight": "bold",
  1291. "line-height": "100%",
  1292. "letter-spacing": "0px",
  1293. "word-spacing": "0px",
  1294. "fill": "#000000",
  1295. "fill-opacity": "1",
  1296. "stroke": "none"
  1297. }
  1298. },
  1299. "mapper": {
  1300. "type": "code",
  1301. "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"
  1302. },
  1303. "parser": {
  1304. "type": "code",
  1305. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  1306. },
  1307. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1308. "position": {
  1309. "type": "list<double>",
  1310. "value": [
  1311. 8,
  1312. 8
  1313. ]
  1314. },
  1315. "orientation": {
  1316. "type": "double",
  1317. "value": 0
  1318. },
  1319. "scale": {
  1320. "type": "list<double>",
  1321. "value": [
  1322. 1,
  1323. 1
  1324. ]
  1325. }
  1326. },
  1327. "99": {
  1328. "textContent": {
  1329. "type": "string",
  1330. "value": ""
  1331. },
  1332. "style": {
  1333. "type": "map<string,string>",
  1334. "value": {
  1335. "font-size": "14px",
  1336. "font-style": "normal",
  1337. "font-weight": "bold",
  1338. "line-height": "100%",
  1339. "letter-spacing": "0px",
  1340. "word-spacing": "0px",
  1341. "fill": "#000000",
  1342. "fill-opacity": "1",
  1343. "stroke": "none"
  1344. }
  1345. },
  1346. "mapper": {
  1347. "type": "code",
  1348. "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')})"
  1349. },
  1350. "parser": {
  1351. "type": "code",
  1352. "value": ""
  1353. },
  1354. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1355. "position": {
  1356. "type": "list<double>",
  1357. "value": [
  1358. 10,
  1359. 41
  1360. ]
  1361. },
  1362. "orientation": {
  1363. "type": "double",
  1364. "value": 0
  1365. },
  1366. "scale": {
  1367. "type": "list<double>",
  1368. "value": [
  1369. 1,
  1370. 1
  1371. ]
  1372. }
  1373. },
  1374. "100": {
  1375. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1376. "position": {
  1377. "type": "list<double>",
  1378. "value": [
  1379. 68.5,
  1380. 36.5
  1381. ]
  1382. },
  1383. "orientation": {
  1384. "type": "double",
  1385. "value": 0
  1386. },
  1387. "scale": {
  1388. "type": "list<double>",
  1389. "value": [
  1390. 1,
  1391. 1
  1392. ]
  1393. },
  1394. "link-style": {
  1395. "type": "map<string,string>",
  1396. "value": {
  1397. "stroke": "#00ffff",
  1398. "stroke-dasharray": "",
  1399. "stroke-opacity": 0.1,
  1400. "stroke-width": 1
  1401. }
  1402. }
  1403. },
  1404. "101": {
  1405. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1406. "position": {
  1407. "type": "list<double>",
  1408. "value": [
  1409. 12.5,
  1410. 27
  1411. ]
  1412. },
  1413. "orientation": {
  1414. "type": "double",
  1415. "value": 0
  1416. },
  1417. "scale": {
  1418. "type": "list<double>",
  1419. "value": [
  1420. 1,
  1421. 1
  1422. ]
  1423. },
  1424. "link-style": {
  1425. "type": "map<string,string>",
  1426. "value": {
  1427. "stroke": "#00ffff",
  1428. "stroke-dasharray": "",
  1429. "stroke-opacity": 0.1,
  1430. "stroke-width": 1
  1431. }
  1432. }
  1433. },
  1434. "102": {
  1435. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1436. "position": {
  1437. "type": "list<double>",
  1438. "value": [
  1439. 53.75,
  1440. 20
  1441. ]
  1442. },
  1443. "orientation": {
  1444. "type": "double",
  1445. "value": 0
  1446. },
  1447. "scale": {
  1448. "type": "list<double>",
  1449. "value": [
  1450. 1,
  1451. 1
  1452. ]
  1453. },
  1454. "link-style": {
  1455. "type": "map<string,string>",
  1456. "value": {
  1457. "stroke": "#00ffff",
  1458. "stroke-dasharray": "",
  1459. "stroke-opacity": 0.1,
  1460. "stroke-width": 1
  1461. }
  1462. }
  1463. }
  1464. },
  1465. "edges": [
  1466. {
  1467. "src": "96",
  1468. "dest": "100"
  1469. },
  1470. {
  1471. "src": "100",
  1472. "dest": "98"
  1473. },
  1474. {
  1475. "src": "96",
  1476. "dest": "101"
  1477. },
  1478. {
  1479. "src": "101",
  1480. "dest": "99"
  1481. },
  1482. {
  1483. "src": "96",
  1484. "dest": "102"
  1485. },
  1486. {
  1487. "src": "102",
  1488. "dest": "97"
  1489. }
  1490. ]
  1491. }
  1492. },
  1493. "$asuri": {
  1494. "type": "string",
  1495. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/20.instance"
  1496. },
  1497. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  1498. },
  1499. "123": {
  1500. "link-style": {
  1501. "type": "map<string,string>",
  1502. "value": {
  1503. "stroke": "#000000",
  1504. "stroke-dasharray": "",
  1505. "stroke-opacity": 1,
  1506. "stroke-width": 2
  1507. }
  1508. },
  1509. "arrowHead": {
  1510. "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)",
  1511. "value": "custom"
  1512. },
  1513. "arrowTail": {
  1514. "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)",
  1515. "value": "arrow-black"
  1516. },
  1517. "typename": {
  1518. "type": "string",
  1519. "value": "AssociationLink"
  1520. },
  1521. "position": {
  1522. "type": "list<double>",
  1523. "value": [
  1524. 440,
  1525. 838.8828098912265
  1526. ]
  1527. },
  1528. "orientation": {
  1529. "type": "double",
  1530. "value": 0
  1531. },
  1532. "scale": {
  1533. "type": "list<double>",
  1534. "value": [
  1535. 1,
  1536. 1
  1537. ]
  1538. },
  1539. "mapper": {
  1540. "type": "code",
  1541. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1542. },
  1543. "parser": {
  1544. "type": "code",
  1545. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1546. },
  1547. "$contents": {
  1548. "type": "map<string,*>",
  1549. "value": {
  1550. "nodes": {
  1551. "71": {
  1552. "textContent": {
  1553. "type": "string",
  1554. "value": "contain"
  1555. },
  1556. "style": {
  1557. "type": "map<string,string>",
  1558. "value": {
  1559. "font-size": "20px",
  1560. "font-style": "normal",
  1561. "font-weight": "normal",
  1562. "line-height": "100%",
  1563. "letter-spacing": "0px",
  1564. "word-spacing": "0px",
  1565. "fill": "#000000",
  1566. "fill-opacity": "1",
  1567. "stroke": "none",
  1568. "font-family": "Sans"
  1569. }
  1570. },
  1571. "mapper": {
  1572. "type": "code",
  1573. "value": "({'textContent':getAttr('name')})"
  1574. },
  1575. "parser": {
  1576. "type": "code",
  1577. "value": "({'name':getAttr('textContent')})"
  1578. },
  1579. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1580. "position": {
  1581. "type": "list<double>",
  1582. "value": [
  1583. "0;10.5,0%",
  1584. "0;41.20936271570599,0%"
  1585. ]
  1586. },
  1587. "orientation": {
  1588. "type": "double",
  1589. "value": "0;-90"
  1590. },
  1591. "scale": {
  1592. "type": "list<double>",
  1593. "value": [
  1594. 1,
  1595. 1
  1596. ]
  1597. },
  1598. "$linkDecoratorInfo": {
  1599. "type": "map<string,double>",
  1600. "value": {
  1601. "xratio": 0.3803680981595092,
  1602. "yoffset": -28.5
  1603. }
  1604. }
  1605. },
  1606. "74": {
  1607. "textContent": {
  1608. "type": "string",
  1609. "value": "*"
  1610. },
  1611. "style": {
  1612. "type": "map<string,string>",
  1613. "value": {
  1614. "font-size": "20px",
  1615. "font-style": "normal",
  1616. "font-weight": "normal",
  1617. "line-height": "100%",
  1618. "letter-spacing": "0px",
  1619. "word-spacing": "0px",
  1620. "fill": "#000000",
  1621. "fill-opacity": "1",
  1622. "stroke": "none",
  1623. "font-family": "Sans"
  1624. }
  1625. },
  1626. "mapper": {
  1627. "type": "code",
  1628. "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})"
  1629. },
  1630. "parser": {
  1631. "type": "code",
  1632. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1633. },
  1634. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1635. "position": {
  1636. "type": "list<double>",
  1637. "value": [
  1638. "0;13.5,0%",
  1639. "0;117.45463730344,0%"
  1640. ]
  1641. },
  1642. "orientation": {
  1643. "type": "double",
  1644. "value": "0;-90"
  1645. },
  1646. "scale": {
  1647. "type": "list<double>",
  1648. "value": [
  1649. 1,
  1650. 1
  1651. ]
  1652. },
  1653. "$linkDecoratorInfo": {
  1654. "type": "map<string,double>",
  1655. "value": {
  1656. "xratio": 0.06134969325153374,
  1657. "yoffset": -25.5
  1658. }
  1659. }
  1660. },
  1661. "77": {
  1662. "textContent": {
  1663. "type": "string",
  1664. "value": "*"
  1665. },
  1666. "style": {
  1667. "type": "map<string,string>",
  1668. "value": {
  1669. "font-size": "20px",
  1670. "font-style": "normal",
  1671. "font-weight": "normal",
  1672. "line-height": "100%",
  1673. "letter-spacing": "0px",
  1674. "word-spacing": "0px",
  1675. "fill": "#000000",
  1676. "fill-opacity": "1",
  1677. "stroke": "none",
  1678. "font-family": "Sans"
  1679. }
  1680. },
  1681. "mapper": {
  1682. "type": "code",
  1683. "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})"
  1684. },
  1685. "parser": {
  1686. "type": "code",
  1687. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1688. },
  1689. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1690. "position": {
  1691. "type": "list<double>",
  1692. "value": [
  1693. "0;115.99961072693532,100%",
  1694. "0;-53.38280989122654,0%"
  1695. ]
  1696. },
  1697. "orientation": {
  1698. "type": "double",
  1699. "value": "0;0"
  1700. },
  1701. "scale": {
  1702. "type": "list<double>",
  1703. "value": [
  1704. 1,
  1705. 1
  1706. ]
  1707. },
  1708. "$linkDecoratorInfo": {
  1709. "type": "map<string,double>",
  1710. "value": {
  1711. "xratio": 1.0245398773006136,
  1712. "yoffset": -23.5
  1713. }
  1714. }
  1715. },
  1716. "140": {
  1717. "segments": {
  1718. "type": "string",
  1719. "value": "m0,0 l20,8 l-20,8"
  1720. },
  1721. "style": {
  1722. "type": "map<string,string>",
  1723. "value": {
  1724. "stroke": "#000000",
  1725. "fill": "#000000",
  1726. "fill-opacity": 0,
  1727. "stroke-width": 1,
  1728. "opacity": 1
  1729. }
  1730. },
  1731. "mapper": {
  1732. "type": "code",
  1733. "value": ""
  1734. },
  1735. "parser": {
  1736. "type": "code",
  1737. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1738. },
  1739. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1740. "position": {
  1741. "type": "list<double>",
  1742. "value": [
  1743. "0;115.99961072693532,100%",
  1744. "0;-37.88280989122654,0%"
  1745. ]
  1746. },
  1747. "orientation": {
  1748. "type": "double",
  1749. "value": "0;0"
  1750. },
  1751. "scale": {
  1752. "type": "list<double>",
  1753. "value": [
  1754. 1,
  1755. 1
  1756. ]
  1757. },
  1758. "$linkDecoratorInfo": {
  1759. "type": "map<string,double>",
  1760. "value": {
  1761. "xratio": 1,
  1762. "yoffset": -8
  1763. }
  1764. }
  1765. }
  1766. },
  1767. "edges": []
  1768. }
  1769. },
  1770. "$asuri": {
  1771. "type": "string",
  1772. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/21.instance"
  1773. },
  1774. "$segments": {
  1775. "type": "map<string,list<string>>",
  1776. "value": {
  1777. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/121.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/123.instance": "M479,971L479,850.8828098912268",
  1778. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/123.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/120.instance": "M479,850.8828098912268L479,809L555.9996107269353,809"
  1779. }
  1780. },
  1781. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  1782. },
  1783. "124": {
  1784. "link-style": {
  1785. "type": "map<string,string>",
  1786. "value": {
  1787. "stroke": "#000000",
  1788. "stroke-dasharray": "",
  1789. "stroke-opacity": 1,
  1790. "stroke-width": 2
  1791. }
  1792. },
  1793. "arrowHead": {
  1794. "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)",
  1795. "value": "custom"
  1796. },
  1797. "arrowTail": {
  1798. "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)",
  1799. "value": "arrow-black"
  1800. },
  1801. "typename": {
  1802. "type": "string",
  1803. "value": "InheritanceLink"
  1804. },
  1805. "position": {
  1806. "type": "list<double>",
  1807. "value": [
  1808. 735.9989985080956,
  1809. 935.499
  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. "mapper": {
  1824. "type": "code",
  1825. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1826. },
  1827. "parser": {
  1828. "type": "code",
  1829. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1830. },
  1831. "$contents": {
  1832. "type": "map<string,*>",
  1833. "value": {
  1834. "nodes": {
  1835. "164": {
  1836. "segments": {
  1837. "type": "string",
  1838. "value": "m0,0 l20,10 l-20,10 z"
  1839. },
  1840. "style": {
  1841. "type": "map<string,string>",
  1842. "value": {
  1843. "stroke": "#000000",
  1844. "fill": "#ffffff",
  1845. "opacity": 1,
  1846. "stroke-width": 1
  1847. }
  1848. },
  1849. "mapper": {
  1850. "type": "code",
  1851. "value": ""
  1852. },
  1853. "parser": {
  1854. "type": "code",
  1855. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1856. },
  1857. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1858. "position": {
  1859. "type": "list<double>",
  1860. "value": [
  1861. "0;-9.99899850809561,6.123031769111886e-15%",
  1862. "0;-57.499000000000024,-100%"
  1863. ]
  1864. },
  1865. "orientation": {
  1866. "type": "double",
  1867. "value": "0;-90"
  1868. },
  1869. "scale": {
  1870. "type": "list<double>",
  1871. "value": [
  1872. 1,
  1873. 1
  1874. ]
  1875. },
  1876. "$linkDecoratorInfo": {
  1877. "type": "map<string,double>",
  1878. "value": {
  1879. "xratio": 1,
  1880. "yoffset": -10
  1881. }
  1882. }
  1883. }
  1884. },
  1885. "edges": []
  1886. }
  1887. },
  1888. "$asuri": {
  1889. "type": "string",
  1890. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance/22.instance"
  1891. },
  1892. "$segments": {
  1893. "type": "map<string,list<string>>",
  1894. "value": {
  1895. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/122.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/124.instance": "M736,975L736,935",
  1896. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/124.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/120.instance": "M736,935L736,878"
  1897. }
  1898. },
  1899. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink"
  1900. },
  1901. "125": {
  1902. "link-style": {
  1903. "type": "map<string,string>",
  1904. "value": {
  1905. "stroke": "#000000",
  1906. "stroke-dasharray": "",
  1907. "stroke-opacity": 1,
  1908. "stroke-width": 2
  1909. }
  1910. },
  1911. "arrowHead": {
  1912. "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)",
  1913. "value": "custom"
  1914. },
  1915. "arrowTail": {
  1916. "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)",
  1917. "value": "arrow-black"
  1918. },
  1919. "typename": {
  1920. "type": "string",
  1921. "value": "AssociationLink"
  1922. },
  1923. "position": {
  1924. "type": "list<double>",
  1925. "value": [
  1926. 771,
  1927. 685.5143823999999
  1928. ]
  1929. },
  1930. "orientation": {
  1931. "type": "double",
  1932. "value": 0
  1933. },
  1934. "scale": {
  1935. "type": "list<double>",
  1936. "value": [
  1937. 1,
  1938. 1
  1939. ]
  1940. },
  1941. "mapper": {
  1942. "type": "code",
  1943. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1944. },
  1945. "parser": {
  1946. "type": "code",
  1947. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1948. },
  1949. "$contents": {
  1950. "type": "map<string,*>",
  1951. "value": {
  1952. "nodes": {
  1953. "71": {
  1954. "textContent": {
  1955. "type": "string",
  1956. "value": "transition"
  1957. },
  1958. "style": {
  1959. "type": "map<string,string>",
  1960. "value": {
  1961. "font-size": "20px",
  1962. "font-style": "normal",
  1963. "font-weight": "normal",
  1964. "line-height": "100%",
  1965. "letter-spacing": "0px",
  1966. "word-spacing": "0px",
  1967. "fill": "#000000",
  1968. "fill-opacity": "1",
  1969. "stroke": "none",
  1970. "font-family": "Sans"
  1971. }
  1972. },
  1973. "mapper": {
  1974. "type": "code",
  1975. "value": "({'textContent':getAttr('name')})"
  1976. },
  1977. "parser": {
  1978. "type": "code",
  1979. "value": "({'name':getAttr('textContent')})"
  1980. },
  1981. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1982. "position": {
  1983. "type": "list<double>",
  1984. "value": [
  1985. "0;0.15337423312882947,0%",
  1986. "0;-17.01438239999993,0%"
  1987. ]
  1988. },
  1989. "orientation": {
  1990. "type": "double",
  1991. "value": "0;0"
  1992. },
  1993. "scale": {
  1994. "type": "list<double>",
  1995. "value": [
  1996. 1,
  1997. 1
  1998. ]
  1999. },
  2000. "$linkDecoratorInfo": {
  2001. "type": "map<string,double>",
  2002. "value": {
  2003. "xratio": 0.3803680981595092,
  2004. "yoffset": -28.5
  2005. }
  2006. }
  2007. },
  2008. "74": {
  2009. "textContent": {
  2010. "type": "string",
  2011. "value": "*"
  2012. },
  2013. "style": {
  2014. "type": "map<string,string>",
  2015. "value": {
  2016. "font-size": "20px",
  2017. "font-style": "normal",
  2018. "font-weight": "normal",
  2019. "line-height": "100%",
  2020. "letter-spacing": "0px",
  2021. "word-spacing": "0px",
  2022. "fill": "#000000",
  2023. "fill-opacity": "1",
  2024. "stroke": "none",
  2025. "font-family": "Sans"
  2026. }
  2027. },
  2028. "mapper": {
  2029. "type": "code",
  2030. "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})"
  2031. },
  2032. "parser": {
  2033. "type": "code",
  2034. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2035. },
  2036. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2037. "position": {
  2038. "type": "list<double>",
  2039. "value": [
  2040. "0;-91.5,0%",
  2041. "0;43.58991207852773,0%"
  2042. ]
  2043. },
  2044. "orientation": {
  2045. "type": "double",
  2046. "value": "0;-90"
  2047. },
  2048. "scale": {
  2049. "type": "list<double>",
  2050. "value": [
  2051. 1,
  2052. 1
  2053. ]
  2054. },
  2055. "$linkDecoratorInfo": {
  2056. "type": "map<string,double>",
  2057. "value": {
  2058. "xratio": 0.06134969325153374,
  2059. "yoffset": -25.5
  2060. }
  2061. }
  2062. },
  2063. "77": {
  2064. "textContent": {
  2065. "type": "string",
  2066. "value": "*"
  2067. },
  2068. "style": {
  2069. "type": "map<string,string>",
  2070. "value": {
  2071. "font-size": "20px",
  2072. "font-style": "normal",
  2073. "font-weight": "normal",
  2074. "line-height": "100%",
  2075. "letter-spacing": "0px",
  2076. "word-spacing": "0px",
  2077. "fill": "#000000",
  2078. "fill-opacity": "1",
  2079. "stroke": "none",
  2080. "font-family": "Sans"
  2081. }
  2082. },
  2083. "mapper": {
  2084. "type": "code",
  2085. "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})"
  2086. },
  2087. "parser": {
  2088. "type": "code",
  2089. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2090. },
  2091. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2092. "position": {
  2093. "type": "list<double>",
  2094. "value": [
  2095. "0;-13,-100%",
  2096. "0;134.98561760000007,1.2246063538223773e-14%"
  2097. ]
  2098. },
  2099. "orientation": {
  2100. "type": "double",
  2101. "value": "0;180"
  2102. },
  2103. "scale": {
  2104. "type": "list<double>",
  2105. "value": [
  2106. 1,
  2107. 1
  2108. ]
  2109. },
  2110. "$linkDecoratorInfo": {
  2111. "type": "map<string,double>",
  2112. "value": {
  2113. "xratio": 1.0245398773006136,
  2114. "yoffset": -23.5
  2115. }
  2116. }
  2117. },
  2118. "140": {
  2119. "segments": {
  2120. "type": "string",
  2121. "value": "m0,0 l20,8 l-20,8"
  2122. },
  2123. "style": {
  2124. "type": "map<string,string>",
  2125. "value": {
  2126. "stroke": "#000000",
  2127. "fill": "#000000",
  2128. "fill-opacity": 0,
  2129. "stroke-width": 1,
  2130. "opacity": 1
  2131. }
  2132. },
  2133. "mapper": {
  2134. "type": "code",
  2135. "value": ""
  2136. },
  2137. "parser": {
  2138. "type": "code",
  2139. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2140. },
  2141. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  2142. "position": {
  2143. "type": "list<double>",
  2144. "value": [
  2145. "0;-13,-100%",
  2146. "0;119.48561760000007,1.2246063538223773e-14%"
  2147. ]
  2148. },
  2149. "orientation": {
  2150. "type": "double",
  2151. "value": "0;180"
  2152. },
  2153. "scale": {
  2154. "type": "list<double>",
  2155. "value": [
  2156. 1,
  2157. 1
  2158. ]
  2159. },
  2160. "$linkDecoratorInfo": {
  2161. "type": "map<string,double>",
  2162. "value": {
  2163. "xratio": 1,
  2164. "yoffset": -8
  2165. }
  2166. }
  2167. }
  2168. },
  2169. "edges": []
  2170. }
  2171. },
  2172. "$asuri": {
  2173. "type": "string",
  2174. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/23.instance"
  2175. },
  2176. "$segments": {
  2177. "type": "map<string,list<string>>",
  2178. "value": {
  2179. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/120.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/125.instance": "M705,748L705,697L810,697L810,697.5143823999999",
  2180. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/125.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/120.instance": "M810,697.5143823999999L810,797L758,797"
  2181. }
  2182. },
  2183. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  2184. },
  2185. "126": {
  2186. "link-style": {
  2187. "type": "map<string,string>",
  2188. "value": {
  2189. "stroke": "#000000",
  2190. "stroke-dasharray": "",
  2191. "stroke-opacity": 1,
  2192. "stroke-width": 2
  2193. }
  2194. },
  2195. "arrowHead": {
  2196. "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)",
  2197. "value": "custom"
  2198. },
  2199. "arrowTail": {
  2200. "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)",
  2201. "value": "arrow-black"
  2202. },
  2203. "typename": {
  2204. "type": "string",
  2205. "value": "InheritanceLink"
  2206. },
  2207. "position": {
  2208. "type": "list<double>",
  2209. "value": [
  2210. 602.9989985080956,
  2211. 923.499
  2212. ]
  2213. },
  2214. "orientation": {
  2215. "type": "double",
  2216. "value": 0
  2217. },
  2218. "scale": {
  2219. "type": "list<double>",
  2220. "value": [
  2221. 1,
  2222. 1
  2223. ]
  2224. },
  2225. "mapper": {
  2226. "type": "code",
  2227. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2228. },
  2229. "parser": {
  2230. "type": "code",
  2231. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2232. },
  2233. "$contents": {
  2234. "type": "map<string,*>",
  2235. "value": {
  2236. "nodes": {
  2237. "164": {
  2238. "segments": {
  2239. "type": "string",
  2240. "value": "m0,0 l20,10 l-20,10 z"
  2241. },
  2242. "style": {
  2243. "type": "map<string,string>",
  2244. "value": {
  2245. "stroke": "#000000",
  2246. "fill": "#ffffff",
  2247. "opacity": 1,
  2248. "stroke-width": 1
  2249. }
  2250. },
  2251. "mapper": {
  2252. "type": "code",
  2253. "value": ""
  2254. },
  2255. "parser": {
  2256. "type": "code",
  2257. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2258. },
  2259. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  2260. "position": {
  2261. "type": "list<double>",
  2262. "value": [
  2263. "0;-9.99899850809561,6.123031769111886e-15%",
  2264. "0;-45.499000000000024,-100%"
  2265. ]
  2266. },
  2267. "orientation": {
  2268. "type": "double",
  2269. "value": "0;-90"
  2270. },
  2271. "scale": {
  2272. "type": "list<double>",
  2273. "value": [
  2274. 1,
  2275. 1
  2276. ]
  2277. },
  2278. "$linkDecoratorInfo": {
  2279. "type": "map<string,double>",
  2280. "value": {
  2281. "xratio": 1,
  2282. "yoffset": -10
  2283. }
  2284. }
  2285. }
  2286. },
  2287. "edges": []
  2288. }
  2289. },
  2290. "$asuri": {
  2291. "type": "string",
  2292. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance/24.instance"
  2293. },
  2294. "$segments": {
  2295. "type": "map<string,list<string>>",
  2296. "value": {
  2297. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/121.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/126.instance": "M603,976L603,923.5",
  2298. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/126.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/120.instance": "M603.1093526064208,923.3978687921165L603,878"
  2299. }
  2300. },
  2301. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink"
  2302. },
  2303. "127": {
  2304. "link-style": {
  2305. "type": "map<string,string>",
  2306. "value": {
  2307. "stroke": "#000000",
  2308. "stroke-dasharray": "",
  2309. "stroke-opacity": 1,
  2310. "stroke-width": 2
  2311. }
  2312. },
  2313. "arrowHead": {
  2314. "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)",
  2315. "value": "custom"
  2316. },
  2317. "arrowTail": {
  2318. "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)",
  2319. "value": "arrow-black"
  2320. },
  2321. "typename": {
  2322. "type": "string",
  2323. "value": "AssociationLink"
  2324. },
  2325. "position": {
  2326. "type": "list<double>",
  2327. "value": [
  2328. 337.5,
  2329. 1029
  2330. ]
  2331. },
  2332. "orientation": {
  2333. "type": "double",
  2334. "value": 0
  2335. },
  2336. "scale": {
  2337. "type": "list<double>",
  2338. "value": [
  2339. 1,
  2340. 1
  2341. ]
  2342. },
  2343. "mapper": {
  2344. "type": "code",
  2345. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2346. },
  2347. "parser": {
  2348. "type": "code",
  2349. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2350. },
  2351. "$contents": {
  2352. "type": "map<string,*>",
  2353. "value": {
  2354. "nodes": {
  2355. "71": {
  2356. "textContent": {
  2357. "type": "string",
  2358. "value": "containOC"
  2359. },
  2360. "style": {
  2361. "type": "map<string,string>",
  2362. "value": {
  2363. "font-size": "20px",
  2364. "font-style": "normal",
  2365. "font-weight": "normal",
  2366. "line-height": "100%",
  2367. "letter-spacing": "0px",
  2368. "word-spacing": "0px",
  2369. "fill": "#000000",
  2370. "fill-opacity": "1",
  2371. "stroke": "none",
  2372. "font-family": "Sans"
  2373. }
  2374. },
  2375. "mapper": {
  2376. "type": "code",
  2377. "value": "({'textContent':getAttr('name')})"
  2378. },
  2379. "parser": {
  2380. "type": "code",
  2381. "value": "({'name':getAttr('textContent')})"
  2382. },
  2383. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2384. "position": {
  2385. "type": "list<double>",
  2386. "value": [
  2387. "0;65.24875490104523,0%",
  2388. "0;40.5,0%"
  2389. ]
  2390. },
  2391. "orientation": {
  2392. "type": "double",
  2393. "value": "0;180"
  2394. },
  2395. "scale": {
  2396. "type": "list<double>",
  2397. "value": [
  2398. 1,
  2399. 1
  2400. ]
  2401. },
  2402. "$linkDecoratorInfo": {
  2403. "type": "map<string,double>",
  2404. "value": {
  2405. "xratio": 0.3803680981595092,
  2406. "yoffset": -28.5
  2407. }
  2408. }
  2409. },
  2410. "74": {
  2411. "textContent": {
  2412. "type": "string",
  2413. "value": "*"
  2414. },
  2415. "style": {
  2416. "type": "map<string,string>",
  2417. "value": {
  2418. "font-size": "20px",
  2419. "font-style": "normal",
  2420. "font-weight": "normal",
  2421. "line-height": "100%",
  2422. "letter-spacing": "0px",
  2423. "word-spacing": "0px",
  2424. "fill": "#000000",
  2425. "fill-opacity": "1",
  2426. "stroke": "none",
  2427. "font-family": "Sans"
  2428. }
  2429. },
  2430. "mapper": {
  2431. "type": "code",
  2432. "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})"
  2433. },
  2434. "parser": {
  2435. "type": "code",
  2436. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2437. },
  2438. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2439. "position": {
  2440. "type": "list<double>",
  2441. "value": [
  2442. "0;109.9110895001686,0%",
  2443. "0;37.5,0%"
  2444. ]
  2445. },
  2446. "orientation": {
  2447. "type": "double",
  2448. "value": "0;180"
  2449. },
  2450. "scale": {
  2451. "type": "list<double>",
  2452. "value": [
  2453. 1,
  2454. 1
  2455. ]
  2456. },
  2457. "$linkDecoratorInfo": {
  2458. "type": "map<string,double>",
  2459. "value": {
  2460. "xratio": 0.06134969325153374,
  2461. "yoffset": -25.5
  2462. }
  2463. }
  2464. },
  2465. "77": {
  2466. "textContent": {
  2467. "type": "string",
  2468. "value": "*"
  2469. },
  2470. "style": {
  2471. "type": "map<string,string>",
  2472. "value": {
  2473. "font-size": "20px",
  2474. "font-style": "normal",
  2475. "font-weight": "normal",
  2476. "line-height": "100%",
  2477. "letter-spacing": "0px",
  2478. "word-spacing": "0px",
  2479. "fill": "#000000",
  2480. "fill-opacity": "1",
  2481. "stroke": "none",
  2482. "font-family": "Sans"
  2483. }
  2484. },
  2485. "mapper": {
  2486. "type": "code",
  2487. "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})"
  2488. },
  2489. "parser": {
  2490. "type": "code",
  2491. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2492. },
  2493. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2494. "position": {
  2495. "type": "list<double>",
  2496. "value": [
  2497. "0;-21.499241147252064,-100%",
  2498. "0;35.5,1.2246063538223773e-14%"
  2499. ]
  2500. },
  2501. "orientation": {
  2502. "type": "double",
  2503. "value": "0;180"
  2504. },
  2505. "scale": {
  2506. "type": "list<double>",
  2507. "value": [
  2508. 1,
  2509. 1
  2510. ]
  2511. },
  2512. "$linkDecoratorInfo": {
  2513. "type": "map<string,double>",
  2514. "value": {
  2515. "xratio": 1.0245398773006136,
  2516. "yoffset": -23.5
  2517. }
  2518. }
  2519. },
  2520. "140": {
  2521. "segments": {
  2522. "type": "string",
  2523. "value": "m0,0 l20,8 l-20,8"
  2524. },
  2525. "style": {
  2526. "type": "map<string,string>",
  2527. "value": {
  2528. "stroke": "#000000",
  2529. "fill": "#000000",
  2530. "fill-opacity": 0,
  2531. "stroke-width": 1,
  2532. "opacity": 1
  2533. }
  2534. },
  2535. "mapper": {
  2536. "type": "code",
  2537. "value": ""
  2538. },
  2539. "parser": {
  2540. "type": "code",
  2541. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2542. },
  2543. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  2544. "position": {
  2545. "type": "list<double>",
  2546. "value": [
  2547. "0;-21.499241147252064,-100%",
  2548. "0;20,1.2246063538223773e-14%"
  2549. ]
  2550. },
  2551. "orientation": {
  2552. "type": "double",
  2553. "value": "0;180"
  2554. },
  2555. "scale": {
  2556. "type": "list<double>",
  2557. "value": [
  2558. 1,
  2559. 1
  2560. ]
  2561. },
  2562. "$linkDecoratorInfo": {
  2563. "type": "map<string,double>",
  2564. "value": {
  2565. "xratio": 1,
  2566. "yoffset": -8
  2567. }
  2568. }
  2569. }
  2570. },
  2571. "edges": []
  2572. }
  2573. },
  2574. "$asuri": {
  2575. "type": "string",
  2576. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/26.instance"
  2577. },
  2578. "$segments": {
  2579. "type": "map<string,list<string>>",
  2580. "value": {
  2581. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/121.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/127.instance": "M456,1041L377,1041",
  2582. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/127.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/119.instance": "M376.9992356687899,1041L316.00075885274794,1041"
  2583. }
  2584. },
  2585. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  2586. },
  2587. "128": {
  2588. "typename": {
  2589. "type": "string",
  2590. "value": "ClassIcon"
  2591. },
  2592. "position": {
  2593. "type": "list<double>",
  2594. "value": [
  2595. 514,
  2596. 1181
  2597. ]
  2598. },
  2599. "orientation": {
  2600. "type": "double",
  2601. "value": 0
  2602. },
  2603. "scale": {
  2604. "type": "list<double>",
  2605. "value": [
  2606. 1,
  2607. 1
  2608. ]
  2609. },
  2610. "mapper": {
  2611. "type": "code",
  2612. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2613. },
  2614. "parser": {
  2615. "type": "code",
  2616. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2617. },
  2618. "$contents": {
  2619. "type": "map<string,*>",
  2620. "value": {
  2621. "nodes": {
  2622. "96": {
  2623. "width": {
  2624. "type": "double",
  2625. "value": 200
  2626. },
  2627. "height": {
  2628. "type": "double",
  2629. "value": 125
  2630. },
  2631. "cornerRadius": {
  2632. "type": "double",
  2633. "value": 0
  2634. },
  2635. "style": {
  2636. "type": "map<string,string>",
  2637. "value": {
  2638. "stroke": "#000000",
  2639. "stroke-dasharray": "",
  2640. "fill": "#ffffff",
  2641. "fill-opacity": 0.75,
  2642. "stroke-width": 2
  2643. }
  2644. },
  2645. "mapper": {
  2646. "type": "code",
  2647. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2648. },
  2649. "parser": {
  2650. "type": "code",
  2651. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2652. },
  2653. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  2654. "position": {
  2655. "type": "list<double>",
  2656. "value": [
  2657. 4,
  2658. 3
  2659. ]
  2660. },
  2661. "orientation": {
  2662. "type": "double",
  2663. "value": 0
  2664. },
  2665. "scale": {
  2666. "type": "list<double>",
  2667. "value": [
  2668. 1,
  2669. 1
  2670. ]
  2671. }
  2672. },
  2673. "97": {
  2674. "segments": {
  2675. "type": "string",
  2676. "value": "m0,0l197,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. "font-size": "20px",
  2686. "stroke-width": 2,
  2687. "arrow-start": "none",
  2688. "arrow-end": "none"
  2689. }
  2690. },
  2691. "mapper": {
  2692. "type": "code",
  2693. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2694. },
  2695. "parser": {
  2696. "type": "code",
  2697. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2698. },
  2699. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  2700. "position": {
  2701. "type": "list<double>",
  2702. "value": [
  2703. 6,
  2704. 36
  2705. ]
  2706. },
  2707. "orientation": {
  2708. "type": "double",
  2709. "value": 0
  2710. },
  2711. "scale": {
  2712. "type": "list<double>",
  2713. "value": [
  2714. 1,
  2715. 1
  2716. ]
  2717. }
  2718. },
  2719. "98": {
  2720. "textContent": {
  2721. "type": "string",
  2722. "value": "HistoryState"
  2723. },
  2724. "style": {
  2725. "type": "map<string,string>",
  2726. "value": {
  2727. "font-size": "18px",
  2728. "font-style": "normal",
  2729. "font-weight": "bold",
  2730. "line-height": "100%",
  2731. "letter-spacing": "0px",
  2732. "word-spacing": "0px",
  2733. "fill": "#000000",
  2734. "fill-opacity": "1",
  2735. "stroke": "none"
  2736. }
  2737. },
  2738. "mapper": {
  2739. "type": "code",
  2740. "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"
  2741. },
  2742. "parser": {
  2743. "type": "code",
  2744. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  2745. },
  2746. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2747. "position": {
  2748. "type": "list<double>",
  2749. "value": [
  2750. 8,
  2751. 8
  2752. ]
  2753. },
  2754. "orientation": {
  2755. "type": "double",
  2756. "value": 0
  2757. },
  2758. "scale": {
  2759. "type": "list<double>",
  2760. "value": [
  2761. 1,
  2762. 1
  2763. ]
  2764. }
  2765. },
  2766. "99": {
  2767. "textContent": {
  2768. "type": "string",
  2769. "value": "+ name : string = H\n+ type : ENUM(deep, shallow) = shallow"
  2770. },
  2771. "style": {
  2772. "type": "map<string,string>",
  2773. "value": {
  2774. "font-size": "14px",
  2775. "font-style": "normal",
  2776. "font-weight": "bold",
  2777. "line-height": "100%",
  2778. "letter-spacing": "0px",
  2779. "word-spacing": "0px",
  2780. "fill": "#000000",
  2781. "fill-opacity": "1",
  2782. "stroke": "none"
  2783. }
  2784. },
  2785. "mapper": {
  2786. "type": "code",
  2787. "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')})"
  2788. },
  2789. "parser": {
  2790. "type": "code",
  2791. "value": ""
  2792. },
  2793. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2794. "position": {
  2795. "type": "list<double>",
  2796. "value": [
  2797. 10,
  2798. 41
  2799. ]
  2800. },
  2801. "orientation": {
  2802. "type": "double",
  2803. "value": 0
  2804. },
  2805. "scale": {
  2806. "type": "list<double>",
  2807. "value": [
  2808. 1,
  2809. 1
  2810. ]
  2811. }
  2812. },
  2813. "100": {
  2814. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2815. "position": {
  2816. "type": "list<double>",
  2817. "value": [
  2818. 68.5,
  2819. 36.5
  2820. ]
  2821. },
  2822. "orientation": {
  2823. "type": "double",
  2824. "value": 0
  2825. },
  2826. "scale": {
  2827. "type": "list<double>",
  2828. "value": [
  2829. 1,
  2830. 1
  2831. ]
  2832. },
  2833. "link-style": {
  2834. "type": "map<string,string>",
  2835. "value": {
  2836. "stroke": "#00ffff",
  2837. "stroke-dasharray": "",
  2838. "stroke-opacity": 0.1,
  2839. "stroke-width": 1
  2840. }
  2841. }
  2842. },
  2843. "101": {
  2844. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2845. "position": {
  2846. "type": "list<double>",
  2847. "value": [
  2848. 12.5,
  2849. 27
  2850. ]
  2851. },
  2852. "orientation": {
  2853. "type": "double",
  2854. "value": 0
  2855. },
  2856. "scale": {
  2857. "type": "list<double>",
  2858. "value": [
  2859. 1,
  2860. 1
  2861. ]
  2862. },
  2863. "link-style": {
  2864. "type": "map<string,string>",
  2865. "value": {
  2866. "stroke": "#00ffff",
  2867. "stroke-dasharray": "",
  2868. "stroke-opacity": 0.1,
  2869. "stroke-width": 1
  2870. }
  2871. }
  2872. },
  2873. "102": {
  2874. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2875. "position": {
  2876. "type": "list<double>",
  2877. "value": [
  2878. 53.75,
  2879. 20
  2880. ]
  2881. },
  2882. "orientation": {
  2883. "type": "double",
  2884. "value": 0
  2885. },
  2886. "scale": {
  2887. "type": "list<double>",
  2888. "value": [
  2889. 1,
  2890. 1
  2891. ]
  2892. },
  2893. "link-style": {
  2894. "type": "map<string,string>",
  2895. "value": {
  2896. "stroke": "#00ffff",
  2897. "stroke-dasharray": "",
  2898. "stroke-opacity": 0.1,
  2899. "stroke-width": 1
  2900. }
  2901. }
  2902. }
  2903. },
  2904. "edges": [
  2905. {
  2906. "src": "96",
  2907. "dest": "100"
  2908. },
  2909. {
  2910. "src": "100",
  2911. "dest": "98"
  2912. },
  2913. {
  2914. "src": "96",
  2915. "dest": "101"
  2916. },
  2917. {
  2918. "src": "101",
  2919. "dest": "99"
  2920. },
  2921. {
  2922. "src": "96",
  2923. "dest": "102"
  2924. },
  2925. {
  2926. "src": "102",
  2927. "dest": "97"
  2928. }
  2929. ]
  2930. }
  2931. },
  2932. "$asuri": {
  2933. "type": "string",
  2934. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/28.instance"
  2935. },
  2936. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  2937. },
  2938. "129": {
  2939. "link-style": {
  2940. "type": "map<string,string>",
  2941. "value": {
  2942. "stroke": "#000000",
  2943. "stroke-dasharray": "",
  2944. "stroke-opacity": 1,
  2945. "stroke-width": 2
  2946. }
  2947. },
  2948. "arrowHead": {
  2949. "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)",
  2950. "value": "custom"
  2951. },
  2952. "arrowTail": {
  2953. "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)",
  2954. "value": "arrow-black"
  2955. },
  2956. "typename": {
  2957. "type": "string",
  2958. "value": "AssociationLink"
  2959. },
  2960. "position": {
  2961. "type": "list<double>",
  2962. "value": [
  2963. 511.8046875,
  2964. 1127.8203125
  2965. ]
  2966. },
  2967. "orientation": {
  2968. "type": "double",
  2969. "value": 0
  2970. },
  2971. "scale": {
  2972. "type": "list<double>",
  2973. "value": [
  2974. 1,
  2975. 1
  2976. ]
  2977. },
  2978. "mapper": {
  2979. "type": "code",
  2980. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2981. },
  2982. "parser": {
  2983. "type": "code",
  2984. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2985. },
  2986. "$contents": {
  2987. "type": "map<string,*>",
  2988. "value": {
  2989. "nodes": {
  2990. "71": {
  2991. "textContent": {
  2992. "type": "string",
  2993. "value": "includes"
  2994. },
  2995. "style": {
  2996. "type": "map<string,string>",
  2997. "value": {
  2998. "font-size": "20px",
  2999. "font-style": "normal",
  3000. "font-weight": "normal",
  3001. "line-height": "100%",
  3002. "letter-spacing": "0px",
  3003. "word-spacing": "0px",
  3004. "fill": "#000000",
  3005. "fill-opacity": "1",
  3006. "stroke": "none",
  3007. "font-family": "Sans"
  3008. }
  3009. },
  3010. "mapper": {
  3011. "type": "code",
  3012. "value": "({'textContent':getAttr('name')})"
  3013. },
  3014. "parser": {
  3015. "type": "code",
  3016. "value": "({'name':getAttr('textContent')})"
  3017. },
  3018. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3019. "position": {
  3020. "type": "list<double>",
  3021. "value": [
  3022. "0;65.08271638410764,0%",
  3023. "0;1.551976918064156,0%"
  3024. ]
  3025. },
  3026. "orientation": {
  3027. "type": "double",
  3028. "value": "0;89.31793960682735"
  3029. },
  3030. "scale": {
  3031. "type": "list<double>",
  3032. "value": [
  3033. 1,
  3034. 1
  3035. ]
  3036. },
  3037. "$linkDecoratorInfo": {
  3038. "type": "map<string,double>",
  3039. "value": {
  3040. "xratio": 0.3803680981595092,
  3041. "yoffset": -28.5
  3042. }
  3043. }
  3044. },
  3045. "74": {
  3046. "textContent": {
  3047. "type": "string",
  3048. "value": "*"
  3049. },
  3050. "style": {
  3051. "type": "map<string,string>",
  3052. "value": {
  3053. "font-size": "20px",
  3054. "font-style": "normal",
  3055. "font-weight": "normal",
  3056. "line-height": "100%",
  3057. "letter-spacing": "0px",
  3058. "word-spacing": "0px",
  3059. "fill": "#000000",
  3060. "fill-opacity": "1",
  3061. "stroke": "none",
  3062. "font-family": "Sans"
  3063. }
  3064. },
  3065. "mapper": {
  3066. "type": "code",
  3067. "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})"
  3068. },
  3069. "parser": {
  3070. "type": "code",
  3071. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3072. },
  3073. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3074. "position": {
  3075. "type": "list<double>",
  3076. "value": [
  3077. "0;61.75631591720628,0%",
  3078. "0;-25.847805791446035,0%"
  3079. ]
  3080. },
  3081. "orientation": {
  3082. "type": "double",
  3083. "value": "0;89.31793960682735"
  3084. },
  3085. "scale": {
  3086. "type": "list<double>",
  3087. "value": [
  3088. 1,
  3089. 1
  3090. ]
  3091. },
  3092. "$linkDecoratorInfo": {
  3093. "type": "map<string,double>",
  3094. "value": {
  3095. "xratio": 0.06134969325153374,
  3096. "yoffset": -25.5
  3097. }
  3098. }
  3099. },
  3100. "77": {
  3101. "textContent": {
  3102. "type": "string",
  3103. "value": "*"
  3104. },
  3105. "style": {
  3106. "type": "map<string,string>",
  3107. "value": {
  3108. "font-size": "20px",
  3109. "font-style": "normal",
  3110. "font-weight": "normal",
  3111. "line-height": "100%",
  3112. "letter-spacing": "0px",
  3113. "word-spacing": "0px",
  3114. "fill": "#000000",
  3115. "fill-opacity": "1",
  3116. "stroke": "none",
  3117. "font-family": "Sans"
  3118. }
  3119. },
  3120. "mapper": {
  3121. "type": "code",
  3122. "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})"
  3123. },
  3124. "parser": {
  3125. "type": "code",
  3126. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3127. },
  3128. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3129. "position": {
  3130. "type": "list<double>",
  3131. "value": [
  3132. "0;59.69379534321479,-1.1362902728827475%",
  3133. "0;55.44671571412755,99.99354401367995%"
  3134. ]
  3135. },
  3136. "orientation": {
  3137. "type": "double",
  3138. "value": "0;90.6510603802295"
  3139. },
  3140. "scale": {
  3141. "type": "list<double>",
  3142. "value": [
  3143. 1,
  3144. 1
  3145. ]
  3146. },
  3147. "$linkDecoratorInfo": {
  3148. "type": "map<string,double>",
  3149. "value": {
  3150. "xratio": 1.0245398773006136,
  3151. "yoffset": -23.5
  3152. }
  3153. }
  3154. },
  3155. "140": {
  3156. "segments": {
  3157. "type": "string",
  3158. "value": "m0,0 l20,8 l-20,8"
  3159. },
  3160. "style": {
  3161. "type": "map<string,string>",
  3162. "value": {
  3163. "stroke": "#000000",
  3164. "fill": "#000000",
  3165. "fill-opacity": 0,
  3166. "stroke-width": 1,
  3167. "opacity": 1
  3168. }
  3169. },
  3170. "mapper": {
  3171. "type": "code",
  3172. "value": ""
  3173. },
  3174. "parser": {
  3175. "type": "code",
  3176. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3177. },
  3178. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  3179. "position": {
  3180. "type": "list<double>",
  3181. "value": [
  3182. "0;44.19479602109442,-1.1362902728827475%",
  3183. "0;55.27059072183056,99.99354401367995%"
  3184. ]
  3185. },
  3186. "orientation": {
  3187. "type": "double",
  3188. "value": "0;90.6510603802295"
  3189. },
  3190. "scale": {
  3191. "type": "list<double>",
  3192. "value": [
  3193. 1,
  3194. 1
  3195. ]
  3196. },
  3197. "$linkDecoratorInfo": {
  3198. "type": "map<string,double>",
  3199. "value": {
  3200. "xratio": 1,
  3201. "yoffset": -8
  3202. }
  3203. }
  3204. }
  3205. },
  3206. "edges": []
  3207. }
  3208. },
  3209. "$asuri": {
  3210. "type": "string",
  3211. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/30.instance"
  3212. },
  3213. "$segments": {
  3214. "type": "map<string,list<string>>",
  3215. "value": {
  3216. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/121.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/129.instance": "M548,1097L548.5,1139",
  3217. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/129.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/128.instance": "M548.5008907308738,1139.0748213933932L548,1183"
  3218. }
  3219. },
  3220. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  3221. },
  3222. "130": {
  3223. "link-style": {
  3224. "type": "map<string,string>",
  3225. "value": {
  3226. "stroke": "#000000",
  3227. "stroke-dasharray": "",
  3228. "stroke-opacity": 1,
  3229. "stroke-width": 2
  3230. }
  3231. },
  3232. "arrowHead": {
  3233. "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)",
  3234. "value": "custom"
  3235. },
  3236. "arrowTail": {
  3237. "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)",
  3238. "value": "arrow-black"
  3239. },
  3240. "typename": {
  3241. "type": "string",
  3242. "value": "AssociationLink"
  3243. },
  3244. "position": {
  3245. "type": "list<double>",
  3246. "value": [
  3247. 678,
  3248. 1094.5
  3249. ]
  3250. },
  3251. "orientation": {
  3252. "type": "double",
  3253. "value": 0
  3254. },
  3255. "scale": {
  3256. "type": "list<double>",
  3257. "value": [
  3258. 1,
  3259. 1
  3260. ]
  3261. },
  3262. "mapper": {
  3263. "type": "code",
  3264. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  3265. },
  3266. "parser": {
  3267. "type": "code",
  3268. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3269. },
  3270. "$contents": {
  3271. "type": "map<string,*>",
  3272. "value": {
  3273. "nodes": {
  3274. "71": {
  3275. "textContent": {
  3276. "type": "string",
  3277. "value": "transition"
  3278. },
  3279. "style": {
  3280. "type": "map<string,string>",
  3281. "value": {
  3282. "font-size": "20px",
  3283. "font-style": "normal",
  3284. "font-weight": "normal",
  3285. "line-height": "100%",
  3286. "letter-spacing": "0px",
  3287. "word-spacing": "0px",
  3288. "fill": "#000000",
  3289. "fill-opacity": "1",
  3290. "stroke": "none",
  3291. "font-family": "Sans"
  3292. }
  3293. },
  3294. "mapper": {
  3295. "type": "code",
  3296. "value": "({'textContent':getAttr('name')})"
  3297. },
  3298. "parser": {
  3299. "type": "code",
  3300. "value": "({'name':getAttr('textContent')})"
  3301. },
  3302. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3303. "position": {
  3304. "type": "list<double>",
  3305. "value": [
  3306. "0;28.5,0%",
  3307. "0;-103.10736196319021,0%"
  3308. ]
  3309. },
  3310. "orientation": {
  3311. "type": "double",
  3312. "value": "0;90"
  3313. },
  3314. "scale": {
  3315. "type": "list<double>",
  3316. "value": [
  3317. 1,
  3318. 1
  3319. ]
  3320. },
  3321. "$linkDecoratorInfo": {
  3322. "type": "map<string,double>",
  3323. "value": {
  3324. "xratio": 0.3803680981595092,
  3325. "yoffset": -28.5
  3326. }
  3327. }
  3328. },
  3329. "74": {
  3330. "textContent": {
  3331. "type": "string",
  3332. "value": "*"
  3333. },
  3334. "style": {
  3335. "type": "map<string,string>",
  3336. "value": {
  3337. "font-size": "20px",
  3338. "font-style": "normal",
  3339. "font-weight": "normal",
  3340. "line-height": "100%",
  3341. "letter-spacing": "0px",
  3342. "word-spacing": "0px",
  3343. "fill": "#000000",
  3344. "fill-opacity": "1",
  3345. "stroke": "none",
  3346. "font-family": "Sans"
  3347. }
  3348. },
  3349. "mapper": {
  3350. "type": "code",
  3351. "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})"
  3352. },
  3353. "parser": {
  3354. "type": "code",
  3355. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3356. },
  3357. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3358. "position": {
  3359. "type": "list<double>",
  3360. "value": [
  3361. "0;25.5,0%",
  3362. "0;-200.72699386503064,0%"
  3363. ]
  3364. },
  3365. "orientation": {
  3366. "type": "double",
  3367. "value": "0;90"
  3368. },
  3369. "scale": {
  3370. "type": "list<double>",
  3371. "value": [
  3372. 1,
  3373. 1
  3374. ]
  3375. },
  3376. "$linkDecoratorInfo": {
  3377. "type": "map<string,double>",
  3378. "value": {
  3379. "xratio": 0.06134969325153374,
  3380. "yoffset": -25.5
  3381. }
  3382. }
  3383. },
  3384. "77": {
  3385. "textContent": {
  3386. "type": "string",
  3387. "value": "*"
  3388. },
  3389. "style": {
  3390. "type": "map<string,string>",
  3391. "value": {
  3392. "font-size": "20px",
  3393. "font-style": "normal",
  3394. "font-weight": "normal",
  3395. "line-height": "100%",
  3396. "letter-spacing": "0px",
  3397. "word-spacing": "0px",
  3398. "fill": "#000000",
  3399. "fill-opacity": "1",
  3400. "stroke": "none",
  3401. "font-family": "Sans"
  3402. }
  3403. },
  3404. "mapper": {
  3405. "type": "code",
  3406. "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})"
  3407. },
  3408. "parser": {
  3409. "type": "code",
  3410. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3411. },
  3412. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3413. "position": {
  3414. "type": "list<double>",
  3415. "value": [
  3416. "0;23.5,6.123031769111886e-15%",
  3417. "0;86.5,100%"
  3418. ]
  3419. },
  3420. "orientation": {
  3421. "type": "double",
  3422. "value": "0;90"
  3423. },
  3424. "scale": {
  3425. "type": "list<double>",
  3426. "value": [
  3427. 1,
  3428. 1
  3429. ]
  3430. },
  3431. "$linkDecoratorInfo": {
  3432. "type": "map<string,double>",
  3433. "value": {
  3434. "xratio": 1.0245398773006136,
  3435. "yoffset": -23.5
  3436. }
  3437. }
  3438. },
  3439. "140": {
  3440. "segments": {
  3441. "type": "string",
  3442. "value": "m0,0 l20,8 l-20,8"
  3443. },
  3444. "style": {
  3445. "type": "map<string,string>",
  3446. "value": {
  3447. "stroke": "#000000",
  3448. "fill": "#000000",
  3449. "fill-opacity": 0,
  3450. "stroke-width": 1,
  3451. "opacity": 1
  3452. }
  3453. },
  3454. "mapper": {
  3455. "type": "code",
  3456. "value": ""
  3457. },
  3458. "parser": {
  3459. "type": "code",
  3460. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3461. },
  3462. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  3463. "position": {
  3464. "type": "list<double>",
  3465. "value": [
  3466. "0;8,6.123031769111886e-15%",
  3467. "0;86.5,100%"
  3468. ]
  3469. },
  3470. "orientation": {
  3471. "type": "double",
  3472. "value": "0;90"
  3473. },
  3474. "scale": {
  3475. "type": "list<double>",
  3476. "value": [
  3477. 1,
  3478. 1
  3479. ]
  3480. },
  3481. "$linkDecoratorInfo": {
  3482. "type": "map<string,double>",
  3483. "value": {
  3484. "xratio": 1,
  3485. "yoffset": -8
  3486. }
  3487. }
  3488. }
  3489. },
  3490. "edges": []
  3491. }
  3492. },
  3493. "$asuri": {
  3494. "type": "string",
  3495. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/36.instance"
  3496. },
  3497. "$segments": {
  3498. "type": "map<string,list<string>>",
  3499. "value": {
  3500. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/120.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/130.instance": "M678,875L678,1094",
  3501. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/130.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/128.instance": "M678,1094L678,1140L678,1181"
  3502. }
  3503. },
  3504. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  3505. },
  3506. "131": {
  3507. "typename": {
  3508. "type": "string",
  3509. "value": "ClassIcon"
  3510. },
  3511. "position": {
  3512. "type": "list<double>",
  3513. "value": [
  3514. 537,
  3515. 426
  3516. ]
  3517. },
  3518. "orientation": {
  3519. "type": "double",
  3520. "value": 0
  3521. },
  3522. "scale": {
  3523. "type": "list<double>",
  3524. "value": [
  3525. 1,
  3526. 1
  3527. ]
  3528. },
  3529. "mapper": {
  3530. "type": "code",
  3531. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  3532. },
  3533. "parser": {
  3534. "type": "code",
  3535. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3536. },
  3537. "$contents": {
  3538. "type": "map<string,*>",
  3539. "value": {
  3540. "nodes": {
  3541. "96": {
  3542. "width": {
  3543. "type": "double",
  3544. "value": 200
  3545. },
  3546. "height": {
  3547. "type": "double",
  3548. "value": 125
  3549. },
  3550. "cornerRadius": {
  3551. "type": "double",
  3552. "value": 0
  3553. },
  3554. "style": {
  3555. "type": "map<string,string>",
  3556. "value": {
  3557. "stroke": "#000000",
  3558. "stroke-dasharray": "",
  3559. "fill": "#ffffff",
  3560. "fill-opacity": 0.75,
  3561. "stroke-width": 2
  3562. }
  3563. },
  3564. "mapper": {
  3565. "type": "code",
  3566. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  3567. },
  3568. "parser": {
  3569. "type": "code",
  3570. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3571. },
  3572. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  3573. "position": {
  3574. "type": "list<double>",
  3575. "value": [
  3576. 4,
  3577. 3
  3578. ]
  3579. },
  3580. "orientation": {
  3581. "type": "double",
  3582. "value": 0
  3583. },
  3584. "scale": {
  3585. "type": "list<double>",
  3586. "value": [
  3587. 1,
  3588. 1
  3589. ]
  3590. }
  3591. },
  3592. "97": {
  3593. "segments": {
  3594. "type": "string",
  3595. "value": "m0,0l197,0"
  3596. },
  3597. "style": {
  3598. "type": "map<string,string>",
  3599. "value": {
  3600. "stroke": "#000000",
  3601. "stroke-dasharray": "",
  3602. "fill": "#ffffff",
  3603. "fill-opacity": 0.75,
  3604. "font-size": "20px",
  3605. "stroke-width": 2,
  3606. "arrow-start": "none",
  3607. "arrow-end": "none"
  3608. }
  3609. },
  3610. "mapper": {
  3611. "type": "code",
  3612. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  3613. },
  3614. "parser": {
  3615. "type": "code",
  3616. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3617. },
  3618. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  3619. "position": {
  3620. "type": "list<double>",
  3621. "value": [
  3622. 6,
  3623. 36
  3624. ]
  3625. },
  3626. "orientation": {
  3627. "type": "double",
  3628. "value": 0
  3629. },
  3630. "scale": {
  3631. "type": "list<double>",
  3632. "value": [
  3633. 1,
  3634. 1
  3635. ]
  3636. }
  3637. },
  3638. "98": {
  3639. "textContent": {
  3640. "type": "string",
  3641. "value": "Class"
  3642. },
  3643. "style": {
  3644. "type": "map<string,string>",
  3645. "value": {
  3646. "font-size": "18px",
  3647. "font-style": "normal",
  3648. "font-weight": "bold",
  3649. "line-height": "100%",
  3650. "letter-spacing": "0px",
  3651. "word-spacing": "0px",
  3652. "fill": "#000000",
  3653. "fill-opacity": "1",
  3654. "stroke": "none"
  3655. }
  3656. },
  3657. "mapper": {
  3658. "type": "code",
  3659. "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"
  3660. },
  3661. "parser": {
  3662. "type": "code",
  3663. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  3664. },
  3665. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3666. "position": {
  3667. "type": "list<double>",
  3668. "value": [
  3669. 8,
  3670. 8
  3671. ]
  3672. },
  3673. "orientation": {
  3674. "type": "double",
  3675. "value": 0
  3676. },
  3677. "scale": {
  3678. "type": "list<double>",
  3679. "value": [
  3680. 1,
  3681. 1
  3682. ]
  3683. }
  3684. },
  3685. "99": {
  3686. "textContent": {
  3687. "type": "string",
  3688. "value": "+ name : string = Class_\n+ attributes : list<$ATTRIBUTE> = \n+ cardinalities : list<$CARDINALITY> = \n+ abstract : boolean\n+ methods : list<$METHOD> = \n+ external : boolean"
  3689. },
  3690. "style": {
  3691. "type": "map<string,string>",
  3692. "value": {
  3693. "font-size": "14px",
  3694. "font-style": "normal",
  3695. "font-weight": "bold",
  3696. "line-height": "100%",
  3697. "letter-spacing": "0px",
  3698. "word-spacing": "0px",
  3699. "fill": "#000000",
  3700. "fill-opacity": "1",
  3701. "stroke": "none"
  3702. }
  3703. },
  3704. "mapper": {
  3705. "type": "code",
  3706. "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')})"
  3707. },
  3708. "parser": {
  3709. "type": "code",
  3710. "value": ""
  3711. },
  3712. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3713. "position": {
  3714. "type": "list<double>",
  3715. "value": [
  3716. 10,
  3717. 41
  3718. ]
  3719. },
  3720. "orientation": {
  3721. "type": "double",
  3722. "value": 0
  3723. },
  3724. "scale": {
  3725. "type": "list<double>",
  3726. "value": [
  3727. 1,
  3728. 1
  3729. ]
  3730. }
  3731. },
  3732. "100": {
  3733. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  3734. "position": {
  3735. "type": "list<double>",
  3736. "value": [
  3737. 68.5,
  3738. 36.5
  3739. ]
  3740. },
  3741. "orientation": {
  3742. "type": "double",
  3743. "value": 0
  3744. },
  3745. "scale": {
  3746. "type": "list<double>",
  3747. "value": [
  3748. 1,
  3749. 1
  3750. ]
  3751. },
  3752. "link-style": {
  3753. "type": "map<string,string>",
  3754. "value": {
  3755. "stroke": "#00ffff",
  3756. "stroke-dasharray": "",
  3757. "stroke-opacity": 0.1,
  3758. "stroke-width": 1
  3759. }
  3760. }
  3761. },
  3762. "101": {
  3763. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  3764. "position": {
  3765. "type": "list<double>",
  3766. "value": [
  3767. 12.5,
  3768. 27
  3769. ]
  3770. },
  3771. "orientation": {
  3772. "type": "double",
  3773. "value": 0
  3774. },
  3775. "scale": {
  3776. "type": "list<double>",
  3777. "value": [
  3778. 1,
  3779. 1
  3780. ]
  3781. },
  3782. "link-style": {
  3783. "type": "map<string,string>",
  3784. "value": {
  3785. "stroke": "#00ffff",
  3786. "stroke-dasharray": "",
  3787. "stroke-opacity": 0.1,
  3788. "stroke-width": 1
  3789. }
  3790. }
  3791. },
  3792. "102": {
  3793. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  3794. "position": {
  3795. "type": "list<double>",
  3796. "value": [
  3797. 53.75,
  3798. 20
  3799. ]
  3800. },
  3801. "orientation": {
  3802. "type": "double",
  3803. "value": 0
  3804. },
  3805. "scale": {
  3806. "type": "list<double>",
  3807. "value": [
  3808. 1,
  3809. 1
  3810. ]
  3811. },
  3812. "link-style": {
  3813. "type": "map<string,string>",
  3814. "value": {
  3815. "stroke": "#00ffff",
  3816. "stroke-dasharray": "",
  3817. "stroke-opacity": 0.1,
  3818. "stroke-width": 1
  3819. }
  3820. }
  3821. }
  3822. },
  3823. "edges": [
  3824. {
  3825. "src": "96",
  3826. "dest": "100"
  3827. },
  3828. {
  3829. "src": "100",
  3830. "dest": "98"
  3831. },
  3832. {
  3833. "src": "96",
  3834. "dest": "101"
  3835. },
  3836. {
  3837. "src": "101",
  3838. "dest": "99"
  3839. },
  3840. {
  3841. "src": "96",
  3842. "dest": "102"
  3843. },
  3844. {
  3845. "src": "102",
  3846. "dest": "97"
  3847. }
  3848. ]
  3849. }
  3850. },
  3851. "$asuri": {
  3852. "type": "string",
  3853. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/98.instance"
  3854. },
  3855. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  3856. },
  3857. "132": {
  3858. "link-style": {
  3859. "type": "map<string,string>",
  3860. "value": {
  3861. "stroke": "#000000",
  3862. "stroke-dasharray": "",
  3863. "stroke-opacity": 1,
  3864. "stroke-width": 2
  3865. }
  3866. },
  3867. "arrowHead": {
  3868. "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)",
  3869. "value": "custom"
  3870. },
  3871. "arrowTail": {
  3872. "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)",
  3873. "value": "arrow-black"
  3874. },
  3875. "typename": {
  3876. "type": "string",
  3877. "value": "AssociationLink"
  3878. },
  3879. "position": {
  3880. "type": "list<double>",
  3881. "value": [
  3882. 811,
  3883. 466.5
  3884. ]
  3885. },
  3886. "orientation": {
  3887. "type": "double",
  3888. "value": 0
  3889. },
  3890. "scale": {
  3891. "type": "list<double>",
  3892. "value": [
  3893. 1,
  3894. 1
  3895. ]
  3896. },
  3897. "mapper": {
  3898. "type": "code",
  3899. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  3900. },
  3901. "parser": {
  3902. "type": "code",
  3903. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3904. },
  3905. "$contents": {
  3906. "type": "map<string,*>",
  3907. "value": {
  3908. "nodes": {
  3909. "71": {
  3910. "textContent": {
  3911. "type": "string",
  3912. "value": "Association"
  3913. },
  3914. "style": {
  3915. "type": "map<string,string>",
  3916. "value": {
  3917. "font-size": "20px",
  3918. "font-style": "normal",
  3919. "font-weight": "normal",
  3920. "line-height": "100%",
  3921. "letter-spacing": "0px",
  3922. "word-spacing": "0px",
  3923. "fill": "#000000",
  3924. "fill-opacity": "1",
  3925. "stroke": "none",
  3926. "font-family": "Sans"
  3927. }
  3928. },
  3929. "mapper": {
  3930. "type": "code",
  3931. "value": "({'textContent':getAttr('name')})"
  3932. },
  3933. "parser": {
  3934. "type": "code",
  3935. "value": "({'name':getAttr('textContent')})"
  3936. },
  3937. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3938. "position": {
  3939. "type": "list<double>",
  3940. "value": [
  3941. "0;-34.453987730061385,0%",
  3942. "0;-103,0%"
  3943. ]
  3944. },
  3945. "orientation": {
  3946. "type": "double",
  3947. "value": "0;0"
  3948. },
  3949. "scale": {
  3950. "type": "list<double>",
  3951. "value": [
  3952. 1,
  3953. 1
  3954. ]
  3955. },
  3956. "$linkDecoratorInfo": {
  3957. "type": "map<string,double>",
  3958. "value": {
  3959. "xratio": 0.3803680981595092,
  3960. "yoffset": -28.5
  3961. }
  3962. }
  3963. },
  3964. "74": {
  3965. "textContent": {
  3966. "type": "string",
  3967. "value": "*"
  3968. },
  3969. "style": {
  3970. "type": "map<string,string>",
  3971. "value": {
  3972. "font-size": "20px",
  3973. "font-style": "normal",
  3974. "font-weight": "normal",
  3975. "line-height": "100%",
  3976. "letter-spacing": "0px",
  3977. "word-spacing": "0px",
  3978. "fill": "#000000",
  3979. "fill-opacity": "1",
  3980. "stroke": "none",
  3981. "font-family": "Sans"
  3982. }
  3983. },
  3984. "mapper": {
  3985. "type": "code",
  3986. "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})"
  3987. },
  3988. "parser": {
  3989. "type": "code",
  3990. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3991. },
  3992. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3993. "position": {
  3994. "type": "list<double>",
  3995. "value": [
  3996. "0;-132.5,0%",
  3997. "0;-55.1687116564417,0%"
  3998. ]
  3999. },
  4000. "orientation": {
  4001. "type": "double",
  4002. "value": "0;-90"
  4003. },
  4004. "scale": {
  4005. "type": "list<double>",
  4006. "value": [
  4007. 1,
  4008. 1
  4009. ]
  4010. },
  4011. "$linkDecoratorInfo": {
  4012. "type": "map<string,double>",
  4013. "value": {
  4014. "xratio": 0.06134969325153374,
  4015. "yoffset": -25.5
  4016. }
  4017. }
  4018. },
  4019. "77": {
  4020. "textContent": {
  4021. "type": "string",
  4022. "value": "*"
  4023. },
  4024. "style": {
  4025. "type": "map<string,string>",
  4026. "value": {
  4027. "font-size": "20px",
  4028. "font-style": "normal",
  4029. "font-weight": "normal",
  4030. "line-height": "100%",
  4031. "letter-spacing": "0px",
  4032. "word-spacing": "0px",
  4033. "fill": "#000000",
  4034. "fill-opacity": "1",
  4035. "stroke": "none",
  4036. "font-family": "Sans"
  4037. }
  4038. },
  4039. "mapper": {
  4040. "type": "code",
  4041. "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})"
  4042. },
  4043. "parser": {
  4044. "type": "code",
  4045. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4046. },
  4047. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  4048. "position": {
  4049. "type": "list<double>",
  4050. "value": [
  4051. "0;-70,-100%",
  4052. "0;23,1.2246063538223773e-14%"
  4053. ]
  4054. },
  4055. "orientation": {
  4056. "type": "double",
  4057. "value": "0;180"
  4058. },
  4059. "scale": {
  4060. "type": "list<double>",
  4061. "value": [
  4062. 1,
  4063. 1
  4064. ]
  4065. },
  4066. "$linkDecoratorInfo": {
  4067. "type": "map<string,double>",
  4068. "value": {
  4069. "xratio": 1.0245398773006136,
  4070. "yoffset": -23.5
  4071. }
  4072. }
  4073. },
  4074. "140": {
  4075. "segments": {
  4076. "type": "string",
  4077. "value": "m0,0 l20,8 l-20,8"
  4078. },
  4079. "style": {
  4080. "type": "map<string,string>",
  4081. "value": {
  4082. "stroke": "#000000",
  4083. "fill": "#000000",
  4084. "fill-opacity": 0,
  4085. "stroke-width": 1,
  4086. "opacity": 1
  4087. }
  4088. },
  4089. "mapper": {
  4090. "type": "code",
  4091. "value": ""
  4092. },
  4093. "parser": {
  4094. "type": "code",
  4095. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4096. },
  4097. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  4098. "position": {
  4099. "type": "list<double>",
  4100. "value": [
  4101. "0;-70,-100%",
  4102. "0;7.5,1.2246063538223773e-14%"
  4103. ]
  4104. },
  4105. "orientation": {
  4106. "type": "double",
  4107. "value": "0;180"
  4108. },
  4109. "scale": {
  4110. "type": "list<double>",
  4111. "value": [
  4112. 1,
  4113. 1
  4114. ]
  4115. },
  4116. "$linkDecoratorInfo": {
  4117. "type": "map<string,double>",
  4118. "value": {
  4119. "xratio": 1,
  4120. "yoffset": -8
  4121. }
  4122. }
  4123. }
  4124. },
  4125. "edges": []
  4126. }
  4127. },
  4128. "$asuri": {
  4129. "type": "string",
  4130. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/102.instance"
  4131. },
  4132. "$segments": {
  4133. "type": "map<string,list<string>>",
  4134. "value": {
  4135. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/131.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/132.instance": "M704,429L704,392L811,392L811,466",
  4136. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/132.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/131.instance": "M811,466L741,466"
  4137. }
  4138. },
  4139. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  4140. },
  4141. "133": {
  4142. "link-style": {
  4143. "type": "map<string,string>",
  4144. "value": {
  4145. "stroke": "#000000",
  4146. "stroke-dasharray": "",
  4147. "stroke-opacity": 1,
  4148. "stroke-width": 2
  4149. }
  4150. },
  4151. "arrowHead": {
  4152. "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)",
  4153. "value": "custom"
  4154. },
  4155. "arrowTail": {
  4156. "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)",
  4157. "value": "arrow-black"
  4158. },
  4159. "typename": {
  4160. "type": "string",
  4161. "value": "AssociationLink"
  4162. },
  4163. "position": {
  4164. "type": "list<double>",
  4165. "value": [
  4166. 487.89384648884845,
  4167. 606.8938464888485
  4168. ]
  4169. },
  4170. "orientation": {
  4171. "type": "double",
  4172. "value": 0
  4173. },
  4174. "scale": {
  4175. "type": "list<double>",
  4176. "value": [
  4177. 1,
  4178. 1
  4179. ]
  4180. },
  4181. "mapper": {
  4182. "type": "code",
  4183. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  4184. },
  4185. "parser": {
  4186. "type": "code",
  4187. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4188. },
  4189. "$contents": {
  4190. "type": "map<string,*>",
  4191. "value": {
  4192. "nodes": {
  4193. "71": {
  4194. "textContent": {
  4195. "type": "string",
  4196. "value": "Inheritance"
  4197. },
  4198. "style": {
  4199. "type": "map<string,string>",
  4200. "value": {
  4201. "font-size": "20px",
  4202. "font-style": "normal",
  4203. "font-weight": "normal",
  4204. "line-height": "100%",
  4205. "letter-spacing": "0px",
  4206. "word-spacing": "0px",
  4207. "fill": "#000000",
  4208. "fill-opacity": "1",
  4209. "stroke": "none",
  4210. "font-family": "Sans"
  4211. }
  4212. },
  4213. "mapper": {
  4214. "type": "code",
  4215. "value": "({'textContent':getAttr('name')})"
  4216. },
  4217. "parser": {
  4218. "type": "code",
  4219. "value": "({'name':getAttr('textContent')})"
  4220. },
  4221. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  4222. "position": {
  4223. "type": "list<double>",
  4224. "value": [
  4225. "0;37.2779326522558,0%",
  4226. "0;27.606153511151547,0%"
  4227. ]
  4228. },
  4229. "orientation": {
  4230. "type": "double",
  4231. "value": "0;180"
  4232. },
  4233. "scale": {
  4234. "type": "list<double>",
  4235. "value": [
  4236. 1,
  4237. 1
  4238. ]
  4239. },
  4240. "$linkDecoratorInfo": {
  4241. "type": "map<string,double>",
  4242. "value": {
  4243. "xratio": 0.3803680981595092,
  4244. "yoffset": -28.5
  4245. }
  4246. }
  4247. },
  4248. "74": {
  4249. "textContent": {
  4250. "type": "string",
  4251. "value": "*"
  4252. },
  4253. "style": {
  4254. "type": "map<string,string>",
  4255. "value": {
  4256. "font-size": "20px",
  4257. "font-style": "normal",
  4258. "font-weight": "normal",
  4259. "line-height": "100%",
  4260. "letter-spacing": "0px",
  4261. "word-spacing": "0px",
  4262. "fill": "#000000",
  4263. "fill-opacity": "1",
  4264. "stroke": "none",
  4265. "font-family": "Sans"
  4266. }
  4267. },
  4268. "mapper": {
  4269. "type": "code",
  4270. "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})"
  4271. },
  4272. "parser": {
  4273. "type": "code",
  4274. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4275. },
  4276. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  4277. "position": {
  4278. "type": "list<double>",
  4279. "value": [
  4280. "0;119.60615351115155,0%",
  4281. "0;-37.85703667289749,0%"
  4282. ]
  4283. },
  4284. "orientation": {
  4285. "type": "double",
  4286. "value": "0;90"
  4287. },
  4288. "scale": {
  4289. "type": "list<double>",
  4290. "value": [
  4291. 1,
  4292. 1
  4293. ]
  4294. },
  4295. "$linkDecoratorInfo": {
  4296. "type": "map<string,double>",
  4297. "value": {
  4298. "xratio": 0.06134969325153374,
  4299. "yoffset": -25.5
  4300. }
  4301. }
  4302. },
  4303. "77": {
  4304. "textContent": {
  4305. "type": "string",
  4306. "value": "*"
  4307. },
  4308. "style": {
  4309. "type": "map<string,string>",
  4310. "value": {
  4311. "font-size": "20px",
  4312. "font-style": "normal",
  4313. "font-weight": "normal",
  4314. "line-height": "100%",
  4315. "letter-spacing": "0px",
  4316. "word-spacing": "0px",
  4317. "fill": "#000000",
  4318. "fill-opacity": "1",
  4319. "stroke": "none",
  4320. "font-family": "Sans"
  4321. }
  4322. },
  4323. "mapper": {
  4324. "type": "code",
  4325. "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})"
  4326. },
  4327. "parser": {
  4328. "type": "code",
  4329. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4330. },
  4331. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  4332. "position": {
  4333. "type": "list<double>",
  4334. "value": [
  4335. "0;50.10615351115155,100%",
  4336. "0;-117.39384648884845,0%"
  4337. ]
  4338. },
  4339. "orientation": {
  4340. "type": "double",
  4341. "value": "0;0"
  4342. },
  4343. "scale": {
  4344. "type": "list<double>",
  4345. "value": [
  4346. 1,
  4347. 1
  4348. ]
  4349. },
  4350. "$linkDecoratorInfo": {
  4351. "type": "map<string,double>",
  4352. "value": {
  4353. "xratio": 1.0245398773006136,
  4354. "yoffset": -23.5
  4355. }
  4356. }
  4357. },
  4358. "140": {
  4359. "segments": {
  4360. "type": "string",
  4361. "value": "m0,0 l20,8 l-20,8"
  4362. },
  4363. "style": {
  4364. "type": "map<string,string>",
  4365. "value": {
  4366. "stroke": "#000000",
  4367. "fill": "#000000",
  4368. "fill-opacity": 0,
  4369. "stroke-width": 1,
  4370. "opacity": 1
  4371. }
  4372. },
  4373. "mapper": {
  4374. "type": "code",
  4375. "value": ""
  4376. },
  4377. "parser": {
  4378. "type": "code",
  4379. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4380. },
  4381. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  4382. "position": {
  4383. "type": "list<double>",
  4384. "value": [
  4385. "0;50.10615351115155,100%",
  4386. "0;-101.89384648884845,0%"
  4387. ]
  4388. },
  4389. "orientation": {
  4390. "type": "double",
  4391. "value": "0;0"
  4392. },
  4393. "scale": {
  4394. "type": "list<double>",
  4395. "value": [
  4396. 1,
  4397. 1
  4398. ]
  4399. },
  4400. "$linkDecoratorInfo": {
  4401. "type": "map<string,double>",
  4402. "value": {
  4403. "xratio": 1,
  4404. "yoffset": -8
  4405. }
  4406. }
  4407. }
  4408. },
  4409. "edges": []
  4410. }
  4411. },
  4412. "$asuri": {
  4413. "type": "string",
  4414. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/103.instance"
  4415. },
  4416. "$segments": {
  4417. "type": "map<string,list<string>>",
  4418. "value": {
  4419. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/131.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/133.instance": "M582,551L582,606L487,606",
  4420. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/133.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/131.instance": "M487,606L487,513L538,513"
  4421. }
  4422. },
  4423. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  4424. },
  4425. "134": {
  4426. "link-style": {
  4427. "type": "map<string,string>",
  4428. "value": {
  4429. "stroke": "#000000",
  4430. "stroke-dasharray": "",
  4431. "stroke-opacity": 1,
  4432. "stroke-width": 2
  4433. }
  4434. },
  4435. "arrowHead": {
  4436. "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)",
  4437. "value": "custom"
  4438. },
  4439. "arrowTail": {
  4440. "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)",
  4441. "value": "arrow-black"
  4442. },
  4443. "typename": {
  4444. "type": "string",
  4445. "value": "AssociationLink"
  4446. },
  4447. "position": {
  4448. "type": "list<double>",
  4449. "value": [
  4450. 642.5022959175705,
  4451. 651.1499999479383
  4452. ]
  4453. },
  4454. "orientation": {
  4455. "type": "double",
  4456. "value": 0
  4457. },
  4458. "scale": {
  4459. "type": "list<double>",
  4460. "value": [
  4461. 1,
  4462. 1
  4463. ]
  4464. },
  4465. "mapper": {
  4466. "type": "code",
  4467. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  4468. },
  4469. "parser": {
  4470. "type": "code",
  4471. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4472. },
  4473. "$contents": {
  4474. "type": "map<string,*>",
  4475. "value": {
  4476. "nodes": {
  4477. "71": {
  4478. "textContent": {
  4479. "type": "string",
  4480. "value": "behaviour"
  4481. },
  4482. "style": {
  4483. "type": "map<string,string>",
  4484. "value": {
  4485. "font-size": "20px",
  4486. "font-style": "normal",
  4487. "font-weight": "normal",
  4488. "line-height": "100%",
  4489. "letter-spacing": "0px",
  4490. "word-spacing": "0px",
  4491. "fill": "#000000",
  4492. "fill-opacity": "1",
  4493. "stroke": "none",
  4494. "font-family": "Sans"
  4495. }
  4496. },
  4497. "mapper": {
  4498. "type": "code",
  4499. "value": "({'textContent':getAttr('name')})"
  4500. },
  4501. "parser": {
  4502. "type": "code",
  4503. "value": "({'name':getAttr('textContent')})"
  4504. },
  4505. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  4506. "position": {
  4507. "type": "list<double>",
  4508. "value": [
  4509. "0;27.99770408242955,0%",
  4510. "0;-23.076380316036534,0%"
  4511. ]
  4512. },
  4513. "orientation": {
  4514. "type": "double",
  4515. "value": "0;90"
  4516. },
  4517. "scale": {
  4518. "type": "list<double>",
  4519. "value": [
  4520. 1,
  4521. 1
  4522. ]
  4523. },
  4524. "$linkDecoratorInfo": {
  4525. "type": "map<string,double>",
  4526. "value": {
  4527. "xratio": 0.3803680981595092,
  4528. "yoffset": -28.5
  4529. }
  4530. }
  4531. },
  4532. "74": {
  4533. "textContent": {
  4534. "type": "string",
  4535. "value": "*"
  4536. },
  4537. "style": {
  4538. "type": "map<string,string>",
  4539. "value": {
  4540. "font-size": "20px",
  4541. "font-style": "normal",
  4542. "font-weight": "normal",
  4543. "line-height": "100%",
  4544. "letter-spacing": "0px",
  4545. "word-spacing": "0px",
  4546. "fill": "#000000",
  4547. "fill-opacity": "1",
  4548. "stroke": "none",
  4549. "font-family": "Sans"
  4550. }
  4551. },
  4552. "mapper": {
  4553. "type": "code",
  4554. "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})"
  4555. },
  4556. "parser": {
  4557. "type": "code",
  4558. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4559. },
  4560. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  4561. "position": {
  4562. "type": "list<double>",
  4563. "value": [
  4564. "0;24.99770408242955,0%",
  4565. "0;-86.88006129763164,0%"
  4566. ]
  4567. },
  4568. "orientation": {
  4569. "type": "double",
  4570. "value": "0;90"
  4571. },
  4572. "scale": {
  4573. "type": "list<double>",
  4574. "value": [
  4575. 1,
  4576. 1
  4577. ]
  4578. },
  4579. "$linkDecoratorInfo": {
  4580. "type": "map<string,double>",
  4581. "value": {
  4582. "xratio": 0.06134969325153374,
  4583. "yoffset": -25.5
  4584. }
  4585. }
  4586. },
  4587. "77": {
  4588. "textContent": {
  4589. "type": "string",
  4590. "value": "*"
  4591. },
  4592. "style": {
  4593. "type": "map<string,string>",
  4594. "value": {
  4595. "font-size": "20px",
  4596. "font-style": "normal",
  4597. "font-weight": "normal",
  4598. "line-height": "100%",
  4599. "letter-spacing": "0px",
  4600. "word-spacing": "0px",
  4601. "fill": "#000000",
  4602. "fill-opacity": "1",
  4603. "stroke": "none",
  4604. "font-family": "Sans"
  4605. }
  4606. },
  4607. "mapper": {
  4608. "type": "code",
  4609. "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})"
  4610. },
  4611. "parser": {
  4612. "type": "code",
  4613. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4614. },
  4615. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  4616. "position": {
  4617. "type": "list<double>",
  4618. "value": [
  4619. "0;22.99770408242955,6.123031769111886e-15%",
  4620. "0;100.85000005206166,100%"
  4621. ]
  4622. },
  4623. "orientation": {
  4624. "type": "double",
  4625. "value": "0;90"
  4626. },
  4627. "scale": {
  4628. "type": "list<double>",
  4629. "value": [
  4630. 1,
  4631. 1
  4632. ]
  4633. },
  4634. "$linkDecoratorInfo": {
  4635. "type": "map<string,double>",
  4636. "value": {
  4637. "xratio": 1.0245398773006136,
  4638. "yoffset": -23.5
  4639. }
  4640. }
  4641. },
  4642. "140": {
  4643. "segments": {
  4644. "type": "string",
  4645. "value": "m0,0 l20,8 l-20,8"
  4646. },
  4647. "style": {
  4648. "type": "map<string,string>",
  4649. "value": {
  4650. "stroke": "#000000",
  4651. "fill": "#000000",
  4652. "fill-opacity": 0,
  4653. "stroke-width": 1,
  4654. "opacity": 1
  4655. }
  4656. },
  4657. "mapper": {
  4658. "type": "code",
  4659. "value": ""
  4660. },
  4661. "parser": {
  4662. "type": "code",
  4663. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4664. },
  4665. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  4666. "position": {
  4667. "type": "list<double>",
  4668. "value": [
  4669. "0;7.49770408242955,6.123031769111886e-15%",
  4670. "0;100.85000005206166,100%"
  4671. ]
  4672. },
  4673. "orientation": {
  4674. "type": "double",
  4675. "value": "0;90"
  4676. },
  4677. "scale": {
  4678. "type": "list<double>",
  4679. "value": [
  4680. 1,
  4681. 1
  4682. ]
  4683. },
  4684. "$linkDecoratorInfo": {
  4685. "type": "map<string,double>",
  4686. "value": {
  4687. "xratio": 1,
  4688. "yoffset": -8
  4689. }
  4690. }
  4691. }
  4692. },
  4693. "edges": []
  4694. }
  4695. },
  4696. "$asuri": {
  4697. "type": "string",
  4698. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/114.instance"
  4699. },
  4700. "$segments": {
  4701. "type": "map<string,list<string>>",
  4702. "value": {
  4703. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/131.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/134.instance": "M642,552L642,651",
  4704. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/134.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/120.instance": "M642,651L642,752"
  4705. }
  4706. },
  4707. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  4708. },
  4709. "135": {
  4710. "link-style": {
  4711. "type": "map<string,string>",
  4712. "value": {
  4713. "stroke": "#000000",
  4714. "stroke-dasharray": "",
  4715. "stroke-opacity": 1,
  4716. "stroke-width": 2
  4717. }
  4718. },
  4719. "arrowHead": {
  4720. "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)",
  4721. "value": "custom"
  4722. },
  4723. "arrowTail": {
  4724. "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)",
  4725. "value": "arrow-black"
  4726. },
  4727. "typename": {
  4728. "type": "string",
  4729. "value": "AssociationLink"
  4730. },
  4731. "position": {
  4732. "type": "list<double>",
  4733. "value": [
  4734. 384,
  4735. 1090.5
  4736. ]
  4737. },
  4738. "orientation": {
  4739. "type": "double",
  4740. "value": 0
  4741. },
  4742. "scale": {
  4743. "type": "list<double>",
  4744. "value": [
  4745. 1,
  4746. 1
  4747. ]
  4748. },
  4749. "mapper": {
  4750. "type": "code",
  4751. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  4752. },
  4753. "parser": {
  4754. "type": "code",
  4755. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4756. },
  4757. "$contents": {
  4758. "type": "map<string,*>",
  4759. "value": {
  4760. "nodes": {
  4761. "71": {
  4762. "textContent": {
  4763. "type": "string",
  4764. "value": "ocContain"
  4765. },
  4766. "style": {
  4767. "type": "map<string,string>",
  4768. "value": {
  4769. "font-size": "20px",
  4770. "font-style": "normal",
  4771. "font-weight": "normal",
  4772. "line-height": "100%",
  4773. "letter-spacing": "0px",
  4774. "word-spacing": "0px",
  4775. "fill": "#000000",
  4776. "fill-opacity": "1",
  4777. "stroke": "none",
  4778. "font-family": "Sans"
  4779. }
  4780. },
  4781. "mapper": {
  4782. "type": "code",
  4783. "value": "({'textContent':getAttr('name')})"
  4784. },
  4785. "parser": {
  4786. "type": "code",
  4787. "value": "({'name':getAttr('textContent')})"
  4788. },
  4789. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  4790. "position": {
  4791. "type": "list<double>",
  4792. "value": [
  4793. "0;-12.269938650306756,0%",
  4794. "0;-29,0%"
  4795. ]
  4796. },
  4797. "orientation": {
  4798. "type": "double",
  4799. "value": "0;0"
  4800. },
  4801. "scale": {
  4802. "type": "list<double>",
  4803. "value": [
  4804. 1,
  4805. 1
  4806. ]
  4807. },
  4808. "$linkDecoratorInfo": {
  4809. "type": "map<string,double>",
  4810. "value": {
  4811. "xratio": 0.3803680981595092,
  4812. "yoffset": -28.5
  4813. }
  4814. }
  4815. },
  4816. "74": {
  4817. "textContent": {
  4818. "type": "string",
  4819. "value": "*"
  4820. },
  4821. "style": {
  4822. "type": "map<string,string>",
  4823. "value": {
  4824. "font-size": "20px",
  4825. "font-style": "normal",
  4826. "font-weight": "normal",
  4827. "line-height": "100%",
  4828. "letter-spacing": "0px",
  4829. "word-spacing": "0px",
  4830. "fill": "#000000",
  4831. "fill-opacity": "1",
  4832. "stroke": "none",
  4833. "font-family": "Sans"
  4834. }
  4835. },
  4836. "mapper": {
  4837. "type": "code",
  4838. "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})"
  4839. },
  4840. "parser": {
  4841. "type": "code",
  4842. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4843. },
  4844. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  4845. "position": {
  4846. "type": "list<double>",
  4847. "value": [
  4848. "0;-55.65644171779144,0%",
  4849. "0;-26,0%"
  4850. ]
  4851. },
  4852. "orientation": {
  4853. "type": "double",
  4854. "value": "0;0"
  4855. },
  4856. "scale": {
  4857. "type": "list<double>",
  4858. "value": [
  4859. 1,
  4860. 1
  4861. ]
  4862. },
  4863. "$linkDecoratorInfo": {
  4864. "type": "map<string,double>",
  4865. "value": {
  4866. "xratio": 0.06134969325153374,
  4867. "yoffset": -25.5
  4868. }
  4869. }
  4870. },
  4871. "77": {
  4872. "textContent": {
  4873. "type": "string",
  4874. "value": "*"
  4875. },
  4876. "style": {
  4877. "type": "map<string,string>",
  4878. "value": {
  4879. "font-size": "20px",
  4880. "font-style": "normal",
  4881. "font-weight": "normal",
  4882. "line-height": "100%",
  4883. "letter-spacing": "0px",
  4884. "word-spacing": "0px",
  4885. "fill": "#000000",
  4886. "fill-opacity": "1",
  4887. "stroke": "none",
  4888. "font-family": "Sans"
  4889. }
  4890. },
  4891. "mapper": {
  4892. "type": "code",
  4893. "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})"
  4894. },
  4895. "parser": {
  4896. "type": "code",
  4897. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4898. },
  4899. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  4900. "position": {
  4901. "type": "list<double>",
  4902. "value": [
  4903. "0;72,100%",
  4904. "0;-24,0%"
  4905. ]
  4906. },
  4907. "orientation": {
  4908. "type": "double",
  4909. "value": "0;0"
  4910. },
  4911. "scale": {
  4912. "type": "list<double>",
  4913. "value": [
  4914. 1,
  4915. 1
  4916. ]
  4917. },
  4918. "$linkDecoratorInfo": {
  4919. "type": "map<string,double>",
  4920. "value": {
  4921. "xratio": 1.0245398773006136,
  4922. "yoffset": -23.5
  4923. }
  4924. }
  4925. },
  4926. "140": {
  4927. "segments": {
  4928. "type": "string",
  4929. "value": "m0,0 l20,8 l-20,8"
  4930. },
  4931. "style": {
  4932. "type": "map<string,string>",
  4933. "value": {
  4934. "stroke": "#000000",
  4935. "fill": "#000000",
  4936. "fill-opacity": 0,
  4937. "stroke-width": 1,
  4938. "opacity": 1
  4939. }
  4940. },
  4941. "mapper": {
  4942. "type": "code",
  4943. "value": ""
  4944. },
  4945. "parser": {
  4946. "type": "code",
  4947. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4948. },
  4949. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  4950. "position": {
  4951. "type": "list<double>",
  4952. "value": [
  4953. "0;72,100%",
  4954. "0;-8.5,0%"
  4955. ]
  4956. },
  4957. "orientation": {
  4958. "type": "double",
  4959. "value": "0;0"
  4960. },
  4961. "scale": {
  4962. "type": "list<double>",
  4963. "value": [
  4964. 1,
  4965. 1
  4966. ]
  4967. },
  4968. "$linkDecoratorInfo": {
  4969. "type": "map<string,double>",
  4970. "value": {
  4971. "xratio": 1,
  4972. "yoffset": -8
  4973. }
  4974. }
  4975. }
  4976. },
  4977. "edges": []
  4978. }
  4979. },
  4980. "$asuri": {
  4981. "type": "string",
  4982. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/116.instance"
  4983. },
  4984. "$segments": {
  4985. "type": "map<string,list<string>>",
  4986. "value": {
  4987. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/119.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/135.instance": "M320,1090L384,1090",
  4988. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/135.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/121.instance": "M384,1090L456,1090"
  4989. }
  4990. },
  4991. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  4992. }
  4993. },
  4994. "edges": [],
  4995. "metamodels": [
  4996. "/Formalisms/SCCD/SCCD.defaultIcons",
  4997. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons"
  4998. ]
  4999. },
  5000. "asm": {
  5001. "nodes": {
  5002. "8": {
  5003. "name": {
  5004. "type": "string",
  5005. "value": "distinctNames"
  5006. },
  5007. "event": {
  5008. "type": "$EVENT",
  5009. "value": ""
  5010. },
  5011. "code": {
  5012. "type": "code",
  5013. "value": "var \tmm \t\t= '/Formalisms/SCCD/SCCD/',\n\tstates \t\t= getAllNodes([mm+'BasicState',mm+'CompositeState',mm+'OrthogonalComponent']),\n\tfullStateNames = {},\n\tknownStateNames = [];\n\nfunction fullStateName(s,fsn)\n{\n\tif( !(s in fullStateNames) )\n\t{\n\t\tvar containLinks = getNeighbors('<',mm+'contain',s).\n concat(getNeighbors('<',mm+'ocContain',s)).\n concat(getNeighbors('<',mm+'containOC',s));\n\t\tif( containLinks.length > 0 )\n\t\t{\n\t\t\tvar parent = getNeighbors(\"<\",'*',containLinks[0])[0];\n\t\t\tfullStateNames[s] = fullStateName(parent,getAttr('name',parent))+fsn;\n\t\t}\n\t\telse\n\t\t\tfullStateNames[s] = fsn;\n\t}\n\treturn fullStateNames[s];\n}\n\n\nstates.every(\n\tfunction(s)\n\t{\n\t\tvar fsn = fullStateName(s,getAttr('name',s));\n\t\tif( knownStateNames.indexOf(fsn) > -1 )\n\t\t\treturn false;\n\t\tknownStateNames.push(fsn);\n\t\treturn true;\n\t});\n"
  5014. },
  5015. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/GlobalConstraint"
  5016. },
  5017. "12": {
  5018. "name": {
  5019. "type": "string",
  5020. "value": "OrthogonalComponent"
  5021. },
  5022. "attributes": {
  5023. "type": "list<$ATTRIBUTE>",
  5024. "value": [
  5025. {
  5026. "name": "name",
  5027. "type": "string",
  5028. "default": "OC_"
  5029. }
  5030. ]
  5031. },
  5032. "constraints": {
  5033. "type": "list<$EVENT_HANDLER>",
  5034. "value": []
  5035. },
  5036. "actions": {
  5037. "type": "list<$EVENT_HANDLER>",
  5038. "value": []
  5039. },
  5040. "cardinalities": {
  5041. "type": "list<$CARDINALITY>",
  5042. "value": []
  5043. },
  5044. "abstract": {
  5045. "type": "boolean",
  5046. "value": false
  5047. },
  5048. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  5049. },
  5050. "18": {
  5051. "name": {
  5052. "type": "string",
  5053. "value": "State"
  5054. },
  5055. "attributes": {
  5056. "type": "list<$ATTRIBUTE>",
  5057. "value": [
  5058. {
  5059. "name": "name",
  5060. "type": "string",
  5061. "default": "S_"
  5062. },
  5063. {
  5064. "name": "entryAction",
  5065. "type": "code",
  5066. "default": ""
  5067. },
  5068. {
  5069. "name": "exitAction",
  5070. "type": "code",
  5071. "default": ""
  5072. },
  5073. {
  5074. "name": "isStart",
  5075. "type": "boolean",
  5076. "default": false
  5077. },
  5078. {
  5079. "name": "isCurrent",
  5080. "type": "boolean",
  5081. "default": false
  5082. },
  5083. {
  5084. "name": "option",
  5085. "type": "ENUM(ITF, OTF, RTO)",
  5086. "default": "ITF"
  5087. },
  5088. {
  5089. "name": "raiseEntry",
  5090. "type": "list<map<[event,scope,arguments],[string,string,list<string>]>>",
  5091. "default": []
  5092. },
  5093. {
  5094. "name": "raiseExit",
  5095. "type": "list<map<[event,scope,arguments],[string,string,list<string>]>>",
  5096. "default": []
  5097. }
  5098. ]
  5099. },
  5100. "constraints": {
  5101. "type": "list<$EVENT_HANDLER>",
  5102. "value": [
  5103. {
  5104. "name": "singleContainer",
  5105. "event": "post-connect",
  5106. "code": "/*newline*/var mm = '/Formalisms/StateChart/StateChart/';/*newline*/getNeighbors('<',mm+'Contain').concat(getNeighbors('<',mm+'OCContain')).concat(getNeighbors('<',mm+'ContainOC')).length <= 1;"
  5107. }
  5108. ]
  5109. },
  5110. "actions": {
  5111. "type": "list<$EVENT_HANDLER>",
  5112. "value": []
  5113. },
  5114. "cardinalities": {
  5115. "type": "list<$CARDINALITY>",
  5116. "value": []
  5117. },
  5118. "abstract": {
  5119. "type": "boolean",
  5120. "value": true
  5121. },
  5122. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  5123. },
  5124. "19": {
  5125. "name": {
  5126. "type": "string",
  5127. "value": "CompositeState"
  5128. },
  5129. "attributes": {
  5130. "type": "list<$ATTRIBUTE>",
  5131. "value": []
  5132. },
  5133. "constraints": {
  5134. "type": "list<$EVENT_HANDLER>",
  5135. "value": []
  5136. },
  5137. "actions": {
  5138. "type": "list<$EVENT_HANDLER>",
  5139. "value": []
  5140. },
  5141. "cardinalities": {
  5142. "type": "list<$CARDINALITY>",
  5143. "value": [
  5144. {
  5145. "dir": "out",
  5146. "type": "HistoryState",
  5147. "min": "0",
  5148. "max": "1"
  5149. }
  5150. ]
  5151. },
  5152. "abstract": {
  5153. "type": "boolean",
  5154. "value": false
  5155. },
  5156. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  5157. },
  5158. "20": {
  5159. "name": {
  5160. "type": "string",
  5161. "value": "BasicState"
  5162. },
  5163. "attributes": {
  5164. "type": "list<$ATTRIBUTE>",
  5165. "value": []
  5166. },
  5167. "constraints": {
  5168. "type": "list<$EVENT_HANDLER>",
  5169. "value": []
  5170. },
  5171. "actions": {
  5172. "type": "list<$EVENT_HANDLER>",
  5173. "value": []
  5174. },
  5175. "cardinalities": {
  5176. "type": "list<$CARDINALITY>",
  5177. "value": []
  5178. },
  5179. "abstract": {
  5180. "type": "boolean",
  5181. "value": false
  5182. },
  5183. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  5184. },
  5185. "21": {
  5186. "name": {
  5187. "type": "string",
  5188. "value": "contain"
  5189. },
  5190. "attributes": {
  5191. "type": "list<$ATTRIBUTE>",
  5192. "value": []
  5193. },
  5194. "constraints": {
  5195. "type": "list<$EVENT_HANDLER>",
  5196. "value": []
  5197. },
  5198. "actions": {
  5199. "type": "list<$EVENT_HANDLER>",
  5200. "value": []
  5201. },
  5202. "cardinalities": {
  5203. "type": "list<$CARDINALITY>",
  5204. "value": []
  5205. },
  5206. "linktype": {
  5207. "type": "ENUM(visual,containment)",
  5208. "value": "containment"
  5209. },
  5210. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  5211. },
  5212. "22": {
  5213. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance"
  5214. },
  5215. "23": {
  5216. "name": {
  5217. "type": "string",
  5218. "value": "transition"
  5219. },
  5220. "attributes": {
  5221. "type": "list<$ATTRIBUTE>",
  5222. "value": [
  5223. {
  5224. "name": "event",
  5225. "type": "string",
  5226. "default": ""
  5227. },
  5228. {
  5229. "name": "guard",
  5230. "type": "code",
  5231. "default": ""
  5232. },
  5233. {
  5234. "name": "action",
  5235. "type": "code",
  5236. "default": ""
  5237. },
  5238. {
  5239. "name": "display",
  5240. "type": "string",
  5241. "default": "XXXX"
  5242. },
  5243. {
  5244. "name": "after",
  5245. "type": "code",
  5246. "default": ""
  5247. },
  5248. {
  5249. "name": "parameters",
  5250. "type": "list<string>",
  5251. "default": []
  5252. },
  5253. {
  5254. "name": "raise",
  5255. "type": "list<map<[event,scope,arguments],[string,string,list<string>]>>",
  5256. "default": []
  5257. },
  5258. {
  5259. "name": "port",
  5260. "type": "string",
  5261. "default": ""
  5262. }
  5263. ]
  5264. },
  5265. "constraints": {
  5266. "type": "list<$EVENT_HANDLER>",
  5267. "value": []
  5268. },
  5269. "actions": {
  5270. "type": "list<$EVENT_HANDLER>",
  5271. "value": []
  5272. },
  5273. "cardinalities": {
  5274. "type": "list<$CARDINALITY>",
  5275. "value": [
  5276. {
  5277. "dir": "in",
  5278. "type": "OrthogonalComponent",
  5279. "min": "0",
  5280. "max": "0"
  5281. },
  5282. {
  5283. "dir": "out",
  5284. "type": "OrthogonalComponent",
  5285. "min": "0",
  5286. "max": "0"
  5287. }
  5288. ]
  5289. },
  5290. "linktype": {
  5291. "type": "ENUM(visual,containment)",
  5292. "value": "visual"
  5293. },
  5294. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  5295. },
  5296. "24": {
  5297. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance"
  5298. },
  5299. "26": {
  5300. "name": {
  5301. "type": "string",
  5302. "value": "containOC"
  5303. },
  5304. "attributes": {
  5305. "type": "list<$ATTRIBUTE>",
  5306. "value": []
  5307. },
  5308. "constraints": {
  5309. "type": "list<$EVENT_HANDLER>",
  5310. "value": []
  5311. },
  5312. "actions": {
  5313. "type": "list<$EVENT_HANDLER>",
  5314. "value": []
  5315. },
  5316. "cardinalities": {
  5317. "type": "list<$CARDINALITY>",
  5318. "value": []
  5319. },
  5320. "linktype": {
  5321. "type": "ENUM(visual,containment)",
  5322. "value": "containment"
  5323. },
  5324. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  5325. },
  5326. "28": {
  5327. "name": {
  5328. "type": "string",
  5329. "value": "HistoryState"
  5330. },
  5331. "attributes": {
  5332. "type": "list<$ATTRIBUTE>",
  5333. "value": [
  5334. {
  5335. "name": "name",
  5336. "type": "string",
  5337. "default": "H"
  5338. },
  5339. {
  5340. "name": "type",
  5341. "type": "ENUM(deep, shallow)",
  5342. "default": "shallow"
  5343. }
  5344. ]
  5345. },
  5346. "constraints": {
  5347. "type": "list<$EVENT_HANDLER>",
  5348. "value": []
  5349. },
  5350. "actions": {
  5351. "type": "list<$EVENT_HANDLER>",
  5352. "value": []
  5353. },
  5354. "cardinalities": {
  5355. "type": "list<$CARDINALITY>",
  5356. "value": []
  5357. },
  5358. "abstract": {
  5359. "type": "boolean",
  5360. "value": false
  5361. },
  5362. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  5363. },
  5364. "30": {
  5365. "name": {
  5366. "type": "string",
  5367. "value": "includes"
  5368. },
  5369. "attributes": {
  5370. "type": "list<$ATTRIBUTE>",
  5371. "value": []
  5372. },
  5373. "constraints": {
  5374. "type": "list<$EVENT_HANDLER>",
  5375. "value": []
  5376. },
  5377. "actions": {
  5378. "type": "list<$EVENT_HANDLER>",
  5379. "value": []
  5380. },
  5381. "cardinalities": {
  5382. "type": "list<$CARDINALITY>",
  5383. "value": [
  5384. {
  5385. "dir": "out",
  5386. "type": "HistoryState",
  5387. "min": "0",
  5388. "max": "1"
  5389. }
  5390. ]
  5391. },
  5392. "linktype": {
  5393. "type": "ENUM(visual,containment)",
  5394. "value": "containment"
  5395. },
  5396. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  5397. },
  5398. "36": {
  5399. "name": {
  5400. "type": "string",
  5401. "value": "transition"
  5402. },
  5403. "attributes": {
  5404. "type": "list<$ATTRIBUTE>",
  5405. "value": [
  5406. {
  5407. "name": "event",
  5408. "type": "string",
  5409. "default": ""
  5410. },
  5411. {
  5412. "name": "guard",
  5413. "type": "code",
  5414. "default": ""
  5415. },
  5416. {
  5417. "name": "action",
  5418. "type": "code",
  5419. "default": ""
  5420. },
  5421. {
  5422. "name": "display",
  5423. "type": "string",
  5424. "default": "XXXX"
  5425. },
  5426. {
  5427. "name": "after",
  5428. "type": "code",
  5429. "default": ""
  5430. },
  5431. {
  5432. "name": "raise",
  5433. "type": "list<map<[event,scope,arguments],[string,string,list<string>]>>",
  5434. "default": []
  5435. },
  5436. {
  5437. "name": "parameters",
  5438. "type": "list<string>",
  5439. "default": []
  5440. },
  5441. {
  5442. "name": "port",
  5443. "type": "string",
  5444. "default": ""
  5445. }
  5446. ]
  5447. },
  5448. "constraints": {
  5449. "type": "list<$EVENT_HANDLER>",
  5450. "value": []
  5451. },
  5452. "actions": {
  5453. "type": "list<$EVENT_HANDLER>",
  5454. "value": []
  5455. },
  5456. "cardinalities": {
  5457. "type": "list<$CARDINALITY>",
  5458. "value": [
  5459. {
  5460. "dir": "in",
  5461. "type": "OrthogonalComponent",
  5462. "min": "0",
  5463. "max": "0"
  5464. },
  5465. {
  5466. "dir": "out",
  5467. "type": "OrthogonalComponent",
  5468. "min": "0",
  5469. "max": "0"
  5470. }
  5471. ]
  5472. },
  5473. "linktype": {
  5474. "type": "ENUM(visual,containment)",
  5475. "value": "visual"
  5476. },
  5477. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  5478. },
  5479. "98": {
  5480. "name": {
  5481. "type": "string",
  5482. "value": "Class"
  5483. },
  5484. "attributes": {
  5485. "type": "list<$ATTRIBUTE>",
  5486. "value": [
  5487. {
  5488. "name": "name",
  5489. "type": "string",
  5490. "default": "Class_"
  5491. },
  5492. {
  5493. "name": "attributes",
  5494. "type": "list<$ATTRIBUTE>",
  5495. "default": []
  5496. },
  5497. {
  5498. "name": "cardinalities",
  5499. "type": "list<$CARDINALITY>",
  5500. "default": []
  5501. },
  5502. {
  5503. "name": "abstract",
  5504. "type": "boolean",
  5505. "default": false
  5506. },
  5507. {
  5508. "name": "methods",
  5509. "type": "list<$METHOD>",
  5510. "default": []
  5511. },
  5512. {
  5513. "name": "external",
  5514. "type": "boolean",
  5515. "default": false
  5516. }
  5517. ]
  5518. },
  5519. "constraints": {
  5520. "type": "list<$EVENT_HANDLER>",
  5521. "value": []
  5522. },
  5523. "actions": {
  5524. "type": "list<$EVENT_HANDLER>",
  5525. "value": []
  5526. },
  5527. "cardinalities": {
  5528. "type": "list<$CARDINALITY>",
  5529. "value": [
  5530. {
  5531. "dir": "in",
  5532. "type": "PackageContents",
  5533. "min": "0",
  5534. "max": "1"
  5535. }
  5536. ]
  5537. },
  5538. "abstract": {
  5539. "type": "boolean",
  5540. "value": false
  5541. },
  5542. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  5543. },
  5544. "102": {
  5545. "name": {
  5546. "type": "string",
  5547. "value": "Association"
  5548. },
  5549. "attributes": {
  5550. "type": "list<$ATTRIBUTE>",
  5551. "value": [
  5552. {
  5553. "name": "name",
  5554. "type": "string",
  5555. "default": "Association_"
  5556. },
  5557. {
  5558. "name": "attributes",
  5559. "type": "list<$ATTRIBUTE>",
  5560. "default": []
  5561. },
  5562. {
  5563. "name": "constraints",
  5564. "type": "list<$EVENT_HANDLER>",
  5565. "default": []
  5566. },
  5567. {
  5568. "name": "actions",
  5569. "type": "list<$EVENT_HANDLER>",
  5570. "default": []
  5571. },
  5572. {
  5573. "name": "cardinalities",
  5574. "type": "list<$CARDINALITY>",
  5575. "default": []
  5576. },
  5577. {
  5578. "name": "linktype",
  5579. "type": "ENUM(visual,containment)",
  5580. "default": "visual"
  5581. }
  5582. ]
  5583. },
  5584. "constraints": {
  5585. "type": "list<$EVENT_HANDLER>",
  5586. "value": []
  5587. },
  5588. "actions": {
  5589. "type": "list<$EVENT_HANDLER>",
  5590. "value": []
  5591. },
  5592. "cardinalities": {
  5593. "type": "list<$CARDINALITY>",
  5594. "value": []
  5595. },
  5596. "linktype": {
  5597. "type": "ENUM(visual,containment)",
  5598. "value": "visual"
  5599. },
  5600. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  5601. },
  5602. "103": {
  5603. "name": {
  5604. "type": "string",
  5605. "value": "Inheritance"
  5606. },
  5607. "attributes": {
  5608. "type": "list<$ATTRIBUTE>",
  5609. "value": []
  5610. },
  5611. "constraints": {
  5612. "type": "list<$EVENT_HANDLER>",
  5613. "value": []
  5614. },
  5615. "actions": {
  5616. "type": "list<$EVENT_HANDLER>",
  5617. "value": []
  5618. },
  5619. "cardinalities": {
  5620. "type": "list<$CARDINALITY>",
  5621. "value": []
  5622. },
  5623. "linktype": {
  5624. "type": "ENUM(visual,containment)",
  5625. "value": "visual"
  5626. },
  5627. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  5628. },
  5629. "114": {
  5630. "name": {
  5631. "type": "string",
  5632. "value": "behaviour"
  5633. },
  5634. "attributes": {
  5635. "type": "list<$ATTRIBUTE>",
  5636. "value": []
  5637. },
  5638. "constraints": {
  5639. "type": "list<$EVENT_HANDLER>",
  5640. "value": []
  5641. },
  5642. "actions": {
  5643. "type": "list<$EVENT_HANDLER>",
  5644. "value": []
  5645. },
  5646. "cardinalities": {
  5647. "type": "list<$CARDINALITY>",
  5648. "value": []
  5649. },
  5650. "linktype": {
  5651. "type": "ENUM(visual,containment)",
  5652. "value": "visual"
  5653. },
  5654. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  5655. },
  5656. "116": {
  5657. "name": {
  5658. "type": "string",
  5659. "value": "ocContain"
  5660. },
  5661. "attributes": {
  5662. "type": "list<$ATTRIBUTE>",
  5663. "value": []
  5664. },
  5665. "constraints": {
  5666. "type": "list<$EVENT_HANDLER>",
  5667. "value": []
  5668. },
  5669. "actions": {
  5670. "type": "list<$EVENT_HANDLER>",
  5671. "value": []
  5672. },
  5673. "cardinalities": {
  5674. "type": "list<$CARDINALITY>",
  5675. "value": []
  5676. },
  5677. "linktype": {
  5678. "type": "ENUM(visual,containment)",
  5679. "value": "containment"
  5680. },
  5681. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  5682. }
  5683. },
  5684. "edges": [
  5685. {
  5686. "src": "19",
  5687. "dest": "21"
  5688. },
  5689. {
  5690. "src": "21",
  5691. "dest": "18"
  5692. },
  5693. {
  5694. "src": "20",
  5695. "dest": "22"
  5696. },
  5697. {
  5698. "src": "22",
  5699. "dest": "18"
  5700. },
  5701. {
  5702. "src": "18",
  5703. "dest": "23"
  5704. },
  5705. {
  5706. "src": "23",
  5707. "dest": "18"
  5708. },
  5709. {
  5710. "src": "19",
  5711. "dest": "24"
  5712. },
  5713. {
  5714. "src": "24",
  5715. "dest": "18"
  5716. },
  5717. {
  5718. "src": "19",
  5719. "dest": "26"
  5720. },
  5721. {
  5722. "src": "26",
  5723. "dest": "12"
  5724. },
  5725. {
  5726. "src": "19",
  5727. "dest": "30"
  5728. },
  5729. {
  5730. "src": "30",
  5731. "dest": "28"
  5732. },
  5733. {
  5734. "src": "18",
  5735. "dest": "36"
  5736. },
  5737. {
  5738. "src": "36",
  5739. "dest": "28"
  5740. },
  5741. {
  5742. "src": "98",
  5743. "dest": "102"
  5744. },
  5745. {
  5746. "src": "102",
  5747. "dest": "98"
  5748. },
  5749. {
  5750. "src": "98",
  5751. "dest": "103"
  5752. },
  5753. {
  5754. "src": "103",
  5755. "dest": "98"
  5756. },
  5757. {
  5758. "src": "98",
  5759. "dest": "114"
  5760. },
  5761. {
  5762. "src": "114",
  5763. "dest": "18"
  5764. },
  5765. {
  5766. "src": "12",
  5767. "dest": "116"
  5768. },
  5769. {
  5770. "src": "116",
  5771. "dest": "19"
  5772. }
  5773. ],
  5774. "metamodels": [
  5775. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram",
  5776. "/Formalisms/SCCD/SCCD"
  5777. ]
  5778. }
  5779. }