demo_runtime.model 211 KB

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