ClassicDEVS.model 207 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488
  1. {
  2. "csm": {
  3. "nodes": {
  4. "0": {
  5. "typename": {
  6. "type": "string",
  7. "value": "ClassIcon"
  8. },
  9. "position": {
  10. "type": "list<double>",
  11. "value": [
  12. 1136,
  13. 157
  14. ]
  15. },
  16. "orientation": {
  17. "type": "double",
  18. "value": 0
  19. },
  20. "scale": {
  21. "type": "list<double>",
  22. "value": [
  23. 1,
  24. 1
  25. ]
  26. },
  27. "mapper": {
  28. "type": "code",
  29. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  30. },
  31. "parser": {
  32. "type": "code",
  33. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  34. },
  35. "$contents": {
  36. "type": "map<string,*>",
  37. "value": {
  38. "nodes": {
  39. "96": {
  40. "width": {
  41. "type": "double",
  42. "value": 200
  43. },
  44. "height": {
  45. "type": "double",
  46. "value": 125
  47. },
  48. "cornerRadius": {
  49. "type": "double",
  50. "value": 0
  51. },
  52. "style": {
  53. "type": "map<string,string>",
  54. "value": {
  55. "stroke": "#000000",
  56. "stroke-dasharray": "",
  57. "fill": "#ffffff",
  58. "fill-opacity": 0.75,
  59. "stroke-width": 2
  60. }
  61. },
  62. "mapper": {
  63. "type": "code",
  64. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  65. },
  66. "parser": {
  67. "type": "code",
  68. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  69. },
  70. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  71. "position": {
  72. "type": "list<double>",
  73. "value": [
  74. 4,
  75. 3
  76. ]
  77. },
  78. "orientation": {
  79. "type": "double",
  80. "value": 0
  81. },
  82. "scale": {
  83. "type": "list<double>",
  84. "value": [
  85. 1,
  86. 1
  87. ]
  88. }
  89. },
  90. "97": {
  91. "segments": {
  92. "type": "string",
  93. "value": "m0,0l197,0"
  94. },
  95. "style": {
  96. "type": "map<string,string>",
  97. "value": {
  98. "stroke": "#000000",
  99. "stroke-dasharray": "",
  100. "fill": "#ffffff",
  101. "fill-opacity": 0.75,
  102. "font-size": "20px",
  103. "stroke-width": 2,
  104. "arrow-start": "none",
  105. "arrow-end": "none"
  106. }
  107. },
  108. "mapper": {
  109. "type": "code",
  110. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  111. },
  112. "parser": {
  113. "type": "code",
  114. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  115. },
  116. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  117. "position": {
  118. "type": "list<double>",
  119. "value": [
  120. 6,
  121. 36
  122. ]
  123. },
  124. "orientation": {
  125. "type": "double",
  126. "value": 0
  127. },
  128. "scale": {
  129. "type": "list<double>",
  130. "value": [
  131. 1,
  132. 1
  133. ]
  134. }
  135. },
  136. "98": {
  137. "textContent": {
  138. "type": "string",
  139. "value": "State"
  140. },
  141. "style": {
  142. "type": "map<string,string>",
  143. "value": {
  144. "font-size": "18px",
  145. "font-style": "normal",
  146. "font-weight": "bold",
  147. "line-height": "100%",
  148. "letter-spacing": "0px",
  149. "word-spacing": "0px",
  150. "fill": "#000000",
  151. "fill-opacity": "1",
  152. "stroke": "none"
  153. }
  154. },
  155. "mapper": {
  156. "type": "code",
  157. "value": "var style = \n{\n \"font-size\": \"18px\",\n \"font-style\": \"normal\",\n \"font-weight\": \"bold\",\n \"line-height\": \"100%\",\n \"letter-spacing\": \"0px\",\n \"word-spacing\": \"0px\",\n \"fill\": \"#000000\",\n \"fill-opacity\": \"1\",\n \"stroke\": \"none\",\n \"font-style\": (getAttr('abstract') ? 'italic' : 'normal')\n};\n\n({'textContent': getAttr('name'), 'style':style})\n\n\n"
  158. },
  159. "parser": {
  160. "type": "code",
  161. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  162. },
  163. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  164. "position": {
  165. "type": "list<double>",
  166. "value": [
  167. 8,
  168. 8
  169. ]
  170. },
  171. "orientation": {
  172. "type": "double",
  173. "value": 0
  174. },
  175. "scale": {
  176. "type": "list<double>",
  177. "value": [
  178. 1,
  179. 1
  180. ]
  181. }
  182. },
  183. "99": {
  184. "textContent": {
  185. "type": "string",
  186. "value": "+ name : string\n+ initial : bool\n+ time_advance : code\n+ output : code"
  187. },
  188. "style": {
  189. "type": "map<string,string>",
  190. "value": {
  191. "font-size": "14px",
  192. "font-style": "normal",
  193. "font-weight": "bold",
  194. "line-height": "100%",
  195. "letter-spacing": "0px",
  196. "word-spacing": "0px",
  197. "fill": "#000000",
  198. "fill-opacity": "1",
  199. "stroke": "none"
  200. }
  201. },
  202. "mapper": {
  203. "type": "code",
  204. "value": "var filenames = getAttr('attributes').map(\n function(attr)\n {\n var s = '+ '+attr['name'] + ' : ' + attr['type'];\n if (attr['default'])\n s += ' = ' + attr['default'];\n return s;\n });\n\n({'textContent': filenames.join('\\n')})"
  205. },
  206. "parser": {
  207. "type": "code",
  208. "value": ""
  209. },
  210. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  211. "position": {
  212. "type": "list<double>",
  213. "value": [
  214. 10,
  215. 41
  216. ]
  217. },
  218. "orientation": {
  219. "type": "double",
  220. "value": 0
  221. },
  222. "scale": {
  223. "type": "list<double>",
  224. "value": [
  225. 1,
  226. 1
  227. ]
  228. }
  229. },
  230. "100": {
  231. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  232. "position": {
  233. "type": "list<double>",
  234. "value": [
  235. 68.5,
  236. 36.5
  237. ]
  238. },
  239. "orientation": {
  240. "type": "double",
  241. "value": 0
  242. },
  243. "scale": {
  244. "type": "list<double>",
  245. "value": [
  246. 1,
  247. 1
  248. ]
  249. },
  250. "link-style": {
  251. "type": "map<string,string>",
  252. "value": {
  253. "stroke": "#00ffff",
  254. "stroke-dasharray": "",
  255. "stroke-opacity": 0.1,
  256. "stroke-width": 1
  257. }
  258. }
  259. },
  260. "101": {
  261. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  262. "position": {
  263. "type": "list<double>",
  264. "value": [
  265. 12.5,
  266. 27
  267. ]
  268. },
  269. "orientation": {
  270. "type": "double",
  271. "value": 0
  272. },
  273. "scale": {
  274. "type": "list<double>",
  275. "value": [
  276. 1,
  277. 1
  278. ]
  279. },
  280. "link-style": {
  281. "type": "map<string,string>",
  282. "value": {
  283. "stroke": "#00ffff",
  284. "stroke-dasharray": "",
  285. "stroke-opacity": 0.1,
  286. "stroke-width": 1
  287. }
  288. }
  289. },
  290. "102": {
  291. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  292. "position": {
  293. "type": "list<double>",
  294. "value": [
  295. 53.75,
  296. 20
  297. ]
  298. },
  299. "orientation": {
  300. "type": "double",
  301. "value": 0
  302. },
  303. "scale": {
  304. "type": "list<double>",
  305. "value": [
  306. 1,
  307. 1
  308. ]
  309. },
  310. "link-style": {
  311. "type": "map<string,string>",
  312. "value": {
  313. "stroke": "#00ffff",
  314. "stroke-dasharray": "",
  315. "stroke-opacity": 0.1,
  316. "stroke-width": 1
  317. }
  318. }
  319. }
  320. },
  321. "edges": [
  322. {
  323. "src": "96",
  324. "dest": "100"
  325. },
  326. {
  327. "src": "100",
  328. "dest": "98"
  329. },
  330. {
  331. "src": "96",
  332. "dest": "101"
  333. },
  334. {
  335. "src": "101",
  336. "dest": "99"
  337. },
  338. {
  339. "src": "96",
  340. "dest": "102"
  341. },
  342. {
  343. "src": "102",
  344. "dest": "97"
  345. }
  346. ]
  347. }
  348. },
  349. "$asuri": {
  350. "type": "string",
  351. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/0.instance"
  352. },
  353. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  354. },
  355. "1": {
  356. "typename": {
  357. "type": "string",
  358. "value": "ClassIcon"
  359. },
  360. "position": {
  361. "type": "list<double>",
  362. "value": [
  363. 484,
  364. 156
  365. ]
  366. },
  367. "orientation": {
  368. "type": "double",
  369. "value": 0
  370. },
  371. "scale": {
  372. "type": "list<double>",
  373. "value": [
  374. 1,
  375. 1
  376. ]
  377. },
  378. "mapper": {
  379. "type": "code",
  380. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  381. },
  382. "parser": {
  383. "type": "code",
  384. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  385. },
  386. "$contents": {
  387. "type": "map<string,*>",
  388. "value": {
  389. "nodes": {
  390. "96": {
  391. "width": {
  392. "type": "double",
  393. "value": 200
  394. },
  395. "height": {
  396. "type": "double",
  397. "value": 125
  398. },
  399. "cornerRadius": {
  400. "type": "double",
  401. "value": 0
  402. },
  403. "style": {
  404. "type": "map<string,string>",
  405. "value": {
  406. "stroke": "#000000",
  407. "stroke-dasharray": "",
  408. "fill": "#ffffff",
  409. "fill-opacity": 0.75,
  410. "stroke-width": 2
  411. }
  412. },
  413. "mapper": {
  414. "type": "code",
  415. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  416. },
  417. "parser": {
  418. "type": "code",
  419. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  420. },
  421. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  422. "position": {
  423. "type": "list<double>",
  424. "value": [
  425. 4,
  426. 3
  427. ]
  428. },
  429. "orientation": {
  430. "type": "double",
  431. "value": 0
  432. },
  433. "scale": {
  434. "type": "list<double>",
  435. "value": [
  436. 1,
  437. 1
  438. ]
  439. }
  440. },
  441. "97": {
  442. "segments": {
  443. "type": "string",
  444. "value": "m0,0l197,0"
  445. },
  446. "style": {
  447. "type": "map<string,string>",
  448. "value": {
  449. "stroke": "#000000",
  450. "stroke-dasharray": "",
  451. "fill": "#ffffff",
  452. "fill-opacity": 0.75,
  453. "font-size": "20px",
  454. "stroke-width": 2,
  455. "arrow-start": "none",
  456. "arrow-end": "none"
  457. }
  458. },
  459. "mapper": {
  460. "type": "code",
  461. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  462. },
  463. "parser": {
  464. "type": "code",
  465. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  466. },
  467. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  468. "position": {
  469. "type": "list<double>",
  470. "value": [
  471. 6,
  472. 36
  473. ]
  474. },
  475. "orientation": {
  476. "type": "double",
  477. "value": 0
  478. },
  479. "scale": {
  480. "type": "list<double>",
  481. "value": [
  482. 1,
  483. 1
  484. ]
  485. }
  486. },
  487. "98": {
  488. "textContent": {
  489. "type": "string",
  490. "value": "BaseDEVS"
  491. },
  492. "style": {
  493. "type": "map<string,string>",
  494. "value": {
  495. "font-size": "18px",
  496. "font-style": "italic",
  497. "font-weight": "bold",
  498. "line-height": "100%",
  499. "letter-spacing": "0px",
  500. "word-spacing": "0px",
  501. "fill": "#000000",
  502. "fill-opacity": "1",
  503. "stroke": "none"
  504. }
  505. },
  506. "mapper": {
  507. "type": "code",
  508. "value": "var style = \n{\n \"font-size\": \"18px\",\n \"font-style\": \"normal\",\n \"font-weight\": \"bold\",\n \"line-height\": \"100%\",\n \"letter-spacing\": \"0px\",\n \"word-spacing\": \"0px\",\n \"fill\": \"#000000\",\n \"fill-opacity\": \"1\",\n \"stroke\": \"none\",\n \"font-style\": (getAttr('abstract') ? 'italic' : 'normal')\n};\n\n({'textContent': getAttr('name'), 'style':style})\n\n\n"
  509. },
  510. "parser": {
  511. "type": "code",
  512. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  513. },
  514. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  515. "position": {
  516. "type": "list<double>",
  517. "value": [
  518. 8,
  519. 8
  520. ]
  521. },
  522. "orientation": {
  523. "type": "double",
  524. "value": 0
  525. },
  526. "scale": {
  527. "type": "list<double>",
  528. "value": [
  529. 1,
  530. 1
  531. ]
  532. }
  533. },
  534. "99": {
  535. "textContent": {
  536. "type": "string",
  537. "value": "+ name : string\n+ attributes : list<$ATTRIBUTE> = \n+ parameters : list<$ARG> = \n+ __init__ : code\n+ position : list<int> = 0,0\n+ scale : list<int> = 0,0"
  538. },
  539. "style": {
  540. "type": "map<string,string>",
  541. "value": {
  542. "font-size": "14px",
  543. "font-style": "normal",
  544. "font-weight": "bold",
  545. "line-height": "100%",
  546. "letter-spacing": "0px",
  547. "word-spacing": "0px",
  548. "fill": "#000000",
  549. "fill-opacity": "1",
  550. "stroke": "none"
  551. }
  552. },
  553. "mapper": {
  554. "type": "code",
  555. "value": "var filenames = getAttr('attributes').map(\n function(attr)\n {\n var s = '+ '+attr['name'] + ' : ' + attr['type'];\n if (attr['default'])\n s += ' = ' + attr['default'];\n return s;\n });\n\n({'textContent': filenames.join('\\n')})"
  556. },
  557. "parser": {
  558. "type": "code",
  559. "value": ""
  560. },
  561. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  562. "position": {
  563. "type": "list<double>",
  564. "value": [
  565. 10,
  566. 41
  567. ]
  568. },
  569. "orientation": {
  570. "type": "double",
  571. "value": 0
  572. },
  573. "scale": {
  574. "type": "list<double>",
  575. "value": [
  576. 1,
  577. 1
  578. ]
  579. }
  580. },
  581. "100": {
  582. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  583. "position": {
  584. "type": "list<double>",
  585. "value": [
  586. 68.5,
  587. 36.5
  588. ]
  589. },
  590. "orientation": {
  591. "type": "double",
  592. "value": 0
  593. },
  594. "scale": {
  595. "type": "list<double>",
  596. "value": [
  597. 1,
  598. 1
  599. ]
  600. },
  601. "link-style": {
  602. "type": "map<string,string>",
  603. "value": {
  604. "stroke": "#00ffff",
  605. "stroke-dasharray": "",
  606. "stroke-opacity": 0.1,
  607. "stroke-width": 1
  608. }
  609. }
  610. },
  611. "101": {
  612. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  613. "position": {
  614. "type": "list<double>",
  615. "value": [
  616. 12.5,
  617. 27
  618. ]
  619. },
  620. "orientation": {
  621. "type": "double",
  622. "value": 0
  623. },
  624. "scale": {
  625. "type": "list<double>",
  626. "value": [
  627. 1,
  628. 1
  629. ]
  630. },
  631. "link-style": {
  632. "type": "map<string,string>",
  633. "value": {
  634. "stroke": "#00ffff",
  635. "stroke-dasharray": "",
  636. "stroke-opacity": 0.1,
  637. "stroke-width": 1
  638. }
  639. }
  640. },
  641. "102": {
  642. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  643. "position": {
  644. "type": "list<double>",
  645. "value": [
  646. 53.75,
  647. 20
  648. ]
  649. },
  650. "orientation": {
  651. "type": "double",
  652. "value": 0
  653. },
  654. "scale": {
  655. "type": "list<double>",
  656. "value": [
  657. 1,
  658. 1
  659. ]
  660. },
  661. "link-style": {
  662. "type": "map<string,string>",
  663. "value": {
  664. "stroke": "#00ffff",
  665. "stroke-dasharray": "",
  666. "stroke-opacity": 0.1,
  667. "stroke-width": 1
  668. }
  669. }
  670. }
  671. },
  672. "edges": [
  673. {
  674. "src": "96",
  675. "dest": "100"
  676. },
  677. {
  678. "src": "100",
  679. "dest": "98"
  680. },
  681. {
  682. "src": "96",
  683. "dest": "101"
  684. },
  685. {
  686. "src": "101",
  687. "dest": "99"
  688. },
  689. {
  690. "src": "96",
  691. "dest": "102"
  692. },
  693. {
  694. "src": "102",
  695. "dest": "97"
  696. }
  697. ]
  698. }
  699. },
  700. "$asuri": {
  701. "type": "string",
  702. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/1.instance"
  703. },
  704. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  705. },
  706. "2": {
  707. "typename": {
  708. "type": "string",
  709. "value": "ClassIcon"
  710. },
  711. "position": {
  712. "type": "list<double>",
  713. "value": [
  714. 39,
  715. 159
  716. ]
  717. },
  718. "orientation": {
  719. "type": "double",
  720. "value": 0
  721. },
  722. "scale": {
  723. "type": "list<double>",
  724. "value": [
  725. 1,
  726. 1
  727. ]
  728. },
  729. "mapper": {
  730. "type": "code",
  731. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  732. },
  733. "parser": {
  734. "type": "code",
  735. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  736. },
  737. "$contents": {
  738. "type": "map<string,*>",
  739. "value": {
  740. "nodes": {
  741. "96": {
  742. "width": {
  743. "type": "double",
  744. "value": 200
  745. },
  746. "height": {
  747. "type": "double",
  748. "value": 125
  749. },
  750. "cornerRadius": {
  751. "type": "double",
  752. "value": 0
  753. },
  754. "style": {
  755. "type": "map<string,string>",
  756. "value": {
  757. "stroke": "#000000",
  758. "stroke-dasharray": "",
  759. "fill": "#ffffff",
  760. "fill-opacity": 0.75,
  761. "stroke-width": 2
  762. }
  763. },
  764. "mapper": {
  765. "type": "code",
  766. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  767. },
  768. "parser": {
  769. "type": "code",
  770. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  771. },
  772. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  773. "position": {
  774. "type": "list<double>",
  775. "value": [
  776. 4,
  777. 3
  778. ]
  779. },
  780. "orientation": {
  781. "type": "double",
  782. "value": 0
  783. },
  784. "scale": {
  785. "type": "list<double>",
  786. "value": [
  787. 1,
  788. 1
  789. ]
  790. }
  791. },
  792. "97": {
  793. "segments": {
  794. "type": "string",
  795. "value": "m0,0l197,0"
  796. },
  797. "style": {
  798. "type": "map<string,string>",
  799. "value": {
  800. "stroke": "#000000",
  801. "stroke-dasharray": "",
  802. "fill": "#ffffff",
  803. "fill-opacity": 0.75,
  804. "font-size": "20px",
  805. "stroke-width": 2,
  806. "arrow-start": "none",
  807. "arrow-end": "none"
  808. }
  809. },
  810. "mapper": {
  811. "type": "code",
  812. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  813. },
  814. "parser": {
  815. "type": "code",
  816. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  817. },
  818. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  819. "position": {
  820. "type": "list<double>",
  821. "value": [
  822. 6,
  823. 36
  824. ]
  825. },
  826. "orientation": {
  827. "type": "double",
  828. "value": 0
  829. },
  830. "scale": {
  831. "type": "list<double>",
  832. "value": [
  833. 1,
  834. 1
  835. ]
  836. }
  837. },
  838. "98": {
  839. "textContent": {
  840. "type": "string",
  841. "value": "CoupledDEVS"
  842. },
  843. "style": {
  844. "type": "map<string,string>",
  845. "value": {
  846. "font-size": "18px",
  847. "font-style": "normal",
  848. "font-weight": "bold",
  849. "line-height": "100%",
  850. "letter-spacing": "0px",
  851. "word-spacing": "0px",
  852. "fill": "#000000",
  853. "fill-opacity": "1",
  854. "stroke": "none"
  855. }
  856. },
  857. "mapper": {
  858. "type": "code",
  859. "value": "var style = \n{\n \"font-size\": \"18px\",\n \"font-style\": \"normal\",\n \"font-weight\": \"bold\",\n \"line-height\": \"100%\",\n \"letter-spacing\": \"0px\",\n \"word-spacing\": \"0px\",\n \"fill\": \"#000000\",\n \"fill-opacity\": \"1\",\n \"stroke\": \"none\",\n \"font-style\": (getAttr('abstract') ? 'italic' : 'normal')\n};\n\n({'textContent': getAttr('name'), 'style':style})\n\n\n"
  860. },
  861. "parser": {
  862. "type": "code",
  863. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  864. },
  865. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  866. "position": {
  867. "type": "list<double>",
  868. "value": [
  869. 8,
  870. 8
  871. ]
  872. },
  873. "orientation": {
  874. "type": "double",
  875. "value": 0
  876. },
  877. "scale": {
  878. "type": "list<double>",
  879. "value": [
  880. 1,
  881. 1
  882. ]
  883. }
  884. },
  885. "99": {
  886. "textContent": {
  887. "type": "string",
  888. "value": "+ select : code = return imm[0]"
  889. },
  890. "style": {
  891. "type": "map<string,string>",
  892. "value": {
  893. "font-size": "14px",
  894. "font-style": "normal",
  895. "font-weight": "bold",
  896. "line-height": "100%",
  897. "letter-spacing": "0px",
  898. "word-spacing": "0px",
  899. "fill": "#000000",
  900. "fill-opacity": "1",
  901. "stroke": "none"
  902. }
  903. },
  904. "mapper": {
  905. "type": "code",
  906. "value": "var filenames = getAttr('attributes').map(\n function(attr)\n {\n var s = '+ '+attr['name'] + ' : ' + attr['type'];\n if (attr['default'])\n s += ' = ' + attr['default'];\n return s;\n });\n\n({'textContent': filenames.join('\\n')})"
  907. },
  908. "parser": {
  909. "type": "code",
  910. "value": ""
  911. },
  912. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  913. "position": {
  914. "type": "list<double>",
  915. "value": [
  916. 10,
  917. 41
  918. ]
  919. },
  920. "orientation": {
  921. "type": "double",
  922. "value": 0
  923. },
  924. "scale": {
  925. "type": "list<double>",
  926. "value": [
  927. 1,
  928. 1
  929. ]
  930. }
  931. },
  932. "100": {
  933. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  934. "position": {
  935. "type": "list<double>",
  936. "value": [
  937. 68.5,
  938. 36.5
  939. ]
  940. },
  941. "orientation": {
  942. "type": "double",
  943. "value": 0
  944. },
  945. "scale": {
  946. "type": "list<double>",
  947. "value": [
  948. 1,
  949. 1
  950. ]
  951. },
  952. "link-style": {
  953. "type": "map<string,string>",
  954. "value": {
  955. "stroke": "#00ffff",
  956. "stroke-dasharray": "",
  957. "stroke-opacity": 0.1,
  958. "stroke-width": 1
  959. }
  960. }
  961. },
  962. "101": {
  963. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  964. "position": {
  965. "type": "list<double>",
  966. "value": [
  967. 12.5,
  968. 27
  969. ]
  970. },
  971. "orientation": {
  972. "type": "double",
  973. "value": 0
  974. },
  975. "scale": {
  976. "type": "list<double>",
  977. "value": [
  978. 1,
  979. 1
  980. ]
  981. },
  982. "link-style": {
  983. "type": "map<string,string>",
  984. "value": {
  985. "stroke": "#00ffff",
  986. "stroke-dasharray": "",
  987. "stroke-opacity": 0.1,
  988. "stroke-width": 1
  989. }
  990. }
  991. },
  992. "102": {
  993. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  994. "position": {
  995. "type": "list<double>",
  996. "value": [
  997. 53.75,
  998. 20
  999. ]
  1000. },
  1001. "orientation": {
  1002. "type": "double",
  1003. "value": 0
  1004. },
  1005. "scale": {
  1006. "type": "list<double>",
  1007. "value": [
  1008. 1,
  1009. 1
  1010. ]
  1011. },
  1012. "link-style": {
  1013. "type": "map<string,string>",
  1014. "value": {
  1015. "stroke": "#00ffff",
  1016. "stroke-dasharray": "",
  1017. "stroke-opacity": 0.1,
  1018. "stroke-width": 1
  1019. }
  1020. }
  1021. }
  1022. },
  1023. "edges": [
  1024. {
  1025. "src": "96",
  1026. "dest": "100"
  1027. },
  1028. {
  1029. "src": "100",
  1030. "dest": "98"
  1031. },
  1032. {
  1033. "src": "96",
  1034. "dest": "101"
  1035. },
  1036. {
  1037. "src": "101",
  1038. "dest": "99"
  1039. },
  1040. {
  1041. "src": "96",
  1042. "dest": "102"
  1043. },
  1044. {
  1045. "src": "102",
  1046. "dest": "97"
  1047. }
  1048. ]
  1049. }
  1050. },
  1051. "$asuri": {
  1052. "type": "string",
  1053. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/2.instance"
  1054. },
  1055. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  1056. },
  1057. "3": {
  1058. "typename": {
  1059. "type": "string",
  1060. "value": "ClassIcon"
  1061. },
  1062. "position": {
  1063. "type": "list<double>",
  1064. "value": [
  1065. 50,
  1066. 537
  1067. ]
  1068. },
  1069. "orientation": {
  1070. "type": "double",
  1071. "value": 0
  1072. },
  1073. "scale": {
  1074. "type": "list<double>",
  1075. "value": [
  1076. 1,
  1077. 1
  1078. ]
  1079. },
  1080. "mapper": {
  1081. "type": "code",
  1082. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1083. },
  1084. "parser": {
  1085. "type": "code",
  1086. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1087. },
  1088. "$contents": {
  1089. "type": "map<string,*>",
  1090. "value": {
  1091. "nodes": {
  1092. "96": {
  1093. "width": {
  1094. "type": "double",
  1095. "value": 200
  1096. },
  1097. "height": {
  1098. "type": "double",
  1099. "value": 125
  1100. },
  1101. "cornerRadius": {
  1102. "type": "double",
  1103. "value": 0
  1104. },
  1105. "style": {
  1106. "type": "map<string,string>",
  1107. "value": {
  1108. "stroke": "#000000",
  1109. "stroke-dasharray": "",
  1110. "fill": "#ffffff",
  1111. "fill-opacity": 0.75,
  1112. "stroke-width": 2
  1113. }
  1114. },
  1115. "mapper": {
  1116. "type": "code",
  1117. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1118. },
  1119. "parser": {
  1120. "type": "code",
  1121. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1122. },
  1123. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  1124. "position": {
  1125. "type": "list<double>",
  1126. "value": [
  1127. 4,
  1128. 3
  1129. ]
  1130. },
  1131. "orientation": {
  1132. "type": "double",
  1133. "value": 0
  1134. },
  1135. "scale": {
  1136. "type": "list<double>",
  1137. "value": [
  1138. 1,
  1139. 1
  1140. ]
  1141. }
  1142. },
  1143. "97": {
  1144. "segments": {
  1145. "type": "string",
  1146. "value": "m0,0l197,0"
  1147. },
  1148. "style": {
  1149. "type": "map<string,string>",
  1150. "value": {
  1151. "stroke": "#000000",
  1152. "stroke-dasharray": "",
  1153. "fill": "#ffffff",
  1154. "fill-opacity": 0.75,
  1155. "font-size": "20px",
  1156. "stroke-width": 2,
  1157. "arrow-start": "none",
  1158. "arrow-end": "none"
  1159. }
  1160. },
  1161. "mapper": {
  1162. "type": "code",
  1163. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1164. },
  1165. "parser": {
  1166. "type": "code",
  1167. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1168. },
  1169. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1170. "position": {
  1171. "type": "list<double>",
  1172. "value": [
  1173. 6,
  1174. 36
  1175. ]
  1176. },
  1177. "orientation": {
  1178. "type": "double",
  1179. "value": 0
  1180. },
  1181. "scale": {
  1182. "type": "list<double>",
  1183. "value": [
  1184. 1,
  1185. 1
  1186. ]
  1187. }
  1188. },
  1189. "98": {
  1190. "textContent": {
  1191. "type": "string",
  1192. "value": "Event"
  1193. },
  1194. "style": {
  1195. "type": "map<string,string>",
  1196. "value": {
  1197. "font-size": "18px",
  1198. "font-style": "normal",
  1199. "font-weight": "bold",
  1200. "line-height": "100%",
  1201. "letter-spacing": "0px",
  1202. "word-spacing": "0px",
  1203. "fill": "#000000",
  1204. "fill-opacity": "1",
  1205. "stroke": "none"
  1206. }
  1207. },
  1208. "mapper": {
  1209. "type": "code",
  1210. "value": "var style = \n{\n \"font-size\": \"18px\",\n \"font-style\": \"normal\",\n \"font-weight\": \"bold\",\n \"line-height\": \"100%\",\n \"letter-spacing\": \"0px\",\n \"word-spacing\": \"0px\",\n \"fill\": \"#000000\",\n \"fill-opacity\": \"1\",\n \"stroke\": \"none\",\n \"font-style\": (getAttr('abstract') ? 'italic' : 'normal')\n};\n\n({'textContent': getAttr('name'), 'style':style})\n\n\n"
  1211. },
  1212. "parser": {
  1213. "type": "code",
  1214. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  1215. },
  1216. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1217. "position": {
  1218. "type": "list<double>",
  1219. "value": [
  1220. 8,
  1221. 8
  1222. ]
  1223. },
  1224. "orientation": {
  1225. "type": "double",
  1226. "value": 0
  1227. },
  1228. "scale": {
  1229. "type": "list<double>",
  1230. "value": [
  1231. 1,
  1232. 1
  1233. ]
  1234. }
  1235. },
  1236. "99": {
  1237. "textContent": {
  1238. "type": "string",
  1239. "value": "+ name : string\n+ attributes : list<$ATTRIBUTE> = \n+ parameters : list<$ARG> = \n+ __init__ : code"
  1240. },
  1241. "style": {
  1242. "type": "map<string,string>",
  1243. "value": {
  1244. "font-size": "14px",
  1245. "font-style": "normal",
  1246. "font-weight": "bold",
  1247. "line-height": "100%",
  1248. "letter-spacing": "0px",
  1249. "word-spacing": "0px",
  1250. "fill": "#000000",
  1251. "fill-opacity": "1",
  1252. "stroke": "none"
  1253. }
  1254. },
  1255. "mapper": {
  1256. "type": "code",
  1257. "value": "var filenames = getAttr('attributes').map(\n function(attr)\n {\n var s = '+ '+attr['name'] + ' : ' + attr['type'];\n if (attr['default'])\n s += ' = ' + attr['default'];\n return s;\n });\n\n({'textContent': filenames.join('\\n')})"
  1258. },
  1259. "parser": {
  1260. "type": "code",
  1261. "value": ""
  1262. },
  1263. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1264. "position": {
  1265. "type": "list<double>",
  1266. "value": [
  1267. 10,
  1268. 41
  1269. ]
  1270. },
  1271. "orientation": {
  1272. "type": "double",
  1273. "value": 0
  1274. },
  1275. "scale": {
  1276. "type": "list<double>",
  1277. "value": [
  1278. 1,
  1279. 1
  1280. ]
  1281. }
  1282. },
  1283. "100": {
  1284. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1285. "position": {
  1286. "type": "list<double>",
  1287. "value": [
  1288. 68.5,
  1289. 36.5
  1290. ]
  1291. },
  1292. "orientation": {
  1293. "type": "double",
  1294. "value": 0
  1295. },
  1296. "scale": {
  1297. "type": "list<double>",
  1298. "value": [
  1299. 1,
  1300. 1
  1301. ]
  1302. },
  1303. "link-style": {
  1304. "type": "map<string,string>",
  1305. "value": {
  1306. "stroke": "#00ffff",
  1307. "stroke-dasharray": "",
  1308. "stroke-opacity": 0.1,
  1309. "stroke-width": 1
  1310. }
  1311. }
  1312. },
  1313. "101": {
  1314. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1315. "position": {
  1316. "type": "list<double>",
  1317. "value": [
  1318. 12.5,
  1319. 27
  1320. ]
  1321. },
  1322. "orientation": {
  1323. "type": "double",
  1324. "value": 0
  1325. },
  1326. "scale": {
  1327. "type": "list<double>",
  1328. "value": [
  1329. 1,
  1330. 1
  1331. ]
  1332. },
  1333. "link-style": {
  1334. "type": "map<string,string>",
  1335. "value": {
  1336. "stroke": "#00ffff",
  1337. "stroke-dasharray": "",
  1338. "stroke-opacity": 0.1,
  1339. "stroke-width": 1
  1340. }
  1341. }
  1342. },
  1343. "102": {
  1344. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1345. "position": {
  1346. "type": "list<double>",
  1347. "value": [
  1348. 53.75,
  1349. 20
  1350. ]
  1351. },
  1352. "orientation": {
  1353. "type": "double",
  1354. "value": 0
  1355. },
  1356. "scale": {
  1357. "type": "list<double>",
  1358. "value": [
  1359. 1,
  1360. 1
  1361. ]
  1362. },
  1363. "link-style": {
  1364. "type": "map<string,string>",
  1365. "value": {
  1366. "stroke": "#00ffff",
  1367. "stroke-dasharray": "",
  1368. "stroke-opacity": 0.1,
  1369. "stroke-width": 1
  1370. }
  1371. }
  1372. }
  1373. },
  1374. "edges": [
  1375. {
  1376. "src": "96",
  1377. "dest": "100"
  1378. },
  1379. {
  1380. "src": "100",
  1381. "dest": "98"
  1382. },
  1383. {
  1384. "src": "96",
  1385. "dest": "101"
  1386. },
  1387. {
  1388. "src": "101",
  1389. "dest": "99"
  1390. },
  1391. {
  1392. "src": "96",
  1393. "dest": "102"
  1394. },
  1395. {
  1396. "src": "102",
  1397. "dest": "97"
  1398. }
  1399. ]
  1400. }
  1401. },
  1402. "$asuri": {
  1403. "type": "string",
  1404. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/3.instance"
  1405. },
  1406. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  1407. },
  1408. "4": {
  1409. "typename": {
  1410. "type": "string",
  1411. "value": "ClassIcon"
  1412. },
  1413. "position": {
  1414. "type": "list<double>",
  1415. "value": [
  1416. 528,
  1417. 356
  1418. ]
  1419. },
  1420. "orientation": {
  1421. "type": "double",
  1422. "value": 0
  1423. },
  1424. "scale": {
  1425. "type": "list<double>",
  1426. "value": [
  1427. 1,
  1428. 1
  1429. ]
  1430. },
  1431. "mapper": {
  1432. "type": "code",
  1433. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1434. },
  1435. "parser": {
  1436. "type": "code",
  1437. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1438. },
  1439. "$contents": {
  1440. "type": "map<string,*>",
  1441. "value": {
  1442. "nodes": {
  1443. "96": {
  1444. "width": {
  1445. "type": "double",
  1446. "value": 200
  1447. },
  1448. "height": {
  1449. "type": "double",
  1450. "value": 125
  1451. },
  1452. "cornerRadius": {
  1453. "type": "double",
  1454. "value": 0
  1455. },
  1456. "style": {
  1457. "type": "map<string,string>",
  1458. "value": {
  1459. "stroke": "#000000",
  1460. "stroke-dasharray": "",
  1461. "fill": "#ffffff",
  1462. "fill-opacity": 0.75,
  1463. "stroke-width": 2
  1464. }
  1465. },
  1466. "mapper": {
  1467. "type": "code",
  1468. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1469. },
  1470. "parser": {
  1471. "type": "code",
  1472. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1473. },
  1474. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  1475. "position": {
  1476. "type": "list<double>",
  1477. "value": [
  1478. 4,
  1479. 3
  1480. ]
  1481. },
  1482. "orientation": {
  1483. "type": "double",
  1484. "value": 0
  1485. },
  1486. "scale": {
  1487. "type": "list<double>",
  1488. "value": [
  1489. 1,
  1490. 1
  1491. ]
  1492. }
  1493. },
  1494. "97": {
  1495. "segments": {
  1496. "type": "string",
  1497. "value": "m0,0l197,0"
  1498. },
  1499. "style": {
  1500. "type": "map<string,string>",
  1501. "value": {
  1502. "stroke": "#000000",
  1503. "stroke-dasharray": "",
  1504. "fill": "#ffffff",
  1505. "fill-opacity": 0.75,
  1506. "font-size": "20px",
  1507. "stroke-width": 2,
  1508. "arrow-start": "none",
  1509. "arrow-end": "none"
  1510. }
  1511. },
  1512. "mapper": {
  1513. "type": "code",
  1514. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1515. },
  1516. "parser": {
  1517. "type": "code",
  1518. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1519. },
  1520. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1521. "position": {
  1522. "type": "list<double>",
  1523. "value": [
  1524. 6,
  1525. 36
  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. },
  1540. "98": {
  1541. "textContent": {
  1542. "type": "string",
  1543. "value": "Port"
  1544. },
  1545. "style": {
  1546. "type": "map<string,string>",
  1547. "value": {
  1548. "font-size": "18px",
  1549. "font-style": "italic",
  1550. "font-weight": "bold",
  1551. "line-height": "100%",
  1552. "letter-spacing": "0px",
  1553. "word-spacing": "0px",
  1554. "fill": "#000000",
  1555. "fill-opacity": "1",
  1556. "stroke": "none"
  1557. }
  1558. },
  1559. "mapper": {
  1560. "type": "code",
  1561. "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"
  1562. },
  1563. "parser": {
  1564. "type": "code",
  1565. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  1566. },
  1567. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1568. "position": {
  1569. "type": "list<double>",
  1570. "value": [
  1571. 8,
  1572. 8
  1573. ]
  1574. },
  1575. "orientation": {
  1576. "type": "double",
  1577. "value": 0
  1578. },
  1579. "scale": {
  1580. "type": "list<double>",
  1581. "value": [
  1582. 1,
  1583. 1
  1584. ]
  1585. }
  1586. },
  1587. "99": {
  1588. "textContent": {
  1589. "type": "string",
  1590. "value": "+ name : string\n+ position : list<int> = 0,0"
  1591. },
  1592. "style": {
  1593. "type": "map<string,string>",
  1594. "value": {
  1595. "font-size": "14px",
  1596. "font-style": "normal",
  1597. "font-weight": "bold",
  1598. "line-height": "100%",
  1599. "letter-spacing": "0px",
  1600. "word-spacing": "0px",
  1601. "fill": "#000000",
  1602. "fill-opacity": "1",
  1603. "stroke": "none"
  1604. }
  1605. },
  1606. "mapper": {
  1607. "type": "code",
  1608. "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')})"
  1609. },
  1610. "parser": {
  1611. "type": "code",
  1612. "value": ""
  1613. },
  1614. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1615. "position": {
  1616. "type": "list<double>",
  1617. "value": [
  1618. 10,
  1619. 41
  1620. ]
  1621. },
  1622. "orientation": {
  1623. "type": "double",
  1624. "value": 0
  1625. },
  1626. "scale": {
  1627. "type": "list<double>",
  1628. "value": [
  1629. 1,
  1630. 1
  1631. ]
  1632. }
  1633. },
  1634. "100": {
  1635. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1636. "position": {
  1637. "type": "list<double>",
  1638. "value": [
  1639. 68.5,
  1640. 36.5
  1641. ]
  1642. },
  1643. "orientation": {
  1644. "type": "double",
  1645. "value": 0
  1646. },
  1647. "scale": {
  1648. "type": "list<double>",
  1649. "value": [
  1650. 1,
  1651. 1
  1652. ]
  1653. },
  1654. "link-style": {
  1655. "type": "map<string,string>",
  1656. "value": {
  1657. "stroke": "#00ffff",
  1658. "stroke-dasharray": "",
  1659. "stroke-opacity": 0.1,
  1660. "stroke-width": 1
  1661. }
  1662. }
  1663. },
  1664. "101": {
  1665. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1666. "position": {
  1667. "type": "list<double>",
  1668. "value": [
  1669. 12.5,
  1670. 27
  1671. ]
  1672. },
  1673. "orientation": {
  1674. "type": "double",
  1675. "value": 0
  1676. },
  1677. "scale": {
  1678. "type": "list<double>",
  1679. "value": [
  1680. 1,
  1681. 1
  1682. ]
  1683. },
  1684. "link-style": {
  1685. "type": "map<string,string>",
  1686. "value": {
  1687. "stroke": "#00ffff",
  1688. "stroke-dasharray": "",
  1689. "stroke-opacity": 0.1,
  1690. "stroke-width": 1
  1691. }
  1692. }
  1693. },
  1694. "102": {
  1695. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1696. "position": {
  1697. "type": "list<double>",
  1698. "value": [
  1699. 53.75,
  1700. 20
  1701. ]
  1702. },
  1703. "orientation": {
  1704. "type": "double",
  1705. "value": 0
  1706. },
  1707. "scale": {
  1708. "type": "list<double>",
  1709. "value": [
  1710. 1,
  1711. 1
  1712. ]
  1713. },
  1714. "link-style": {
  1715. "type": "map<string,string>",
  1716. "value": {
  1717. "stroke": "#00ffff",
  1718. "stroke-dasharray": "",
  1719. "stroke-opacity": 0.1,
  1720. "stroke-width": 1
  1721. }
  1722. }
  1723. }
  1724. },
  1725. "edges": [
  1726. {
  1727. "src": "96",
  1728. "dest": "100"
  1729. },
  1730. {
  1731. "src": "100",
  1732. "dest": "98"
  1733. },
  1734. {
  1735. "src": "96",
  1736. "dest": "101"
  1737. },
  1738. {
  1739. "src": "101",
  1740. "dest": "99"
  1741. },
  1742. {
  1743. "src": "96",
  1744. "dest": "102"
  1745. },
  1746. {
  1747. "src": "102",
  1748. "dest": "97"
  1749. }
  1750. ]
  1751. }
  1752. },
  1753. "$asuri": {
  1754. "type": "string",
  1755. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/4.instance"
  1756. },
  1757. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  1758. },
  1759. "5": {
  1760. "typename": {
  1761. "type": "string",
  1762. "value": "ClassIcon"
  1763. },
  1764. "position": {
  1765. "type": "list<double>",
  1766. "value": [
  1767. 407,
  1768. 538
  1769. ]
  1770. },
  1771. "orientation": {
  1772. "type": "double",
  1773. "value": 0
  1774. },
  1775. "scale": {
  1776. "type": "list<double>",
  1777. "value": [
  1778. 1,
  1779. 1
  1780. ]
  1781. },
  1782. "mapper": {
  1783. "type": "code",
  1784. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1785. },
  1786. "parser": {
  1787. "type": "code",
  1788. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1789. },
  1790. "$contents": {
  1791. "type": "map<string,*>",
  1792. "value": {
  1793. "nodes": {
  1794. "96": {
  1795. "width": {
  1796. "type": "double",
  1797. "value": 200
  1798. },
  1799. "height": {
  1800. "type": "double",
  1801. "value": 125
  1802. },
  1803. "cornerRadius": {
  1804. "type": "double",
  1805. "value": 0
  1806. },
  1807. "style": {
  1808. "type": "map<string,string>",
  1809. "value": {
  1810. "stroke": "#000000",
  1811. "stroke-dasharray": "",
  1812. "fill": "#ffffff",
  1813. "fill-opacity": 0.75,
  1814. "stroke-width": 2
  1815. }
  1816. },
  1817. "mapper": {
  1818. "type": "code",
  1819. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1820. },
  1821. "parser": {
  1822. "type": "code",
  1823. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1824. },
  1825. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  1826. "position": {
  1827. "type": "list<double>",
  1828. "value": [
  1829. 4,
  1830. 3
  1831. ]
  1832. },
  1833. "orientation": {
  1834. "type": "double",
  1835. "value": 0
  1836. },
  1837. "scale": {
  1838. "type": "list<double>",
  1839. "value": [
  1840. 1,
  1841. 1
  1842. ]
  1843. }
  1844. },
  1845. "97": {
  1846. "segments": {
  1847. "type": "string",
  1848. "value": "m0,0l197,0"
  1849. },
  1850. "style": {
  1851. "type": "map<string,string>",
  1852. "value": {
  1853. "stroke": "#000000",
  1854. "stroke-dasharray": "",
  1855. "fill": "#ffffff",
  1856. "fill-opacity": 0.75,
  1857. "font-size": "20px",
  1858. "stroke-width": 2,
  1859. "arrow-start": "none",
  1860. "arrow-end": "none"
  1861. }
  1862. },
  1863. "mapper": {
  1864. "type": "code",
  1865. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1866. },
  1867. "parser": {
  1868. "type": "code",
  1869. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1870. },
  1871. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1872. "position": {
  1873. "type": "list<double>",
  1874. "value": [
  1875. 6,
  1876. 36
  1877. ]
  1878. },
  1879. "orientation": {
  1880. "type": "double",
  1881. "value": 0
  1882. },
  1883. "scale": {
  1884. "type": "list<double>",
  1885. "value": [
  1886. 1,
  1887. 1
  1888. ]
  1889. }
  1890. },
  1891. "98": {
  1892. "textContent": {
  1893. "type": "string",
  1894. "value": "InputPort"
  1895. },
  1896. "style": {
  1897. "type": "map<string,string>",
  1898. "value": {
  1899. "font-size": "18px",
  1900. "font-style": "normal",
  1901. "font-weight": "bold",
  1902. "line-height": "100%",
  1903. "letter-spacing": "0px",
  1904. "word-spacing": "0px",
  1905. "fill": "#000000",
  1906. "fill-opacity": "1",
  1907. "stroke": "none"
  1908. }
  1909. },
  1910. "mapper": {
  1911. "type": "code",
  1912. "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"
  1913. },
  1914. "parser": {
  1915. "type": "code",
  1916. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  1917. },
  1918. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1919. "position": {
  1920. "type": "list<double>",
  1921. "value": [
  1922. 8,
  1923. 8
  1924. ]
  1925. },
  1926. "orientation": {
  1927. "type": "double",
  1928. "value": 0
  1929. },
  1930. "scale": {
  1931. "type": "list<double>",
  1932. "value": [
  1933. 1,
  1934. 1
  1935. ]
  1936. }
  1937. },
  1938. "99": {
  1939. "textContent": {
  1940. "type": "string",
  1941. "value": ""
  1942. },
  1943. "style": {
  1944. "type": "map<string,string>",
  1945. "value": {
  1946. "font-size": "14px",
  1947. "font-style": "normal",
  1948. "font-weight": "bold",
  1949. "line-height": "100%",
  1950. "letter-spacing": "0px",
  1951. "word-spacing": "0px",
  1952. "fill": "#000000",
  1953. "fill-opacity": "1",
  1954. "stroke": "none"
  1955. }
  1956. },
  1957. "mapper": {
  1958. "type": "code",
  1959. "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')})"
  1960. },
  1961. "parser": {
  1962. "type": "code",
  1963. "value": ""
  1964. },
  1965. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1966. "position": {
  1967. "type": "list<double>",
  1968. "value": [
  1969. 10,
  1970. 41
  1971. ]
  1972. },
  1973. "orientation": {
  1974. "type": "double",
  1975. "value": 0
  1976. },
  1977. "scale": {
  1978. "type": "list<double>",
  1979. "value": [
  1980. 1,
  1981. 1
  1982. ]
  1983. }
  1984. },
  1985. "100": {
  1986. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1987. "position": {
  1988. "type": "list<double>",
  1989. "value": [
  1990. 68.5,
  1991. 36.5
  1992. ]
  1993. },
  1994. "orientation": {
  1995. "type": "double",
  1996. "value": 0
  1997. },
  1998. "scale": {
  1999. "type": "list<double>",
  2000. "value": [
  2001. 1,
  2002. 1
  2003. ]
  2004. },
  2005. "link-style": {
  2006. "type": "map<string,string>",
  2007. "value": {
  2008. "stroke": "#00ffff",
  2009. "stroke-dasharray": "",
  2010. "stroke-opacity": 0.1,
  2011. "stroke-width": 1
  2012. }
  2013. }
  2014. },
  2015. "101": {
  2016. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2017. "position": {
  2018. "type": "list<double>",
  2019. "value": [
  2020. 12.5,
  2021. 27
  2022. ]
  2023. },
  2024. "orientation": {
  2025. "type": "double",
  2026. "value": 0
  2027. },
  2028. "scale": {
  2029. "type": "list<double>",
  2030. "value": [
  2031. 1,
  2032. 1
  2033. ]
  2034. },
  2035. "link-style": {
  2036. "type": "map<string,string>",
  2037. "value": {
  2038. "stroke": "#00ffff",
  2039. "stroke-dasharray": "",
  2040. "stroke-opacity": 0.1,
  2041. "stroke-width": 1
  2042. }
  2043. }
  2044. },
  2045. "102": {
  2046. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2047. "position": {
  2048. "type": "list<double>",
  2049. "value": [
  2050. 53.75,
  2051. 20
  2052. ]
  2053. },
  2054. "orientation": {
  2055. "type": "double",
  2056. "value": 0
  2057. },
  2058. "scale": {
  2059. "type": "list<double>",
  2060. "value": [
  2061. 1,
  2062. 1
  2063. ]
  2064. },
  2065. "link-style": {
  2066. "type": "map<string,string>",
  2067. "value": {
  2068. "stroke": "#00ffff",
  2069. "stroke-dasharray": "",
  2070. "stroke-opacity": 0.1,
  2071. "stroke-width": 1
  2072. }
  2073. }
  2074. }
  2075. },
  2076. "edges": [
  2077. {
  2078. "src": "96",
  2079. "dest": "100"
  2080. },
  2081. {
  2082. "src": "100",
  2083. "dest": "98"
  2084. },
  2085. {
  2086. "src": "96",
  2087. "dest": "101"
  2088. },
  2089. {
  2090. "src": "101",
  2091. "dest": "99"
  2092. },
  2093. {
  2094. "src": "96",
  2095. "dest": "102"
  2096. },
  2097. {
  2098. "src": "102",
  2099. "dest": "97"
  2100. }
  2101. ]
  2102. }
  2103. },
  2104. "$asuri": {
  2105. "type": "string",
  2106. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/5.instance"
  2107. },
  2108. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  2109. },
  2110. "7": {
  2111. "typename": {
  2112. "type": "string",
  2113. "value": "ClassIcon"
  2114. },
  2115. "position": {
  2116. "type": "list<double>",
  2117. "value": [
  2118. 686,
  2119. 537
  2120. ]
  2121. },
  2122. "orientation": {
  2123. "type": "double",
  2124. "value": 0
  2125. },
  2126. "scale": {
  2127. "type": "list<double>",
  2128. "value": [
  2129. 1,
  2130. 1
  2131. ]
  2132. },
  2133. "mapper": {
  2134. "type": "code",
  2135. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2136. },
  2137. "parser": {
  2138. "type": "code",
  2139. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2140. },
  2141. "$contents": {
  2142. "type": "map<string,*>",
  2143. "value": {
  2144. "nodes": {
  2145. "96": {
  2146. "width": {
  2147. "type": "double",
  2148. "value": 200
  2149. },
  2150. "height": {
  2151. "type": "double",
  2152. "value": 125
  2153. },
  2154. "cornerRadius": {
  2155. "type": "double",
  2156. "value": 0
  2157. },
  2158. "style": {
  2159. "type": "map<string,string>",
  2160. "value": {
  2161. "stroke": "#000000",
  2162. "stroke-dasharray": "",
  2163. "fill": "#ffffff",
  2164. "fill-opacity": 0.75,
  2165. "stroke-width": 2
  2166. }
  2167. },
  2168. "mapper": {
  2169. "type": "code",
  2170. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2171. },
  2172. "parser": {
  2173. "type": "code",
  2174. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2175. },
  2176. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  2177. "position": {
  2178. "type": "list<double>",
  2179. "value": [
  2180. 4,
  2181. 3
  2182. ]
  2183. },
  2184. "orientation": {
  2185. "type": "double",
  2186. "value": 0
  2187. },
  2188. "scale": {
  2189. "type": "list<double>",
  2190. "value": [
  2191. 1,
  2192. 1
  2193. ]
  2194. }
  2195. },
  2196. "97": {
  2197. "segments": {
  2198. "type": "string",
  2199. "value": "m0,0l197,0"
  2200. },
  2201. "style": {
  2202. "type": "map<string,string>",
  2203. "value": {
  2204. "stroke": "#000000",
  2205. "stroke-dasharray": "",
  2206. "fill": "#ffffff",
  2207. "fill-opacity": 0.75,
  2208. "font-size": "20px",
  2209. "stroke-width": 2,
  2210. "arrow-start": "none",
  2211. "arrow-end": "none"
  2212. }
  2213. },
  2214. "mapper": {
  2215. "type": "code",
  2216. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2217. },
  2218. "parser": {
  2219. "type": "code",
  2220. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2221. },
  2222. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  2223. "position": {
  2224. "type": "list<double>",
  2225. "value": [
  2226. 6,
  2227. 36
  2228. ]
  2229. },
  2230. "orientation": {
  2231. "type": "double",
  2232. "value": 0
  2233. },
  2234. "scale": {
  2235. "type": "list<double>",
  2236. "value": [
  2237. 1,
  2238. 1
  2239. ]
  2240. }
  2241. },
  2242. "98": {
  2243. "textContent": {
  2244. "type": "string",
  2245. "value": "OutputPort"
  2246. },
  2247. "style": {
  2248. "type": "map<string,string>",
  2249. "value": {
  2250. "font-size": "18px",
  2251. "font-style": "normal",
  2252. "font-weight": "bold",
  2253. "line-height": "100%",
  2254. "letter-spacing": "0px",
  2255. "word-spacing": "0px",
  2256. "fill": "#000000",
  2257. "fill-opacity": "1",
  2258. "stroke": "none"
  2259. }
  2260. },
  2261. "mapper": {
  2262. "type": "code",
  2263. "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"
  2264. },
  2265. "parser": {
  2266. "type": "code",
  2267. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  2268. },
  2269. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2270. "position": {
  2271. "type": "list<double>",
  2272. "value": [
  2273. 8,
  2274. 8
  2275. ]
  2276. },
  2277. "orientation": {
  2278. "type": "double",
  2279. "value": 0
  2280. },
  2281. "scale": {
  2282. "type": "list<double>",
  2283. "value": [
  2284. 1,
  2285. 1
  2286. ]
  2287. }
  2288. },
  2289. "99": {
  2290. "textContent": {
  2291. "type": "string",
  2292. "value": ""
  2293. },
  2294. "style": {
  2295. "type": "map<string,string>",
  2296. "value": {
  2297. "font-size": "14px",
  2298. "font-style": "normal",
  2299. "font-weight": "bold",
  2300. "line-height": "100%",
  2301. "letter-spacing": "0px",
  2302. "word-spacing": "0px",
  2303. "fill": "#000000",
  2304. "fill-opacity": "1",
  2305. "stroke": "none"
  2306. }
  2307. },
  2308. "mapper": {
  2309. "type": "code",
  2310. "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')})"
  2311. },
  2312. "parser": {
  2313. "type": "code",
  2314. "value": ""
  2315. },
  2316. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2317. "position": {
  2318. "type": "list<double>",
  2319. "value": [
  2320. 10,
  2321. 41
  2322. ]
  2323. },
  2324. "orientation": {
  2325. "type": "double",
  2326. "value": 0
  2327. },
  2328. "scale": {
  2329. "type": "list<double>",
  2330. "value": [
  2331. 1,
  2332. 1
  2333. ]
  2334. }
  2335. },
  2336. "100": {
  2337. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2338. "position": {
  2339. "type": "list<double>",
  2340. "value": [
  2341. 68.5,
  2342. 36.5
  2343. ]
  2344. },
  2345. "orientation": {
  2346. "type": "double",
  2347. "value": 0
  2348. },
  2349. "scale": {
  2350. "type": "list<double>",
  2351. "value": [
  2352. 1,
  2353. 1
  2354. ]
  2355. },
  2356. "link-style": {
  2357. "type": "map<string,string>",
  2358. "value": {
  2359. "stroke": "#00ffff",
  2360. "stroke-dasharray": "",
  2361. "stroke-opacity": 0.1,
  2362. "stroke-width": 1
  2363. }
  2364. }
  2365. },
  2366. "101": {
  2367. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2368. "position": {
  2369. "type": "list<double>",
  2370. "value": [
  2371. 12.5,
  2372. 27
  2373. ]
  2374. },
  2375. "orientation": {
  2376. "type": "double",
  2377. "value": 0
  2378. },
  2379. "scale": {
  2380. "type": "list<double>",
  2381. "value": [
  2382. 1,
  2383. 1
  2384. ]
  2385. },
  2386. "link-style": {
  2387. "type": "map<string,string>",
  2388. "value": {
  2389. "stroke": "#00ffff",
  2390. "stroke-dasharray": "",
  2391. "stroke-opacity": 0.1,
  2392. "stroke-width": 1
  2393. }
  2394. }
  2395. },
  2396. "102": {
  2397. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2398. "position": {
  2399. "type": "list<double>",
  2400. "value": [
  2401. 53.75,
  2402. 20
  2403. ]
  2404. },
  2405. "orientation": {
  2406. "type": "double",
  2407. "value": 0
  2408. },
  2409. "scale": {
  2410. "type": "list<double>",
  2411. "value": [
  2412. 1,
  2413. 1
  2414. ]
  2415. },
  2416. "link-style": {
  2417. "type": "map<string,string>",
  2418. "value": {
  2419. "stroke": "#00ffff",
  2420. "stroke-dasharray": "",
  2421. "stroke-opacity": 0.1,
  2422. "stroke-width": 1
  2423. }
  2424. }
  2425. }
  2426. },
  2427. "edges": [
  2428. {
  2429. "src": "96",
  2430. "dest": "100"
  2431. },
  2432. {
  2433. "src": "100",
  2434. "dest": "98"
  2435. },
  2436. {
  2437. "src": "96",
  2438. "dest": "101"
  2439. },
  2440. {
  2441. "src": "101",
  2442. "dest": "99"
  2443. },
  2444. {
  2445. "src": "96",
  2446. "dest": "102"
  2447. },
  2448. {
  2449. "src": "102",
  2450. "dest": "97"
  2451. }
  2452. ]
  2453. }
  2454. },
  2455. "$asuri": {
  2456. "type": "string",
  2457. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/7.instance"
  2458. },
  2459. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  2460. },
  2461. "8": {
  2462. "typename": {
  2463. "type": "string",
  2464. "value": "ClassIcon"
  2465. },
  2466. "position": {
  2467. "type": "list<double>",
  2468. "value": [
  2469. 747,
  2470. 358
  2471. ]
  2472. },
  2473. "orientation": {
  2474. "type": "double",
  2475. "value": 0
  2476. },
  2477. "scale": {
  2478. "type": "list<double>",
  2479. "value": [
  2480. 1,
  2481. 1
  2482. ]
  2483. },
  2484. "mapper": {
  2485. "type": "code",
  2486. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2487. },
  2488. "parser": {
  2489. "type": "code",
  2490. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2491. },
  2492. "$contents": {
  2493. "type": "map<string,*>",
  2494. "value": {
  2495. "nodes": {
  2496. "96": {
  2497. "width": {
  2498. "type": "double",
  2499. "value": 200
  2500. },
  2501. "height": {
  2502. "type": "double",
  2503. "value": 125
  2504. },
  2505. "cornerRadius": {
  2506. "type": "double",
  2507. "value": 0
  2508. },
  2509. "style": {
  2510. "type": "map<string,string>",
  2511. "value": {
  2512. "stroke": "#000000",
  2513. "stroke-dasharray": "",
  2514. "fill": "#ffffff",
  2515. "fill-opacity": 0.75,
  2516. "stroke-width": 2
  2517. }
  2518. },
  2519. "mapper": {
  2520. "type": "code",
  2521. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2522. },
  2523. "parser": {
  2524. "type": "code",
  2525. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2526. },
  2527. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  2528. "position": {
  2529. "type": "list<double>",
  2530. "value": [
  2531. 4,
  2532. 3
  2533. ]
  2534. },
  2535. "orientation": {
  2536. "type": "double",
  2537. "value": 0
  2538. },
  2539. "scale": {
  2540. "type": "list<double>",
  2541. "value": [
  2542. 1,
  2543. 1
  2544. ]
  2545. }
  2546. },
  2547. "97": {
  2548. "segments": {
  2549. "type": "string",
  2550. "value": "m0,0l197,0"
  2551. },
  2552. "style": {
  2553. "type": "map<string,string>",
  2554. "value": {
  2555. "stroke": "#000000",
  2556. "stroke-dasharray": "",
  2557. "fill": "#ffffff",
  2558. "fill-opacity": 0.75,
  2559. "font-size": "20px",
  2560. "stroke-width": 2,
  2561. "arrow-start": "none",
  2562. "arrow-end": "none"
  2563. }
  2564. },
  2565. "mapper": {
  2566. "type": "code",
  2567. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2568. },
  2569. "parser": {
  2570. "type": "code",
  2571. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2572. },
  2573. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  2574. "position": {
  2575. "type": "list<double>",
  2576. "value": [
  2577. 6,
  2578. 36
  2579. ]
  2580. },
  2581. "orientation": {
  2582. "type": "double",
  2583. "value": 0
  2584. },
  2585. "scale": {
  2586. "type": "list<double>",
  2587. "value": [
  2588. 1,
  2589. 1
  2590. ]
  2591. }
  2592. },
  2593. "98": {
  2594. "textContent": {
  2595. "type": "string",
  2596. "value": "Simulation"
  2597. },
  2598. "style": {
  2599. "type": "map<string,string>",
  2600. "value": {
  2601. "font-size": "18px",
  2602. "font-style": "normal",
  2603. "font-weight": "bold",
  2604. "line-height": "100%",
  2605. "letter-spacing": "0px",
  2606. "word-spacing": "0px",
  2607. "fill": "#000000",
  2608. "fill-opacity": "1",
  2609. "stroke": "none"
  2610. }
  2611. },
  2612. "mapper": {
  2613. "type": "code",
  2614. "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"
  2615. },
  2616. "parser": {
  2617. "type": "code",
  2618. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  2619. },
  2620. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2621. "position": {
  2622. "type": "list<double>",
  2623. "value": [
  2624. 8,
  2625. 8
  2626. ]
  2627. },
  2628. "orientation": {
  2629. "type": "double",
  2630. "value": 0
  2631. },
  2632. "scale": {
  2633. "type": "list<double>",
  2634. "value": [
  2635. 1,
  2636. 1
  2637. ]
  2638. }
  2639. },
  2640. "99": {
  2641. "textContent": {
  2642. "type": "string",
  2643. "value": "+ end_condition : code"
  2644. },
  2645. "style": {
  2646. "type": "map<string,string>",
  2647. "value": {
  2648. "font-size": "14px",
  2649. "font-style": "normal",
  2650. "font-weight": "bold",
  2651. "line-height": "100%",
  2652. "letter-spacing": "0px",
  2653. "word-spacing": "0px",
  2654. "fill": "#000000",
  2655. "fill-opacity": "1",
  2656. "stroke": "none"
  2657. }
  2658. },
  2659. "mapper": {
  2660. "type": "code",
  2661. "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')})"
  2662. },
  2663. "parser": {
  2664. "type": "code",
  2665. "value": ""
  2666. },
  2667. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2668. "position": {
  2669. "type": "list<double>",
  2670. "value": [
  2671. 10,
  2672. 41
  2673. ]
  2674. },
  2675. "orientation": {
  2676. "type": "double",
  2677. "value": 0
  2678. },
  2679. "scale": {
  2680. "type": "list<double>",
  2681. "value": [
  2682. 1,
  2683. 1
  2684. ]
  2685. }
  2686. },
  2687. "100": {
  2688. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2689. "position": {
  2690. "type": "list<double>",
  2691. "value": [
  2692. 68.5,
  2693. 36.5
  2694. ]
  2695. },
  2696. "orientation": {
  2697. "type": "double",
  2698. "value": 0
  2699. },
  2700. "scale": {
  2701. "type": "list<double>",
  2702. "value": [
  2703. 1,
  2704. 1
  2705. ]
  2706. },
  2707. "link-style": {
  2708. "type": "map<string,string>",
  2709. "value": {
  2710. "stroke": "#00ffff",
  2711. "stroke-dasharray": "",
  2712. "stroke-opacity": 0.1,
  2713. "stroke-width": 1
  2714. }
  2715. }
  2716. },
  2717. "101": {
  2718. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2719. "position": {
  2720. "type": "list<double>",
  2721. "value": [
  2722. 12.5,
  2723. 27
  2724. ]
  2725. },
  2726. "orientation": {
  2727. "type": "double",
  2728. "value": 0
  2729. },
  2730. "scale": {
  2731. "type": "list<double>",
  2732. "value": [
  2733. 1,
  2734. 1
  2735. ]
  2736. },
  2737. "link-style": {
  2738. "type": "map<string,string>",
  2739. "value": {
  2740. "stroke": "#00ffff",
  2741. "stroke-dasharray": "",
  2742. "stroke-opacity": 0.1,
  2743. "stroke-width": 1
  2744. }
  2745. }
  2746. },
  2747. "102": {
  2748. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2749. "position": {
  2750. "type": "list<double>",
  2751. "value": [
  2752. 53.75,
  2753. 20
  2754. ]
  2755. },
  2756. "orientation": {
  2757. "type": "double",
  2758. "value": 0
  2759. },
  2760. "scale": {
  2761. "type": "list<double>",
  2762. "value": [
  2763. 1,
  2764. 1
  2765. ]
  2766. },
  2767. "link-style": {
  2768. "type": "map<string,string>",
  2769. "value": {
  2770. "stroke": "#00ffff",
  2771. "stroke-dasharray": "",
  2772. "stroke-opacity": 0.1,
  2773. "stroke-width": 1
  2774. }
  2775. }
  2776. }
  2777. },
  2778. "edges": [
  2779. {
  2780. "src": "96",
  2781. "dest": "100"
  2782. },
  2783. {
  2784. "src": "100",
  2785. "dest": "98"
  2786. },
  2787. {
  2788. "src": "96",
  2789. "dest": "101"
  2790. },
  2791. {
  2792. "src": "101",
  2793. "dest": "99"
  2794. },
  2795. {
  2796. "src": "96",
  2797. "dest": "102"
  2798. },
  2799. {
  2800. "src": "102",
  2801. "dest": "97"
  2802. }
  2803. ]
  2804. }
  2805. },
  2806. "$asuri": {
  2807. "type": "string",
  2808. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/8.instance"
  2809. },
  2810. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  2811. },
  2812. "11": {
  2813. "link-style": {
  2814. "type": "map<string,string>",
  2815. "value": {
  2816. "stroke": "#000000",
  2817. "stroke-dasharray": "",
  2818. "stroke-opacity": 1,
  2819. "stroke-width": 2
  2820. }
  2821. },
  2822. "arrowHead": {
  2823. "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)",
  2824. "value": "custom"
  2825. },
  2826. "arrowTail": {
  2827. "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)",
  2828. "value": "arrow-black"
  2829. },
  2830. "typename": {
  2831. "type": "string",
  2832. "value": "InheritanceLink"
  2833. },
  2834. "position": {
  2835. "type": "list<double>",
  2836. "value": [
  2837. 584,
  2838. 512
  2839. ]
  2840. },
  2841. "orientation": {
  2842. "type": "double",
  2843. "value": 0
  2844. },
  2845. "scale": {
  2846. "type": "list<double>",
  2847. "value": [
  2848. 1,
  2849. 1
  2850. ]
  2851. },
  2852. "mapper": {
  2853. "type": "code",
  2854. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2855. },
  2856. "parser": {
  2857. "type": "code",
  2858. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2859. },
  2860. "$contents": {
  2861. "type": "map<string,*>",
  2862. "value": {
  2863. "nodes": {
  2864. "164": {
  2865. "segments": {
  2866. "type": "string",
  2867. "value": "m0,0 l20,10 l-20,10 z"
  2868. },
  2869. "style": {
  2870. "type": "map<string,string>",
  2871. "value": {
  2872. "stroke": "#000000",
  2873. "fill": "#ffffff",
  2874. "opacity": 1,
  2875. "stroke-width": 1
  2876. }
  2877. },
  2878. "mapper": {
  2879. "type": "code",
  2880. "value": ""
  2881. },
  2882. "parser": {
  2883. "type": "code",
  2884. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2885. },
  2886. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  2887. "position": {
  2888. "type": "list<double>",
  2889. "value": [
  2890. "0;-10,6.123031769111886e-15%",
  2891. "0;-26,-100%"
  2892. ]
  2893. },
  2894. "orientation": {
  2895. "type": "double",
  2896. "value": "0;-90"
  2897. },
  2898. "scale": {
  2899. "type": "list<double>",
  2900. "value": [
  2901. 1,
  2902. 1
  2903. ]
  2904. },
  2905. "$linkDecoratorInfo": {
  2906. "type": "map<string,double>",
  2907. "value": {
  2908. "xratio": 1,
  2909. "yoffset": -10
  2910. }
  2911. }
  2912. }
  2913. },
  2914. "edges": []
  2915. }
  2916. },
  2917. "$asuri": {
  2918. "type": "string",
  2919. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance/11.instance"
  2920. },
  2921. "$segments": {
  2922. "type": "map<string,list<string>>",
  2923. "value": {
  2924. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/5.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/11.instance": "M584,542L584,512",
  2925. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/11.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/4.instance": "M584,512L584,486"
  2926. }
  2927. },
  2928. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink"
  2929. },
  2930. "14": {
  2931. "link-style": {
  2932. "type": "map<string,string>",
  2933. "value": {
  2934. "stroke": "#000000",
  2935. "stroke-dasharray": "",
  2936. "stroke-opacity": 1,
  2937. "stroke-width": 2
  2938. }
  2939. },
  2940. "arrowHead": {
  2941. "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)",
  2942. "value": "custom"
  2943. },
  2944. "arrowTail": {
  2945. "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)",
  2946. "value": "arrow-black"
  2947. },
  2948. "typename": {
  2949. "type": "string",
  2950. "value": "InheritanceLink"
  2951. },
  2952. "position": {
  2953. "type": "list<double>",
  2954. "value": [
  2955. 710,
  2956. 514.5
  2957. ]
  2958. },
  2959. "orientation": {
  2960. "type": "double",
  2961. "value": 0
  2962. },
  2963. "scale": {
  2964. "type": "list<double>",
  2965. "value": [
  2966. 1,
  2967. 1
  2968. ]
  2969. },
  2970. "mapper": {
  2971. "type": "code",
  2972. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2973. },
  2974. "parser": {
  2975. "type": "code",
  2976. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2977. },
  2978. "$contents": {
  2979. "type": "map<string,*>",
  2980. "value": {
  2981. "nodes": {
  2982. "164": {
  2983. "segments": {
  2984. "type": "string",
  2985. "value": "m0,0 l20,10 l-20,10 z"
  2986. },
  2987. "style": {
  2988. "type": "map<string,string>",
  2989. "value": {
  2990. "stroke": "#000000",
  2991. "fill": "#ffffff",
  2992. "opacity": 1,
  2993. "stroke-width": 1
  2994. }
  2995. },
  2996. "mapper": {
  2997. "type": "code",
  2998. "value": ""
  2999. },
  3000. "parser": {
  3001. "type": "code",
  3002. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3003. },
  3004. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  3005. "position": {
  3006. "type": "list<double>",
  3007. "value": [
  3008. "0;-10,6.123031769111886e-15%",
  3009. "0;-28.5,-100%"
  3010. ]
  3011. },
  3012. "orientation": {
  3013. "type": "double",
  3014. "value": "0;-90"
  3015. },
  3016. "scale": {
  3017. "type": "list<double>",
  3018. "value": [
  3019. 1,
  3020. 1
  3021. ]
  3022. },
  3023. "$linkDecoratorInfo": {
  3024. "type": "map<string,double>",
  3025. "value": {
  3026. "xratio": 1,
  3027. "yoffset": -10
  3028. }
  3029. }
  3030. }
  3031. },
  3032. "edges": []
  3033. }
  3034. },
  3035. "$asuri": {
  3036. "type": "string",
  3037. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance/14.instance"
  3038. },
  3039. "$segments": {
  3040. "type": "map<string,list<string>>",
  3041. "value": {
  3042. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/7.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/14.instance": "M710,541L710,514",
  3043. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/14.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/4.instance": "M710,514L710,486"
  3044. }
  3045. },
  3046. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink"
  3047. },
  3048. "15": {
  3049. "link-style": {
  3050. "type": "map<string,string>",
  3051. "value": {
  3052. "stroke": "#000000",
  3053. "stroke-dasharray": "",
  3054. "stroke-opacity": 1,
  3055. "stroke-width": 2
  3056. }
  3057. },
  3058. "arrowHead": {
  3059. "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)",
  3060. "value": "custom"
  3061. },
  3062. "arrowTail": {
  3063. "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)",
  3064. "value": "arrow-black"
  3065. },
  3066. "typename": {
  3067. "type": "string",
  3068. "value": "AssociationLink"
  3069. },
  3070. "position": {
  3071. "type": "list<double>",
  3072. "value": [
  3073. 1186,
  3074. 129
  3075. ]
  3076. },
  3077. "orientation": {
  3078. "type": "double",
  3079. "value": 0
  3080. },
  3081. "scale": {
  3082. "type": "list<double>",
  3083. "value": [
  3084. 1,
  3085. 1
  3086. ]
  3087. },
  3088. "mapper": {
  3089. "type": "code",
  3090. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  3091. },
  3092. "parser": {
  3093. "type": "code",
  3094. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3095. },
  3096. "$contents": {
  3097. "type": "map<string,*>",
  3098. "value": {
  3099. "nodes": {
  3100. "71": {
  3101. "textContent": {
  3102. "type": "string",
  3103. "value": "InternalTransition"
  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": "({'textContent':getAttr('name')})"
  3123. },
  3124. "parser": {
  3125. "type": "code",
  3126. "value": "({'name':getAttr('textContent')})"
  3127. },
  3128. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3129. "position": {
  3130. "type": "list<double>",
  3131. "value": [
  3132. "0;-12.920601250958498,0%",
  3133. "0;-28.5,0%"
  3134. ]
  3135. },
  3136. "orientation": {
  3137. "type": "double",
  3138. "value": "0;0"
  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": 0.3803680981595092,
  3151. "yoffset": -28.5
  3152. }
  3153. }
  3154. },
  3155. "74": {
  3156. "textContent": {
  3157. "type": "string",
  3158. "value": "*"
  3159. },
  3160. "style": {
  3161. "type": "map<string,string>",
  3162. "value": {
  3163. "font-size": "20px",
  3164. "font-style": "normal",
  3165. "font-weight": "normal",
  3166. "line-height": "100%",
  3167. "letter-spacing": "0px",
  3168. "word-spacing": "0px",
  3169. "fill": "#000000",
  3170. "fill-opacity": "1",
  3171. "stroke": "none",
  3172. "font-family": "Sans"
  3173. }
  3174. },
  3175. "mapper": {
  3176. "type": "code",
  3177. "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})"
  3178. },
  3179. "parser": {
  3180. "type": "code",
  3181. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3182. },
  3183. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3184. "position": {
  3185. "type": "list<double>",
  3186. "value": [
  3187. "0;-47.5,0%",
  3188. "0;25.37429052434817,0%"
  3189. ]
  3190. },
  3191. "orientation": {
  3192. "type": "double",
  3193. "value": "0;-90"
  3194. },
  3195. "scale": {
  3196. "type": "list<double>",
  3197. "value": [
  3198. 1,
  3199. 1
  3200. ]
  3201. },
  3202. "$linkDecoratorInfo": {
  3203. "type": "map<string,double>",
  3204. "value": {
  3205. "xratio": 0.06134969325153374,
  3206. "yoffset": -25.5
  3207. }
  3208. }
  3209. },
  3210. "77": {
  3211. "textContent": {
  3212. "type": "string",
  3213. "value": "*"
  3214. },
  3215. "style": {
  3216. "type": "map<string,string>",
  3217. "value": {
  3218. "font-size": "20px",
  3219. "font-style": "normal",
  3220. "font-weight": "normal",
  3221. "line-height": "100%",
  3222. "letter-spacing": "0px",
  3223. "word-spacing": "0px",
  3224. "fill": "#000000",
  3225. "fill-opacity": "1",
  3226. "stroke": "none",
  3227. "font-family": "Sans"
  3228. }
  3229. },
  3230. "mapper": {
  3231. "type": "code",
  3232. "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})"
  3233. },
  3234. "parser": {
  3235. "type": "code",
  3236. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3237. },
  3238. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3239. "position": {
  3240. "type": "list<double>",
  3241. "value": [
  3242. "0;45.5,6.123031769111886e-15%",
  3243. "0;31.999064453124987,100%"
  3244. ]
  3245. },
  3246. "orientation": {
  3247. "type": "double",
  3248. "value": "0;90"
  3249. },
  3250. "scale": {
  3251. "type": "list<double>",
  3252. "value": [
  3253. 1,
  3254. 1
  3255. ]
  3256. },
  3257. "$linkDecoratorInfo": {
  3258. "type": "map<string,double>",
  3259. "value": {
  3260. "xratio": 1.0245398773006136,
  3261. "yoffset": -23.5
  3262. }
  3263. }
  3264. },
  3265. "140": {
  3266. "segments": {
  3267. "type": "string",
  3268. "value": "m0,0 l20,8 l-20,8"
  3269. },
  3270. "style": {
  3271. "type": "map<string,string>",
  3272. "value": {
  3273. "stroke": "#000000",
  3274. "fill": "#000000",
  3275. "fill-opacity": 0,
  3276. "stroke-width": 1,
  3277. "opacity": 1
  3278. }
  3279. },
  3280. "mapper": {
  3281. "type": "code",
  3282. "value": ""
  3283. },
  3284. "parser": {
  3285. "type": "code",
  3286. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3287. },
  3288. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  3289. "position": {
  3290. "type": "list<double>",
  3291. "value": [
  3292. "0;30,6.123031769111886e-15%",
  3293. "0;31.999064453124987,100%"
  3294. ]
  3295. },
  3296. "orientation": {
  3297. "type": "double",
  3298. "value": "0;90"
  3299. },
  3300. "scale": {
  3301. "type": "list<double>",
  3302. "value": [
  3303. 1,
  3304. 1
  3305. ]
  3306. },
  3307. "$linkDecoratorInfo": {
  3308. "type": "map<string,double>",
  3309. "value": {
  3310. "xratio": 1,
  3311. "yoffset": -8
  3312. }
  3313. }
  3314. }
  3315. },
  3316. "edges": []
  3317. }
  3318. },
  3319. "$asuri": {
  3320. "type": "string",
  3321. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/15.instance"
  3322. },
  3323. "$segments": {
  3324. "type": "map<string,list<string>>",
  3325. "value": {
  3326. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/0.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/15.instance": "M1164,161L1164,129L1186,129",
  3327. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/15.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/0.instance": "M1186,129L1208,129L1208,160.999064453125"
  3328. }
  3329. },
  3330. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  3331. },
  3332. "16": {
  3333. "link-style": {
  3334. "type": "map<string,string>",
  3335. "value": {
  3336. "stroke": "#000000",
  3337. "stroke-dasharray": "",
  3338. "stroke-opacity": 1,
  3339. "stroke-width": 2
  3340. }
  3341. },
  3342. "arrowHead": {
  3343. "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)",
  3344. "value": "custom"
  3345. },
  3346. "arrowTail": {
  3347. "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)",
  3348. "value": "arrow-black"
  3349. },
  3350. "typename": {
  3351. "type": "string",
  3352. "value": "AssociationLink"
  3353. },
  3354. "position": {
  3355. "type": "list<double>",
  3356. "value": [
  3357. 1386,
  3358. 222.45071383975028
  3359. ]
  3360. },
  3361. "orientation": {
  3362. "type": "double",
  3363. "value": 0
  3364. },
  3365. "scale": {
  3366. "type": "list<double>",
  3367. "value": [
  3368. 1,
  3369. 1
  3370. ]
  3371. },
  3372. "mapper": {
  3373. "type": "code",
  3374. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  3375. },
  3376. "parser": {
  3377. "type": "code",
  3378. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3379. },
  3380. "$contents": {
  3381. "type": "map<string,*>",
  3382. "value": {
  3383. "nodes": {
  3384. "71": {
  3385. "textContent": {
  3386. "type": "string",
  3387. "value": "ExternalTransition"
  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": "({'textContent':getAttr('name')})"
  3407. },
  3408. "parser": {
  3409. "type": "code",
  3410. "value": "({'name':getAttr('textContent')})"
  3411. },
  3412. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3413. "position": {
  3414. "type": "list<double>",
  3415. "value": [
  3416. "0;-28.5,0%",
  3417. "0;23.917616881344884,0%"
  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": 0.3803680981595092,
  3435. "yoffset": -28.5
  3436. }
  3437. }
  3438. },
  3439. "74": {
  3440. "textContent": {
  3441. "type": "string",
  3442. "value": "*"
  3443. },
  3444. "style": {
  3445. "type": "map<string,string>",
  3446. "value": {
  3447. "font-size": "20px",
  3448. "font-style": "normal",
  3449. "font-weight": "normal",
  3450. "line-height": "100%",
  3451. "letter-spacing": "0px",
  3452. "word-spacing": "0px",
  3453. "fill": "#000000",
  3454. "fill-opacity": "1",
  3455. "stroke": "none",
  3456. "font-family": "Sans"
  3457. }
  3458. },
  3459. "mapper": {
  3460. "type": "code",
  3461. "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})"
  3462. },
  3463. "parser": {
  3464. "type": "code",
  3465. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3466. },
  3467. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3468. "position": {
  3469. "type": "list<double>",
  3470. "value": [
  3471. "0;-37.34973076146707,0%",
  3472. "0;6.04928616024975,0%"
  3473. ]
  3474. },
  3475. "orientation": {
  3476. "type": "double",
  3477. "value": "0;0"
  3478. },
  3479. "scale": {
  3480. "type": "list<double>",
  3481. "value": [
  3482. 1,
  3483. 1
  3484. ]
  3485. },
  3486. "$linkDecoratorInfo": {
  3487. "type": "map<string,double>",
  3488. "value": {
  3489. "xratio": 0.06134969325153374,
  3490. "yoffset": -25.5
  3491. }
  3492. }
  3493. },
  3494. "77": {
  3495. "textContent": {
  3496. "type": "string",
  3497. "value": "*"
  3498. },
  3499. "style": {
  3500. "type": "map<string,string>",
  3501. "value": {
  3502. "font-size": "20px",
  3503. "font-style": "normal",
  3504. "font-weight": "normal",
  3505. "line-height": "100%",
  3506. "letter-spacing": "0px",
  3507. "word-spacing": "0px",
  3508. "fill": "#000000",
  3509. "fill-opacity": "1",
  3510. "stroke": "none",
  3511. "font-family": "Sans"
  3512. }
  3513. },
  3514. "mapper": {
  3515. "type": "code",
  3516. "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})"
  3517. },
  3518. "parser": {
  3519. "type": "code",
  3520. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3521. },
  3522. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3523. "position": {
  3524. "type": "list<double>",
  3525. "value": [
  3526. "0;-48.99938858808855,-100%",
  3527. "0;9.04928616024975,1.2246063538223773e-14%"
  3528. ]
  3529. },
  3530. "orientation": {
  3531. "type": "double",
  3532. "value": "0;180"
  3533. },
  3534. "scale": {
  3535. "type": "list<double>",
  3536. "value": [
  3537. 1,
  3538. 1
  3539. ]
  3540. },
  3541. "$linkDecoratorInfo": {
  3542. "type": "map<string,double>",
  3543. "value": {
  3544. "xratio": 1.0245398773006136,
  3545. "yoffset": -23.5
  3546. }
  3547. }
  3548. },
  3549. "140": {
  3550. "segments": {
  3551. "type": "string",
  3552. "value": "m0,0 l20,8 l-20,8"
  3553. },
  3554. "style": {
  3555. "type": "map<string,string>",
  3556. "value": {
  3557. "stroke": "#000000",
  3558. "fill": "#000000",
  3559. "fill-opacity": 0,
  3560. "stroke-width": 1,
  3561. "opacity": 1
  3562. }
  3563. },
  3564. "mapper": {
  3565. "type": "code",
  3566. "value": ""
  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/Path",
  3573. "position": {
  3574. "type": "list<double>",
  3575. "value": [
  3576. "0;-48.99938858808855,-100%",
  3577. "0;-6.45071383975025,1.2246063538223773e-14%"
  3578. ]
  3579. },
  3580. "orientation": {
  3581. "type": "double",
  3582. "value": "0;180"
  3583. },
  3584. "scale": {
  3585. "type": "list<double>",
  3586. "value": [
  3587. 1,
  3588. 1
  3589. ]
  3590. },
  3591. "$linkDecoratorInfo": {
  3592. "type": "map<string,double>",
  3593. "value": {
  3594. "xratio": 1,
  3595. "yoffset": -8
  3596. }
  3597. }
  3598. }
  3599. },
  3600. "edges": []
  3601. }
  3602. },
  3603. "$asuri": {
  3604. "type": "string",
  3605. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/16.instance"
  3606. },
  3607. "$segments": {
  3608. "type": "map<string,list<string>>",
  3609. "value": {
  3610. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/0.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/16.instance": "M1340,254.00000000000003L1386,254.00000000000003L1386,222.4507138397503",
  3611. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/16.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/0.instance": "M1386,222.4507138397503L1386,208.00000000000003L1337.0006114119114,208.00000000000003"
  3612. }
  3613. },
  3614. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  3615. },
  3616. "18": {
  3617. "link-style": {
  3618. "type": "map<string,string>",
  3619. "value": {
  3620. "stroke": "#000000",
  3621. "stroke-dasharray": "",
  3622. "stroke-opacity": 1,
  3623. "stroke-width": 2
  3624. }
  3625. },
  3626. "arrowHead": {
  3627. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  3628. "value": "custom"
  3629. },
  3630. "arrowTail": {
  3631. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  3632. "value": "arrow-black"
  3633. },
  3634. "typename": {
  3635. "type": "string",
  3636. "value": "AssociationLink"
  3637. },
  3638. "position": {
  3639. "type": "list<double>",
  3640. "value": [
  3641. 665,
  3642. 323
  3643. ]
  3644. },
  3645. "orientation": {
  3646. "type": "double",
  3647. "value": 0
  3648. },
  3649. "scale": {
  3650. "type": "list<double>",
  3651. "value": [
  3652. 1,
  3653. 1
  3654. ]
  3655. },
  3656. "mapper": {
  3657. "type": "code",
  3658. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  3659. },
  3660. "parser": {
  3661. "type": "code",
  3662. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3663. },
  3664. "$contents": {
  3665. "type": "map<string,*>",
  3666. "value": {
  3667. "nodes": {
  3668. "71": {
  3669. "textContent": {
  3670. "type": "string",
  3671. "value": "ports"
  3672. },
  3673. "style": {
  3674. "type": "map<string,string>",
  3675. "value": {
  3676. "font-size": "20px",
  3677. "font-style": "normal",
  3678. "font-weight": "normal",
  3679. "line-height": "100%",
  3680. "letter-spacing": "0px",
  3681. "word-spacing": "0px",
  3682. "fill": "#000000",
  3683. "fill-opacity": "1",
  3684. "stroke": "none",
  3685. "font-family": "Sans"
  3686. }
  3687. },
  3688. "mapper": {
  3689. "type": "code",
  3690. "value": "({'textContent':getAttr('name')})"
  3691. },
  3692. "parser": {
  3693. "type": "code",
  3694. "value": "({'name':getAttr('textContent')})"
  3695. },
  3696. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3697. "position": {
  3698. "type": "list<double>",
  3699. "value": [
  3700. "0;28.5,0%",
  3701. "0;-10.472392638036808,0%"
  3702. ]
  3703. },
  3704. "orientation": {
  3705. "type": "double",
  3706. "value": "0;90"
  3707. },
  3708. "scale": {
  3709. "type": "list<double>",
  3710. "value": [
  3711. 1,
  3712. 1
  3713. ]
  3714. },
  3715. "$linkDecoratorInfo": {
  3716. "type": "map<string,double>",
  3717. "value": {
  3718. "xratio": 0.3803680981595092,
  3719. "yoffset": -28.5
  3720. }
  3721. }
  3722. },
  3723. "74": {
  3724. "textContent": {
  3725. "type": "string",
  3726. "value": "1"
  3727. },
  3728. "style": {
  3729. "type": "map<string,string>",
  3730. "value": {
  3731. "font-size": "20px",
  3732. "font-style": "normal",
  3733. "font-weight": "normal",
  3734. "line-height": "100%",
  3735. "letter-spacing": "0px",
  3736. "word-spacing": "0px",
  3737. "fill": "#000000",
  3738. "fill-opacity": "1",
  3739. "stroke": "none",
  3740. "font-family": "Sans"
  3741. }
  3742. },
  3743. "mapper": {
  3744. "type": "code",
  3745. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar clazz = getNeighbors('>'),\n mult = '';\nif (clazz.length > 0) {\n clazz = clazz[0];\n var cardinalities = getAttr('cardinalities', clazz), card;\n for (i = 0; i < cardinalities.length; i++) {\n if (cardinalities[i]['type'] == getAttr('name') && cardinalities[i]['dir'] == 'in') {\n card = cardinalities[i];\n break;\n }\n }\n if (card) {\n var min = card['min'],\n max = card['max'];\n if (min == '')\n min = '0';\n if (max == '' || max == 'Infinity')\n max = '*';\n if (min == '0' && max == '*')\n mult = '*';\n else if (min == max)\n mult = max;\n else mult = min + '..' + max;\n }\n}\nif (mult == '')\n mult = '*';\n({'textContent': mult})"
  3746. },
  3747. "parser": {
  3748. "type": "code",
  3749. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3750. },
  3751. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3752. "position": {
  3753. "type": "list<double>",
  3754. "value": [
  3755. "0;25.5,0%",
  3756. "0;-34.398773006134945,0%"
  3757. ]
  3758. },
  3759. "orientation": {
  3760. "type": "double",
  3761. "value": "0;90"
  3762. },
  3763. "scale": {
  3764. "type": "list<double>",
  3765. "value": [
  3766. 1,
  3767. 1
  3768. ]
  3769. },
  3770. "$linkDecoratorInfo": {
  3771. "type": "map<string,double>",
  3772. "value": {
  3773. "xratio": 0.06134969325153374,
  3774. "yoffset": -25.5
  3775. }
  3776. }
  3777. },
  3778. "77": {
  3779. "textContent": {
  3780. "type": "string",
  3781. "value": "*"
  3782. },
  3783. "style": {
  3784. "type": "map<string,string>",
  3785. "value": {
  3786. "font-size": "20px",
  3787. "font-style": "normal",
  3788. "font-weight": "normal",
  3789. "line-height": "100%",
  3790. "letter-spacing": "0px",
  3791. "word-spacing": "0px",
  3792. "fill": "#000000",
  3793. "fill-opacity": "1",
  3794. "stroke": "none",
  3795. "font-family": "Sans"
  3796. }
  3797. },
  3798. "mapper": {
  3799. "type": "code",
  3800. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar clazz = getNeighbors('<'),\n mult = '';\nif (clazz.length > 0) {\n clazz = clazz[0];\n var cardinalities = getAttr('cardinalities', clazz), card;\n for (i = 0; i < cardinalities.length; i++) {\n if (cardinalities[i]['type'] == getAttr('name') && cardinalities[i]['dir'] == 'out') {\n card = cardinalities[i];\n break;\n }\n }\n if (card) {\n var min = card['min'],\n max = card['max'];\n if (min == '')\n min = '0';\n if (max == '' || max == 'Infinity')\n max = '*';\n if (min == '0' && max == '*')\n mult = '*';\n else if (min == max)\n mult = max;\n else mult = min + '..' + max;\n }\n}\nif (mult == '')\n mult = '*';\n({'textContent': mult})"
  3801. },
  3802. "parser": {
  3803. "type": "code",
  3804. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3805. },
  3806. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3807. "position": {
  3808. "type": "list<double>",
  3809. "value": [
  3810. "0;23.5,6.123031769111886e-15%",
  3811. "0;36,100%"
  3812. ]
  3813. },
  3814. "orientation": {
  3815. "type": "double",
  3816. "value": "0;90"
  3817. },
  3818. "scale": {
  3819. "type": "list<double>",
  3820. "value": [
  3821. 1,
  3822. 1
  3823. ]
  3824. },
  3825. "$linkDecoratorInfo": {
  3826. "type": "map<string,double>",
  3827. "value": {
  3828. "xratio": 1.0245398773006136,
  3829. "yoffset": -23.5
  3830. }
  3831. }
  3832. },
  3833. "140": {
  3834. "segments": {
  3835. "type": "string",
  3836. "value": "m0,0 l20,8 l-20,8"
  3837. },
  3838. "style": {
  3839. "type": "map<string,string>",
  3840. "value": {
  3841. "stroke": "#000000",
  3842. "fill": "#000000",
  3843. "fill-opacity": 0,
  3844. "stroke-width": 1,
  3845. "opacity": 1
  3846. }
  3847. },
  3848. "mapper": {
  3849. "type": "code",
  3850. "value": ""
  3851. },
  3852. "parser": {
  3853. "type": "code",
  3854. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3855. },
  3856. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  3857. "position": {
  3858. "type": "list<double>",
  3859. "value": [
  3860. "0;8,6.123031769111886e-15%",
  3861. "0;36,100%"
  3862. ]
  3863. },
  3864. "orientation": {
  3865. "type": "double",
  3866. "value": "0;90"
  3867. },
  3868. "scale": {
  3869. "type": "list<double>",
  3870. "value": [
  3871. 1,
  3872. 1
  3873. ]
  3874. },
  3875. "$linkDecoratorInfo": {
  3876. "type": "map<string,double>",
  3877. "value": {
  3878. "xratio": 1,
  3879. "yoffset": -8
  3880. }
  3881. }
  3882. }
  3883. },
  3884. "edges": []
  3885. }
  3886. },
  3887. "$asuri": {
  3888. "type": "string",
  3889. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/18.instance"
  3890. },
  3891. "$segments": {
  3892. "type": "map<string,list<string>>",
  3893. "value": {
  3894. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/1.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/18.instance": "M665,284L665,323",
  3895. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/18.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/4.instance": "M665,323L665,359"
  3896. }
  3897. },
  3898. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  3899. },
  3900. "19": {
  3901. "link-style": {
  3902. "type": "map<string,string>",
  3903. "value": {
  3904. "stroke": "#000000",
  3905. "stroke-dasharray": "",
  3906. "stroke-opacity": 1,
  3907. "stroke-width": 2
  3908. }
  3909. },
  3910. "arrowHead": {
  3911. "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)",
  3912. "value": "custom"
  3913. },
  3914. "arrowTail": {
  3915. "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)",
  3916. "value": "arrow-black"
  3917. },
  3918. "typename": {
  3919. "type": "string",
  3920. "value": "InheritanceLink"
  3921. },
  3922. "position": {
  3923. "type": "list<double>",
  3924. "value": [
  3925. 402,
  3926. 182
  3927. ]
  3928. },
  3929. "orientation": {
  3930. "type": "double",
  3931. "value": 0
  3932. },
  3933. "scale": {
  3934. "type": "list<double>",
  3935. "value": [
  3936. 1,
  3937. 1
  3938. ]
  3939. },
  3940. "mapper": {
  3941. "type": "code",
  3942. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  3943. },
  3944. "parser": {
  3945. "type": "code",
  3946. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3947. },
  3948. "$contents": {
  3949. "type": "map<string,*>",
  3950. "value": {
  3951. "nodes": {
  3952. "164": {
  3953. "segments": {
  3954. "type": "string",
  3955. "value": "m0,0 l20,10 l-20,10 z"
  3956. },
  3957. "style": {
  3958. "type": "map<string,string>",
  3959. "value": {
  3960. "stroke": "#000000",
  3961. "fill": "#ffffff",
  3962. "opacity": 1,
  3963. "stroke-width": 1
  3964. }
  3965. },
  3966. "mapper": {
  3967. "type": "code",
  3968. "value": ""
  3969. },
  3970. "parser": {
  3971. "type": "code",
  3972. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3973. },
  3974. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  3975. "position": {
  3976. "type": "list<double>",
  3977. "value": [
  3978. "0;84.99929467128027,100%",
  3979. "0;-9.999999999999972,0%"
  3980. ]
  3981. },
  3982. "orientation": {
  3983. "type": "double",
  3984. "value": "0;0"
  3985. },
  3986. "scale": {
  3987. "type": "list<double>",
  3988. "value": [
  3989. 1,
  3990. 1
  3991. ]
  3992. },
  3993. "$linkDecoratorInfo": {
  3994. "type": "map<string,double>",
  3995. "value": {
  3996. "xratio": 1,
  3997. "yoffset": -10
  3998. }
  3999. }
  4000. }
  4001. },
  4002. "edges": []
  4003. }
  4004. },
  4005. "$asuri": {
  4006. "type": "string",
  4007. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance/19.instance"
  4008. },
  4009. "$segments": {
  4010. "type": "map<string,list<string>>",
  4011. "value": {
  4012. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/2.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/19.instance": "M242.99999999999991,182.00000000000003L402,182.00000000000003",
  4013. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/19.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/1.instance": "M402.0007100591716,182.00000000000003L486.99929467128027,182.00000000000003"
  4014. }
  4015. },
  4016. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink"
  4017. },
  4018. "20": {
  4019. "typename": {
  4020. "type": "string",
  4021. "value": "ClassIcon"
  4022. },
  4023. "position": {
  4024. "type": "list<double>",
  4025. "value": [
  4026. 784,
  4027. 156
  4028. ]
  4029. },
  4030. "orientation": {
  4031. "type": "double",
  4032. "value": 0
  4033. },
  4034. "scale": {
  4035. "type": "list<double>",
  4036. "value": [
  4037. 1,
  4038. 1
  4039. ]
  4040. },
  4041. "mapper": {
  4042. "type": "code",
  4043. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  4044. },
  4045. "parser": {
  4046. "type": "code",
  4047. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4048. },
  4049. "$contents": {
  4050. "type": "map<string,*>",
  4051. "value": {
  4052. "nodes": {
  4053. "96": {
  4054. "width": {
  4055. "type": "double",
  4056. "value": 200
  4057. },
  4058. "height": {
  4059. "type": "double",
  4060. "value": 125
  4061. },
  4062. "cornerRadius": {
  4063. "type": "double",
  4064. "value": 0
  4065. },
  4066. "style": {
  4067. "type": "map<string,string>",
  4068. "value": {
  4069. "stroke": "#000000",
  4070. "stroke-dasharray": "",
  4071. "fill": "#ffffff",
  4072. "fill-opacity": 0.75,
  4073. "stroke-width": 2
  4074. }
  4075. },
  4076. "mapper": {
  4077. "type": "code",
  4078. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  4079. },
  4080. "parser": {
  4081. "type": "code",
  4082. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4083. },
  4084. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  4085. "position": {
  4086. "type": "list<double>",
  4087. "value": [
  4088. 4,
  4089. 3
  4090. ]
  4091. },
  4092. "orientation": {
  4093. "type": "double",
  4094. "value": 0
  4095. },
  4096. "scale": {
  4097. "type": "list<double>",
  4098. "value": [
  4099. 1,
  4100. 1
  4101. ]
  4102. }
  4103. },
  4104. "97": {
  4105. "segments": {
  4106. "type": "string",
  4107. "value": "m0,0l197,0"
  4108. },
  4109. "style": {
  4110. "type": "map<string,string>",
  4111. "value": {
  4112. "stroke": "#000000",
  4113. "stroke-dasharray": "",
  4114. "fill": "#ffffff",
  4115. "fill-opacity": 0.75,
  4116. "font-size": "20px",
  4117. "stroke-width": 2,
  4118. "arrow-start": "none",
  4119. "arrow-end": "none"
  4120. }
  4121. },
  4122. "mapper": {
  4123. "type": "code",
  4124. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  4125. },
  4126. "parser": {
  4127. "type": "code",
  4128. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4129. },
  4130. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  4131. "position": {
  4132. "type": "list<double>",
  4133. "value": [
  4134. 6,
  4135. 36
  4136. ]
  4137. },
  4138. "orientation": {
  4139. "type": "double",
  4140. "value": 0
  4141. },
  4142. "scale": {
  4143. "type": "list<double>",
  4144. "value": [
  4145. 1,
  4146. 1
  4147. ]
  4148. }
  4149. },
  4150. "98": {
  4151. "textContent": {
  4152. "type": "string",
  4153. "value": "AtomicDEVS"
  4154. },
  4155. "style": {
  4156. "type": "map<string,string>",
  4157. "value": {
  4158. "font-size": "18px",
  4159. "font-style": "normal",
  4160. "font-weight": "bold",
  4161. "line-height": "100%",
  4162. "letter-spacing": "0px",
  4163. "word-spacing": "0px",
  4164. "fill": "#000000",
  4165. "fill-opacity": "1",
  4166. "stroke": "none"
  4167. }
  4168. },
  4169. "mapper": {
  4170. "type": "code",
  4171. "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"
  4172. },
  4173. "parser": {
  4174. "type": "code",
  4175. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  4176. },
  4177. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  4178. "position": {
  4179. "type": "list<double>",
  4180. "value": [
  4181. 8,
  4182. 8
  4183. ]
  4184. },
  4185. "orientation": {
  4186. "type": "double",
  4187. "value": 0
  4188. },
  4189. "scale": {
  4190. "type": "list<double>",
  4191. "value": [
  4192. 1,
  4193. 1
  4194. ]
  4195. }
  4196. },
  4197. "99": {
  4198. "textContent": {
  4199. "type": "string",
  4200. "value": ""
  4201. },
  4202. "style": {
  4203. "type": "map<string,string>",
  4204. "value": {
  4205. "font-size": "14px",
  4206. "font-style": "normal",
  4207. "font-weight": "bold",
  4208. "line-height": "100%",
  4209. "letter-spacing": "0px",
  4210. "word-spacing": "0px",
  4211. "fill": "#000000",
  4212. "fill-opacity": "1",
  4213. "stroke": "none"
  4214. }
  4215. },
  4216. "mapper": {
  4217. "type": "code",
  4218. "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')})"
  4219. },
  4220. "parser": {
  4221. "type": "code",
  4222. "value": ""
  4223. },
  4224. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  4225. "position": {
  4226. "type": "list<double>",
  4227. "value": [
  4228. 10,
  4229. 41
  4230. ]
  4231. },
  4232. "orientation": {
  4233. "type": "double",
  4234. "value": 0
  4235. },
  4236. "scale": {
  4237. "type": "list<double>",
  4238. "value": [
  4239. 1,
  4240. 1
  4241. ]
  4242. }
  4243. },
  4244. "100": {
  4245. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  4246. "position": {
  4247. "type": "list<double>",
  4248. "value": [
  4249. 68.5,
  4250. 36.5
  4251. ]
  4252. },
  4253. "orientation": {
  4254. "type": "double",
  4255. "value": 0
  4256. },
  4257. "scale": {
  4258. "type": "list<double>",
  4259. "value": [
  4260. 1,
  4261. 1
  4262. ]
  4263. },
  4264. "link-style": {
  4265. "type": "map<string,string>",
  4266. "value": {
  4267. "stroke": "#00ffff",
  4268. "stroke-dasharray": "",
  4269. "stroke-opacity": 0.1,
  4270. "stroke-width": 1
  4271. }
  4272. }
  4273. },
  4274. "101": {
  4275. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  4276. "position": {
  4277. "type": "list<double>",
  4278. "value": [
  4279. 12.5,
  4280. 27
  4281. ]
  4282. },
  4283. "orientation": {
  4284. "type": "double",
  4285. "value": 0
  4286. },
  4287. "scale": {
  4288. "type": "list<double>",
  4289. "value": [
  4290. 1,
  4291. 1
  4292. ]
  4293. },
  4294. "link-style": {
  4295. "type": "map<string,string>",
  4296. "value": {
  4297. "stroke": "#00ffff",
  4298. "stroke-dasharray": "",
  4299. "stroke-opacity": 0.1,
  4300. "stroke-width": 1
  4301. }
  4302. }
  4303. },
  4304. "102": {
  4305. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  4306. "position": {
  4307. "type": "list<double>",
  4308. "value": [
  4309. 53.75,
  4310. 20
  4311. ]
  4312. },
  4313. "orientation": {
  4314. "type": "double",
  4315. "value": 0
  4316. },
  4317. "scale": {
  4318. "type": "list<double>",
  4319. "value": [
  4320. 1,
  4321. 1
  4322. ]
  4323. },
  4324. "link-style": {
  4325. "type": "map<string,string>",
  4326. "value": {
  4327. "stroke": "#00ffff",
  4328. "stroke-dasharray": "",
  4329. "stroke-opacity": 0.1,
  4330. "stroke-width": 1
  4331. }
  4332. }
  4333. }
  4334. },
  4335. "edges": [
  4336. {
  4337. "src": "96",
  4338. "dest": "100"
  4339. },
  4340. {
  4341. "src": "100",
  4342. "dest": "98"
  4343. },
  4344. {
  4345. "src": "96",
  4346. "dest": "101"
  4347. },
  4348. {
  4349. "src": "101",
  4350. "dest": "99"
  4351. },
  4352. {
  4353. "src": "96",
  4354. "dest": "102"
  4355. },
  4356. {
  4357. "src": "102",
  4358. "dest": "97"
  4359. }
  4360. ]
  4361. }
  4362. },
  4363. "$asuri": {
  4364. "type": "string",
  4365. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/20.instance"
  4366. },
  4367. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  4368. },
  4369. "21": {
  4370. "link-style": {
  4371. "type": "map<string,string>",
  4372. "value": {
  4373. "stroke": "#000000",
  4374. "stroke-dasharray": "",
  4375. "stroke-opacity": 1,
  4376. "stroke-width": 2
  4377. }
  4378. },
  4379. "arrowHead": {
  4380. "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)",
  4381. "value": "custom"
  4382. },
  4383. "arrowTail": {
  4384. "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)",
  4385. "value": "arrow-black"
  4386. },
  4387. "typename": {
  4388. "type": "string",
  4389. "value": "InheritanceLink"
  4390. },
  4391. "position": {
  4392. "type": "list<double>",
  4393. "value": [
  4394. 738.5,
  4395. 181
  4396. ]
  4397. },
  4398. "orientation": {
  4399. "type": "double",
  4400. "value": 0
  4401. },
  4402. "scale": {
  4403. "type": "list<double>",
  4404. "value": [
  4405. 1,
  4406. 1
  4407. ]
  4408. },
  4409. "mapper": {
  4410. "type": "code",
  4411. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  4412. },
  4413. "parser": {
  4414. "type": "code",
  4415. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4416. },
  4417. "$contents": {
  4418. "type": "map<string,*>",
  4419. "value": {
  4420. "nodes": {
  4421. "164": {
  4422. "segments": {
  4423. "type": "string",
  4424. "value": "m0,0 l20,10 l-20,10 z"
  4425. },
  4426. "style": {
  4427. "type": "map<string,string>",
  4428. "value": {
  4429. "stroke": "#000000",
  4430. "fill": "#ffffff",
  4431. "opacity": 1,
  4432. "stroke-width": 1
  4433. }
  4434. },
  4435. "mapper": {
  4436. "type": "code",
  4437. "value": ""
  4438. },
  4439. "parser": {
  4440. "type": "code",
  4441. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4442. },
  4443. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  4444. "position": {
  4445. "type": "list<double>",
  4446. "value": [
  4447. "0;-50.5,-100%",
  4448. "0;10.000000000000028,1.2246063538223773e-14%"
  4449. ]
  4450. },
  4451. "orientation": {
  4452. "type": "double",
  4453. "value": "0;180"
  4454. },
  4455. "scale": {
  4456. "type": "list<double>",
  4457. "value": [
  4458. 1,
  4459. 1
  4460. ]
  4461. },
  4462. "$linkDecoratorInfo": {
  4463. "type": "map<string,double>",
  4464. "value": {
  4465. "xratio": 1,
  4466. "yoffset": -10
  4467. }
  4468. }
  4469. }
  4470. },
  4471. "edges": []
  4472. }
  4473. },
  4474. "$asuri": {
  4475. "type": "string",
  4476. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance/21.instance"
  4477. },
  4478. "$segments": {
  4479. "type": "map<string,list<string>>",
  4480. "value": {
  4481. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/20.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/21.instance": "M788,181.00000000000003L738,181.00000000000003",
  4482. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink/21.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/1.instance": "M738,181.00000000000003L688,181.00000000000003"
  4483. }
  4484. },
  4485. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/InheritanceLink"
  4486. },
  4487. "22": {
  4488. "link-style": {
  4489. "type": "map<string,string>",
  4490. "value": {
  4491. "stroke": "#000000",
  4492. "stroke-dasharray": "",
  4493. "stroke-opacity": 1,
  4494. "stroke-width": 2
  4495. }
  4496. },
  4497. "arrowHead": {
  4498. "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)",
  4499. "value": "custom"
  4500. },
  4501. "arrowTail": {
  4502. "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)",
  4503. "value": "arrow-black"
  4504. },
  4505. "typename": {
  4506. "type": "string",
  4507. "value": "AssociationLink"
  4508. },
  4509. "position": {
  4510. "type": "list<double>",
  4511. "value": [
  4512. 1063,
  4513. 222
  4514. ]
  4515. },
  4516. "orientation": {
  4517. "type": "double",
  4518. "value": 0
  4519. },
  4520. "scale": {
  4521. "type": "list<double>",
  4522. "value": [
  4523. 1,
  4524. 1
  4525. ]
  4526. },
  4527. "mapper": {
  4528. "type": "code",
  4529. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  4530. },
  4531. "parser": {
  4532. "type": "code",
  4533. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4534. },
  4535. "$contents": {
  4536. "type": "map<string,*>",
  4537. "value": {
  4538. "nodes": {
  4539. "71": {
  4540. "textContent": {
  4541. "type": "string",
  4542. "value": "states"
  4543. },
  4544. "style": {
  4545. "type": "map<string,string>",
  4546. "value": {
  4547. "font-size": "20px",
  4548. "font-style": "normal",
  4549. "font-weight": "normal",
  4550. "line-height": "100%",
  4551. "letter-spacing": "0px",
  4552. "word-spacing": "0px",
  4553. "fill": "#000000",
  4554. "fill-opacity": "1",
  4555. "stroke": "none",
  4556. "font-family": "Sans"
  4557. }
  4558. },
  4559. "mapper": {
  4560. "type": "code",
  4561. "value": "({'textContent':getAttr('name')})"
  4562. },
  4563. "parser": {
  4564. "type": "code",
  4565. "value": "({'name':getAttr('textContent')})"
  4566. },
  4567. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  4568. "position": {
  4569. "type": "list<double>",
  4570. "value": [
  4571. "0;-18.564417177914038,0%",
  4572. "0;-28.49999999999997,0%"
  4573. ]
  4574. },
  4575. "orientation": {
  4576. "type": "double",
  4577. "value": "0;0"
  4578. },
  4579. "scale": {
  4580. "type": "list<double>",
  4581. "value": [
  4582. 1,
  4583. 1
  4584. ]
  4585. },
  4586. "$linkDecoratorInfo": {
  4587. "type": "map<string,double>",
  4588. "value": {
  4589. "xratio": 0.3803680981595092,
  4590. "yoffset": -28.5
  4591. }
  4592. }
  4593. },
  4594. "74": {
  4595. "textContent": {
  4596. "type": "string",
  4597. "value": "1"
  4598. },
  4599. "style": {
  4600. "type": "map<string,string>",
  4601. "value": {
  4602. "font-size": "20px",
  4603. "font-style": "normal",
  4604. "font-weight": "normal",
  4605. "line-height": "100%",
  4606. "letter-spacing": "0px",
  4607. "word-spacing": "0px",
  4608. "fill": "#000000",
  4609. "fill-opacity": "1",
  4610. "stroke": "none",
  4611. "font-family": "Sans"
  4612. }
  4613. },
  4614. "mapper": {
  4615. "type": "code",
  4616. "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})"
  4617. },
  4618. "parser": {
  4619. "type": "code",
  4620. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4621. },
  4622. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  4623. "position": {
  4624. "type": "list<double>",
  4625. "value": [
  4626. "0;-66.7361963190184,0%",
  4627. "0;-25.49999999999997,0%"
  4628. ]
  4629. },
  4630. "orientation": {
  4631. "type": "double",
  4632. "value": "0;0"
  4633. },
  4634. "scale": {
  4635. "type": "list<double>",
  4636. "value": [
  4637. 1,
  4638. 1
  4639. ]
  4640. },
  4641. "$linkDecoratorInfo": {
  4642. "type": "map<string,double>",
  4643. "value": {
  4644. "xratio": 0.06134969325153374,
  4645. "yoffset": -25.5
  4646. }
  4647. }
  4648. },
  4649. "77": {
  4650. "textContent": {
  4651. "type": "string",
  4652. "value": "*"
  4653. },
  4654. "style": {
  4655. "type": "map<string,string>",
  4656. "value": {
  4657. "font-size": "20px",
  4658. "font-style": "normal",
  4659. "font-weight": "normal",
  4660. "line-height": "100%",
  4661. "letter-spacing": "0px",
  4662. "word-spacing": "0px",
  4663. "fill": "#000000",
  4664. "fill-opacity": "1",
  4665. "stroke": "none",
  4666. "font-family": "Sans"
  4667. }
  4668. },
  4669. "mapper": {
  4670. "type": "code",
  4671. "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})"
  4672. },
  4673. "parser": {
  4674. "type": "code",
  4675. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4676. },
  4677. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  4678. "position": {
  4679. "type": "list<double>",
  4680. "value": [
  4681. "0;75,100%",
  4682. "0;-23.49999999999997,0%"
  4683. ]
  4684. },
  4685. "orientation": {
  4686. "type": "double",
  4687. "value": "0;0"
  4688. },
  4689. "scale": {
  4690. "type": "list<double>",
  4691. "value": [
  4692. 1,
  4693. 1
  4694. ]
  4695. },
  4696. "$linkDecoratorInfo": {
  4697. "type": "map<string,double>",
  4698. "value": {
  4699. "xratio": 1.0245398773006136,
  4700. "yoffset": -23.5
  4701. }
  4702. }
  4703. },
  4704. "140": {
  4705. "segments": {
  4706. "type": "string",
  4707. "value": "m0,0 l20,8 l-20,8"
  4708. },
  4709. "style": {
  4710. "type": "map<string,string>",
  4711. "value": {
  4712. "stroke": "#000000",
  4713. "fill": "#000000",
  4714. "fill-opacity": 0,
  4715. "stroke-width": 1,
  4716. "opacity": 1
  4717. }
  4718. },
  4719. "mapper": {
  4720. "type": "code",
  4721. "value": ""
  4722. },
  4723. "parser": {
  4724. "type": "code",
  4725. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4726. },
  4727. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  4728. "position": {
  4729. "type": "list<double>",
  4730. "value": [
  4731. "0;75,100%",
  4732. "0;-7.999999999999972,0%"
  4733. ]
  4734. },
  4735. "orientation": {
  4736. "type": "double",
  4737. "value": "0;0"
  4738. },
  4739. "scale": {
  4740. "type": "list<double>",
  4741. "value": [
  4742. 1,
  4743. 1
  4744. ]
  4745. },
  4746. "$linkDecoratorInfo": {
  4747. "type": "map<string,double>",
  4748. "value": {
  4749. "xratio": 1,
  4750. "yoffset": -8
  4751. }
  4752. }
  4753. }
  4754. },
  4755. "edges": []
  4756. }
  4757. },
  4758. "$asuri": {
  4759. "type": "string",
  4760. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/22.instance"
  4761. },
  4762. "$segments": {
  4763. "type": "map<string,list<string>>",
  4764. "value": {
  4765. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/20.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/22.instance": "M987,222.00000000000003L1063,222.00000000000003",
  4766. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/22.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/0.instance": "M1063.0007843137255,222.00000000000003L1138,222.00000000000003"
  4767. }
  4768. },
  4769. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  4770. },
  4771. "23": {
  4772. "link-style": {
  4773. "type": "map<string,string>",
  4774. "value": {
  4775. "stroke": "#000000",
  4776. "stroke-dasharray": "",
  4777. "stroke-opacity": 1,
  4778. "stroke-width": 2
  4779. }
  4780. },
  4781. "arrowHead": {
  4782. "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)",
  4783. "value": "custom"
  4784. },
  4785. "arrowTail": {
  4786. "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)",
  4787. "value": "arrow-black"
  4788. },
  4789. "typename": {
  4790. "type": "string",
  4791. "value": "AssociationLink"
  4792. },
  4793. "position": {
  4794. "type": "list<double>",
  4795. "value": [
  4796. 586,
  4797. 332.94992592592587
  4798. ]
  4799. },
  4800. "orientation": {
  4801. "type": "double",
  4802. "value": 0
  4803. },
  4804. "scale": {
  4805. "type": "list<double>",
  4806. "value": [
  4807. 1,
  4808. 1
  4809. ]
  4810. },
  4811. "mapper": {
  4812. "type": "code",
  4813. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  4814. },
  4815. "parser": {
  4816. "type": "code",
  4817. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4818. },
  4819. "$contents": {
  4820. "type": "map<string,*>",
  4821. "value": {
  4822. "nodes": {
  4823. "71": {
  4824. "textContent": {
  4825. "type": "string",
  4826. "value": "channel"
  4827. },
  4828. "style": {
  4829. "type": "map<string,string>",
  4830. "value": {
  4831. "font-size": "20px",
  4832. "font-style": "normal",
  4833. "font-weight": "normal",
  4834. "line-height": "100%",
  4835. "letter-spacing": "0px",
  4836. "word-spacing": "0px",
  4837. "fill": "#000000",
  4838. "fill-opacity": "1",
  4839. "stroke": "none",
  4840. "font-family": "Sans"
  4841. }
  4842. },
  4843. "mapper": {
  4844. "type": "code",
  4845. "value": "({'textContent':getAttr('name')})"
  4846. },
  4847. "parser": {
  4848. "type": "code",
  4849. "value": "({'name':getAttr('textContent')})"
  4850. },
  4851. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  4852. "position": {
  4853. "type": "list<double>",
  4854. "value": [
  4855. "0;-14.245398773006173,0%",
  4856. "0;-29.449925925925868,0%"
  4857. ]
  4858. },
  4859. "orientation": {
  4860. "type": "double",
  4861. "value": "0;0"
  4862. },
  4863. "scale": {
  4864. "type": "list<double>",
  4865. "value": [
  4866. 1,
  4867. 1
  4868. ]
  4869. },
  4870. "$linkDecoratorInfo": {
  4871. "type": "map<string,double>",
  4872. "value": {
  4873. "xratio": 0.3803680981595092,
  4874. "yoffset": -28.5
  4875. }
  4876. }
  4877. },
  4878. "74": {
  4879. "textContent": {
  4880. "type": "string",
  4881. "value": "*"
  4882. },
  4883. "style": {
  4884. "type": "map<string,string>",
  4885. "value": {
  4886. "font-size": "20px",
  4887. "font-style": "normal",
  4888. "font-weight": "normal",
  4889. "line-height": "100%",
  4890. "letter-spacing": "0px",
  4891. "word-spacing": "0px",
  4892. "fill": "#000000",
  4893. "fill-opacity": "1",
  4894. "stroke": "none",
  4895. "font-family": "Sans"
  4896. }
  4897. },
  4898. "mapper": {
  4899. "type": "code",
  4900. "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})"
  4901. },
  4902. "parser": {
  4903. "type": "code",
  4904. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4905. },
  4906. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  4907. "position": {
  4908. "type": "list<double>",
  4909. "value": [
  4910. "0;-49.5,0%",
  4911. "0;19.283202908429985,0%"
  4912. ]
  4913. },
  4914. "orientation": {
  4915. "type": "double",
  4916. "value": "0;-90"
  4917. },
  4918. "scale": {
  4919. "type": "list<double>",
  4920. "value": [
  4921. 1,
  4922. 1
  4923. ]
  4924. },
  4925. "$linkDecoratorInfo": {
  4926. "type": "map<string,double>",
  4927. "value": {
  4928. "xratio": 0.06134969325153374,
  4929. "yoffset": -25.5
  4930. }
  4931. }
  4932. },
  4933. "77": {
  4934. "textContent": {
  4935. "type": "string",
  4936. "value": "*"
  4937. },
  4938. "style": {
  4939. "type": "map<string,string>",
  4940. "value": {
  4941. "font-size": "20px",
  4942. "font-style": "normal",
  4943. "font-weight": "normal",
  4944. "line-height": "100%",
  4945. "letter-spacing": "0px",
  4946. "word-spacing": "0px",
  4947. "fill": "#000000",
  4948. "fill-opacity": "1",
  4949. "stroke": "none",
  4950. "font-family": "Sans"
  4951. }
  4952. },
  4953. "mapper": {
  4954. "type": "code",
  4955. "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})"
  4956. },
  4957. "parser": {
  4958. "type": "code",
  4959. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  4960. },
  4961. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  4962. "position": {
  4963. "type": "list<double>",
  4964. "value": [
  4965. "0;41.5,6.123031769111886e-15%",
  4966. "0;25.050074074074132,100%"
  4967. ]
  4968. },
  4969. "orientation": {
  4970. "type": "double",
  4971. "value": "0;90"
  4972. },
  4973. "scale": {
  4974. "type": "list<double>",
  4975. "value": [
  4976. 1,
  4977. 1
  4978. ]
  4979. },
  4980. "$linkDecoratorInfo": {
  4981. "type": "map<string,double>",
  4982. "value": {
  4983. "xratio": 1.0245398773006136,
  4984. "yoffset": -23.5
  4985. }
  4986. }
  4987. },
  4988. "140": {
  4989. "segments": {
  4990. "type": "string",
  4991. "value": "m0,0 l20,8 l-20,8"
  4992. },
  4993. "style": {
  4994. "type": "map<string,string>",
  4995. "value": {
  4996. "stroke": "#000000",
  4997. "fill": "#000000",
  4998. "fill-opacity": 0,
  4999. "stroke-width": 1,
  5000. "opacity": 1
  5001. }
  5002. },
  5003. "mapper": {
  5004. "type": "code",
  5005. "value": ""
  5006. },
  5007. "parser": {
  5008. "type": "code",
  5009. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  5010. },
  5011. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  5012. "position": {
  5013. "type": "list<double>",
  5014. "value": [
  5015. "0;26,6.123031769111886e-15%",
  5016. "0;25.050074074074132,100%"
  5017. ]
  5018. },
  5019. "orientation": {
  5020. "type": "double",
  5021. "value": "0;90"
  5022. },
  5023. "scale": {
  5024. "type": "list<double>",
  5025. "value": [
  5026. 1,
  5027. 1
  5028. ]
  5029. },
  5030. "$linkDecoratorInfo": {
  5031. "type": "map<string,double>",
  5032. "value": {
  5033. "xratio": 1,
  5034. "yoffset": -8
  5035. }
  5036. }
  5037. }
  5038. },
  5039. "edges": []
  5040. }
  5041. },
  5042. "$asuri": {
  5043. "type": "string",
  5044. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/23.instance"
  5045. },
  5046. "$segments": {
  5047. "type": "map<string,list<string>>",
  5048. "value": {
  5049. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/4.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/23.instance": "M562,358L562,332L585,332",
  5050. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/23.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/4.instance": "M585,332L604,332L604,358"
  5051. }
  5052. },
  5053. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  5054. },
  5055. "24": {
  5056. "typename": {
  5057. "type": "string",
  5058. "value": "ClassIcon"
  5059. },
  5060. "position": {
  5061. "type": "list<double>",
  5062. "value": [
  5063. 1013,
  5064. 355
  5065. ]
  5066. },
  5067. "orientation": {
  5068. "type": "double",
  5069. "value": 0
  5070. },
  5071. "scale": {
  5072. "type": "list<double>",
  5073. "value": [
  5074. 1,
  5075. 1
  5076. ]
  5077. },
  5078. "mapper": {
  5079. "type": "code",
  5080. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  5081. },
  5082. "parser": {
  5083. "type": "code",
  5084. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  5085. },
  5086. "$contents": {
  5087. "type": "map<string,*>",
  5088. "value": {
  5089. "nodes": {
  5090. "96": {
  5091. "width": {
  5092. "type": "double",
  5093. "value": 200
  5094. },
  5095. "height": {
  5096. "type": "double",
  5097. "value": 125
  5098. },
  5099. "cornerRadius": {
  5100. "type": "double",
  5101. "value": 0
  5102. },
  5103. "style": {
  5104. "type": "map<string,string>",
  5105. "value": {
  5106. "stroke": "#000000",
  5107. "stroke-dasharray": "",
  5108. "fill": "#ffffff",
  5109. "fill-opacity": 0.75,
  5110. "stroke-width": 2
  5111. }
  5112. },
  5113. "mapper": {
  5114. "type": "code",
  5115. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  5116. },
  5117. "parser": {
  5118. "type": "code",
  5119. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  5120. },
  5121. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  5122. "position": {
  5123. "type": "list<double>",
  5124. "value": [
  5125. 4,
  5126. 3
  5127. ]
  5128. },
  5129. "orientation": {
  5130. "type": "double",
  5131. "value": 0
  5132. },
  5133. "scale": {
  5134. "type": "list<double>",
  5135. "value": [
  5136. 1,
  5137. 1
  5138. ]
  5139. }
  5140. },
  5141. "97": {
  5142. "segments": {
  5143. "type": "string",
  5144. "value": "m0,0l197,0"
  5145. },
  5146. "style": {
  5147. "type": "map<string,string>",
  5148. "value": {
  5149. "stroke": "#000000",
  5150. "stroke-dasharray": "",
  5151. "fill": "#ffffff",
  5152. "fill-opacity": 0.75,
  5153. "font-size": "20px",
  5154. "stroke-width": 2,
  5155. "arrow-start": "none",
  5156. "arrow-end": "none"
  5157. }
  5158. },
  5159. "mapper": {
  5160. "type": "code",
  5161. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  5162. },
  5163. "parser": {
  5164. "type": "code",
  5165. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  5166. },
  5167. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  5168. "position": {
  5169. "type": "list<double>",
  5170. "value": [
  5171. 6,
  5172. 36
  5173. ]
  5174. },
  5175. "orientation": {
  5176. "type": "double",
  5177. "value": 0
  5178. },
  5179. "scale": {
  5180. "type": "list<double>",
  5181. "value": [
  5182. 1,
  5183. 1
  5184. ]
  5185. }
  5186. },
  5187. "98": {
  5188. "textContent": {
  5189. "type": "string",
  5190. "value": "StateDefinition"
  5191. },
  5192. "style": {
  5193. "type": "map<string,string>",
  5194. "value": {
  5195. "font-size": "18px",
  5196. "font-style": "normal",
  5197. "font-weight": "bold",
  5198. "line-height": "100%",
  5199. "letter-spacing": "0px",
  5200. "word-spacing": "0px",
  5201. "fill": "#000000",
  5202. "fill-opacity": "1",
  5203. "stroke": "none"
  5204. }
  5205. },
  5206. "mapper": {
  5207. "type": "code",
  5208. "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"
  5209. },
  5210. "parser": {
  5211. "type": "code",
  5212. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  5213. },
  5214. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  5215. "position": {
  5216. "type": "list<double>",
  5217. "value": [
  5218. 8,
  5219. 8
  5220. ]
  5221. },
  5222. "orientation": {
  5223. "type": "double",
  5224. "value": 0
  5225. },
  5226. "scale": {
  5227. "type": "list<double>",
  5228. "value": [
  5229. 1,
  5230. 1
  5231. ]
  5232. }
  5233. },
  5234. "99": {
  5235. "textContent": {
  5236. "type": "string",
  5237. "value": "+ name : string\n+ attributes : list<$ATTRIBUTE> = \n+ parameters : list<$ARG> = \n+ initial_binding : list<map<[name,val],[string,string]>> = \n+ __init__ : code"
  5238. },
  5239. "style": {
  5240. "type": "map<string,string>",
  5241. "value": {
  5242. "font-size": "14px",
  5243. "font-style": "normal",
  5244. "font-weight": "bold",
  5245. "line-height": "100%",
  5246. "letter-spacing": "0px",
  5247. "word-spacing": "0px",
  5248. "fill": "#000000",
  5249. "fill-opacity": "1",
  5250. "stroke": "none"
  5251. }
  5252. },
  5253. "mapper": {
  5254. "type": "code",
  5255. "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')})"
  5256. },
  5257. "parser": {
  5258. "type": "code",
  5259. "value": ""
  5260. },
  5261. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  5262. "position": {
  5263. "type": "list<double>",
  5264. "value": [
  5265. 10,
  5266. 41
  5267. ]
  5268. },
  5269. "orientation": {
  5270. "type": "double",
  5271. "value": 0
  5272. },
  5273. "scale": {
  5274. "type": "list<double>",
  5275. "value": [
  5276. 1,
  5277. 1
  5278. ]
  5279. }
  5280. },
  5281. "100": {
  5282. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  5283. "position": {
  5284. "type": "list<double>",
  5285. "value": [
  5286. 68.5,
  5287. 36.5
  5288. ]
  5289. },
  5290. "orientation": {
  5291. "type": "double",
  5292. "value": 0
  5293. },
  5294. "scale": {
  5295. "type": "list<double>",
  5296. "value": [
  5297. 1,
  5298. 1
  5299. ]
  5300. },
  5301. "link-style": {
  5302. "type": "map<string,string>",
  5303. "value": {
  5304. "stroke": "#00ffff",
  5305. "stroke-dasharray": "",
  5306. "stroke-opacity": 0.1,
  5307. "stroke-width": 1
  5308. }
  5309. }
  5310. },
  5311. "101": {
  5312. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  5313. "position": {
  5314. "type": "list<double>",
  5315. "value": [
  5316. 12.5,
  5317. 27
  5318. ]
  5319. },
  5320. "orientation": {
  5321. "type": "double",
  5322. "value": 0
  5323. },
  5324. "scale": {
  5325. "type": "list<double>",
  5326. "value": [
  5327. 1,
  5328. 1
  5329. ]
  5330. },
  5331. "link-style": {
  5332. "type": "map<string,string>",
  5333. "value": {
  5334. "stroke": "#00ffff",
  5335. "stroke-dasharray": "",
  5336. "stroke-opacity": 0.1,
  5337. "stroke-width": 1
  5338. }
  5339. }
  5340. },
  5341. "102": {
  5342. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  5343. "position": {
  5344. "type": "list<double>",
  5345. "value": [
  5346. 53.75,
  5347. 20
  5348. ]
  5349. },
  5350. "orientation": {
  5351. "type": "double",
  5352. "value": 0
  5353. },
  5354. "scale": {
  5355. "type": "list<double>",
  5356. "value": [
  5357. 1,
  5358. 1
  5359. ]
  5360. },
  5361. "link-style": {
  5362. "type": "map<string,string>",
  5363. "value": {
  5364. "stroke": "#00ffff",
  5365. "stroke-dasharray": "",
  5366. "stroke-opacity": 0.1,
  5367. "stroke-width": 1
  5368. }
  5369. }
  5370. }
  5371. },
  5372. "edges": [
  5373. {
  5374. "src": "96",
  5375. "dest": "100"
  5376. },
  5377. {
  5378. "src": "100",
  5379. "dest": "98"
  5380. },
  5381. {
  5382. "src": "96",
  5383. "dest": "101"
  5384. },
  5385. {
  5386. "src": "101",
  5387. "dest": "99"
  5388. },
  5389. {
  5390. "src": "96",
  5391. "dest": "102"
  5392. },
  5393. {
  5394. "src": "102",
  5395. "dest": "97"
  5396. }
  5397. ]
  5398. }
  5399. },
  5400. "$asuri": {
  5401. "type": "string",
  5402. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/24.instance"
  5403. },
  5404. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  5405. },
  5406. "25": {
  5407. "link-style": {
  5408. "type": "map<string,string>",
  5409. "value": {
  5410. "stroke": "#000000",
  5411. "stroke-dasharray": "",
  5412. "stroke-opacity": 1,
  5413. "stroke-width": 2
  5414. }
  5415. },
  5416. "arrowHead": {
  5417. "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)",
  5418. "value": "custom"
  5419. },
  5420. "arrowTail": {
  5421. "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)",
  5422. "value": "arrow-black"
  5423. },
  5424. "typename": {
  5425. "type": "string",
  5426. "value": "AssociationLink"
  5427. },
  5428. "position": {
  5429. "type": "list<double>",
  5430. "value": [
  5431. 1061,
  5432. 273.5
  5433. ]
  5434. },
  5435. "orientation": {
  5436. "type": "double",
  5437. "value": 0
  5438. },
  5439. "scale": {
  5440. "type": "list<double>",
  5441. "value": [
  5442. 1,
  5443. 1
  5444. ]
  5445. },
  5446. "mapper": {
  5447. "type": "code",
  5448. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  5449. },
  5450. "parser": {
  5451. "type": "code",
  5452. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  5453. },
  5454. "$contents": {
  5455. "type": "map<string,*>",
  5456. "value": {
  5457. "nodes": {
  5458. "71": {
  5459. "textContent": {
  5460. "type": "string",
  5461. "value": "statedef"
  5462. },
  5463. "style": {
  5464. "type": "map<string,string>",
  5465. "value": {
  5466. "font-size": "20px",
  5467. "font-style": "normal",
  5468. "font-weight": "normal",
  5469. "line-height": "100%",
  5470. "letter-spacing": "0px",
  5471. "word-spacing": "0px",
  5472. "fill": "#000000",
  5473. "fill-opacity": "1",
  5474. "stroke": "none",
  5475. "font-family": "Sans"
  5476. }
  5477. },
  5478. "mapper": {
  5479. "type": "code",
  5480. "value": "({'textContent':getAttr('name')})"
  5481. },
  5482. "parser": {
  5483. "type": "code",
  5484. "value": "({'name':getAttr('textContent')})"
  5485. },
  5486. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  5487. "position": {
  5488. "type": "list<double>",
  5489. "value": [
  5490. "0;-13.423312883435528,0%",
  5491. "0;-29,0%"
  5492. ]
  5493. },
  5494. "orientation": {
  5495. "type": "double",
  5496. "value": "0;0"
  5497. },
  5498. "scale": {
  5499. "type": "list<double>",
  5500. "value": [
  5501. 1,
  5502. 1
  5503. ]
  5504. },
  5505. "$linkDecoratorInfo": {
  5506. "type": "map<string,double>",
  5507. "value": {
  5508. "xratio": 0.3803680981595092,
  5509. "yoffset": -28.5
  5510. }
  5511. }
  5512. },
  5513. "74": {
  5514. "textContent": {
  5515. "type": "string",
  5516. "value": "*"
  5517. },
  5518. "style": {
  5519. "type": "map<string,string>",
  5520. "value": {
  5521. "font-size": "20px",
  5522. "font-style": "normal",
  5523. "font-weight": "normal",
  5524. "line-height": "100%",
  5525. "letter-spacing": "0px",
  5526. "word-spacing": "0px",
  5527. "fill": "#000000",
  5528. "fill-opacity": "1",
  5529. "stroke": "none",
  5530. "font-family": "Sans"
  5531. }
  5532. },
  5533. "mapper": {
  5534. "type": "code",
  5535. "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})"
  5536. },
  5537. "parser": {
  5538. "type": "code",
  5539. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  5540. },
  5541. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  5542. "position": {
  5543. "type": "list<double>",
  5544. "value": [
  5545. "0;-62.55214723926383,0%",
  5546. "0;-26,0%"
  5547. ]
  5548. },
  5549. "orientation": {
  5550. "type": "double",
  5551. "value": "0;0"
  5552. },
  5553. "scale": {
  5554. "type": "list<double>",
  5555. "value": [
  5556. 1,
  5557. 1
  5558. ]
  5559. },
  5560. "$linkDecoratorInfo": {
  5561. "type": "map<string,double>",
  5562. "value": {
  5563. "xratio": 0.06134969325153374,
  5564. "yoffset": -25.5
  5565. }
  5566. }
  5567. },
  5568. "77": {
  5569. "textContent": {
  5570. "type": "string",
  5571. "value": "1"
  5572. },
  5573. "style": {
  5574. "type": "map<string,string>",
  5575. "value": {
  5576. "font-size": "20px",
  5577. "font-style": "normal",
  5578. "font-weight": "normal",
  5579. "line-height": "100%",
  5580. "letter-spacing": "0px",
  5581. "word-spacing": "0px",
  5582. "fill": "#000000",
  5583. "fill-opacity": "1",
  5584. "stroke": "none",
  5585. "font-family": "Sans"
  5586. }
  5587. },
  5588. "mapper": {
  5589. "type": "code",
  5590. "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})"
  5591. },
  5592. "parser": {
  5593. "type": "code",
  5594. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  5595. },
  5596. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  5597. "position": {
  5598. "type": "list<double>",
  5599. "value": [
  5600. "0;23.5,6.123031769111886e-15%",
  5601. "0;81.5,100%"
  5602. ]
  5603. },
  5604. "orientation": {
  5605. "type": "double",
  5606. "value": "0;90"
  5607. },
  5608. "scale": {
  5609. "type": "list<double>",
  5610. "value": [
  5611. 1,
  5612. 1
  5613. ]
  5614. },
  5615. "$linkDecoratorInfo": {
  5616. "type": "map<string,double>",
  5617. "value": {
  5618. "xratio": 1.0245398773006136,
  5619. "yoffset": -23.5
  5620. }
  5621. }
  5622. },
  5623. "140": {
  5624. "segments": {
  5625. "type": "string",
  5626. "value": "m0,0 l20,8 l-20,8"
  5627. },
  5628. "style": {
  5629. "type": "map<string,string>",
  5630. "value": {
  5631. "stroke": "#000000",
  5632. "fill": "#000000",
  5633. "fill-opacity": 0,
  5634. "stroke-width": 1,
  5635. "opacity": 1
  5636. }
  5637. },
  5638. "mapper": {
  5639. "type": "code",
  5640. "value": ""
  5641. },
  5642. "parser": {
  5643. "type": "code",
  5644. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  5645. },
  5646. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  5647. "position": {
  5648. "type": "list<double>",
  5649. "value": [
  5650. "0;8,6.123031769111886e-15%",
  5651. "0;81.5,100%"
  5652. ]
  5653. },
  5654. "orientation": {
  5655. "type": "double",
  5656. "value": "0;90"
  5657. },
  5658. "scale": {
  5659. "type": "list<double>",
  5660. "value": [
  5661. 1,
  5662. 1
  5663. ]
  5664. },
  5665. "$linkDecoratorInfo": {
  5666. "type": "map<string,double>",
  5667. "value": {
  5668. "xratio": 1,
  5669. "yoffset": -8
  5670. }
  5671. }
  5672. }
  5673. },
  5674. "edges": []
  5675. }
  5676. },
  5677. "$asuri": {
  5678. "type": "string",
  5679. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/25.instance"
  5680. },
  5681. "$segments": {
  5682. "type": "map<string,list<string>>",
  5683. "value": {
  5684. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/20.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/25.instance": "M989,273L1061,273",
  5685. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/25.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/24.instance": "M1061,273L1061,355"
  5686. }
  5687. },
  5688. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  5689. },
  5690. "27": {
  5691. "typename": {
  5692. "type": "string",
  5693. "value": "ClassIcon"
  5694. },
  5695. "position": {
  5696. "type": "list<double>",
  5697. "value": [
  5698. 128,
  5699. 356
  5700. ]
  5701. },
  5702. "orientation": {
  5703. "type": "double",
  5704. "value": 0
  5705. },
  5706. "scale": {
  5707. "type": "list<double>",
  5708. "value": [
  5709. 1,
  5710. 1
  5711. ]
  5712. },
  5713. "mapper": {
  5714. "type": "code",
  5715. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  5716. },
  5717. "parser": {
  5718. "type": "code",
  5719. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  5720. },
  5721. "$contents": {
  5722. "type": "map<string,*>",
  5723. "value": {
  5724. "nodes": {
  5725. "96": {
  5726. "width": {
  5727. "type": "double",
  5728. "value": 200
  5729. },
  5730. "height": {
  5731. "type": "double",
  5732. "value": 125
  5733. },
  5734. "cornerRadius": {
  5735. "type": "double",
  5736. "value": 0
  5737. },
  5738. "style": {
  5739. "type": "map<string,string>",
  5740. "value": {
  5741. "stroke": "#000000",
  5742. "stroke-dasharray": "",
  5743. "fill": "#ffffff",
  5744. "fill-opacity": 0.75,
  5745. "stroke-width": 2
  5746. }
  5747. },
  5748. "mapper": {
  5749. "type": "code",
  5750. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  5751. },
  5752. "parser": {
  5753. "type": "code",
  5754. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  5755. },
  5756. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  5757. "position": {
  5758. "type": "list<double>",
  5759. "value": [
  5760. 4,
  5761. 3
  5762. ]
  5763. },
  5764. "orientation": {
  5765. "type": "double",
  5766. "value": 0
  5767. },
  5768. "scale": {
  5769. "type": "list<double>",
  5770. "value": [
  5771. 1,
  5772. 1
  5773. ]
  5774. }
  5775. },
  5776. "97": {
  5777. "segments": {
  5778. "type": "string",
  5779. "value": "m0,0l197,0"
  5780. },
  5781. "style": {
  5782. "type": "map<string,string>",
  5783. "value": {
  5784. "stroke": "#000000",
  5785. "stroke-dasharray": "",
  5786. "fill": "#ffffff",
  5787. "fill-opacity": 0.75,
  5788. "font-size": "20px",
  5789. "stroke-width": 2,
  5790. "arrow-start": "none",
  5791. "arrow-end": "none"
  5792. }
  5793. },
  5794. "mapper": {
  5795. "type": "code",
  5796. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  5797. },
  5798. "parser": {
  5799. "type": "code",
  5800. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  5801. },
  5802. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  5803. "position": {
  5804. "type": "list<double>",
  5805. "value": [
  5806. 6,
  5807. 36
  5808. ]
  5809. },
  5810. "orientation": {
  5811. "type": "double",
  5812. "value": 0
  5813. },
  5814. "scale": {
  5815. "type": "list<double>",
  5816. "value": [
  5817. 1,
  5818. 1
  5819. ]
  5820. }
  5821. },
  5822. "98": {
  5823. "textContent": {
  5824. "type": "string",
  5825. "value": "DevsInstance"
  5826. },
  5827. "style": {
  5828. "type": "map<string,string>",
  5829. "value": {
  5830. "font-size": "18px",
  5831. "font-style": "normal",
  5832. "font-weight": "bold",
  5833. "line-height": "100%",
  5834. "letter-spacing": "0px",
  5835. "word-spacing": "0px",
  5836. "fill": "#000000",
  5837. "fill-opacity": "1",
  5838. "stroke": "none"
  5839. }
  5840. },
  5841. "mapper": {
  5842. "type": "code",
  5843. "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"
  5844. },
  5845. "parser": {
  5846. "type": "code",
  5847. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  5848. },
  5849. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  5850. "position": {
  5851. "type": "list<double>",
  5852. "value": [
  5853. 8,
  5854. 8
  5855. ]
  5856. },
  5857. "orientation": {
  5858. "type": "double",
  5859. "value": 0
  5860. },
  5861. "scale": {
  5862. "type": "list<double>",
  5863. "value": [
  5864. 1,
  5865. 1
  5866. ]
  5867. }
  5868. },
  5869. "99": {
  5870. "textContent": {
  5871. "type": "string",
  5872. "value": "+ name : string\n+ devs_type : string\n+ parameter_binding : list<map<[name,val],[string,string]>> = \n+ position : list<int> = 0,0\n+ scale : list<int> = 0,0"
  5873. },
  5874. "style": {
  5875. "type": "map<string,string>",
  5876. "value": {
  5877. "font-size": "14px",
  5878. "font-style": "normal",
  5879. "font-weight": "bold",
  5880. "line-height": "100%",
  5881. "letter-spacing": "0px",
  5882. "word-spacing": "0px",
  5883. "fill": "#000000",
  5884. "fill-opacity": "1",
  5885. "stroke": "none"
  5886. }
  5887. },
  5888. "mapper": {
  5889. "type": "code",
  5890. "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')})"
  5891. },
  5892. "parser": {
  5893. "type": "code",
  5894. "value": ""
  5895. },
  5896. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  5897. "position": {
  5898. "type": "list<double>",
  5899. "value": [
  5900. 10,
  5901. 41
  5902. ]
  5903. },
  5904. "orientation": {
  5905. "type": "double",
  5906. "value": 0
  5907. },
  5908. "scale": {
  5909. "type": "list<double>",
  5910. "value": [
  5911. 1,
  5912. 1
  5913. ]
  5914. }
  5915. },
  5916. "100": {
  5917. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  5918. "position": {
  5919. "type": "list<double>",
  5920. "value": [
  5921. 68.5,
  5922. 36.5
  5923. ]
  5924. },
  5925. "orientation": {
  5926. "type": "double",
  5927. "value": 0
  5928. },
  5929. "scale": {
  5930. "type": "list<double>",
  5931. "value": [
  5932. 1,
  5933. 1
  5934. ]
  5935. },
  5936. "link-style": {
  5937. "type": "map<string,string>",
  5938. "value": {
  5939. "stroke": "#00ffff",
  5940. "stroke-dasharray": "",
  5941. "stroke-opacity": 0.1,
  5942. "stroke-width": 1
  5943. }
  5944. }
  5945. },
  5946. "101": {
  5947. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  5948. "position": {
  5949. "type": "list<double>",
  5950. "value": [
  5951. 12.5,
  5952. 27
  5953. ]
  5954. },
  5955. "orientation": {
  5956. "type": "double",
  5957. "value": 0
  5958. },
  5959. "scale": {
  5960. "type": "list<double>",
  5961. "value": [
  5962. 1,
  5963. 1
  5964. ]
  5965. },
  5966. "link-style": {
  5967. "type": "map<string,string>",
  5968. "value": {
  5969. "stroke": "#00ffff",
  5970. "stroke-dasharray": "",
  5971. "stroke-opacity": 0.1,
  5972. "stroke-width": 1
  5973. }
  5974. }
  5975. },
  5976. "102": {
  5977. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  5978. "position": {
  5979. "type": "list<double>",
  5980. "value": [
  5981. 53.75,
  5982. 20
  5983. ]
  5984. },
  5985. "orientation": {
  5986. "type": "double",
  5987. "value": 0
  5988. },
  5989. "scale": {
  5990. "type": "list<double>",
  5991. "value": [
  5992. 1,
  5993. 1
  5994. ]
  5995. },
  5996. "link-style": {
  5997. "type": "map<string,string>",
  5998. "value": {
  5999. "stroke": "#00ffff",
  6000. "stroke-dasharray": "",
  6001. "stroke-opacity": 0.1,
  6002. "stroke-width": 1
  6003. }
  6004. }
  6005. }
  6006. },
  6007. "edges": [
  6008. {
  6009. "src": "96",
  6010. "dest": "100"
  6011. },
  6012. {
  6013. "src": "100",
  6014. "dest": "98"
  6015. },
  6016. {
  6017. "src": "96",
  6018. "dest": "101"
  6019. },
  6020. {
  6021. "src": "101",
  6022. "dest": "99"
  6023. },
  6024. {
  6025. "src": "96",
  6026. "dest": "102"
  6027. },
  6028. {
  6029. "src": "102",
  6030. "dest": "97"
  6031. }
  6032. ]
  6033. }
  6034. },
  6035. "$asuri": {
  6036. "type": "string",
  6037. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/27.instance"
  6038. },
  6039. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  6040. },
  6041. "29": {
  6042. "link-style": {
  6043. "type": "map<string,string>",
  6044. "value": {
  6045. "stroke": "#000000",
  6046. "stroke-dasharray": "",
  6047. "stroke-opacity": 1,
  6048. "stroke-width": 2
  6049. }
  6050. },
  6051. "arrowHead": {
  6052. "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)",
  6053. "value": "custom"
  6054. },
  6055. "arrowTail": {
  6056. "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)",
  6057. "value": "arrow-black"
  6058. },
  6059. "typename": {
  6060. "type": "string",
  6061. "value": "AssociationLink"
  6062. },
  6063. "position": {
  6064. "type": "list<double>",
  6065. "value": [
  6066. 417,
  6067. 415
  6068. ]
  6069. },
  6070. "orientation": {
  6071. "type": "double",
  6072. "value": 0
  6073. },
  6074. "scale": {
  6075. "type": "list<double>",
  6076. "value": [
  6077. 1,
  6078. 1
  6079. ]
  6080. },
  6081. "mapper": {
  6082. "type": "code",
  6083. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  6084. },
  6085. "parser": {
  6086. "type": "code",
  6087. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  6088. },
  6089. "$contents": {
  6090. "type": "map<string,*>",
  6091. "value": {
  6092. "nodes": {
  6093. "71": {
  6094. "textContent": {
  6095. "type": "string",
  6096. "value": "ports"
  6097. },
  6098. "style": {
  6099. "type": "map<string,string>",
  6100. "value": {
  6101. "font-size": "20px",
  6102. "font-style": "normal",
  6103. "font-weight": "normal",
  6104. "line-height": "100%",
  6105. "letter-spacing": "0px",
  6106. "word-spacing": "0px",
  6107. "fill": "#000000",
  6108. "fill-opacity": "1",
  6109. "stroke": "none",
  6110. "font-family": "Sans"
  6111. }
  6112. },
  6113. "mapper": {
  6114. "type": "code",
  6115. "value": "({'textContent':getAttr('name')})"
  6116. },
  6117. "parser": {
  6118. "type": "code",
  6119. "value": "({'name':getAttr('textContent')})"
  6120. },
  6121. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  6122. "position": {
  6123. "type": "list<double>",
  6124. "value": [
  6125. "0;-7.687116564417238,0%",
  6126. "0;-28.5,0%"
  6127. ]
  6128. },
  6129. "orientation": {
  6130. "type": "double",
  6131. "value": "0;0"
  6132. },
  6133. "scale": {
  6134. "type": "list<double>",
  6135. "value": [
  6136. 1,
  6137. 1
  6138. ]
  6139. },
  6140. "$linkDecoratorInfo": {
  6141. "type": "map<string,double>",
  6142. "value": {
  6143. "xratio": 0.3803680981595092,
  6144. "yoffset": -28.5
  6145. }
  6146. }
  6147. },
  6148. "74": {
  6149. "textContent": {
  6150. "type": "string",
  6151. "value": "1"
  6152. },
  6153. "style": {
  6154. "type": "map<string,string>",
  6155. "value": {
  6156. "font-size": "20px",
  6157. "font-style": "normal",
  6158. "font-weight": "normal",
  6159. "line-height": "100%",
  6160. "letter-spacing": "0px",
  6161. "word-spacing": "0px",
  6162. "fill": "#000000",
  6163. "fill-opacity": "1",
  6164. "stroke": "none",
  6165. "font-family": "Sans"
  6166. }
  6167. },
  6168. "mapper": {
  6169. "type": "code",
  6170. "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})"
  6171. },
  6172. "parser": {
  6173. "type": "code",
  6174. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  6175. },
  6176. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  6177. "position": {
  6178. "type": "list<double>",
  6179. "value": [
  6180. "0;-70.85276073619644,0%",
  6181. "0;-25.5,0%"
  6182. ]
  6183. },
  6184. "orientation": {
  6185. "type": "double",
  6186. "value": "0;0"
  6187. },
  6188. "scale": {
  6189. "type": "list<double>",
  6190. "value": [
  6191. 1,
  6192. 1
  6193. ]
  6194. },
  6195. "$linkDecoratorInfo": {
  6196. "type": "map<string,double>",
  6197. "value": {
  6198. "xratio": 0.06134969325153374,
  6199. "yoffset": -25.5
  6200. }
  6201. }
  6202. },
  6203. "77": {
  6204. "textContent": {
  6205. "type": "string",
  6206. "value": "*"
  6207. },
  6208. "style": {
  6209. "type": "map<string,string>",
  6210. "value": {
  6211. "font-size": "20px",
  6212. "font-style": "normal",
  6213. "font-weight": "normal",
  6214. "line-height": "100%",
  6215. "letter-spacing": "0px",
  6216. "word-spacing": "0px",
  6217. "fill": "#000000",
  6218. "fill-opacity": "1",
  6219. "stroke": "none",
  6220. "font-family": "Sans"
  6221. }
  6222. },
  6223. "mapper": {
  6224. "type": "code",
  6225. "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})"
  6226. },
  6227. "parser": {
  6228. "type": "code",
  6229. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  6230. },
  6231. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  6232. "position": {
  6233. "type": "list<double>",
  6234. "value": [
  6235. "0;115,100%",
  6236. "0;-23.5,0%"
  6237. ]
  6238. },
  6239. "orientation": {
  6240. "type": "double",
  6241. "value": "0;0"
  6242. },
  6243. "scale": {
  6244. "type": "list<double>",
  6245. "value": [
  6246. 1,
  6247. 1
  6248. ]
  6249. },
  6250. "$linkDecoratorInfo": {
  6251. "type": "map<string,double>",
  6252. "value": {
  6253. "xratio": 1.0245398773006136,
  6254. "yoffset": -23.5
  6255. }
  6256. }
  6257. },
  6258. "140": {
  6259. "segments": {
  6260. "type": "string",
  6261. "value": "m0,0 l20,8 l-20,8"
  6262. },
  6263. "style": {
  6264. "type": "map<string,string>",
  6265. "value": {
  6266. "stroke": "#000000",
  6267. "fill": "#000000",
  6268. "fill-opacity": 0,
  6269. "stroke-width": 1,
  6270. "opacity": 1
  6271. }
  6272. },
  6273. "mapper": {
  6274. "type": "code",
  6275. "value": ""
  6276. },
  6277. "parser": {
  6278. "type": "code",
  6279. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  6280. },
  6281. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  6282. "position": {
  6283. "type": "list<double>",
  6284. "value": [
  6285. "0;115,100%",
  6286. "0;-8,0%"
  6287. ]
  6288. },
  6289. "orientation": {
  6290. "type": "double",
  6291. "value": "0;0"
  6292. },
  6293. "scale": {
  6294. "type": "list<double>",
  6295. "value": [
  6296. 1,
  6297. 1
  6298. ]
  6299. },
  6300. "$linkDecoratorInfo": {
  6301. "type": "map<string,double>",
  6302. "value": {
  6303. "xratio": 1,
  6304. "yoffset": -8
  6305. }
  6306. }
  6307. }
  6308. },
  6309. "edges": []
  6310. }
  6311. },
  6312. "$asuri": {
  6313. "type": "string",
  6314. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/29.instance"
  6315. },
  6316. "$segments": {
  6317. "type": "map<string,list<string>>",
  6318. "value": {
  6319. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/27.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/29.instance": "M333.9999999999999,415L417,415",
  6320. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/29.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/4.instance": "M417,415L532,415"
  6321. }
  6322. },
  6323. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  6324. },
  6325. "31": {
  6326. "link-style": {
  6327. "type": "map<string,string>",
  6328. "value": {
  6329. "stroke": "#000000",
  6330. "stroke-dasharray": "",
  6331. "stroke-opacity": 1,
  6332. "stroke-width": 2
  6333. }
  6334. },
  6335. "arrowHead": {
  6336. "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)",
  6337. "value": "custom"
  6338. },
  6339. "arrowTail": {
  6340. "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)",
  6341. "value": "arrow-black"
  6342. },
  6343. "typename": {
  6344. "type": "string",
  6345. "value": "AssociationLink"
  6346. },
  6347. "position": {
  6348. "type": "list<double>",
  6349. "value": [
  6350. 55,
  6351. 396.10773846938775
  6352. ]
  6353. },
  6354. "orientation": {
  6355. "type": "double",
  6356. "value": 0
  6357. },
  6358. "scale": {
  6359. "type": "list<double>",
  6360. "value": [
  6361. 1,
  6362. 1
  6363. ]
  6364. },
  6365. "mapper": {
  6366. "type": "code",
  6367. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  6368. },
  6369. "parser": {
  6370. "type": "code",
  6371. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  6372. },
  6373. "$contents": {
  6374. "type": "map<string,*>",
  6375. "value": {
  6376. "nodes": {
  6377. "71": {
  6378. "textContent": {
  6379. "type": "string",
  6380. "value": "submodels"
  6381. },
  6382. "style": {
  6383. "type": "map<string,string>",
  6384. "value": {
  6385. "font-size": "20px",
  6386. "font-style": "normal",
  6387. "font-weight": "normal",
  6388. "line-height": "100%",
  6389. "letter-spacing": "0px",
  6390. "word-spacing": "0px",
  6391. "fill": "#000000",
  6392. "fill-opacity": "1",
  6393. "stroke": "none",
  6394. "font-family": "Sans"
  6395. }
  6396. },
  6397. "mapper": {
  6398. "type": "code",
  6399. "value": "({'textContent':getAttr('name')})"
  6400. },
  6401. "parser": {
  6402. "type": "code",
  6403. "value": "({'name':getAttr('textContent')})"
  6404. },
  6405. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  6406. "position": {
  6407. "type": "list<double>",
  6408. "value": [
  6409. "0;28.5,0%",
  6410. "0;-25.948379280529252,0%"
  6411. ]
  6412. },
  6413. "orientation": {
  6414. "type": "double",
  6415. "value": "0;90"
  6416. },
  6417. "scale": {
  6418. "type": "list<double>",
  6419. "value": [
  6420. 1,
  6421. 1
  6422. ]
  6423. },
  6424. "$linkDecoratorInfo": {
  6425. "type": "map<string,double>",
  6426. "value": {
  6427. "xratio": 0.3803680981595092,
  6428. "yoffset": -28.5
  6429. }
  6430. }
  6431. },
  6432. "74": {
  6433. "textContent": {
  6434. "type": "string",
  6435. "value": "1"
  6436. },
  6437. "style": {
  6438. "type": "map<string,string>",
  6439. "value": {
  6440. "font-size": "20px",
  6441. "font-style": "normal",
  6442. "font-weight": "normal",
  6443. "line-height": "100%",
  6444. "letter-spacing": "0px",
  6445. "word-spacing": "0px",
  6446. "fill": "#000000",
  6447. "fill-opacity": "1",
  6448. "stroke": "none",
  6449. "font-family": "Sans"
  6450. }
  6451. },
  6452. "mapper": {
  6453. "type": "code",
  6454. "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})"
  6455. },
  6456. "parser": {
  6457. "type": "code",
  6458. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  6459. },
  6460. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  6461. "position": {
  6462. "type": "list<double>",
  6463. "value": [
  6464. "0;25.5,0%",
  6465. "0;-94.8562289227977,0%"
  6466. ]
  6467. },
  6468. "orientation": {
  6469. "type": "double",
  6470. "value": "0;90"
  6471. },
  6472. "scale": {
  6473. "type": "list<double>",
  6474. "value": [
  6475. 1,
  6476. 1
  6477. ]
  6478. },
  6479. "$linkDecoratorInfo": {
  6480. "type": "map<string,double>",
  6481. "value": {
  6482. "xratio": 0.06134969325153374,
  6483. "yoffset": -25.5
  6484. }
  6485. }
  6486. },
  6487. "77": {
  6488. "textContent": {
  6489. "type": "string",
  6490. "value": "*"
  6491. },
  6492. "style": {
  6493. "type": "map<string,string>",
  6494. "value": {
  6495. "font-size": "20px",
  6496. "font-style": "normal",
  6497. "font-weight": "normal",
  6498. "line-height": "100%",
  6499. "letter-spacing": "0px",
  6500. "word-spacing": "0px",
  6501. "fill": "#000000",
  6502. "fill-opacity": "1",
  6503. "stroke": "none",
  6504. "font-family": "Sans"
  6505. }
  6506. },
  6507. "mapper": {
  6508. "type": "code",
  6509. "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})"
  6510. },
  6511. "parser": {
  6512. "type": "code",
  6513. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  6514. },
  6515. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  6516. "position": {
  6517. "type": "list<double>",
  6518. "value": [
  6519. "0;75.9996056094183,100%",
  6520. "0;8.392261530612245,0%"
  6521. ]
  6522. },
  6523. "orientation": {
  6524. "type": "double",
  6525. "value": "0;0"
  6526. },
  6527. "scale": {
  6528. "type": "list<double>",
  6529. "value": [
  6530. 1,
  6531. 1
  6532. ]
  6533. },
  6534. "$linkDecoratorInfo": {
  6535. "type": "map<string,double>",
  6536. "value": {
  6537. "xratio": 1.0245398773006136,
  6538. "yoffset": -23.5
  6539. }
  6540. }
  6541. },
  6542. "140": {
  6543. "segments": {
  6544. "type": "string",
  6545. "value": "m0,0 l20,8 l-20,8"
  6546. },
  6547. "style": {
  6548. "type": "map<string,string>",
  6549. "value": {
  6550. "stroke": "#000000",
  6551. "fill": "#000000",
  6552. "fill-opacity": 0,
  6553. "stroke-width": 1,
  6554. "opacity": 1
  6555. }
  6556. },
  6557. "mapper": {
  6558. "type": "code",
  6559. "value": ""
  6560. },
  6561. "parser": {
  6562. "type": "code",
  6563. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  6564. },
  6565. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  6566. "position": {
  6567. "type": "list<double>",
  6568. "value": [
  6569. "0;75.9996056094183,100%",
  6570. "0;23.892261530612245,0%"
  6571. ]
  6572. },
  6573. "orientation": {
  6574. "type": "double",
  6575. "value": "0;0"
  6576. },
  6577. "scale": {
  6578. "type": "list<double>",
  6579. "value": [
  6580. 1,
  6581. 1
  6582. ]
  6583. },
  6584. "$linkDecoratorInfo": {
  6585. "type": "map<string,double>",
  6586. "value": {
  6587. "xratio": 1,
  6588. "yoffset": -8
  6589. }
  6590. }
  6591. }
  6592. },
  6593. "edges": []
  6594. }
  6595. },
  6596. "$asuri": {
  6597. "type": "string",
  6598. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/31.instance"
  6599. },
  6600. "$segments": {
  6601. "type": "map<string,list<string>>",
  6602. "value": {
  6603. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/2.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/31.instance": "M55,288L55,396.10773846938775",
  6604. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/31.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/27.instance": "M55,396.10773846938775L55,428L130.9996056094183,428"
  6605. }
  6606. },
  6607. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  6608. }
  6609. },
  6610. "edges": [],
  6611. "metamodels": [
  6612. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons"
  6613. ]
  6614. },
  6615. "asm": {
  6616. "nodes": {
  6617. "0": {
  6618. "name": {
  6619. "type": "string",
  6620. "value": "State"
  6621. },
  6622. "attributes": {
  6623. "type": "list<$ATTRIBUTE>",
  6624. "value": [
  6625. {
  6626. "name": "name",
  6627. "type": "string",
  6628. "default": ""
  6629. },
  6630. {
  6631. "name": "initial",
  6632. "type": "bool",
  6633. "default": false
  6634. },
  6635. {
  6636. "name": "time_advance",
  6637. "type": "code",
  6638. "default": ""
  6639. },
  6640. {
  6641. "name": "output",
  6642. "type": "code",
  6643. "default": ""
  6644. }
  6645. ]
  6646. },
  6647. "constraints": {
  6648. "type": "list<$EVENT_HANDLER>",
  6649. "value": []
  6650. },
  6651. "actions": {
  6652. "type": "list<$EVENT_HANDLER>",
  6653. "value": []
  6654. },
  6655. "cardinalities": {
  6656. "type": "list<$CARDINALITY>",
  6657. "value": [
  6658. {
  6659. "dir": "in",
  6660. "type": "states",
  6661. "min": "1",
  6662. "max": "1"
  6663. }
  6664. ]
  6665. },
  6666. "abstract": {
  6667. "type": "boolean",
  6668. "value": false
  6669. },
  6670. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  6671. },
  6672. "1": {
  6673. "name": {
  6674. "type": "string",
  6675. "value": "BaseDEVS"
  6676. },
  6677. "attributes": {
  6678. "type": "list<$ATTRIBUTE>",
  6679. "value": [
  6680. {
  6681. "name": "name",
  6682. "type": "string",
  6683. "default": ""
  6684. },
  6685. {
  6686. "name": "attributes",
  6687. "type": "list<$ATTRIBUTE>",
  6688. "default": []
  6689. },
  6690. {
  6691. "name": "parameters",
  6692. "type": "list<$ARG>",
  6693. "default": []
  6694. },
  6695. {
  6696. "name": "__init__",
  6697. "type": "code",
  6698. "default": ""
  6699. },
  6700. {
  6701. "name": "position",
  6702. "type": "list<int>",
  6703. "default": [
  6704. 0,
  6705. 0
  6706. ]
  6707. },
  6708. {
  6709. "name": "scale",
  6710. "type": "list<int>",
  6711. "default": [
  6712. 0,
  6713. 0
  6714. ]
  6715. }
  6716. ]
  6717. },
  6718. "constraints": {
  6719. "type": "list<$EVENT_HANDLER>",
  6720. "value": []
  6721. },
  6722. "actions": {
  6723. "type": "list<$EVENT_HANDLER>",
  6724. "value": []
  6725. },
  6726. "cardinalities": {
  6727. "type": "list<$CARDINALITY>",
  6728. "value": []
  6729. },
  6730. "abstract": {
  6731. "type": "boolean",
  6732. "value": true
  6733. },
  6734. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  6735. },
  6736. "2": {
  6737. "name": {
  6738. "type": "string",
  6739. "value": "CoupledDEVS"
  6740. },
  6741. "attributes": {
  6742. "type": "list<$ATTRIBUTE>",
  6743. "value": [
  6744. {
  6745. "name": "select",
  6746. "type": "code",
  6747. "default": "return imm[0]"
  6748. }
  6749. ]
  6750. },
  6751. "constraints": {
  6752. "type": "list<$EVENT_HANDLER>",
  6753. "value": []
  6754. },
  6755. "actions": {
  6756. "type": "list<$EVENT_HANDLER>",
  6757. "value": []
  6758. },
  6759. "cardinalities": {
  6760. "type": "list<$CARDINALITY>",
  6761. "value": []
  6762. },
  6763. "abstract": {
  6764. "type": "boolean",
  6765. "value": false
  6766. },
  6767. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  6768. },
  6769. "3": {
  6770. "name": {
  6771. "type": "string",
  6772. "value": "Event"
  6773. },
  6774. "attributes": {
  6775. "type": "list<$ATTRIBUTE>",
  6776. "value": [
  6777. {
  6778. "name": "name",
  6779. "type": "string",
  6780. "default": ""
  6781. },
  6782. {
  6783. "name": "attributes",
  6784. "type": "list<$ATTRIBUTE>",
  6785. "default": []
  6786. },
  6787. {
  6788. "name": "parameters",
  6789. "type": "list<$ARG>",
  6790. "default": []
  6791. },
  6792. {
  6793. "name": "__init__",
  6794. "type": "code",
  6795. "default": ""
  6796. }
  6797. ]
  6798. },
  6799. "constraints": {
  6800. "type": "list<$EVENT_HANDLER>",
  6801. "value": []
  6802. },
  6803. "actions": {
  6804. "type": "list<$EVENT_HANDLER>",
  6805. "value": []
  6806. },
  6807. "cardinalities": {
  6808. "type": "list<$CARDINALITY>",
  6809. "value": []
  6810. },
  6811. "abstract": {
  6812. "type": "boolean",
  6813. "value": false
  6814. },
  6815. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  6816. },
  6817. "4": {
  6818. "name": {
  6819. "type": "string",
  6820. "value": "Port"
  6821. },
  6822. "attributes": {
  6823. "type": "list<$ATTRIBUTE>",
  6824. "value": [
  6825. {
  6826. "name": "name",
  6827. "type": "string",
  6828. "default": ""
  6829. },
  6830. {
  6831. "name": "position",
  6832. "type": "list<int>",
  6833. "default": [
  6834. 0,
  6835. 0
  6836. ]
  6837. }
  6838. ]
  6839. },
  6840. "constraints": {
  6841. "type": "list<$EVENT_HANDLER>",
  6842. "value": []
  6843. },
  6844. "actions": {
  6845. "type": "list<$EVENT_HANDLER>",
  6846. "value": [
  6847. {
  6848. "name": "snapToTarget",
  6849. "event": "post-connect",
  6850. "code": "/*newline*/var neighborLinks = getNeighbors('*'),/*newline*/ neighborLink = undefined,/*newline*/ to_change = true;/*newline*/if (neighborLinks.length > 0) {/*newline*/ for (var i in neighborLinks) {/*newline*/ if (getAttr('$type', neighborLinks[i]).match(/ports/)) {/*newline*/ neighborLink = neighborLinks[i];/*newline*/ } else if (getAttr('$type', neighborLinks[i]).match(/channel/)) {/*newline*/ to_change = false;/*newline*/ }/*newline*/ }/*newline*/}/*newline*/if ( neighborLink ) {/*newline*/ var neighbor = getNeighbors('<', '*', neighborLink)[0],/*newline*/ npos = getAttr('position', neighbor),/*newline*/ nscale = getAttr('scale', neighbor),/*newline*/ mypos = getAttr('position'),/*newline*/ newpos = mypos;/*newline*/ if (!to_change) {/*newline*/ newpos = mypos;/*newline*/ } else if (mypos[1] > npos[1] + (250 * nscale[1])) {/*newline*/ newpos[1] = npos[1] + (250 * nscale[1]);/*newline*/ if (mypos[0] > npos[0] + (250 * nscale[0])) {/*newline*/ newpos[0] = npos[0] + (250 * nscale[0]) - 50;/*newline*/ } else if (mypos[0] < npos[0]) {/*newline*/ newpos[0] = npos[0] + 50;/*newline*/ }/*newline*/ } else if (mypos[1] < npos[1]) {/*newline*/ newpos[1] = npos[1];/*newline*/ if (mypos[0] > npos[0] + (250 * nscale[0])) {/*newline*/ newpos[0] = npos[0] + (250 * nscale[0]) - 50;/*newline*/ } else if (mypos[0] < npos[0]) {/*newline*/ newpos[0] = npos[0] + 50;/*newline*/ }/*newline*/ } else if (mypos[0] > npos[0] + (250 * nscale[0])) {/*newline*/ newpos[0] = npos[0] + (250 * nscale[0]);/*newline*/ } else if (mypos[0] < npos[0]) {/*newline*/ newpos[0] = npos[0];/*newline*/ }/*newline*/ if (to_change) {/*newline*/ newpos = [newpos[0] - nscale[0] * (2 + nscale[0]), newpos[1] + nscale[1] * (19 + nscale[1])];/*newline*/ }/*newline*/ setAttr('position', newpos);/*newline*/}"
  6851. }
  6852. ]
  6853. },
  6854. "cardinalities": {
  6855. "type": "list<$CARDINALITY>",
  6856. "value": [
  6857. {
  6858. "dir": "in",
  6859. "type": "ports",
  6860. "min": "1",
  6861. "max": "1"
  6862. },
  6863. {
  6864. "dir": "in",
  6865. "type": "channel",
  6866. "min": "0",
  6867. "max": "*"
  6868. },
  6869. {
  6870. "dir": "out",
  6871. "type": "channel",
  6872. "min": "0",
  6873. "max": "*"
  6874. }
  6875. ]
  6876. },
  6877. "abstract": {
  6878. "type": "boolean",
  6879. "value": true
  6880. },
  6881. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  6882. },
  6883. "5": {
  6884. "name": {
  6885. "type": "string",
  6886. "value": "InputPort"
  6887. },
  6888. "attributes": {
  6889. "type": "list<$ATTRIBUTE>",
  6890. "value": []
  6891. },
  6892. "constraints": {
  6893. "type": "list<$EVENT_HANDLER>",
  6894. "value": []
  6895. },
  6896. "actions": {
  6897. "type": "list<$EVENT_HANDLER>",
  6898. "value": []
  6899. },
  6900. "cardinalities": {
  6901. "type": "list<$CARDINALITY>",
  6902. "value": []
  6903. },
  6904. "abstract": {
  6905. "type": "boolean",
  6906. "value": false
  6907. },
  6908. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  6909. },
  6910. "7": {
  6911. "name": {
  6912. "type": "string",
  6913. "value": "OutputPort"
  6914. },
  6915. "attributes": {
  6916. "type": "list<$ATTRIBUTE>",
  6917. "value": []
  6918. },
  6919. "constraints": {
  6920. "type": "list<$EVENT_HANDLER>",
  6921. "value": []
  6922. },
  6923. "actions": {
  6924. "type": "list<$EVENT_HANDLER>",
  6925. "value": []
  6926. },
  6927. "cardinalities": {
  6928. "type": "list<$CARDINALITY>",
  6929. "value": []
  6930. },
  6931. "abstract": {
  6932. "type": "boolean",
  6933. "value": false
  6934. },
  6935. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  6936. },
  6937. "8": {
  6938. "name": {
  6939. "type": "string",
  6940. "value": "Simulation"
  6941. },
  6942. "attributes": {
  6943. "type": "list<$ATTRIBUTE>",
  6944. "value": [
  6945. {
  6946. "name": "end_condition",
  6947. "type": "code",
  6948. "default": ""
  6949. }
  6950. ]
  6951. },
  6952. "constraints": {
  6953. "type": "list<$EVENT_HANDLER>",
  6954. "value": []
  6955. },
  6956. "actions": {
  6957. "type": "list<$EVENT_HANDLER>",
  6958. "value": []
  6959. },
  6960. "cardinalities": {
  6961. "type": "list<$CARDINALITY>",
  6962. "value": []
  6963. },
  6964. "abstract": {
  6965. "type": "boolean",
  6966. "value": false
  6967. },
  6968. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  6969. },
  6970. "11": {
  6971. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance"
  6972. },
  6973. "14": {
  6974. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance"
  6975. },
  6976. "15": {
  6977. "name": {
  6978. "type": "string",
  6979. "value": "InternalTransition"
  6980. },
  6981. "attributes": {
  6982. "type": "list<$ATTRIBUTE>",
  6983. "value": [
  6984. {
  6985. "name": "condition",
  6986. "type": "code",
  6987. "default": ""
  6988. },
  6989. {
  6990. "name": "action",
  6991. "type": "code",
  6992. "default": ""
  6993. }
  6994. ]
  6995. },
  6996. "constraints": {
  6997. "type": "list<$EVENT_HANDLER>",
  6998. "value": []
  6999. },
  7000. "actions": {
  7001. "type": "list<$EVENT_HANDLER>",
  7002. "value": []
  7003. },
  7004. "cardinalities": {
  7005. "type": "list<$CARDINALITY>",
  7006. "value": []
  7007. },
  7008. "linktype": {
  7009. "type": "ENUM(visual,containment)",
  7010. "value": "visual"
  7011. },
  7012. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  7013. },
  7014. "16": {
  7015. "name": {
  7016. "type": "string",
  7017. "value": "ExternalTransition"
  7018. },
  7019. "attributes": {
  7020. "type": "list<$ATTRIBUTE>",
  7021. "value": [
  7022. {
  7023. "name": "condition",
  7024. "type": "code",
  7025. "default": ""
  7026. },
  7027. {
  7028. "name": "action",
  7029. "type": "code",
  7030. "default": ""
  7031. }
  7032. ]
  7033. },
  7034. "constraints": {
  7035. "type": "list<$EVENT_HANDLER>",
  7036. "value": []
  7037. },
  7038. "actions": {
  7039. "type": "list<$EVENT_HANDLER>",
  7040. "value": []
  7041. },
  7042. "cardinalities": {
  7043. "type": "list<$CARDINALITY>",
  7044. "value": []
  7045. },
  7046. "linktype": {
  7047. "type": "ENUM(visual,containment)",
  7048. "value": "visual"
  7049. },
  7050. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  7051. },
  7052. "18": {
  7053. "name": {
  7054. "type": "string",
  7055. "value": "ports"
  7056. },
  7057. "attributes": {
  7058. "type": "list<$ATTRIBUTE>",
  7059. "value": []
  7060. },
  7061. "constraints": {
  7062. "type": "list<$EVENT_HANDLER>",
  7063. "value": []
  7064. },
  7065. "actions": {
  7066. "type": "list<$EVENT_HANDLER>",
  7067. "value": []
  7068. },
  7069. "cardinalities": {
  7070. "type": "list<$CARDINALITY>",
  7071. "value": []
  7072. },
  7073. "linktype": {
  7074. "type": "ENUM(visual,containment)",
  7075. "value": "visual"
  7076. },
  7077. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  7078. },
  7079. "19": {
  7080. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance"
  7081. },
  7082. "20": {
  7083. "name": {
  7084. "type": "string",
  7085. "value": "AtomicDEVS"
  7086. },
  7087. "attributes": {
  7088. "type": "list<$ATTRIBUTE>",
  7089. "value": []
  7090. },
  7091. "constraints": {
  7092. "type": "list<$EVENT_HANDLER>",
  7093. "value": []
  7094. },
  7095. "actions": {
  7096. "type": "list<$EVENT_HANDLER>",
  7097. "value": []
  7098. },
  7099. "cardinalities": {
  7100. "type": "list<$CARDINALITY>",
  7101. "value": [
  7102. {
  7103. "dir": "out",
  7104. "type": "statedef",
  7105. "min": "1",
  7106. "max": "1"
  7107. }
  7108. ]
  7109. },
  7110. "abstract": {
  7111. "type": "boolean",
  7112. "value": false
  7113. },
  7114. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  7115. },
  7116. "21": {
  7117. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance"
  7118. },
  7119. "22": {
  7120. "name": {
  7121. "type": "string",
  7122. "value": "states"
  7123. },
  7124. "attributes": {
  7125. "type": "list<$ATTRIBUTE>",
  7126. "value": []
  7127. },
  7128. "constraints": {
  7129. "type": "list<$EVENT_HANDLER>",
  7130. "value": []
  7131. },
  7132. "actions": {
  7133. "type": "list<$EVENT_HANDLER>",
  7134. "value": []
  7135. },
  7136. "cardinalities": {
  7137. "type": "list<$CARDINALITY>",
  7138. "value": []
  7139. },
  7140. "linktype": {
  7141. "type": "ENUM(visual,containment)",
  7142. "value": "containment"
  7143. },
  7144. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  7145. },
  7146. "23": {
  7147. "name": {
  7148. "type": "string",
  7149. "value": "channel"
  7150. },
  7151. "attributes": {
  7152. "type": "list<$ATTRIBUTE>",
  7153. "value": [
  7154. {
  7155. "name": "transfer_function",
  7156. "type": "code",
  7157. "default": ""
  7158. }
  7159. ]
  7160. },
  7161. "constraints": {
  7162. "type": "list<$EVENT_HANDLER>",
  7163. "value": []
  7164. },
  7165. "actions": {
  7166. "type": "list<$EVENT_HANDLER>",
  7167. "value": []
  7168. },
  7169. "cardinalities": {
  7170. "type": "list<$CARDINALITY>",
  7171. "value": []
  7172. },
  7173. "linktype": {
  7174. "type": "ENUM(visual,containment)",
  7175. "value": "visual"
  7176. },
  7177. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  7178. },
  7179. "24": {
  7180. "name": {
  7181. "type": "string",
  7182. "value": "StateDefinition"
  7183. },
  7184. "attributes": {
  7185. "type": "list<$ATTRIBUTE>",
  7186. "value": [
  7187. {
  7188. "name": "name",
  7189. "type": "string",
  7190. "default": ""
  7191. },
  7192. {
  7193. "name": "attributes",
  7194. "type": "list<$ATTRIBUTE>",
  7195. "default": []
  7196. },
  7197. {
  7198. "name": "parameters",
  7199. "type": "list<$ARG>",
  7200. "default": []
  7201. },
  7202. {
  7203. "name": "initial_binding",
  7204. "type": "list<map<[name,val],[string,string]>>",
  7205. "default": []
  7206. },
  7207. {
  7208. "name": "__init__",
  7209. "type": "code",
  7210. "default": ""
  7211. }
  7212. ]
  7213. },
  7214. "constraints": {
  7215. "type": "list<$EVENT_HANDLER>",
  7216. "value": []
  7217. },
  7218. "actions": {
  7219. "type": "list<$EVENT_HANDLER>",
  7220. "value": []
  7221. },
  7222. "cardinalities": {
  7223. "type": "list<$CARDINALITY>",
  7224. "value": []
  7225. },
  7226. "abstract": {
  7227. "type": "boolean",
  7228. "value": false
  7229. },
  7230. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  7231. },
  7232. "25": {
  7233. "name": {
  7234. "type": "string",
  7235. "value": "statedef"
  7236. },
  7237. "attributes": {
  7238. "type": "list<$ATTRIBUTE>",
  7239. "value": []
  7240. },
  7241. "constraints": {
  7242. "type": "list<$EVENT_HANDLER>",
  7243. "value": []
  7244. },
  7245. "actions": {
  7246. "type": "list<$EVENT_HANDLER>",
  7247. "value": []
  7248. },
  7249. "cardinalities": {
  7250. "type": "list<$CARDINALITY>",
  7251. "value": []
  7252. },
  7253. "linktype": {
  7254. "type": "ENUM(visual,containment)",
  7255. "value": "visual"
  7256. },
  7257. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  7258. },
  7259. "27": {
  7260. "name": {
  7261. "type": "string",
  7262. "value": "DevsInstance"
  7263. },
  7264. "attributes": {
  7265. "type": "list<$ATTRIBUTE>",
  7266. "value": [
  7267. {
  7268. "name": "name",
  7269. "type": "string",
  7270. "default": ""
  7271. },
  7272. {
  7273. "name": "devs_type",
  7274. "type": "string",
  7275. "default": ""
  7276. },
  7277. {
  7278. "name": "parameter_binding",
  7279. "type": "list<map<[name,val],[string,string]>>",
  7280. "default": []
  7281. },
  7282. {
  7283. "name": "position",
  7284. "type": "list<int>",
  7285. "default": [
  7286. 0,
  7287. 0
  7288. ]
  7289. },
  7290. {
  7291. "name": "scale",
  7292. "type": "list<int>",
  7293. "default": [
  7294. 0,
  7295. 0
  7296. ]
  7297. }
  7298. ]
  7299. },
  7300. "constraints": {
  7301. "type": "list<$EVENT_HANDLER>",
  7302. "value": []
  7303. },
  7304. "actions": {
  7305. "type": "list<$EVENT_HANDLER>",
  7306. "value": [
  7307. {
  7308. "name": "snapToTarget",
  7309. "event": "post-connect",
  7310. "code": "/*newline*/var neighborLinks = getNeighbors('*'),/*newline*/ neighborLink = undefined,/*newline*/ to_change = true;/*newline*/if (neighborLinks.length > 0) {/*newline*/ for (var i in neighborLinks) {/*newline*/ if (getAttr('$type', neighborLinks[i]).match(/ports/)) {/*newline*/ neighborLink = neighborLinks[i];/*newline*/ } else if (getAttr('$type', neighborLinks[i]).match(/channel/)) {/*newline*/ to_change = false;/*newline*/ }/*newline*/ }/*newline*/}/*newline*/if ( neighborLink ) {/*newline*/ var neighbor = getNeighbors('<', '*', neighborLink)[0],/*newline*/ npos = getAttr('position', neighbor),/*newline*/ nscale = getAttr('scale', neighbor),/*newline*/ mypos = getAttr('position'),/*newline*/ newpos = mypos;/*newline*/ if (!to_change) {/*newline*/ newpos = mypos;/*newline*/ } else if (mypos[1] > npos[1] + (250 * nscale[1])) {/*newline*/ newpos[1] = npos[1] + (250 * nscale[1]);/*newline*/ if (mypos[0] > npos[0] + (250 * nscale[0])) {/*newline*/ newpos[0] = npos[0] + (250 * nscale[0]) - 50;/*newline*/ } else if (mypos[0] < npos[0]) {/*newline*/ newpos[0] = npos[0] + 50;/*newline*/ }/*newline*/ } else if (mypos[1] < npos[1]) {/*newline*/ newpos[1] = npos[1];/*newline*/ if (mypos[0] > npos[0] + (250 * nscale[0])) {/*newline*/ newpos[0] = npos[0] + (250 * nscale[0]) - 50;/*newline*/ } else if (mypos[0] < npos[0]) {/*newline*/ newpos[0] = npos[0] + 50;/*newline*/ }/*newline*/ } else if (mypos[0] > npos[0] + (250 * nscale[0])) {/*newline*/ newpos[0] = npos[0] + (250 * nscale[0]);/*newline*/ } else if (mypos[0] < npos[0]) {/*newline*/ newpos[0] = npos[0];/*newline*/ }/*newline*/ if (to_change) {/*newline*/ newpos = [newpos[0] - nscale[0] * (2 + nscale[0]), newpos[1] + nscale[1] * (19 + nscale[1])];/*newline*/ }/*newline*/ setAttr('position', newpos);/*newline*/}"
  7311. }
  7312. ]
  7313. },
  7314. "cardinalities": {
  7315. "type": "list<$CARDINALITY>",
  7316. "value": [
  7317. {
  7318. "dir": "in",
  7319. "type": "submodels",
  7320. "min": "1",
  7321. "max": "1"
  7322. }
  7323. ]
  7324. },
  7325. "abstract": {
  7326. "type": "boolean",
  7327. "value": false
  7328. },
  7329. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  7330. },
  7331. "29": {
  7332. "name": {
  7333. "type": "string",
  7334. "value": "ports"
  7335. },
  7336. "attributes": {
  7337. "type": "list<$ATTRIBUTE>",
  7338. "value": []
  7339. },
  7340. "constraints": {
  7341. "type": "list<$EVENT_HANDLER>",
  7342. "value": []
  7343. },
  7344. "actions": {
  7345. "type": "list<$EVENT_HANDLER>",
  7346. "value": []
  7347. },
  7348. "cardinalities": {
  7349. "type": "list<$CARDINALITY>",
  7350. "value": []
  7351. },
  7352. "linktype": {
  7353. "type": "ENUM(visual,containment)",
  7354. "value": "visual"
  7355. },
  7356. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  7357. },
  7358. "31": {
  7359. "name": {
  7360. "type": "string",
  7361. "value": "submodels"
  7362. },
  7363. "attributes": {
  7364. "type": "list<$ATTRIBUTE>",
  7365. "value": []
  7366. },
  7367. "constraints": {
  7368. "type": "list<$EVENT_HANDLER>",
  7369. "value": []
  7370. },
  7371. "actions": {
  7372. "type": "list<$EVENT_HANDLER>",
  7373. "value": []
  7374. },
  7375. "cardinalities": {
  7376. "type": "list<$CARDINALITY>",
  7377. "value": []
  7378. },
  7379. "linktype": {
  7380. "type": "ENUM(visual,containment)",
  7381. "value": "containment"
  7382. },
  7383. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  7384. }
  7385. },
  7386. "edges": [
  7387. {
  7388. "src": "5",
  7389. "dest": "11"
  7390. },
  7391. {
  7392. "src": "11",
  7393. "dest": "4"
  7394. },
  7395. {
  7396. "src": "7",
  7397. "dest": "14"
  7398. },
  7399. {
  7400. "src": "14",
  7401. "dest": "4"
  7402. },
  7403. {
  7404. "src": "0",
  7405. "dest": "15"
  7406. },
  7407. {
  7408. "src": "15",
  7409. "dest": "0"
  7410. },
  7411. {
  7412. "src": "0",
  7413. "dest": "16"
  7414. },
  7415. {
  7416. "src": "16",
  7417. "dest": "0"
  7418. },
  7419. {
  7420. "src": "1",
  7421. "dest": "18"
  7422. },
  7423. {
  7424. "src": "18",
  7425. "dest": "4"
  7426. },
  7427. {
  7428. "src": "2",
  7429. "dest": "19"
  7430. },
  7431. {
  7432. "src": "19",
  7433. "dest": "1"
  7434. },
  7435. {
  7436. "src": "20",
  7437. "dest": "21"
  7438. },
  7439. {
  7440. "src": "21",
  7441. "dest": "1"
  7442. },
  7443. {
  7444. "src": "20",
  7445. "dest": "22"
  7446. },
  7447. {
  7448. "src": "22",
  7449. "dest": "0"
  7450. },
  7451. {
  7452. "src": "4",
  7453. "dest": "23"
  7454. },
  7455. {
  7456. "src": "23",
  7457. "dest": "4"
  7458. },
  7459. {
  7460. "src": "20",
  7461. "dest": "25"
  7462. },
  7463. {
  7464. "src": "25",
  7465. "dest": "24"
  7466. },
  7467. {
  7468. "src": "27",
  7469. "dest": "29"
  7470. },
  7471. {
  7472. "src": "29",
  7473. "dest": "4"
  7474. },
  7475. {
  7476. "src": "2",
  7477. "dest": "31"
  7478. },
  7479. {
  7480. "src": "31",
  7481. "dest": "27"
  7482. }
  7483. ],
  7484. "metamodels": [
  7485. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram"
  7486. ]
  7487. }
  7488. }