.autosave.ParallelDEVS.model 218 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824
  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\n+ position : list<int> = 0,0"
  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": ""
  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. "26": {
  5691. "link-style": {
  5692. "type": "map<string,string>",
  5693. "value": {
  5694. "stroke": "#000000",
  5695. "stroke-dasharray": "",
  5696. "stroke-opacity": 1,
  5697. "stroke-width": 2
  5698. }
  5699. },
  5700. "arrowHead": {
  5701. "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)",
  5702. "value": "custom"
  5703. },
  5704. "arrowTail": {
  5705. "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)",
  5706. "value": "arrow-black"
  5707. },
  5708. "typename": {
  5709. "type": "string",
  5710. "value": "AssociationLink"
  5711. },
  5712. "position": {
  5713. "type": "list<double>",
  5714. "value": [
  5715. 1213.6002840236683,
  5716. 321
  5717. ]
  5718. },
  5719. "orientation": {
  5720. "type": "double",
  5721. "value": 0
  5722. },
  5723. "scale": {
  5724. "type": "list<double>",
  5725. "value": [
  5726. 1,
  5727. 1
  5728. ]
  5729. },
  5730. "mapper": {
  5731. "type": "code",
  5732. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  5733. },
  5734. "parser": {
  5735. "type": "code",
  5736. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  5737. },
  5738. "$contents": {
  5739. "type": "map<string,*>",
  5740. "value": {
  5741. "nodes": {
  5742. "71": {
  5743. "textContent": {
  5744. "type": "string",
  5745. "value": "ConfluentTransition"
  5746. },
  5747. "style": {
  5748. "type": "map<string,string>",
  5749. "value": {
  5750. "font-size": "20px",
  5751. "font-style": "normal",
  5752. "font-weight": "normal",
  5753. "line-height": "100%",
  5754. "letter-spacing": "0px",
  5755. "word-spacing": "0px",
  5756. "fill": "#000000",
  5757. "fill-opacity": "1",
  5758. "stroke": "none",
  5759. "font-family": "Sans"
  5760. }
  5761. },
  5762. "mapper": {
  5763. "type": "code",
  5764. "value": "({'textContent':getAttr('name')})"
  5765. },
  5766. "parser": {
  5767. "type": "code",
  5768. "value": "({'name':getAttr('textContent')})"
  5769. },
  5770. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  5771. "position": {
  5772. "type": "list<double>",
  5773. "value": [
  5774. "0;-13.14049628511566,0%",
  5775. "0;-28.5,0%"
  5776. ]
  5777. },
  5778. "orientation": {
  5779. "type": "double",
  5780. "value": "0;0"
  5781. },
  5782. "scale": {
  5783. "type": "list<double>",
  5784. "value": [
  5785. 1,
  5786. 1
  5787. ]
  5788. },
  5789. "$linkDecoratorInfo": {
  5790. "type": "map<string,double>",
  5791. "value": {
  5792. "xratio": 0.3803680981595092,
  5793. "yoffset": -28.5
  5794. }
  5795. }
  5796. },
  5797. "74": {
  5798. "textContent": {
  5799. "type": "string",
  5800. "value": "*"
  5801. },
  5802. "style": {
  5803. "type": "map<string,string>",
  5804. "value": {
  5805. "font-size": "20px",
  5806. "font-style": "normal",
  5807. "font-weight": "normal",
  5808. "line-height": "100%",
  5809. "letter-spacing": "0px",
  5810. "word-spacing": "0px",
  5811. "fill": "#000000",
  5812. "fill-opacity": "1",
  5813. "stroke": "none",
  5814. "font-family": "Sans"
  5815. }
  5816. },
  5817. "mapper": {
  5818. "type": "code",
  5819. "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})"
  5820. },
  5821. "parser": {
  5822. "type": "code",
  5823. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  5824. },
  5825. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  5826. "position": {
  5827. "type": "list<double>",
  5828. "value": [
  5829. "0;6.899715976331663,0%",
  5830. "0;-29.312937461523745,0%"
  5831. ]
  5832. },
  5833. "orientation": {
  5834. "type": "double",
  5835. "value": "0;90"
  5836. },
  5837. "scale": {
  5838. "type": "list<double>",
  5839. "value": [
  5840. 1,
  5841. 1
  5842. ]
  5843. },
  5844. "$linkDecoratorInfo": {
  5845. "type": "map<string,double>",
  5846. "value": {
  5847. "xratio": 0.06134969325153374,
  5848. "yoffset": -25.5
  5849. }
  5850. }
  5851. },
  5852. "77": {
  5853. "textContent": {
  5854. "type": "string",
  5855. "value": "*"
  5856. },
  5857. "style": {
  5858. "type": "map<string,string>",
  5859. "value": {
  5860. "font-size": "20px",
  5861. "font-style": "normal",
  5862. "font-weight": "normal",
  5863. "line-height": "100%",
  5864. "letter-spacing": "0px",
  5865. "word-spacing": "0px",
  5866. "fill": "#000000",
  5867. "fill-opacity": "1",
  5868. "stroke": "none",
  5869. "font-family": "Sans"
  5870. }
  5871. },
  5872. "mapper": {
  5873. "type": "code",
  5874. "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})"
  5875. },
  5876. "parser": {
  5877. "type": "code",
  5878. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  5879. },
  5880. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  5881. "position": {
  5882. "type": "list<double>",
  5883. "value": [
  5884. "0;-3.100284023668337,6.123031769111886e-15%",
  5885. "0;-33.99911937716263,-100%"
  5886. ]
  5887. },
  5888. "orientation": {
  5889. "type": "double",
  5890. "value": "0;-90"
  5891. },
  5892. "scale": {
  5893. "type": "list<double>",
  5894. "value": [
  5895. 1,
  5896. 1
  5897. ]
  5898. },
  5899. "$linkDecoratorInfo": {
  5900. "type": "map<string,double>",
  5901. "value": {
  5902. "xratio": 1.0245398773006136,
  5903. "yoffset": -23.5
  5904. }
  5905. }
  5906. },
  5907. "140": {
  5908. "segments": {
  5909. "type": "string",
  5910. "value": "m0,0 l20,8 l-20,8"
  5911. },
  5912. "style": {
  5913. "type": "map<string,string>",
  5914. "value": {
  5915. "stroke": "#000000",
  5916. "fill": "#000000",
  5917. "fill-opacity": 0,
  5918. "stroke-width": 1,
  5919. "opacity": 1
  5920. }
  5921. },
  5922. "mapper": {
  5923. "type": "code",
  5924. "value": ""
  5925. },
  5926. "parser": {
  5927. "type": "code",
  5928. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  5929. },
  5930. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  5931. "position": {
  5932. "type": "list<double>",
  5933. "value": [
  5934. "0;12.399715976331663,6.123031769111886e-15%",
  5935. "0;-33.99911937716263,-100%"
  5936. ]
  5937. },
  5938. "orientation": {
  5939. "type": "double",
  5940. "value": "0;-90"
  5941. },
  5942. "scale": {
  5943. "type": "list<double>",
  5944. "value": [
  5945. 1,
  5946. 1
  5947. ]
  5948. },
  5949. "$linkDecoratorInfo": {
  5950. "type": "map<string,double>",
  5951. "value": {
  5952. "xratio": 1,
  5953. "yoffset": -8
  5954. }
  5955. }
  5956. }
  5957. },
  5958. "edges": []
  5959. }
  5960. },
  5961. "$asuri": {
  5962. "type": "string",
  5963. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/26.instance"
  5964. },
  5965. "$segments": {
  5966. "type": "map<string,list<string>>",
  5967. "value": {
  5968. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/0.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/26.instance": "M1195,285L1195,321L1213.6002840236683,321",
  5969. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/26.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/0.instance": "M1213.6002840236683,321L1234,321L1234,287.00088062283737"
  5970. }
  5971. },
  5972. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  5973. },
  5974. "27": {
  5975. "typename": {
  5976. "type": "string",
  5977. "value": "ClassIcon"
  5978. },
  5979. "position": {
  5980. "type": "list<double>",
  5981. "value": [
  5982. 128,
  5983. 356
  5984. ]
  5985. },
  5986. "orientation": {
  5987. "type": "double",
  5988. "value": 0
  5989. },
  5990. "scale": {
  5991. "type": "list<double>",
  5992. "value": [
  5993. 1,
  5994. 1
  5995. ]
  5996. },
  5997. "mapper": {
  5998. "type": "code",
  5999. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  6000. },
  6001. "parser": {
  6002. "type": "code",
  6003. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  6004. },
  6005. "$contents": {
  6006. "type": "map<string,*>",
  6007. "value": {
  6008. "nodes": {
  6009. "96": {
  6010. "width": {
  6011. "type": "double",
  6012. "value": 200
  6013. },
  6014. "height": {
  6015. "type": "double",
  6016. "value": 125
  6017. },
  6018. "cornerRadius": {
  6019. "type": "double",
  6020. "value": 0
  6021. },
  6022. "style": {
  6023. "type": "map<string,string>",
  6024. "value": {
  6025. "stroke": "#000000",
  6026. "stroke-dasharray": "",
  6027. "fill": "#ffffff",
  6028. "fill-opacity": 0.75,
  6029. "stroke-width": 2
  6030. }
  6031. },
  6032. "mapper": {
  6033. "type": "code",
  6034. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  6035. },
  6036. "parser": {
  6037. "type": "code",
  6038. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  6039. },
  6040. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  6041. "position": {
  6042. "type": "list<double>",
  6043. "value": [
  6044. 4,
  6045. 3
  6046. ]
  6047. },
  6048. "orientation": {
  6049. "type": "double",
  6050. "value": 0
  6051. },
  6052. "scale": {
  6053. "type": "list<double>",
  6054. "value": [
  6055. 1,
  6056. 1
  6057. ]
  6058. }
  6059. },
  6060. "97": {
  6061. "segments": {
  6062. "type": "string",
  6063. "value": "m0,0l197,0"
  6064. },
  6065. "style": {
  6066. "type": "map<string,string>",
  6067. "value": {
  6068. "stroke": "#000000",
  6069. "stroke-dasharray": "",
  6070. "fill": "#ffffff",
  6071. "fill-opacity": 0.75,
  6072. "font-size": "20px",
  6073. "stroke-width": 2,
  6074. "arrow-start": "none",
  6075. "arrow-end": "none"
  6076. }
  6077. },
  6078. "mapper": {
  6079. "type": "code",
  6080. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  6081. },
  6082. "parser": {
  6083. "type": "code",
  6084. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  6085. },
  6086. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  6087. "position": {
  6088. "type": "list<double>",
  6089. "value": [
  6090. 6,
  6091. 36
  6092. ]
  6093. },
  6094. "orientation": {
  6095. "type": "double",
  6096. "value": 0
  6097. },
  6098. "scale": {
  6099. "type": "list<double>",
  6100. "value": [
  6101. 1,
  6102. 1
  6103. ]
  6104. }
  6105. },
  6106. "98": {
  6107. "textContent": {
  6108. "type": "string",
  6109. "value": "DevsInstance"
  6110. },
  6111. "style": {
  6112. "type": "map<string,string>",
  6113. "value": {
  6114. "font-size": "18px",
  6115. "font-style": "normal",
  6116. "font-weight": "bold",
  6117. "line-height": "100%",
  6118. "letter-spacing": "0px",
  6119. "word-spacing": "0px",
  6120. "fill": "#000000",
  6121. "fill-opacity": "1",
  6122. "stroke": "none"
  6123. }
  6124. },
  6125. "mapper": {
  6126. "type": "code",
  6127. "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"
  6128. },
  6129. "parser": {
  6130. "type": "code",
  6131. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  6132. },
  6133. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  6134. "position": {
  6135. "type": "list<double>",
  6136. "value": [
  6137. 8,
  6138. 8
  6139. ]
  6140. },
  6141. "orientation": {
  6142. "type": "double",
  6143. "value": 0
  6144. },
  6145. "scale": {
  6146. "type": "list<double>",
  6147. "value": [
  6148. 1,
  6149. 1
  6150. ]
  6151. }
  6152. },
  6153. "99": {
  6154. "textContent": {
  6155. "type": "string",
  6156. "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"
  6157. },
  6158. "style": {
  6159. "type": "map<string,string>",
  6160. "value": {
  6161. "font-size": "14px",
  6162. "font-style": "normal",
  6163. "font-weight": "bold",
  6164. "line-height": "100%",
  6165. "letter-spacing": "0px",
  6166. "word-spacing": "0px",
  6167. "fill": "#000000",
  6168. "fill-opacity": "1",
  6169. "stroke": "none"
  6170. }
  6171. },
  6172. "mapper": {
  6173. "type": "code",
  6174. "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')})"
  6175. },
  6176. "parser": {
  6177. "type": "code",
  6178. "value": ""
  6179. },
  6180. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  6181. "position": {
  6182. "type": "list<double>",
  6183. "value": [
  6184. 10,
  6185. 41
  6186. ]
  6187. },
  6188. "orientation": {
  6189. "type": "double",
  6190. "value": 0
  6191. },
  6192. "scale": {
  6193. "type": "list<double>",
  6194. "value": [
  6195. 1,
  6196. 1
  6197. ]
  6198. }
  6199. },
  6200. "100": {
  6201. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  6202. "position": {
  6203. "type": "list<double>",
  6204. "value": [
  6205. 68.5,
  6206. 36.5
  6207. ]
  6208. },
  6209. "orientation": {
  6210. "type": "double",
  6211. "value": 0
  6212. },
  6213. "scale": {
  6214. "type": "list<double>",
  6215. "value": [
  6216. 1,
  6217. 1
  6218. ]
  6219. },
  6220. "link-style": {
  6221. "type": "map<string,string>",
  6222. "value": {
  6223. "stroke": "#00ffff",
  6224. "stroke-dasharray": "",
  6225. "stroke-opacity": 0.1,
  6226. "stroke-width": 1
  6227. }
  6228. }
  6229. },
  6230. "101": {
  6231. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  6232. "position": {
  6233. "type": "list<double>",
  6234. "value": [
  6235. 12.5,
  6236. 27
  6237. ]
  6238. },
  6239. "orientation": {
  6240. "type": "double",
  6241. "value": 0
  6242. },
  6243. "scale": {
  6244. "type": "list<double>",
  6245. "value": [
  6246. 1,
  6247. 1
  6248. ]
  6249. },
  6250. "link-style": {
  6251. "type": "map<string,string>",
  6252. "value": {
  6253. "stroke": "#00ffff",
  6254. "stroke-dasharray": "",
  6255. "stroke-opacity": 0.1,
  6256. "stroke-width": 1
  6257. }
  6258. }
  6259. },
  6260. "102": {
  6261. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  6262. "position": {
  6263. "type": "list<double>",
  6264. "value": [
  6265. 53.75,
  6266. 20
  6267. ]
  6268. },
  6269. "orientation": {
  6270. "type": "double",
  6271. "value": 0
  6272. },
  6273. "scale": {
  6274. "type": "list<double>",
  6275. "value": [
  6276. 1,
  6277. 1
  6278. ]
  6279. },
  6280. "link-style": {
  6281. "type": "map<string,string>",
  6282. "value": {
  6283. "stroke": "#00ffff",
  6284. "stroke-dasharray": "",
  6285. "stroke-opacity": 0.1,
  6286. "stroke-width": 1
  6287. }
  6288. }
  6289. }
  6290. },
  6291. "edges": [
  6292. {
  6293. "src": "96",
  6294. "dest": "100"
  6295. },
  6296. {
  6297. "src": "100",
  6298. "dest": "98"
  6299. },
  6300. {
  6301. "src": "96",
  6302. "dest": "101"
  6303. },
  6304. {
  6305. "src": "101",
  6306. "dest": "99"
  6307. },
  6308. {
  6309. "src": "96",
  6310. "dest": "102"
  6311. },
  6312. {
  6313. "src": "102",
  6314. "dest": "97"
  6315. }
  6316. ]
  6317. }
  6318. },
  6319. "$asuri": {
  6320. "type": "string",
  6321. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/27.instance"
  6322. },
  6323. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon"
  6324. },
  6325. "29": {
  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. 417,
  6351. 415
  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": "ports"
  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;-7.687116564417238,0%",
  6410. "0;-28.5,0%"
  6411. ]
  6412. },
  6413. "orientation": {
  6414. "type": "double",
  6415. "value": "0;0"
  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;-70.85276073619644,0%",
  6465. "0;-25.5,0%"
  6466. ]
  6467. },
  6468. "orientation": {
  6469. "type": "double",
  6470. "value": "0;0"
  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;115,100%",
  6520. "0;-23.5,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;115,100%",
  6570. "0;-8,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/29.instance"
  6599. },
  6600. "$segments": {
  6601. "type": "map<string,list<string>>",
  6602. "value": {
  6603. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/27.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/29.instance": "M333.9999999999999,415L417,415",
  6604. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/29.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/4.instance": "M417,415L532,415"
  6605. }
  6606. },
  6607. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  6608. },
  6609. "31": {
  6610. "link-style": {
  6611. "type": "map<string,string>",
  6612. "value": {
  6613. "stroke": "#000000",
  6614. "stroke-dasharray": "",
  6615. "stroke-opacity": 1,
  6616. "stroke-width": 2
  6617. }
  6618. },
  6619. "arrowHead": {
  6620. "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)",
  6621. "value": "custom"
  6622. },
  6623. "arrowTail": {
  6624. "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)",
  6625. "value": "arrow-black"
  6626. },
  6627. "typename": {
  6628. "type": "string",
  6629. "value": "AssociationLink"
  6630. },
  6631. "position": {
  6632. "type": "list<double>",
  6633. "value": [
  6634. 55,
  6635. 396.10773846938775
  6636. ]
  6637. },
  6638. "orientation": {
  6639. "type": "double",
  6640. "value": 0
  6641. },
  6642. "scale": {
  6643. "type": "list<double>",
  6644. "value": [
  6645. 1,
  6646. 1
  6647. ]
  6648. },
  6649. "mapper": {
  6650. "type": "code",
  6651. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  6652. },
  6653. "parser": {
  6654. "type": "code",
  6655. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  6656. },
  6657. "$contents": {
  6658. "type": "map<string,*>",
  6659. "value": {
  6660. "nodes": {
  6661. "71": {
  6662. "textContent": {
  6663. "type": "string",
  6664. "value": "submodels"
  6665. },
  6666. "style": {
  6667. "type": "map<string,string>",
  6668. "value": {
  6669. "font-size": "20px",
  6670. "font-style": "normal",
  6671. "font-weight": "normal",
  6672. "line-height": "100%",
  6673. "letter-spacing": "0px",
  6674. "word-spacing": "0px",
  6675. "fill": "#000000",
  6676. "fill-opacity": "1",
  6677. "stroke": "none",
  6678. "font-family": "Sans"
  6679. }
  6680. },
  6681. "mapper": {
  6682. "type": "code",
  6683. "value": "({'textContent':getAttr('name')})"
  6684. },
  6685. "parser": {
  6686. "type": "code",
  6687. "value": "({'name':getAttr('textContent')})"
  6688. },
  6689. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  6690. "position": {
  6691. "type": "list<double>",
  6692. "value": [
  6693. "0;28.5,0%",
  6694. "0;-25.948379280529252,0%"
  6695. ]
  6696. },
  6697. "orientation": {
  6698. "type": "double",
  6699. "value": "0;90"
  6700. },
  6701. "scale": {
  6702. "type": "list<double>",
  6703. "value": [
  6704. 1,
  6705. 1
  6706. ]
  6707. },
  6708. "$linkDecoratorInfo": {
  6709. "type": "map<string,double>",
  6710. "value": {
  6711. "xratio": 0.3803680981595092,
  6712. "yoffset": -28.5
  6713. }
  6714. }
  6715. },
  6716. "74": {
  6717. "textContent": {
  6718. "type": "string",
  6719. "value": "1"
  6720. },
  6721. "style": {
  6722. "type": "map<string,string>",
  6723. "value": {
  6724. "font-size": "20px",
  6725. "font-style": "normal",
  6726. "font-weight": "normal",
  6727. "line-height": "100%",
  6728. "letter-spacing": "0px",
  6729. "word-spacing": "0px",
  6730. "fill": "#000000",
  6731. "fill-opacity": "1",
  6732. "stroke": "none",
  6733. "font-family": "Sans"
  6734. }
  6735. },
  6736. "mapper": {
  6737. "type": "code",
  6738. "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})"
  6739. },
  6740. "parser": {
  6741. "type": "code",
  6742. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  6743. },
  6744. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  6745. "position": {
  6746. "type": "list<double>",
  6747. "value": [
  6748. "0;25.5,0%",
  6749. "0;-94.8562289227977,0%"
  6750. ]
  6751. },
  6752. "orientation": {
  6753. "type": "double",
  6754. "value": "0;90"
  6755. },
  6756. "scale": {
  6757. "type": "list<double>",
  6758. "value": [
  6759. 1,
  6760. 1
  6761. ]
  6762. },
  6763. "$linkDecoratorInfo": {
  6764. "type": "map<string,double>",
  6765. "value": {
  6766. "xratio": 0.06134969325153374,
  6767. "yoffset": -25.5
  6768. }
  6769. }
  6770. },
  6771. "77": {
  6772. "textContent": {
  6773. "type": "string",
  6774. "value": "*"
  6775. },
  6776. "style": {
  6777. "type": "map<string,string>",
  6778. "value": {
  6779. "font-size": "20px",
  6780. "font-style": "normal",
  6781. "font-weight": "normal",
  6782. "line-height": "100%",
  6783. "letter-spacing": "0px",
  6784. "word-spacing": "0px",
  6785. "fill": "#000000",
  6786. "fill-opacity": "1",
  6787. "stroke": "none",
  6788. "font-family": "Sans"
  6789. }
  6790. },
  6791. "mapper": {
  6792. "type": "code",
  6793. "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})"
  6794. },
  6795. "parser": {
  6796. "type": "code",
  6797. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  6798. },
  6799. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  6800. "position": {
  6801. "type": "list<double>",
  6802. "value": [
  6803. "0;75.9996056094183,100%",
  6804. "0;8.392261530612245,0%"
  6805. ]
  6806. },
  6807. "orientation": {
  6808. "type": "double",
  6809. "value": "0;0"
  6810. },
  6811. "scale": {
  6812. "type": "list<double>",
  6813. "value": [
  6814. 1,
  6815. 1
  6816. ]
  6817. },
  6818. "$linkDecoratorInfo": {
  6819. "type": "map<string,double>",
  6820. "value": {
  6821. "xratio": 1.0245398773006136,
  6822. "yoffset": -23.5
  6823. }
  6824. }
  6825. },
  6826. "140": {
  6827. "segments": {
  6828. "type": "string",
  6829. "value": "m0,0 l20,8 l-20,8"
  6830. },
  6831. "style": {
  6832. "type": "map<string,string>",
  6833. "value": {
  6834. "stroke": "#000000",
  6835. "fill": "#000000",
  6836. "fill-opacity": 0,
  6837. "stroke-width": 1,
  6838. "opacity": 1
  6839. }
  6840. },
  6841. "mapper": {
  6842. "type": "code",
  6843. "value": ""
  6844. },
  6845. "parser": {
  6846. "type": "code",
  6847. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  6848. },
  6849. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  6850. "position": {
  6851. "type": "list<double>",
  6852. "value": [
  6853. "0;75.9996056094183,100%",
  6854. "0;23.892261530612245,0%"
  6855. ]
  6856. },
  6857. "orientation": {
  6858. "type": "double",
  6859. "value": "0;0"
  6860. },
  6861. "scale": {
  6862. "type": "list<double>",
  6863. "value": [
  6864. 1,
  6865. 1
  6866. ]
  6867. },
  6868. "$linkDecoratorInfo": {
  6869. "type": "map<string,double>",
  6870. "value": {
  6871. "xratio": 1,
  6872. "yoffset": -8
  6873. }
  6874. }
  6875. }
  6876. },
  6877. "edges": []
  6878. }
  6879. },
  6880. "$asuri": {
  6881. "type": "string",
  6882. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/31.instance"
  6883. },
  6884. "$segments": {
  6885. "type": "map<string,list<string>>",
  6886. "value": {
  6887. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/2.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/31.instance": "M55,288L55,396.10773846938775",
  6888. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink/31.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/ClassIcon/27.instance": "M55,396.10773846938775L55,428L130.9996056094183,428"
  6889. }
  6890. },
  6891. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons/AssociationLink"
  6892. }
  6893. },
  6894. "edges": [],
  6895. "metamodels": [
  6896. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons",
  6897. "/Formalisms/ParallelDEVS/ParallelDEVS_Debug.defaultIcons",
  6898. "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons"
  6899. ]
  6900. },
  6901. "asm": {
  6902. "nodes": {
  6903. "0": {
  6904. "name": {
  6905. "type": "string",
  6906. "value": "State"
  6907. },
  6908. "attributes": {
  6909. "type": "list<$ATTRIBUTE>",
  6910. "value": [
  6911. {
  6912. "name": "name",
  6913. "type": "string",
  6914. "default": ""
  6915. },
  6916. {
  6917. "name": "initial",
  6918. "type": "bool",
  6919. "default": false
  6920. },
  6921. {
  6922. "name": "time_advance",
  6923. "type": "code",
  6924. "default": ""
  6925. },
  6926. {
  6927. "name": "output",
  6928. "type": "code",
  6929. "default": ""
  6930. },
  6931. {
  6932. "name": "position",
  6933. "type": "list<int>",
  6934. "default": [
  6935. 0,
  6936. 0
  6937. ]
  6938. }
  6939. ]
  6940. },
  6941. "constraints": {
  6942. "type": "list<$EVENT_HANDLER>",
  6943. "value": []
  6944. },
  6945. "actions": {
  6946. "type": "list<$EVENT_HANDLER>",
  6947. "value": []
  6948. },
  6949. "cardinalities": {
  6950. "type": "list<$CARDINALITY>",
  6951. "value": [
  6952. {
  6953. "dir": "in",
  6954. "type": "states",
  6955. "min": "1",
  6956. "max": "1"
  6957. }
  6958. ]
  6959. },
  6960. "abstract": {
  6961. "type": "boolean",
  6962. "value": false
  6963. },
  6964. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  6965. },
  6966. "1": {
  6967. "name": {
  6968. "type": "string",
  6969. "value": "BaseDEVS"
  6970. },
  6971. "attributes": {
  6972. "type": "list<$ATTRIBUTE>",
  6973. "value": [
  6974. {
  6975. "name": "name",
  6976. "type": "string",
  6977. "default": ""
  6978. },
  6979. {
  6980. "name": "attributes",
  6981. "type": "list<$ATTRIBUTE>",
  6982. "default": []
  6983. },
  6984. {
  6985. "name": "parameters",
  6986. "type": "list<$ARG>",
  6987. "default": []
  6988. },
  6989. {
  6990. "name": "__init__",
  6991. "type": "code",
  6992. "default": ""
  6993. },
  6994. {
  6995. "name": "position",
  6996. "type": "list<int>",
  6997. "default": [
  6998. 0,
  6999. 0
  7000. ]
  7001. },
  7002. {
  7003. "name": "scale",
  7004. "type": "list<int>",
  7005. "default": [
  7006. 0,
  7007. 0
  7008. ]
  7009. }
  7010. ]
  7011. },
  7012. "constraints": {
  7013. "type": "list<$EVENT_HANDLER>",
  7014. "value": []
  7015. },
  7016. "actions": {
  7017. "type": "list<$EVENT_HANDLER>",
  7018. "value": []
  7019. },
  7020. "cardinalities": {
  7021. "type": "list<$CARDINALITY>",
  7022. "value": []
  7023. },
  7024. "abstract": {
  7025. "type": "boolean",
  7026. "value": true
  7027. },
  7028. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  7029. },
  7030. "2": {
  7031. "name": {
  7032. "type": "string",
  7033. "value": "CoupledDEVS"
  7034. },
  7035. "attributes": {
  7036. "type": "list<$ATTRIBUTE>",
  7037. "value": []
  7038. },
  7039. "constraints": {
  7040. "type": "list<$EVENT_HANDLER>",
  7041. "value": []
  7042. },
  7043. "actions": {
  7044. "type": "list<$EVENT_HANDLER>",
  7045. "value": []
  7046. },
  7047. "cardinalities": {
  7048. "type": "list<$CARDINALITY>",
  7049. "value": []
  7050. },
  7051. "abstract": {
  7052. "type": "boolean",
  7053. "value": false
  7054. },
  7055. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  7056. },
  7057. "3": {
  7058. "name": {
  7059. "type": "string",
  7060. "value": "Event"
  7061. },
  7062. "attributes": {
  7063. "type": "list<$ATTRIBUTE>",
  7064. "value": [
  7065. {
  7066. "name": "name",
  7067. "type": "string",
  7068. "default": ""
  7069. },
  7070. {
  7071. "name": "attributes",
  7072. "type": "list<$ATTRIBUTE>",
  7073. "default": []
  7074. },
  7075. {
  7076. "name": "parameters",
  7077. "type": "list<$ARG>",
  7078. "default": []
  7079. },
  7080. {
  7081. "name": "__init__",
  7082. "type": "code",
  7083. "default": ""
  7084. }
  7085. ]
  7086. },
  7087. "constraints": {
  7088. "type": "list<$EVENT_HANDLER>",
  7089. "value": []
  7090. },
  7091. "actions": {
  7092. "type": "list<$EVENT_HANDLER>",
  7093. "value": []
  7094. },
  7095. "cardinalities": {
  7096. "type": "list<$CARDINALITY>",
  7097. "value": []
  7098. },
  7099. "abstract": {
  7100. "type": "boolean",
  7101. "value": false
  7102. },
  7103. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  7104. },
  7105. "4": {
  7106. "name": {
  7107. "type": "string",
  7108. "value": "Port"
  7109. },
  7110. "attributes": {
  7111. "type": "list<$ATTRIBUTE>",
  7112. "value": [
  7113. {
  7114. "name": "name",
  7115. "type": "string",
  7116. "default": ""
  7117. },
  7118. {
  7119. "name": "position",
  7120. "type": "list<int>",
  7121. "default": [
  7122. 0,
  7123. 0
  7124. ]
  7125. }
  7126. ]
  7127. },
  7128. "constraints": {
  7129. "type": "list<$EVENT_HANDLER>",
  7130. "value": []
  7131. },
  7132. "actions": {
  7133. "type": "list<$EVENT_HANDLER>",
  7134. "value": [
  7135. {
  7136. "name": "snapToTarget",
  7137. "event": "post-connect",
  7138. "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*/}"
  7139. }
  7140. ]
  7141. },
  7142. "cardinalities": {
  7143. "type": "list<$CARDINALITY>",
  7144. "value": [
  7145. {
  7146. "dir": "in",
  7147. "type": "ports",
  7148. "min": "1",
  7149. "max": "1"
  7150. },
  7151. {
  7152. "dir": "in",
  7153. "type": "channel",
  7154. "min": "0",
  7155. "max": "*"
  7156. },
  7157. {
  7158. "dir": "out",
  7159. "type": "channel",
  7160. "min": "0",
  7161. "max": "*"
  7162. }
  7163. ]
  7164. },
  7165. "abstract": {
  7166. "type": "boolean",
  7167. "value": true
  7168. },
  7169. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  7170. },
  7171. "5": {
  7172. "name": {
  7173. "type": "string",
  7174. "value": "InputPort"
  7175. },
  7176. "attributes": {
  7177. "type": "list<$ATTRIBUTE>",
  7178. "value": []
  7179. },
  7180. "constraints": {
  7181. "type": "list<$EVENT_HANDLER>",
  7182. "value": []
  7183. },
  7184. "actions": {
  7185. "type": "list<$EVENT_HANDLER>",
  7186. "value": []
  7187. },
  7188. "cardinalities": {
  7189. "type": "list<$CARDINALITY>",
  7190. "value": []
  7191. },
  7192. "abstract": {
  7193. "type": "boolean",
  7194. "value": false
  7195. },
  7196. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  7197. },
  7198. "7": {
  7199. "name": {
  7200. "type": "string",
  7201. "value": "OutputPort"
  7202. },
  7203. "attributes": {
  7204. "type": "list<$ATTRIBUTE>",
  7205. "value": []
  7206. },
  7207. "constraints": {
  7208. "type": "list<$EVENT_HANDLER>",
  7209. "value": []
  7210. },
  7211. "actions": {
  7212. "type": "list<$EVENT_HANDLER>",
  7213. "value": []
  7214. },
  7215. "cardinalities": {
  7216. "type": "list<$CARDINALITY>",
  7217. "value": []
  7218. },
  7219. "abstract": {
  7220. "type": "boolean",
  7221. "value": false
  7222. },
  7223. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  7224. },
  7225. "8": {
  7226. "name": {
  7227. "type": "string",
  7228. "value": "Simulation"
  7229. },
  7230. "attributes": {
  7231. "type": "list<$ATTRIBUTE>",
  7232. "value": [
  7233. {
  7234. "name": "end_condition",
  7235. "type": "code",
  7236. "default": ""
  7237. }
  7238. ]
  7239. },
  7240. "constraints": {
  7241. "type": "list<$EVENT_HANDLER>",
  7242. "value": []
  7243. },
  7244. "actions": {
  7245. "type": "list<$EVENT_HANDLER>",
  7246. "value": []
  7247. },
  7248. "cardinalities": {
  7249. "type": "list<$CARDINALITY>",
  7250. "value": []
  7251. },
  7252. "abstract": {
  7253. "type": "boolean",
  7254. "value": false
  7255. },
  7256. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  7257. },
  7258. "11": {
  7259. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance"
  7260. },
  7261. "14": {
  7262. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance"
  7263. },
  7264. "15": {
  7265. "name": {
  7266. "type": "string",
  7267. "value": "InternalTransition"
  7268. },
  7269. "attributes": {
  7270. "type": "list<$ATTRIBUTE>",
  7271. "value": [
  7272. {
  7273. "name": "condition",
  7274. "type": "code",
  7275. "default": ""
  7276. },
  7277. {
  7278. "name": "action",
  7279. "type": "code",
  7280. "default": ""
  7281. }
  7282. ]
  7283. },
  7284. "constraints": {
  7285. "type": "list<$EVENT_HANDLER>",
  7286. "value": []
  7287. },
  7288. "actions": {
  7289. "type": "list<$EVENT_HANDLER>",
  7290. "value": []
  7291. },
  7292. "cardinalities": {
  7293. "type": "list<$CARDINALITY>",
  7294. "value": []
  7295. },
  7296. "linktype": {
  7297. "type": "ENUM(visual,containment)",
  7298. "value": "visual"
  7299. },
  7300. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  7301. },
  7302. "16": {
  7303. "name": {
  7304. "type": "string",
  7305. "value": "ExternalTransition"
  7306. },
  7307. "attributes": {
  7308. "type": "list<$ATTRIBUTE>",
  7309. "value": [
  7310. {
  7311. "name": "condition",
  7312. "type": "code",
  7313. "default": ""
  7314. },
  7315. {
  7316. "name": "action",
  7317. "type": "code",
  7318. "default": ""
  7319. }
  7320. ]
  7321. },
  7322. "constraints": {
  7323. "type": "list<$EVENT_HANDLER>",
  7324. "value": []
  7325. },
  7326. "actions": {
  7327. "type": "list<$EVENT_HANDLER>",
  7328. "value": []
  7329. },
  7330. "cardinalities": {
  7331. "type": "list<$CARDINALITY>",
  7332. "value": []
  7333. },
  7334. "linktype": {
  7335. "type": "ENUM(visual,containment)",
  7336. "value": "visual"
  7337. },
  7338. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  7339. },
  7340. "18": {
  7341. "name": {
  7342. "type": "string",
  7343. "value": "ports"
  7344. },
  7345. "attributes": {
  7346. "type": "list<$ATTRIBUTE>",
  7347. "value": []
  7348. },
  7349. "constraints": {
  7350. "type": "list<$EVENT_HANDLER>",
  7351. "value": []
  7352. },
  7353. "actions": {
  7354. "type": "list<$EVENT_HANDLER>",
  7355. "value": []
  7356. },
  7357. "cardinalities": {
  7358. "type": "list<$CARDINALITY>",
  7359. "value": []
  7360. },
  7361. "linktype": {
  7362. "type": "ENUM(visual,containment)",
  7363. "value": "visual"
  7364. },
  7365. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  7366. },
  7367. "19": {
  7368. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance"
  7369. },
  7370. "20": {
  7371. "name": {
  7372. "type": "string",
  7373. "value": "AtomicDEVS"
  7374. },
  7375. "attributes": {
  7376. "type": "list<$ATTRIBUTE>",
  7377. "value": []
  7378. },
  7379. "constraints": {
  7380. "type": "list<$EVENT_HANDLER>",
  7381. "value": []
  7382. },
  7383. "actions": {
  7384. "type": "list<$EVENT_HANDLER>",
  7385. "value": []
  7386. },
  7387. "cardinalities": {
  7388. "type": "list<$CARDINALITY>",
  7389. "value": [
  7390. {
  7391. "dir": "out",
  7392. "type": "statedef",
  7393. "min": "1",
  7394. "max": "1"
  7395. }
  7396. ]
  7397. },
  7398. "abstract": {
  7399. "type": "boolean",
  7400. "value": false
  7401. },
  7402. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  7403. },
  7404. "21": {
  7405. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Inheritance"
  7406. },
  7407. "22": {
  7408. "name": {
  7409. "type": "string",
  7410. "value": "states"
  7411. },
  7412. "attributes": {
  7413. "type": "list<$ATTRIBUTE>",
  7414. "value": []
  7415. },
  7416. "constraints": {
  7417. "type": "list<$EVENT_HANDLER>",
  7418. "value": []
  7419. },
  7420. "actions": {
  7421. "type": "list<$EVENT_HANDLER>",
  7422. "value": []
  7423. },
  7424. "cardinalities": {
  7425. "type": "list<$CARDINALITY>",
  7426. "value": []
  7427. },
  7428. "linktype": {
  7429. "type": "ENUM(visual,containment)",
  7430. "value": "containment"
  7431. },
  7432. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  7433. },
  7434. "23": {
  7435. "name": {
  7436. "type": "string",
  7437. "value": "channel"
  7438. },
  7439. "attributes": {
  7440. "type": "list<$ATTRIBUTE>",
  7441. "value": [
  7442. {
  7443. "name": "transfer_function",
  7444. "type": "code",
  7445. "default": ""
  7446. }
  7447. ]
  7448. },
  7449. "constraints": {
  7450. "type": "list<$EVENT_HANDLER>",
  7451. "value": []
  7452. },
  7453. "actions": {
  7454. "type": "list<$EVENT_HANDLER>",
  7455. "value": []
  7456. },
  7457. "cardinalities": {
  7458. "type": "list<$CARDINALITY>",
  7459. "value": []
  7460. },
  7461. "linktype": {
  7462. "type": "ENUM(visual,containment)",
  7463. "value": "visual"
  7464. },
  7465. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  7466. },
  7467. "24": {
  7468. "name": {
  7469. "type": "string",
  7470. "value": "StateDefinition"
  7471. },
  7472. "attributes": {
  7473. "type": "list<$ATTRIBUTE>",
  7474. "value": [
  7475. {
  7476. "name": "name",
  7477. "type": "string",
  7478. "default": ""
  7479. },
  7480. {
  7481. "name": "attributes",
  7482. "type": "list<$ATTRIBUTE>",
  7483. "default": []
  7484. },
  7485. {
  7486. "name": "parameters",
  7487. "type": "list<$ARG>",
  7488. "default": []
  7489. },
  7490. {
  7491. "name": "initial_binding",
  7492. "type": "list<map<[name,val],[string,string]>>",
  7493. "default": []
  7494. },
  7495. {
  7496. "name": "__init__",
  7497. "type": "code",
  7498. "default": ""
  7499. }
  7500. ]
  7501. },
  7502. "constraints": {
  7503. "type": "list<$EVENT_HANDLER>",
  7504. "value": []
  7505. },
  7506. "actions": {
  7507. "type": "list<$EVENT_HANDLER>",
  7508. "value": []
  7509. },
  7510. "cardinalities": {
  7511. "type": "list<$CARDINALITY>",
  7512. "value": []
  7513. },
  7514. "abstract": {
  7515. "type": "boolean",
  7516. "value": false
  7517. },
  7518. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  7519. },
  7520. "25": {
  7521. "name": {
  7522. "type": "string",
  7523. "value": "statedef"
  7524. },
  7525. "attributes": {
  7526. "type": "list<$ATTRIBUTE>",
  7527. "value": []
  7528. },
  7529. "constraints": {
  7530. "type": "list<$EVENT_HANDLER>",
  7531. "value": []
  7532. },
  7533. "actions": {
  7534. "type": "list<$EVENT_HANDLER>",
  7535. "value": []
  7536. },
  7537. "cardinalities": {
  7538. "type": "list<$CARDINALITY>",
  7539. "value": []
  7540. },
  7541. "linktype": {
  7542. "type": "ENUM(visual,containment)",
  7543. "value": "visual"
  7544. },
  7545. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  7546. },
  7547. "26": {
  7548. "name": {
  7549. "type": "string",
  7550. "value": "ConfluentTransition"
  7551. },
  7552. "attributes": {
  7553. "type": "list<$ATTRIBUTE>",
  7554. "value": [
  7555. {
  7556. "name": "condition",
  7557. "type": "code",
  7558. "default": ""
  7559. },
  7560. {
  7561. "name": "action",
  7562. "type": "code",
  7563. "default": ""
  7564. }
  7565. ]
  7566. },
  7567. "constraints": {
  7568. "type": "list<$EVENT_HANDLER>",
  7569. "value": []
  7570. },
  7571. "actions": {
  7572. "type": "list<$EVENT_HANDLER>",
  7573. "value": []
  7574. },
  7575. "cardinalities": {
  7576. "type": "list<$CARDINALITY>",
  7577. "value": []
  7578. },
  7579. "linktype": {
  7580. "type": "ENUM(visual,containment)",
  7581. "value": "visual"
  7582. },
  7583. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  7584. },
  7585. "27": {
  7586. "name": {
  7587. "type": "string",
  7588. "value": "DevsInstance"
  7589. },
  7590. "attributes": {
  7591. "type": "list<$ATTRIBUTE>",
  7592. "value": [
  7593. {
  7594. "name": "name",
  7595. "type": "string",
  7596. "default": ""
  7597. },
  7598. {
  7599. "name": "devs_type",
  7600. "type": "string",
  7601. "default": ""
  7602. },
  7603. {
  7604. "name": "parameter_binding",
  7605. "type": "list<map<[name,val],[string,string]>>",
  7606. "default": []
  7607. },
  7608. {
  7609. "name": "position",
  7610. "type": "list<int>",
  7611. "default": [
  7612. 0,
  7613. 0
  7614. ]
  7615. },
  7616. {
  7617. "name": "scale",
  7618. "type": "list<int>",
  7619. "default": [
  7620. 0,
  7621. 0
  7622. ]
  7623. }
  7624. ]
  7625. },
  7626. "constraints": {
  7627. "type": "list<$EVENT_HANDLER>",
  7628. "value": []
  7629. },
  7630. "actions": {
  7631. "type": "list<$EVENT_HANDLER>",
  7632. "value": [
  7633. {
  7634. "name": "snapToTarget",
  7635. "event": "post-connect",
  7636. "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*/}"
  7637. }
  7638. ]
  7639. },
  7640. "cardinalities": {
  7641. "type": "list<$CARDINALITY>",
  7642. "value": [
  7643. {
  7644. "dir": "in",
  7645. "type": "submodels",
  7646. "min": "1",
  7647. "max": "1"
  7648. }
  7649. ]
  7650. },
  7651. "abstract": {
  7652. "type": "boolean",
  7653. "value": false
  7654. },
  7655. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  7656. },
  7657. "29": {
  7658. "name": {
  7659. "type": "string",
  7660. "value": "ports"
  7661. },
  7662. "attributes": {
  7663. "type": "list<$ATTRIBUTE>",
  7664. "value": []
  7665. },
  7666. "constraints": {
  7667. "type": "list<$EVENT_HANDLER>",
  7668. "value": []
  7669. },
  7670. "actions": {
  7671. "type": "list<$EVENT_HANDLER>",
  7672. "value": []
  7673. },
  7674. "cardinalities": {
  7675. "type": "list<$CARDINALITY>",
  7676. "value": []
  7677. },
  7678. "linktype": {
  7679. "type": "ENUM(visual,containment)",
  7680. "value": "visual"
  7681. },
  7682. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  7683. },
  7684. "31": {
  7685. "name": {
  7686. "type": "string",
  7687. "value": "submodels"
  7688. },
  7689. "attributes": {
  7690. "type": "list<$ATTRIBUTE>",
  7691. "value": []
  7692. },
  7693. "constraints": {
  7694. "type": "list<$EVENT_HANDLER>",
  7695. "value": []
  7696. },
  7697. "actions": {
  7698. "type": "list<$EVENT_HANDLER>",
  7699. "value": []
  7700. },
  7701. "cardinalities": {
  7702. "type": "list<$CARDINALITY>",
  7703. "value": []
  7704. },
  7705. "linktype": {
  7706. "type": "ENUM(visual,containment)",
  7707. "value": "containment"
  7708. },
  7709. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  7710. }
  7711. },
  7712. "edges": [
  7713. {
  7714. "src": "5",
  7715. "dest": "11"
  7716. },
  7717. {
  7718. "src": "11",
  7719. "dest": "4"
  7720. },
  7721. {
  7722. "src": "7",
  7723. "dest": "14"
  7724. },
  7725. {
  7726. "src": "14",
  7727. "dest": "4"
  7728. },
  7729. {
  7730. "src": "0",
  7731. "dest": "15"
  7732. },
  7733. {
  7734. "src": "15",
  7735. "dest": "0"
  7736. },
  7737. {
  7738. "src": "0",
  7739. "dest": "16"
  7740. },
  7741. {
  7742. "src": "16",
  7743. "dest": "0"
  7744. },
  7745. {
  7746. "src": "1",
  7747. "dest": "18"
  7748. },
  7749. {
  7750. "src": "18",
  7751. "dest": "4"
  7752. },
  7753. {
  7754. "src": "2",
  7755. "dest": "19"
  7756. },
  7757. {
  7758. "src": "19",
  7759. "dest": "1"
  7760. },
  7761. {
  7762. "src": "20",
  7763. "dest": "21"
  7764. },
  7765. {
  7766. "src": "21",
  7767. "dest": "1"
  7768. },
  7769. {
  7770. "src": "20",
  7771. "dest": "22"
  7772. },
  7773. {
  7774. "src": "22",
  7775. "dest": "0"
  7776. },
  7777. {
  7778. "src": "4",
  7779. "dest": "23"
  7780. },
  7781. {
  7782. "src": "23",
  7783. "dest": "4"
  7784. },
  7785. {
  7786. "src": "20",
  7787. "dest": "25"
  7788. },
  7789. {
  7790. "src": "25",
  7791. "dest": "24"
  7792. },
  7793. {
  7794. "src": "0",
  7795. "dest": "26"
  7796. },
  7797. {
  7798. "src": "26",
  7799. "dest": "0"
  7800. },
  7801. {
  7802. "src": "27",
  7803. "dest": "29"
  7804. },
  7805. {
  7806. "src": "29",
  7807. "dest": "4"
  7808. },
  7809. {
  7810. "src": "2",
  7811. "dest": "31"
  7812. },
  7813. {
  7814. "src": "31",
  7815. "dest": "27"
  7816. }
  7817. ],
  7818. "metamodels": [
  7819. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram",
  7820. "/Formalisms/ParallelDEVS/ParallelDEVS_Debug",
  7821. "/Formalisms/ParallelDEVS/ParallelDEVS"
  7822. ]
  7823. }
  7824. }