ParallelDEVS_Runtime.defaultIcons.metamodel 80 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305
  1. {
  2. "types": {
  3. "AtomicDEVSIcon": [
  4. {
  5. "name": "typename",
  6. "type": "string",
  7. "default": "AtomicDEVSIcon"
  8. },
  9. {
  10. "name": "position",
  11. "type": "list<double>",
  12. "default": [
  13. 47,
  14. 144
  15. ]
  16. },
  17. {
  18. "name": "orientation",
  19. "type": "double",
  20. "default": 0
  21. },
  22. {
  23. "name": "scale",
  24. "type": "list<double>",
  25. "default": [
  26. 1,
  27. 1
  28. ]
  29. },
  30. {
  31. "name": "mapper",
  32. "type": "code",
  33. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': getAttr('position'), 'scale': getAttr('scale')})"
  34. },
  35. {
  36. "name": "parser",
  37. "type": "code",
  38. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position'), 'scale': getAttr('scale')})"
  39. },
  40. {
  41. "name": "$contents",
  42. "type": "map<string,*>",
  43. "default": {
  44. "nodes": {
  45. "14": {
  46. "width": {
  47. "type": "double",
  48. "value": 250
  49. },
  50. "height": {
  51. "type": "double",
  52. "value": 250
  53. },
  54. "cornerRadius": {
  55. "type": "double",
  56. "value": 5
  57. },
  58. "style": {
  59. "type": "map<string,string>",
  60. "value": {
  61. "stroke": "#000000",
  62. "stroke-dasharray": "",
  63. "fill": "#ffffff",
  64. "fill-opacity": 0.75,
  65. "font-size": "20px",
  66. "stroke-width": 1,
  67. "arrow-start": "none",
  68. "arrow-end": "none"
  69. }
  70. },
  71. "mapper": {
  72. "type": "code",
  73. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  74. },
  75. "parser": {
  76. "type": "code",
  77. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  78. },
  79. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  80. "position": {
  81. "type": "list<double>",
  82. "value": [
  83. 8,
  84. 28
  85. ]
  86. },
  87. "orientation": {
  88. "type": "double",
  89. "value": 0
  90. },
  91. "scale": {
  92. "type": "list<double>",
  93. "value": [
  94. 1,
  95. 1
  96. ]
  97. }
  98. },
  99. "16": {
  100. "textContent": {
  101. "type": "string",
  102. "value": "<coded>"
  103. },
  104. "style": {
  105. "type": "map<string,string>",
  106. "value": {
  107. "stroke": "#ffffff",
  108. "stroke-dasharray": "",
  109. "fill": "#000000",
  110. "fill-opacity": 1,
  111. "font-size": "20px",
  112. "stroke-width": 0,
  113. "arrow-start": "none",
  114. "arrow-end": "none"
  115. }
  116. },
  117. "mapper": {
  118. "type": "code",
  119. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})"
  120. },
  121. "parser": {
  122. "type": "code",
  123. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  124. },
  125. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  126. "position": {
  127. "type": "list<double>",
  128. "value": [
  129. 8,
  130. 7
  131. ]
  132. },
  133. "orientation": {
  134. "type": "double",
  135. "value": 0
  136. },
  137. "scale": {
  138. "type": "list<double>",
  139. "value": [
  140. 1,
  141. 1
  142. ]
  143. }
  144. },
  145. "117": {
  146. "textContent": {
  147. "type": "string",
  148. "value": "<coded>"
  149. },
  150. "style": {
  151. "type": "map<string,string>",
  152. "value": {
  153. "stroke": "#ffffff",
  154. "stroke-dasharray": "",
  155. "fill": "#000000",
  156. "fill-opacity": 1,
  157. "font-size": "12px",
  158. "stroke-width": 0,
  159. "arrow-start": "none",
  160. "arrow-end": "none"
  161. }
  162. },
  163. "mapper": {
  164. "type": "code",
  165. "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(', ')})"
  166. },
  167. "parser": {
  168. "type": "code",
  169. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  170. },
  171. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  172. "position": {
  173. "type": "list<double>",
  174. "value": [
  175. 13,
  176. 34
  177. ]
  178. },
  179. "orientation": {
  180. "type": "double",
  181. "value": 0
  182. },
  183. "scale": {
  184. "type": "list<double>",
  185. "value": [
  186. 1,
  187. 1
  188. ]
  189. }
  190. },
  191. "118": {
  192. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  193. "position": {
  194. "type": "list<double>",
  195. "value": [
  196. 30.10809182833816,
  197. 37.052173584285356
  198. ]
  199. },
  200. "orientation": {
  201. "type": "double",
  202. "value": 0
  203. },
  204. "scale": {
  205. "type": "list<double>",
  206. "value": [
  207. 1,
  208. 1
  209. ]
  210. },
  211. "link-style": {
  212. "type": "map<string,string>",
  213. "value": {
  214. "stroke": "#00ffff",
  215. "stroke-dasharray": "",
  216. "stroke-opacity": 0.1,
  217. "stroke-width": 1
  218. }
  219. }
  220. },
  221. "137": {
  222. "textContent": {
  223. "type": "string",
  224. "value": "<coded>"
  225. },
  226. "style": {
  227. "type": "map<string,string>",
  228. "value": {
  229. "stroke": "#ffffff",
  230. "stroke-dasharray": "",
  231. "fill": "#000000",
  232. "fill-opacity": 1,
  233. "font-size": "12px",
  234. "stroke-width": 0,
  235. "arrow-start": "none",
  236. "arrow-end": "none"
  237. }
  238. },
  239. "mapper": {
  240. "type": "code",
  241. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('time_next')})"
  242. },
  243. "parser": {
  244. "type": "code",
  245. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  246. },
  247. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  248. "position": {
  249. "type": "list<double>",
  250. "value": [
  251. 208,
  252. 8
  253. ]
  254. },
  255. "orientation": {
  256. "type": "double",
  257. "value": 0
  258. },
  259. "scale": {
  260. "type": "list<double>",
  261. "value": [
  262. 1,
  263. 1
  264. ]
  265. }
  266. },
  267. "138": {
  268. "src": {
  269. "type": "string",
  270. "value": "/Formalisms/ParallelDEVS/icons/clock.png"
  271. },
  272. "width": {
  273. "type": "double",
  274. "value": 20
  275. },
  276. "height": {
  277. "type": "double",
  278. "value": 20
  279. },
  280. "style": {
  281. "type": "map<string,string>",
  282. "value": {
  283. "stroke": "#000000",
  284. "stroke-dasharray": "",
  285. "fill": "#ffffff",
  286. "fill-opacity": 0.75,
  287. "font-size": "20px",
  288. "stroke-width": 1,
  289. "arrow-start": "none",
  290. "arrow-end": "none"
  291. }
  292. },
  293. "mapper": {
  294. "type": "code",
  295. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  296. },
  297. "parser": {
  298. "type": "code",
  299. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  300. },
  301. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image",
  302. "position": {
  303. "type": "list<double>",
  304. "value": [
  305. 185,
  306. 4
  307. ]
  308. },
  309. "orientation": {
  310. "type": "double",
  311. "value": 0
  312. },
  313. "scale": {
  314. "type": "list<double>",
  315. "value": [
  316. 1,
  317. 1
  318. ]
  319. }
  320. }
  321. },
  322. "edges": [
  323. {
  324. "src": "14",
  325. "dest": "118"
  326. },
  327. {
  328. "src": "118",
  329. "dest": "117"
  330. }
  331. ]
  332. }
  333. },
  334. {
  335. "name": "$asuri",
  336. "type": "string",
  337. "default": "-1"
  338. }
  339. ],
  340. "StateIcon": [
  341. {
  342. "name": "typename",
  343. "type": "string",
  344. "default": "StateIcon"
  345. },
  346. {
  347. "name": "position",
  348. "type": "list<double>",
  349. "default": [
  350. 697,
  351. 194
  352. ]
  353. },
  354. {
  355. "name": "orientation",
  356. "type": "double",
  357. "default": 0
  358. },
  359. {
  360. "name": "scale",
  361. "type": "list<double>",
  362. "default": [
  363. 1,
  364. 1
  365. ]
  366. },
  367. {
  368. "name": "mapper",
  369. "type": "code",
  370. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  371. },
  372. {
  373. "name": "parser",
  374. "type": "code",
  375. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  376. },
  377. {
  378. "name": "$contents",
  379. "type": "map<string,*>",
  380. "default": {
  381. "nodes": {
  382. "34": {
  383. "r": {
  384. "type": "double",
  385. "value": 25
  386. },
  387. "style": {
  388. "type": "map<string,string>",
  389. "value": {
  390. "stroke": "#000000",
  391. "stroke-dasharray": "",
  392. "fill": "#ffffff",
  393. "fill-opacity": 0.75,
  394. "font-size": "20px",
  395. "stroke-width": 1,
  396. "arrow-start": "none",
  397. "arrow-end": "none"
  398. }
  399. },
  400. "mapper": {
  401. "type": "code",
  402. "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})"
  403. },
  404. "parser": {
  405. "type": "code",
  406. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  407. },
  408. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle",
  409. "position": {
  410. "type": "list<double>",
  411. "value": [
  412. 4,
  413. 21
  414. ]
  415. },
  416. "orientation": {
  417. "type": "double",
  418. "value": 0
  419. },
  420. "scale": {
  421. "type": "list<double>",
  422. "value": [
  423. 1,
  424. 1
  425. ]
  426. }
  427. },
  428. "37": {
  429. "textContent": {
  430. "type": "string",
  431. "value": "<coded>"
  432. },
  433. "style": {
  434. "type": "map<string,string>",
  435. "value": {
  436. "stroke": "#000000",
  437. "stroke-dasharray": "",
  438. "fill": "green",
  439. "fill-opacity": 1,
  440. "font-size": "12px",
  441. "font-weight": "bold",
  442. "stroke-width": 0,
  443. "arrow-start": "none",
  444. "arrow-end": "none"
  445. }
  446. },
  447. "mapper": {
  448. "type": "code",
  449. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})"
  450. },
  451. "parser": {
  452. "type": "code",
  453. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  454. },
  455. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  456. "position": {
  457. "type": "list<double>",
  458. "value": [
  459. 5,
  460. 6
  461. ]
  462. },
  463. "orientation": {
  464. "type": "double",
  465. "value": 0
  466. },
  467. "scale": {
  468. "type": "list<double>",
  469. "value": [
  470. 1,
  471. 1
  472. ]
  473. }
  474. },
  475. "40": {
  476. "textContent": {
  477. "type": "string",
  478. "value": "<coded>"
  479. },
  480. "style": {
  481. "type": "map<string,string>",
  482. "value": {
  483. "stroke": "#ffffff",
  484. "stroke-dasharray": "",
  485. "fill": "#000000",
  486. "fill-opacity": 1,
  487. "font-size": "12px",
  488. "stroke-width": 0,
  489. "arrow-start": "none",
  490. "arrow-end": "none"
  491. }
  492. },
  493. "mapper": {
  494. "type": "code",
  495. "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 })"
  496. },
  497. "parser": {
  498. "type": "code",
  499. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  500. },
  501. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  502. "position": {
  503. "type": "list<double>",
  504. "value": [
  505. 79,
  506. 57
  507. ]
  508. },
  509. "orientation": {
  510. "type": "double",
  511. "value": 0
  512. },
  513. "scale": {
  514. "type": "list<double>",
  515. "value": [
  516. 1,
  517. 1
  518. ]
  519. }
  520. },
  521. "42": {
  522. "src": {
  523. "type": "string",
  524. "value": "/Formalisms/ParallelDEVS/icons/clock.png"
  525. },
  526. "width": {
  527. "type": "double",
  528. "value": 20
  529. },
  530. "height": {
  531. "type": "double",
  532. "value": 20
  533. },
  534. "style": {
  535. "type": "map<string,string>",
  536. "value": {
  537. "stroke": "#000000",
  538. "stroke-dasharray": "",
  539. "fill": "#ffffff",
  540. "fill-opacity": 0.75,
  541. "font-size": "20px",
  542. "stroke-width": 1,
  543. "arrow-start": "none",
  544. "arrow-end": "none"
  545. }
  546. },
  547. "mapper": {
  548. "type": "code",
  549. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  550. },
  551. "parser": {
  552. "type": "code",
  553. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  554. },
  555. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image",
  556. "position": {
  557. "type": "list<double>",
  558. "value": [
  559. 56,
  560. 53
  561. ]
  562. },
  563. "orientation": {
  564. "type": "double",
  565. "value": 0
  566. },
  567. "scale": {
  568. "type": "list<double>",
  569. "value": [
  570. 1,
  571. 1
  572. ]
  573. }
  574. },
  575. "44": {
  576. "src": {
  577. "type": "string",
  578. "value": "/Formalisms/ParallelDEVS/icons/arrow_up.png"
  579. },
  580. "width": {
  581. "type": "double",
  582. "value": 20
  583. },
  584. "height": {
  585. "type": "double",
  586. "value": 20
  587. },
  588. "style": {
  589. "type": "map<string,string>",
  590. "value": {
  591. "stroke": "#000000",
  592. "stroke-dasharray": "",
  593. "fill": "#ffffff",
  594. "fill-opacity": 1,
  595. "font-size": "20px",
  596. "stroke-width": 1,
  597. "arrow-start": "none",
  598. "arrow-end": "none"
  599. }
  600. },
  601. "mapper": {
  602. "type": "code",
  603. "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})"
  604. },
  605. "parser": {
  606. "type": "code",
  607. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  608. },
  609. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image",
  610. "position": {
  611. "type": "list<double>",
  612. "value": [
  613. 55,
  614. 18
  615. ]
  616. },
  617. "orientation": {
  618. "type": "double",
  619. "value": 0
  620. },
  621. "scale": {
  622. "type": "list<double>",
  623. "value": [
  624. 1,
  625. 1
  626. ]
  627. }
  628. },
  629. "46": {
  630. "textContent": {
  631. "type": "string",
  632. "value": "<coded>"
  633. },
  634. "style": {
  635. "type": "map<string,string>",
  636. "value": {
  637. "stroke": "#ffffff",
  638. "stroke-dasharray": "",
  639. "fill": "#000000",
  640. "fill-opacity": 1,
  641. "font-size": "12px",
  642. "stroke-width": 0,
  643. "arrow-start": "none",
  644. "arrow-end": "none"
  645. }
  646. },
  647. "mapper": {
  648. "type": "code",
  649. "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 })"
  650. },
  651. "parser": {
  652. "type": "code",
  653. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  654. },
  655. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  656. "position": {
  657. "type": "list<double>",
  658. "value": [
  659. 77,
  660. 23
  661. ]
  662. },
  663. "orientation": {
  664. "type": "double",
  665. "value": 0
  666. },
  667. "scale": {
  668. "type": "list<double>",
  669. "value": [
  670. 1,
  671. 1
  672. ]
  673. }
  674. }
  675. },
  676. "edges": []
  677. }
  678. },
  679. {
  680. "name": "$asuri",
  681. "type": "string",
  682. "default": "-1"
  683. }
  684. ],
  685. "OutputPortIcon": [
  686. {
  687. "name": "typename",
  688. "type": "string",
  689. "default": "OutputPortIcon"
  690. },
  691. {
  692. "name": "position",
  693. "type": "list<double>",
  694. "default": [
  695. 697,
  696. 369
  697. ]
  698. },
  699. {
  700. "name": "orientation",
  701. "type": "double",
  702. "default": 0
  703. },
  704. {
  705. "name": "scale",
  706. "type": "list<double>",
  707. "default": [
  708. 1,
  709. 1
  710. ]
  711. },
  712. {
  713. "name": "mapper",
  714. "type": "code",
  715. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': [getAttr('position')[0], getAttr('position')[1]]})"
  716. },
  717. {
  718. "name": "parser",
  719. "type": "code",
  720. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position')})"
  721. },
  722. {
  723. "name": "$contents",
  724. "type": "map<string,*>",
  725. "default": {
  726. "nodes": {
  727. "48": {
  728. "r": {
  729. "type": "double",
  730. "value": 7
  731. },
  732. "sides": {
  733. "type": "int",
  734. "value": 4
  735. },
  736. "style": {
  737. "type": "map<string,string>",
  738. "value": {
  739. "stroke": "#000000",
  740. "stroke-dasharray": "",
  741. "fill": "purple",
  742. "fill-opacity": 1,
  743. "font-size": "20px",
  744. "stroke-width": 1,
  745. "arrow-start": "none",
  746. "arrow-end": "none"
  747. }
  748. },
  749. "mapper": {
  750. "type": "code",
  751. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  752. },
  753. "parser": {
  754. "type": "code",
  755. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  756. },
  757. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Polygon",
  758. "position": {
  759. "type": "list<double>",
  760. "value": [
  761. 4,
  762. 1
  763. ]
  764. },
  765. "orientation": {
  766. "type": "double",
  767. "value": 0
  768. },
  769. "scale": {
  770. "type": "list<double>",
  771. "value": [
  772. 1,
  773. 1
  774. ]
  775. }
  776. },
  777. "50": {
  778. "textContent": {
  779. "type": "string",
  780. "value": "<coded>"
  781. },
  782. "style": {
  783. "type": "map<string,string>",
  784. "value": {
  785. "stroke": "#ffffff",
  786. "stroke-dasharray": "",
  787. "fill": "#000000",
  788. "fill-opacity": 1,
  789. "font-size": "12px",
  790. "stroke-width": 0,
  791. "arrow-start": "none",
  792. "arrow-end": "none"
  793. }
  794. },
  795. "mapper": {
  796. "type": "code",
  797. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})"
  798. },
  799. "parser": {
  800. "type": "code",
  801. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  802. },
  803. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  804. "position": {
  805. "type": "list<double>",
  806. "value": [
  807. 4,
  808. 21
  809. ]
  810. },
  811. "orientation": {
  812. "type": "double",
  813. "value": 0
  814. },
  815. "scale": {
  816. "type": "list<double>",
  817. "value": [
  818. 1,
  819. 1
  820. ]
  821. }
  822. }
  823. },
  824. "edges": []
  825. }
  826. },
  827. {
  828. "name": "$asuri",
  829. "type": "string",
  830. "default": "-1"
  831. }
  832. ],
  833. "EventInstanceIcon": [
  834. {
  835. "name": "typename",
  836. "type": "string",
  837. "default": "EventInstanceIcon"
  838. },
  839. {
  840. "name": "position",
  841. "type": "list<double>",
  842. "default": [
  843. 922,
  844. 194
  845. ]
  846. },
  847. {
  848. "name": "orientation",
  849. "type": "double",
  850. "default": 0
  851. },
  852. {
  853. "name": "scale",
  854. "type": "list<double>",
  855. "default": [
  856. 1,
  857. 1
  858. ]
  859. },
  860. {
  861. "name": "mapper",
  862. "type": "code",
  863. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': [getAttr('position')[0], getAttr('position')[1]]})"
  864. },
  865. {
  866. "name": "parser",
  867. "type": "code",
  868. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position')})"
  869. },
  870. {
  871. "name": "$contents",
  872. "type": "map<string,*>",
  873. "default": {
  874. "nodes": {
  875. "123": {
  876. "width": {
  877. "type": "double",
  878. "value": 75
  879. },
  880. "height": {
  881. "type": "double",
  882. "value": 15
  883. },
  884. "cornerRadius": {
  885. "type": "double",
  886. "value": 25
  887. },
  888. "style": {
  889. "type": "map<string,string>",
  890. "value": {
  891. "stroke": "#000000",
  892. "stroke-dasharray": "",
  893. "fill": "#FAE233",
  894. "fill-opacity": 1,
  895. "font-size": "20px",
  896. "stroke-width": 1.5,
  897. "arrow-start": "none",
  898. "arrow-end": "none"
  899. }
  900. },
  901. "mapper": {
  902. "type": "code",
  903. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  904. },
  905. "parser": {
  906. "type": "code",
  907. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  908. },
  909. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  910. "position": {
  911. "type": "list<double>",
  912. "value": [
  913. 6,
  914. 5
  915. ]
  916. },
  917. "orientation": {
  918. "type": "double",
  919. "value": 0
  920. },
  921. "scale": {
  922. "type": "list<double>",
  923. "value": [
  924. 1,
  925. 1
  926. ]
  927. }
  928. },
  929. "126": {
  930. "textContent": {
  931. "type": "string",
  932. "value": "<coded>"
  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": "10px",
  942. "stroke-width": 0,
  943. "arrow-start": "none",
  944. "arrow-end": "none"
  945. }
  946. },
  947. "mapper": {
  948. "type": "code",
  949. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('event_type')})"
  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. 11,
  960. 8
  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. "129": {
  976. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  977. "position": {
  978. "type": "list<double>",
  979. "value": [
  980. 20.234375,
  981. 4.25
  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. },
  1006. "edges": [
  1007. {
  1008. "src": "123",
  1009. "dest": "129"
  1010. },
  1011. {
  1012. "src": "129",
  1013. "dest": "126"
  1014. }
  1015. ]
  1016. }
  1017. },
  1018. {
  1019. "name": "$asuri",
  1020. "type": "string",
  1021. "default": "-1"
  1022. }
  1023. ],
  1024. "SimulationInstanceIcon": [
  1025. {
  1026. "name": "typename",
  1027. "type": "string",
  1028. "default": "SimulationInstanceIcon"
  1029. },
  1030. {
  1031. "name": "position",
  1032. "type": "list<double>",
  1033. "default": [
  1034. 1140,
  1035. 369
  1036. ]
  1037. },
  1038. {
  1039. "name": "orientation",
  1040. "type": "double",
  1041. "default": 0
  1042. },
  1043. {
  1044. "name": "scale",
  1045. "type": "list<double>",
  1046. "default": [
  1047. 1,
  1048. 1
  1049. ]
  1050. },
  1051. {
  1052. "name": "mapper",
  1053. "type": "code",
  1054. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1055. },
  1056. {
  1057. "name": "parser",
  1058. "type": "code",
  1059. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1060. },
  1061. {
  1062. "name": "$contents",
  1063. "type": "map<string,*>",
  1064. "default": {
  1065. "nodes": {
  1066. "65": {
  1067. "width": {
  1068. "type": "double",
  1069. "value": 200
  1070. },
  1071. "height": {
  1072. "type": "double",
  1073. "value": 50
  1074. },
  1075. "cornerRadius": {
  1076. "type": "double",
  1077. "value": 0
  1078. },
  1079. "style": {
  1080. "type": "map<string,string>",
  1081. "value": {
  1082. "stroke": "#000000",
  1083. "stroke-dasharray": "",
  1084. "fill": "#2BAFD4",
  1085. "fill-opacity": 0.5,
  1086. "font-size": "20px",
  1087. "stroke-width": 3,
  1088. "arrow-start": "none",
  1089. "arrow-end": "none"
  1090. }
  1091. },
  1092. "mapper": {
  1093. "type": "code",
  1094. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1095. },
  1096. "parser": {
  1097. "type": "code",
  1098. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1099. },
  1100. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  1101. "position": {
  1102. "type": "list<double>",
  1103. "value": [
  1104. 6,
  1105. 5
  1106. ]
  1107. },
  1108. "orientation": {
  1109. "type": "double",
  1110. "value": 0
  1111. },
  1112. "scale": {
  1113. "type": "list<double>",
  1114. "value": [
  1115. 1,
  1116. 1
  1117. ]
  1118. }
  1119. },
  1120. "69": {
  1121. "textContent": {
  1122. "type": "string",
  1123. "value": "<coded>"
  1124. },
  1125. "style": {
  1126. "type": "map<string,string>",
  1127. "value": {
  1128. "stroke": "#ffffff",
  1129. "stroke-dasharray": "",
  1130. "fill": "#000000",
  1131. "fill-opacity": 1,
  1132. "font-size": "20px",
  1133. "stroke-width": 0,
  1134. "arrow-start": "none",
  1135. "arrow-end": "none"
  1136. }
  1137. },
  1138. "mapper": {
  1139. "type": "code",
  1140. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('simulation_time').toFixed(2)})"
  1141. },
  1142. "parser": {
  1143. "type": "code",
  1144. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1145. },
  1146. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1147. "position": {
  1148. "type": "list<double>",
  1149. "value": [
  1150. 14,
  1151. 18
  1152. ]
  1153. },
  1154. "orientation": {
  1155. "type": "double",
  1156. "value": 0
  1157. },
  1158. "scale": {
  1159. "type": "list<double>",
  1160. "value": [
  1161. 1,
  1162. 1
  1163. ]
  1164. }
  1165. },
  1166. "72": {
  1167. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1168. "position": {
  1169. "type": "list<double>",
  1170. "value": [
  1171. 21.31768296950213,
  1172. 13.063635584495046
  1173. ]
  1174. },
  1175. "orientation": {
  1176. "type": "double",
  1177. "value": 0
  1178. },
  1179. "scale": {
  1180. "type": "list<double>",
  1181. "value": [
  1182. 1,
  1183. 1
  1184. ]
  1185. },
  1186. "link-style": {
  1187. "type": "map<string,string>",
  1188. "value": {
  1189. "stroke": "#00ffff",
  1190. "stroke-dasharray": "",
  1191. "stroke-opacity": 0.1,
  1192. "stroke-width": 1
  1193. }
  1194. }
  1195. }
  1196. },
  1197. "edges": [
  1198. {
  1199. "src": "65",
  1200. "dest": "72"
  1201. },
  1202. {
  1203. "src": "72",
  1204. "dest": "69"
  1205. }
  1206. ]
  1207. }
  1208. },
  1209. {
  1210. "name": "$asuri",
  1211. "type": "string",
  1212. "default": "-1"
  1213. }
  1214. ],
  1215. "InternalTransitionLink": [
  1216. {
  1217. "name": "link-style",
  1218. "type": "map<string,string>",
  1219. "default": {
  1220. "stroke": "blue",
  1221. "stroke-dasharray": "",
  1222. "stroke-opacity": 1,
  1223. "stroke-width": 2
  1224. }
  1225. },
  1226. {
  1227. "name": "arrowHead",
  1228. "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)",
  1229. "default": "custom"
  1230. },
  1231. {
  1232. "name": "arrowTail",
  1233. "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)",
  1234. "default": "arrow-black"
  1235. },
  1236. {
  1237. "name": "typename",
  1238. "type": "string",
  1239. "default": "InternalTransitionLink"
  1240. },
  1241. {
  1242. "name": "position",
  1243. "type": "list<double>",
  1244. "default": [
  1245. 44,
  1246. 717
  1247. ]
  1248. },
  1249. {
  1250. "name": "orientation",
  1251. "type": "double",
  1252. "default": 0
  1253. },
  1254. {
  1255. "name": "scale",
  1256. "type": "list<double>",
  1257. "default": [
  1258. 1,
  1259. 1
  1260. ]
  1261. },
  1262. {
  1263. "name": "mapper",
  1264. "type": "code",
  1265. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1266. },
  1267. {
  1268. "name": "parser",
  1269. "type": "code",
  1270. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1271. },
  1272. {
  1273. "name": "$contents",
  1274. "type": "map<string,*>",
  1275. "default": {
  1276. "nodes": {
  1277. "77": {
  1278. "textContent": {
  1279. "type": "string",
  1280. "value": "<coded>"
  1281. },
  1282. "style": {
  1283. "type": "map<string,string>",
  1284. "value": {
  1285. "stroke": "#ffffff",
  1286. "stroke-dasharray": "",
  1287. "fill": "#000000",
  1288. "fill-opacity": 1,
  1289. "font-size": "12px",
  1290. "stroke-width": 0,
  1291. "arrow-start": "none",
  1292. "arrow-end": "none"
  1293. }
  1294. },
  1295. "mapper": {
  1296. "type": "code",
  1297. "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 + ']'})"
  1298. },
  1299. "parser": {
  1300. "type": "code",
  1301. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1302. },
  1303. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1304. "position": {
  1305. "type": "list<double>",
  1306. "value": [
  1307. 0,
  1308. 0
  1309. ]
  1310. },
  1311. "orientation": {
  1312. "type": "double",
  1313. "value": 0
  1314. },
  1315. "scale": {
  1316. "type": "list<double>",
  1317. "value": [
  1318. 1,
  1319. 1
  1320. ]
  1321. },
  1322. "$linkDecoratorInfo": {
  1323. "type": "map<string,double>",
  1324. "value": {
  1325. "xratio": 0.4294478527607362,
  1326. "yoffset": -31.5
  1327. }
  1328. }
  1329. },
  1330. "78": {
  1331. "textContent": {
  1332. "type": "string",
  1333. "value": "<coded>"
  1334. },
  1335. "style": {
  1336. "type": "map<string,string>",
  1337. "value": {
  1338. "stroke": "#ffffff",
  1339. "stroke-dasharray": "",
  1340. "fill": "#000000",
  1341. "fill-opacity": 1,
  1342. "font-size": "12px",
  1343. "stroke-width": 0,
  1344. "arrow-start": "none",
  1345. "arrow-end": "none"
  1346. }
  1347. },
  1348. "mapper": {
  1349. "type": "code",
  1350. "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})"
  1351. },
  1352. "parser": {
  1353. "type": "code",
  1354. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1355. },
  1356. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1357. "position": {
  1358. "type": "list<double>",
  1359. "value": [
  1360. 0,
  1361. 0
  1362. ]
  1363. },
  1364. "orientation": {
  1365. "type": "double",
  1366. "value": 0
  1367. },
  1368. "scale": {
  1369. "type": "list<double>",
  1370. "value": [
  1371. 1,
  1372. 1
  1373. ]
  1374. },
  1375. "$linkDecoratorInfo": {
  1376. "type": "map<string,double>",
  1377. "value": {
  1378. "xratio": 0.4294478527607362,
  1379. "yoffset": 2.5
  1380. }
  1381. }
  1382. },
  1383. "267": {
  1384. "segments": {
  1385. "type": "string",
  1386. "value": "m0,0 l10,4 l-10,4 l3,-4 z"
  1387. },
  1388. "style": {
  1389. "type": "map<string,string>",
  1390. "value": {
  1391. "stroke": "#000000",
  1392. "fill": "#000000",
  1393. "opacity": 1,
  1394. "stroke-width": 1
  1395. }
  1396. },
  1397. "mapper": {
  1398. "type": "code",
  1399. "value": ""
  1400. },
  1401. "parser": {
  1402. "type": "code",
  1403. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1404. },
  1405. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1406. "position": {
  1407. "type": "list<double>",
  1408. "value": [
  1409. 0,
  1410. 0
  1411. ]
  1412. },
  1413. "orientation": {
  1414. "type": "double",
  1415. "value": 0
  1416. },
  1417. "scale": {
  1418. "type": "list<double>",
  1419. "value": [
  1420. 1,
  1421. 1
  1422. ]
  1423. },
  1424. "$linkDecoratorInfo": {
  1425. "type": "map<string,double>",
  1426. "value": {
  1427. "xratio": 1,
  1428. "yoffset": -4
  1429. }
  1430. }
  1431. }
  1432. },
  1433. "edges": []
  1434. }
  1435. },
  1436. {
  1437. "name": "$asuri",
  1438. "type": "string",
  1439. "default": "-1"
  1440. },
  1441. {
  1442. "name": "$segments",
  1443. "type": "map<string,list<string>>",
  1444. "default": {}
  1445. }
  1446. ],
  1447. "submodelsLink": [
  1448. {
  1449. "name": "link-style",
  1450. "type": "map<string,string>",
  1451. "default": {
  1452. "stroke": "#000000",
  1453. "stroke-dasharray": "",
  1454. "stroke-opacity": 0,
  1455. "stroke-width": 0
  1456. }
  1457. },
  1458. {
  1459. "name": "arrowHead",
  1460. "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)",
  1461. "default": "custom"
  1462. },
  1463. {
  1464. "name": "arrowTail",
  1465. "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)",
  1466. "default": "arrow-black"
  1467. },
  1468. {
  1469. "name": "typename",
  1470. "type": "string",
  1471. "default": "submodelsLink"
  1472. },
  1473. {
  1474. "name": "position",
  1475. "type": "list<double>",
  1476. "default": [
  1477. 44,
  1478. 517
  1479. ]
  1480. },
  1481. {
  1482. "name": "orientation",
  1483. "type": "double",
  1484. "default": 0
  1485. },
  1486. {
  1487. "name": "scale",
  1488. "type": "list<double>",
  1489. "default": [
  1490. 1,
  1491. 1
  1492. ]
  1493. },
  1494. {
  1495. "name": "mapper",
  1496. "type": "code",
  1497. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1498. },
  1499. {
  1500. "name": "parser",
  1501. "type": "code",
  1502. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1503. },
  1504. {
  1505. "name": "$contents",
  1506. "type": "map<string,*>",
  1507. "default": {
  1508. "nodes": {},
  1509. "edges": []
  1510. }
  1511. },
  1512. {
  1513. "name": "$asuri",
  1514. "type": "string",
  1515. "default": "-1"
  1516. },
  1517. {
  1518. "name": "$segments",
  1519. "type": "map<string,list<string>>",
  1520. "default": {}
  1521. }
  1522. ],
  1523. "ExternalTransitionLink": [
  1524. {
  1525. "name": "link-style",
  1526. "type": "map<string,string>",
  1527. "default": {
  1528. "stroke": "red",
  1529. "stroke-dasharray": "",
  1530. "stroke-opacity": 1,
  1531. "stroke-width": 2
  1532. }
  1533. },
  1534. {
  1535. "name": "arrowHead",
  1536. "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)",
  1537. "default": "custom"
  1538. },
  1539. {
  1540. "name": "arrowTail",
  1541. "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)",
  1542. "default": "arrow-black"
  1543. },
  1544. {
  1545. "name": "typename",
  1546. "type": "string",
  1547. "default": "ExternalTransitionLink"
  1548. },
  1549. {
  1550. "name": "position",
  1551. "type": "list<double>",
  1552. "default": [
  1553. 319,
  1554. 742
  1555. ]
  1556. },
  1557. {
  1558. "name": "orientation",
  1559. "type": "double",
  1560. "default": 0
  1561. },
  1562. {
  1563. "name": "scale",
  1564. "type": "list<double>",
  1565. "default": [
  1566. 1,
  1567. 1
  1568. ]
  1569. },
  1570. {
  1571. "name": "mapper",
  1572. "type": "code",
  1573. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1574. },
  1575. {
  1576. "name": "parser",
  1577. "type": "code",
  1578. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1579. },
  1580. {
  1581. "name": "$contents",
  1582. "type": "map<string,*>",
  1583. "default": {
  1584. "nodes": {
  1585. "73": {
  1586. "textContent": {
  1587. "type": "string",
  1588. "value": "<coded>"
  1589. },
  1590. "style": {
  1591. "type": "map<string,string>",
  1592. "value": {
  1593. "stroke": "#ffffff",
  1594. "stroke-dasharray": "",
  1595. "fill": "#000000",
  1596. "fill-opacity": 1,
  1597. "font-size": "12px",
  1598. "stroke-width": 0,
  1599. "arrow-start": "none",
  1600. "arrow-end": "none"
  1601. }
  1602. },
  1603. "mapper": {
  1604. "type": "code",
  1605. "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 + ']'})"
  1606. },
  1607. "parser": {
  1608. "type": "code",
  1609. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1610. },
  1611. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1612. "position": {
  1613. "type": "list<double>",
  1614. "value": [
  1615. 0,
  1616. 0
  1617. ]
  1618. },
  1619. "orientation": {
  1620. "type": "double",
  1621. "value": 0
  1622. },
  1623. "scale": {
  1624. "type": "list<double>",
  1625. "value": [
  1626. 1,
  1627. 1
  1628. ]
  1629. },
  1630. "$linkDecoratorInfo": {
  1631. "type": "map<string,double>",
  1632. "value": {
  1633. "xratio": 0.4110429447852761,
  1634. "yoffset": -33.5
  1635. }
  1636. }
  1637. },
  1638. "75": {
  1639. "textContent": {
  1640. "type": "string",
  1641. "value": "<coded>"
  1642. },
  1643. "style": {
  1644. "type": "map<string,string>",
  1645. "value": {
  1646. "stroke": "#ffffff",
  1647. "stroke-dasharray": "",
  1648. "fill": "#000000",
  1649. "fill-opacity": 1,
  1650. "font-size": "12px",
  1651. "stroke-width": 0,
  1652. "arrow-start": "none",
  1653. "arrow-end": "none"
  1654. }
  1655. },
  1656. "mapper": {
  1657. "type": "code",
  1658. "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})"
  1659. },
  1660. "parser": {
  1661. "type": "code",
  1662. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1663. },
  1664. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1665. "position": {
  1666. "type": "list<double>",
  1667. "value": [
  1668. 0,
  1669. 0
  1670. ]
  1671. },
  1672. "orientation": {
  1673. "type": "double",
  1674. "value": 0
  1675. },
  1676. "scale": {
  1677. "type": "list<double>",
  1678. "value": [
  1679. 1,
  1680. 1
  1681. ]
  1682. },
  1683. "$linkDecoratorInfo": {
  1684. "type": "map<string,double>",
  1685. "value": {
  1686. "xratio": 0.4233128834355828,
  1687. "yoffset": 2.5
  1688. }
  1689. }
  1690. },
  1691. "267": {
  1692. "segments": {
  1693. "type": "string",
  1694. "value": "m0,0 l10,4 l-10,4 l3,-4 z"
  1695. },
  1696. "style": {
  1697. "type": "map<string,string>",
  1698. "value": {
  1699. "stroke": "#000000",
  1700. "fill": "#000000",
  1701. "opacity": 1,
  1702. "stroke-width": 1
  1703. }
  1704. },
  1705. "mapper": {
  1706. "type": "code",
  1707. "value": ""
  1708. },
  1709. "parser": {
  1710. "type": "code",
  1711. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1712. },
  1713. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1714. "position": {
  1715. "type": "list<double>",
  1716. "value": [
  1717. 0,
  1718. 0
  1719. ]
  1720. },
  1721. "orientation": {
  1722. "type": "double",
  1723. "value": 0
  1724. },
  1725. "scale": {
  1726. "type": "list<double>",
  1727. "value": [
  1728. 1,
  1729. 1
  1730. ]
  1731. },
  1732. "$linkDecoratorInfo": {
  1733. "type": "map<string,double>",
  1734. "value": {
  1735. "xratio": 1,
  1736. "yoffset": -4
  1737. }
  1738. }
  1739. }
  1740. },
  1741. "edges": []
  1742. }
  1743. },
  1744. {
  1745. "name": "$asuri",
  1746. "type": "string",
  1747. "default": "-1"
  1748. },
  1749. {
  1750. "name": "$segments",
  1751. "type": "map<string,list<string>>",
  1752. "default": {}
  1753. }
  1754. ],
  1755. "portsLink": [
  1756. {
  1757. "name": "link-style",
  1758. "type": "map<string,string>",
  1759. "default": {
  1760. "stroke": "#000000",
  1761. "stroke-dasharray": "",
  1762. "stroke-opacity": 1,
  1763. "stroke-width": 0
  1764. }
  1765. },
  1766. {
  1767. "name": "arrowHead",
  1768. "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)",
  1769. "default": "custom"
  1770. },
  1771. {
  1772. "name": "arrowTail",
  1773. "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)",
  1774. "default": "arrow-black"
  1775. },
  1776. {
  1777. "name": "typename",
  1778. "type": "string",
  1779. "default": "portsLink"
  1780. },
  1781. {
  1782. "name": "position",
  1783. "type": "list<double>",
  1784. "default": [
  1785. 594,
  1786. 567
  1787. ]
  1788. },
  1789. {
  1790. "name": "orientation",
  1791. "type": "double",
  1792. "default": 0
  1793. },
  1794. {
  1795. "name": "scale",
  1796. "type": "list<double>",
  1797. "default": [
  1798. 1,
  1799. 1
  1800. ]
  1801. },
  1802. {
  1803. "name": "mapper",
  1804. "type": "code",
  1805. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1806. },
  1807. {
  1808. "name": "parser",
  1809. "type": "code",
  1810. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1811. },
  1812. {
  1813. "name": "$contents",
  1814. "type": "map<string,*>",
  1815. "default": {
  1816. "nodes": {},
  1817. "edges": []
  1818. }
  1819. },
  1820. {
  1821. "name": "$asuri",
  1822. "type": "string",
  1823. "default": "-1"
  1824. },
  1825. {
  1826. "name": "$segments",
  1827. "type": "map<string,list<string>>",
  1828. "default": {}
  1829. }
  1830. ],
  1831. "statesLink": [
  1832. {
  1833. "name": "link-style",
  1834. "type": "map<string,string>",
  1835. "default": {
  1836. "stroke": "#000000",
  1837. "stroke-dasharray": "",
  1838. "stroke-opacity": 0,
  1839. "stroke-width": 0
  1840. }
  1841. },
  1842. {
  1843. "name": "arrowHead",
  1844. "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)",
  1845. "default": "custom"
  1846. },
  1847. {
  1848. "name": "arrowTail",
  1849. "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)",
  1850. "default": "arrow-black"
  1851. },
  1852. {
  1853. "name": "typename",
  1854. "type": "string",
  1855. "default": "statesLink"
  1856. },
  1857. {
  1858. "name": "position",
  1859. "type": "list<double>",
  1860. "default": [
  1861. 319,
  1862. 542
  1863. ]
  1864. },
  1865. {
  1866. "name": "orientation",
  1867. "type": "double",
  1868. "default": 0
  1869. },
  1870. {
  1871. "name": "scale",
  1872. "type": "list<double>",
  1873. "default": [
  1874. 1,
  1875. 1
  1876. ]
  1877. },
  1878. {
  1879. "name": "mapper",
  1880. "type": "code",
  1881. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1882. },
  1883. {
  1884. "name": "parser",
  1885. "type": "code",
  1886. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1887. },
  1888. {
  1889. "name": "$contents",
  1890. "type": "map<string,*>",
  1891. "default": {
  1892. "nodes": {},
  1893. "edges": []
  1894. }
  1895. },
  1896. {
  1897. "name": "$asuri",
  1898. "type": "string",
  1899. "default": "-1"
  1900. },
  1901. {
  1902. "name": "$segments",
  1903. "type": "map<string,list<string>>",
  1904. "default": {}
  1905. }
  1906. ],
  1907. "channelLink": [
  1908. {
  1909. "name": "link-style",
  1910. "type": "map<string,string>",
  1911. "default": {
  1912. "stroke": "#000000",
  1913. "stroke-dasharray": "- ",
  1914. "stroke-opacity": 1,
  1915. "stroke-width": 2
  1916. }
  1917. },
  1918. {
  1919. "name": "arrowHead",
  1920. "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)",
  1921. "default": "custom"
  1922. },
  1923. {
  1924. "name": "arrowTail",
  1925. "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)",
  1926. "default": "arrow-black"
  1927. },
  1928. {
  1929. "name": "typename",
  1930. "type": "string",
  1931. "default": "channelLink"
  1932. },
  1933. {
  1934. "name": "position",
  1935. "type": "list<double>",
  1936. "default": [
  1937. 869,
  1938. 592
  1939. ]
  1940. },
  1941. {
  1942. "name": "orientation",
  1943. "type": "double",
  1944. "default": 0
  1945. },
  1946. {
  1947. "name": "scale",
  1948. "type": "list<double>",
  1949. "default": [
  1950. 1,
  1951. 1
  1952. ]
  1953. },
  1954. {
  1955. "name": "mapper",
  1956. "type": "code",
  1957. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1958. },
  1959. {
  1960. "name": "parser",
  1961. "type": "code",
  1962. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1963. },
  1964. {
  1965. "name": "$contents",
  1966. "type": "map<string,*>",
  1967. "default": {
  1968. "nodes": {
  1969. "267": {
  1970. "segments": {
  1971. "type": "string",
  1972. "value": "m0,0 l10,4 l-10,4 l3,-4 z"
  1973. },
  1974. "style": {
  1975. "type": "map<string,string>",
  1976. "value": {
  1977. "stroke": "#000000",
  1978. "fill": "#000000",
  1979. "opacity": 1,
  1980. "stroke-width": 1
  1981. }
  1982. },
  1983. "mapper": {
  1984. "type": "code",
  1985. "value": ""
  1986. },
  1987. "parser": {
  1988. "type": "code",
  1989. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1990. },
  1991. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1992. "position": {
  1993. "type": "list<double>",
  1994. "value": [
  1995. 0,
  1996. 0
  1997. ]
  1998. },
  1999. "orientation": {
  2000. "type": "double",
  2001. "value": 0
  2002. },
  2003. "scale": {
  2004. "type": "list<double>",
  2005. "value": [
  2006. 1,
  2007. 1
  2008. ]
  2009. },
  2010. "$linkDecoratorInfo": {
  2011. "type": "map<string,double>",
  2012. "value": {
  2013. "xratio": 1,
  2014. "yoffset": -4
  2015. }
  2016. }
  2017. }
  2018. },
  2019. "edges": []
  2020. }
  2021. },
  2022. {
  2023. "name": "$asuri",
  2024. "type": "string",
  2025. "default": "-1"
  2026. },
  2027. {
  2028. "name": "$segments",
  2029. "type": "map<string,list<string>>",
  2030. "default": {}
  2031. }
  2032. ],
  2033. "CoupledDEVSIcon": [
  2034. {
  2035. "name": "typename",
  2036. "type": "string",
  2037. "default": "CoupledDEVSIcon"
  2038. },
  2039. {
  2040. "name": "position",
  2041. "type": "list<double>",
  2042. "default": [
  2043. 372,
  2044. 169
  2045. ]
  2046. },
  2047. {
  2048. "name": "orientation",
  2049. "type": "double",
  2050. "default": 0
  2051. },
  2052. {
  2053. "name": "scale",
  2054. "type": "list<double>",
  2055. "default": [
  2056. 1,
  2057. 1
  2058. ]
  2059. },
  2060. {
  2061. "name": "mapper",
  2062. "type": "code",
  2063. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': getAttr('position'), 'scale': getAttr('scale')})"
  2064. },
  2065. {
  2066. "name": "parser",
  2067. "type": "code",
  2068. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position'), 'scale': getAttr('scale')})"
  2069. },
  2070. {
  2071. "name": "$contents",
  2072. "type": "map<string,*>",
  2073. "default": {
  2074. "nodes": {
  2075. "30": {
  2076. "width": {
  2077. "type": "double",
  2078. "value": 250
  2079. },
  2080. "height": {
  2081. "type": "double",
  2082. "value": 250
  2083. },
  2084. "cornerRadius": {
  2085. "type": "double",
  2086. "value": 5
  2087. },
  2088. "style": {
  2089. "type": "map<string,string>",
  2090. "value": {
  2091. "stroke": "#000000",
  2092. "stroke-dasharray": "",
  2093. "fill": "#000000",
  2094. "fill-opacity": 0.07,
  2095. "font-size": "20px",
  2096. "stroke-width": 1,
  2097. "arrow-start": "none",
  2098. "arrow-end": "none"
  2099. }
  2100. },
  2101. "mapper": {
  2102. "type": "code",
  2103. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2104. },
  2105. "parser": {
  2106. "type": "code",
  2107. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2108. },
  2109. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  2110. "position": {
  2111. "type": "list<double>",
  2112. "value": [
  2113. 8,
  2114. 28
  2115. ]
  2116. },
  2117. "orientation": {
  2118. "type": "double",
  2119. "value": 0
  2120. },
  2121. "scale": {
  2122. "type": "list<double>",
  2123. "value": [
  2124. 1,
  2125. 1
  2126. ]
  2127. }
  2128. },
  2129. "31": {
  2130. "textContent": {
  2131. "type": "string",
  2132. "value": "<coded>"
  2133. },
  2134. "style": {
  2135. "type": "map<string,string>",
  2136. "value": {
  2137. "stroke": "#ffffff",
  2138. "stroke-dasharray": "",
  2139. "fill": "#000000",
  2140. "fill-opacity": 1,
  2141. "font-size": "20px",
  2142. "stroke-width": 0,
  2143. "arrow-start": "none",
  2144. "arrow-end": "none"
  2145. }
  2146. },
  2147. "mapper": {
  2148. "type": "code",
  2149. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})"
  2150. },
  2151. "parser": {
  2152. "type": "code",
  2153. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  2154. },
  2155. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2156. "position": {
  2157. "type": "list<double>",
  2158. "value": [
  2159. 8,
  2160. 7
  2161. ]
  2162. },
  2163. "orientation": {
  2164. "type": "double",
  2165. "value": 0
  2166. },
  2167. "scale": {
  2168. "type": "list<double>",
  2169. "value": [
  2170. 1,
  2171. 1
  2172. ]
  2173. }
  2174. },
  2175. "114": {
  2176. "textContent": {
  2177. "type": "string",
  2178. "value": "<coded>"
  2179. },
  2180. "style": {
  2181. "type": "map<string,string>",
  2182. "value": {
  2183. "stroke": "#ffffff",
  2184. "stroke-dasharray": "",
  2185. "fill": "#000000",
  2186. "fill-opacity": 1,
  2187. "font-size": "12px",
  2188. "stroke-width": 0,
  2189. "arrow-start": "none",
  2190. "arrow-end": "none"
  2191. }
  2192. },
  2193. "mapper": {
  2194. "type": "code",
  2195. "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(', ')})"
  2196. },
  2197. "parser": {
  2198. "type": "code",
  2199. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2200. },
  2201. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2202. "position": {
  2203. "type": "list<double>",
  2204. "value": [
  2205. 11,
  2206. 33
  2207. ]
  2208. },
  2209. "orientation": {
  2210. "type": "double",
  2211. "value": 0
  2212. },
  2213. "scale": {
  2214. "type": "list<double>",
  2215. "value": [
  2216. 1,
  2217. 1
  2218. ]
  2219. }
  2220. },
  2221. "116": {
  2222. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2223. "position": {
  2224. "type": "list<double>",
  2225. "value": [
  2226. 28.96484375,
  2227. 36.5
  2228. ]
  2229. },
  2230. "orientation": {
  2231. "type": "double",
  2232. "value": 0
  2233. },
  2234. "scale": {
  2235. "type": "list<double>",
  2236. "value": [
  2237. 1,
  2238. 1
  2239. ]
  2240. },
  2241. "link-style": {
  2242. "type": "map<string,string>",
  2243. "value": {
  2244. "stroke": "#00ffff",
  2245. "stroke-dasharray": "",
  2246. "stroke-opacity": 0.1,
  2247. "stroke-width": 1
  2248. }
  2249. }
  2250. }
  2251. },
  2252. "edges": [
  2253. {
  2254. "src": "30",
  2255. "dest": "116"
  2256. },
  2257. {
  2258. "src": "116",
  2259. "dest": "114"
  2260. }
  2261. ]
  2262. }
  2263. },
  2264. {
  2265. "name": "$asuri",
  2266. "type": "string",
  2267. "default": "-1"
  2268. }
  2269. ],
  2270. "InputPortIcon": [
  2271. {
  2272. "name": "typename",
  2273. "type": "string",
  2274. "default": "InputPortIcon"
  2275. },
  2276. {
  2277. "name": "position",
  2278. "type": "list<double>",
  2279. "default": [
  2280. 922,
  2281. 369
  2282. ]
  2283. },
  2284. {
  2285. "name": "orientation",
  2286. "type": "double",
  2287. "default": 0
  2288. },
  2289. {
  2290. "name": "scale",
  2291. "type": "list<double>",
  2292. "default": [
  2293. 1,
  2294. 1
  2295. ]
  2296. },
  2297. {
  2298. "name": "mapper",
  2299. "type": "code",
  2300. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': getAttr('position')})"
  2301. },
  2302. {
  2303. "name": "parser",
  2304. "type": "code",
  2305. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position')})"
  2306. },
  2307. {
  2308. "name": "$contents",
  2309. "type": "map<string,*>",
  2310. "default": {
  2311. "nodes": {
  2312. "54": {
  2313. "r": {
  2314. "type": "double",
  2315. "value": 7
  2316. },
  2317. "sides": {
  2318. "type": "int",
  2319. "value": 4
  2320. },
  2321. "style": {
  2322. "type": "map<string,string>",
  2323. "value": {
  2324. "stroke": "#000000",
  2325. "stroke-dasharray": "",
  2326. "fill": "green",
  2327. "fill-opacity": 1,
  2328. "font-size": "20px",
  2329. "stroke-width": 1,
  2330. "arrow-start": "none",
  2331. "arrow-end": "none"
  2332. }
  2333. },
  2334. "mapper": {
  2335. "type": "code",
  2336. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2337. },
  2338. "parser": {
  2339. "type": "code",
  2340. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2341. },
  2342. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Polygon",
  2343. "position": {
  2344. "type": "list<double>",
  2345. "value": [
  2346. 5,
  2347. 1
  2348. ]
  2349. },
  2350. "orientation": {
  2351. "type": "double",
  2352. "value": 0
  2353. },
  2354. "scale": {
  2355. "type": "list<double>",
  2356. "value": [
  2357. 1,
  2358. 1
  2359. ]
  2360. }
  2361. },
  2362. "55": {
  2363. "textContent": {
  2364. "type": "string",
  2365. "value": "<coded>"
  2366. },
  2367. "style": {
  2368. "type": "map<string,string>",
  2369. "value": {
  2370. "stroke": "#ffffff",
  2371. "stroke-dasharray": "",
  2372. "fill": "#000000",
  2373. "fill-opacity": 1,
  2374. "font-size": "12px",
  2375. "stroke-width": 0,
  2376. "arrow-start": "none",
  2377. "arrow-end": "none"
  2378. }
  2379. },
  2380. "mapper": {
  2381. "type": "code",
  2382. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})"
  2383. },
  2384. "parser": {
  2385. "type": "code",
  2386. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  2387. },
  2388. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2389. "position": {
  2390. "type": "list<double>",
  2391. "value": [
  2392. 4,
  2393. 21
  2394. ]
  2395. },
  2396. "orientation": {
  2397. "type": "double",
  2398. "value": 0
  2399. },
  2400. "scale": {
  2401. "type": "list<double>",
  2402. "value": [
  2403. 1,
  2404. 1
  2405. ]
  2406. }
  2407. }
  2408. },
  2409. "edges": []
  2410. }
  2411. },
  2412. {
  2413. "name": "$asuri",
  2414. "type": "string",
  2415. "default": "-1"
  2416. }
  2417. ],
  2418. "StateInstanceIcon": [
  2419. {
  2420. "name": "typename",
  2421. "type": "string",
  2422. "default": "StateInstanceIcon"
  2423. },
  2424. {
  2425. "name": "position",
  2426. "type": "list<double>",
  2427. "default": [
  2428. 1200,
  2429. 175
  2430. ]
  2431. },
  2432. {
  2433. "name": "orientation",
  2434. "type": "double",
  2435. "default": 0
  2436. },
  2437. {
  2438. "name": "scale",
  2439. "type": "list<double>",
  2440. "default": [
  2441. 1,
  2442. 1
  2443. ]
  2444. },
  2445. {
  2446. "name": "mapper",
  2447. "type": "code",
  2448. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2449. },
  2450. {
  2451. "name": "parser",
  2452. "type": "code",
  2453. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2454. },
  2455. {
  2456. "name": "$contents",
  2457. "type": "map<string,*>",
  2458. "default": {
  2459. "nodes": {
  2460. "82": {
  2461. "width": {
  2462. "type": "double",
  2463. "value": 200
  2464. },
  2465. "height": {
  2466. "type": "double",
  2467. "value": 125
  2468. },
  2469. "cornerRadius": {
  2470. "type": "double",
  2471. "value": 10
  2472. },
  2473. "style": {
  2474. "type": "map<string,string>",
  2475. "value": {
  2476. "stroke": "#000000",
  2477. "stroke-dasharray": "",
  2478. "fill": "orange",
  2479. "fill-opacity": 0.75,
  2480. "stroke-width": 1
  2481. }
  2482. },
  2483. "mapper": {
  2484. "type": "code",
  2485. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2486. },
  2487. "parser": {
  2488. "type": "code",
  2489. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2490. },
  2491. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  2492. "position": {
  2493. "type": "list<double>",
  2494. "value": [
  2495. 5,
  2496. 5
  2497. ]
  2498. },
  2499. "orientation": {
  2500. "type": "double",
  2501. "value": 0
  2502. },
  2503. "scale": {
  2504. "type": "list<double>",
  2505. "value": [
  2506. 1,
  2507. 1
  2508. ]
  2509. }
  2510. },
  2511. "85": {
  2512. "segments": {
  2513. "type": "string",
  2514. "value": "m0,0l197,0"
  2515. },
  2516. "style": {
  2517. "type": "map<string,string>",
  2518. "value": {
  2519. "stroke": "#000000",
  2520. "stroke-dasharray": "",
  2521. "fill": "#ffffff",
  2522. "fill-opacity": 0.75,
  2523. "font-size": "20px",
  2524. "stroke-width": 1,
  2525. "arrow-start": "none",
  2526. "arrow-end": "none"
  2527. }
  2528. },
  2529. "mapper": {
  2530. "type": "code",
  2531. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2532. },
  2533. "parser": {
  2534. "type": "code",
  2535. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2536. },
  2537. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  2538. "position": {
  2539. "type": "list<double>",
  2540. "value": [
  2541. 7,
  2542. 38
  2543. ]
  2544. },
  2545. "orientation": {
  2546. "type": "double",
  2547. "value": 0
  2548. },
  2549. "scale": {
  2550. "type": "list<double>",
  2551. "value": [
  2552. 1,
  2553. 1
  2554. ]
  2555. }
  2556. },
  2557. "86": {
  2558. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2559. "position": {
  2560. "type": "list<double>",
  2561. "value": [
  2562. 54.75,
  2563. 22
  2564. ]
  2565. },
  2566. "orientation": {
  2567. "type": "double",
  2568. "value": 0
  2569. },
  2570. "scale": {
  2571. "type": "list<double>",
  2572. "value": [
  2573. 1,
  2574. 1
  2575. ]
  2576. },
  2577. "link-style": {
  2578. "type": "map<string,string>",
  2579. "value": {
  2580. "stroke": "#00ffff",
  2581. "stroke-dasharray": "",
  2582. "stroke-opacity": 0.1,
  2583. "stroke-width": 1
  2584. }
  2585. }
  2586. },
  2587. "90": {
  2588. "textContent": {
  2589. "type": "string",
  2590. "value": "<coded>"
  2591. },
  2592. "style": {
  2593. "type": "map<string,string>",
  2594. "value": {
  2595. "stroke": "#ffffff",
  2596. "stroke-dasharray": "",
  2597. "fill": "#000000",
  2598. "fill-opacity": 1,
  2599. "font-size": "12px",
  2600. "stroke-width": 0,
  2601. "arrow-start": "none",
  2602. "arrow-end": "none"
  2603. }
  2604. },
  2605. "mapper": {
  2606. "type": "code",
  2607. "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')})"
  2608. },
  2609. "parser": {
  2610. "type": "code",
  2611. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2612. },
  2613. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2614. "position": {
  2615. "type": "list<double>",
  2616. "value": [
  2617. 10,
  2618. 43
  2619. ]
  2620. },
  2621. "orientation": {
  2622. "type": "double",
  2623. "value": 0
  2624. },
  2625. "scale": {
  2626. "type": "list<double>",
  2627. "value": [
  2628. 1,
  2629. 1
  2630. ]
  2631. }
  2632. },
  2633. "92": {
  2634. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2635. "position": {
  2636. "type": "list<double>",
  2637. "value": [
  2638. 19.1796875,
  2639. 28
  2640. ]
  2641. },
  2642. "orientation": {
  2643. "type": "double",
  2644. "value": 0
  2645. },
  2646. "scale": {
  2647. "type": "list<double>",
  2648. "value": [
  2649. 1,
  2650. 1
  2651. ]
  2652. },
  2653. "link-style": {
  2654. "type": "map<string,string>",
  2655. "value": {
  2656. "stroke": "#00ffff",
  2657. "stroke-dasharray": "",
  2658. "stroke-opacity": 0.1,
  2659. "stroke-width": 1
  2660. }
  2661. }
  2662. },
  2663. "93": {
  2664. "textContent": {
  2665. "type": "string",
  2666. "value": "<coded>"
  2667. },
  2668. "style": {
  2669. "type": "map<string,string>",
  2670. "value": {
  2671. "stroke": "#ffffff",
  2672. "stroke-dasharray": "",
  2673. "fill": "#000000",
  2674. "fill-opacity": 1,
  2675. "font-size": "20px",
  2676. "stroke-width": 0,
  2677. "arrow-start": "none",
  2678. "arrow-end": "none"
  2679. }
  2680. },
  2681. "mapper": {
  2682. "type": "code",
  2683. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})"
  2684. },
  2685. "parser": {
  2686. "type": "code",
  2687. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2688. },
  2689. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2690. "position": {
  2691. "type": "list<double>",
  2692. "value": [
  2693. 9,
  2694. 11
  2695. ]
  2696. },
  2697. "orientation": {
  2698. "type": "double",
  2699. "value": 0
  2700. },
  2701. "scale": {
  2702. "type": "list<double>",
  2703. "value": [
  2704. 1,
  2705. 1
  2706. ]
  2707. }
  2708. },
  2709. "94": {
  2710. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  2711. "position": {
  2712. "type": "list<double>",
  2713. "value": [
  2714. 26.607941766118074,
  2715. 14.05333298216732
  2716. ]
  2717. },
  2718. "orientation": {
  2719. "type": "double",
  2720. "value": 0
  2721. },
  2722. "scale": {
  2723. "type": "list<double>",
  2724. "value": [
  2725. 1,
  2726. 1
  2727. ]
  2728. },
  2729. "link-style": {
  2730. "type": "map<string,string>",
  2731. "value": {
  2732. "stroke": "#00ffff",
  2733. "stroke-dasharray": "",
  2734. "stroke-opacity": 0.1,
  2735. "stroke-width": 1
  2736. }
  2737. }
  2738. }
  2739. },
  2740. "edges": [
  2741. {
  2742. "src": "82",
  2743. "dest": "86"
  2744. },
  2745. {
  2746. "src": "86",
  2747. "dest": "85"
  2748. },
  2749. {
  2750. "src": "82",
  2751. "dest": "92"
  2752. },
  2753. {
  2754. "src": "92",
  2755. "dest": "90"
  2756. },
  2757. {
  2758. "src": "82",
  2759. "dest": "94"
  2760. },
  2761. {
  2762. "src": "94",
  2763. "dest": "93"
  2764. }
  2765. ]
  2766. }
  2767. },
  2768. {
  2769. "name": "$asuri",
  2770. "type": "string",
  2771. "default": "-1"
  2772. }
  2773. ],
  2774. "stateLink": [
  2775. {
  2776. "name": "link-style",
  2777. "type": "map<string,string>",
  2778. "default": {
  2779. "stroke": "#000000",
  2780. "stroke-dasharray": "- ",
  2781. "stroke-opacity": 1,
  2782. "stroke-width": 1
  2783. }
  2784. },
  2785. {
  2786. "name": "arrowHead",
  2787. "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)",
  2788. "default": "custom"
  2789. },
  2790. {
  2791. "name": "arrowTail",
  2792. "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)",
  2793. "default": "arrow-black"
  2794. },
  2795. {
  2796. "name": "typename",
  2797. "type": "string",
  2798. "default": "stateLink"
  2799. },
  2800. {
  2801. "name": "position",
  2802. "type": "list<double>",
  2803. "default": [
  2804. 869,
  2805. 792
  2806. ]
  2807. },
  2808. {
  2809. "name": "orientation",
  2810. "type": "double",
  2811. "default": 0
  2812. },
  2813. {
  2814. "name": "scale",
  2815. "type": "list<double>",
  2816. "default": [
  2817. 1,
  2818. 1
  2819. ]
  2820. },
  2821. {
  2822. "name": "mapper",
  2823. "type": "code",
  2824. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2825. },
  2826. {
  2827. "name": "parser",
  2828. "type": "code",
  2829. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2830. },
  2831. {
  2832. "name": "$contents",
  2833. "type": "map<string,*>",
  2834. "default": {
  2835. "nodes": {
  2836. "271": {
  2837. "r": {
  2838. "type": "double",
  2839. "value": 5
  2840. },
  2841. "style": {
  2842. "type": "map<string,string>",
  2843. "value": {
  2844. "stroke": "#000000",
  2845. "fill": "#000000",
  2846. "opacity": 1,
  2847. "stroke-width": 1
  2848. }
  2849. },
  2850. "mapper": {
  2851. "type": "code",
  2852. "value": ""
  2853. },
  2854. "parser": {
  2855. "type": "code",
  2856. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2857. },
  2858. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle",
  2859. "position": {
  2860. "type": "list<double>",
  2861. "value": [
  2862. 0,
  2863. 0
  2864. ]
  2865. },
  2866. "orientation": {
  2867. "type": "double",
  2868. "value": 0
  2869. },
  2870. "scale": {
  2871. "type": "list<double>",
  2872. "value": [
  2873. 1,
  2874. 1
  2875. ]
  2876. },
  2877. "$linkDecoratorInfo": {
  2878. "type": "map<string,double>",
  2879. "value": {
  2880. "xratio": 1,
  2881. "yoffset": -5
  2882. }
  2883. }
  2884. }
  2885. },
  2886. "edges": []
  2887. }
  2888. },
  2889. {
  2890. "name": "$asuri",
  2891. "type": "string",
  2892. "default": "-1"
  2893. },
  2894. {
  2895. "name": "$segments",
  2896. "type": "map<string,list<string>>",
  2897. "default": {}
  2898. }
  2899. ],
  2900. "ConfluentTransitionLink": [
  2901. {
  2902. "name": "link-style",
  2903. "type": "map<string,string>",
  2904. "default": {
  2905. "stroke": "purple",
  2906. "stroke-dasharray": "",
  2907. "stroke-opacity": 1,
  2908. "stroke-width": 2
  2909. }
  2910. },
  2911. {
  2912. "name": "arrowHead",
  2913. "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)",
  2914. "default": "custom"
  2915. },
  2916. {
  2917. "name": "arrowTail",
  2918. "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)",
  2919. "default": "arrow-black"
  2920. },
  2921. {
  2922. "name": "typename",
  2923. "type": "string",
  2924. "default": "ConfluentTransitionLink"
  2925. },
  2926. {
  2927. "name": "position",
  2928. "type": "list<double>",
  2929. "default": [
  2930. 594,
  2931. 767
  2932. ]
  2933. },
  2934. {
  2935. "name": "orientation",
  2936. "type": "double",
  2937. "default": 0
  2938. },
  2939. {
  2940. "name": "scale",
  2941. "type": "list<double>",
  2942. "default": [
  2943. 1,
  2944. 1
  2945. ]
  2946. },
  2947. {
  2948. "name": "mapper",
  2949. "type": "code",
  2950. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  2951. },
  2952. {
  2953. "name": "parser",
  2954. "type": "code",
  2955. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2956. },
  2957. {
  2958. "name": "$contents",
  2959. "type": "map<string,*>",
  2960. "default": {
  2961. "nodes": {
  2962. "99": {
  2963. "textContent": {
  2964. "type": "string",
  2965. "value": "<coded>"
  2966. },
  2967. "style": {
  2968. "type": "map<string,string>",
  2969. "value": {
  2970. "stroke": "#ffffff",
  2971. "stroke-dasharray": "",
  2972. "fill": "#000000",
  2973. "fill-opacity": 1,
  2974. "font-size": "12px",
  2975. "stroke-width": 0,
  2976. "arrow-start": "none",
  2977. "arrow-end": "none"
  2978. }
  2979. },
  2980. "mapper": {
  2981. "type": "code",
  2982. "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 + ']'})"
  2983. },
  2984. "parser": {
  2985. "type": "code",
  2986. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  2987. },
  2988. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  2989. "position": {
  2990. "type": "list<double>",
  2991. "value": [
  2992. 0,
  2993. 0
  2994. ]
  2995. },
  2996. "orientation": {
  2997. "type": "double",
  2998. "value": 0
  2999. },
  3000. "scale": {
  3001. "type": "list<double>",
  3002. "value": [
  3003. 1,
  3004. 1
  3005. ]
  3006. },
  3007. "$linkDecoratorInfo": {
  3008. "type": "map<string,double>",
  3009. "value": {
  3010. "xratio": 0.4110429447852761,
  3011. "yoffset": -33.5
  3012. }
  3013. }
  3014. },
  3015. "100": {
  3016. "textContent": {
  3017. "type": "string",
  3018. "value": "<coded>"
  3019. },
  3020. "style": {
  3021. "type": "map<string,string>",
  3022. "value": {
  3023. "stroke": "#ffffff",
  3024. "stroke-dasharray": "",
  3025. "fill": "#000000",
  3026. "fill-opacity": 1,
  3027. "font-size": "12px",
  3028. "stroke-width": 0,
  3029. "arrow-start": "none",
  3030. "arrow-end": "none"
  3031. }
  3032. },
  3033. "mapper": {
  3034. "type": "code",
  3035. "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})"
  3036. },
  3037. "parser": {
  3038. "type": "code",
  3039. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3040. },
  3041. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3042. "position": {
  3043. "type": "list<double>",
  3044. "value": [
  3045. 0,
  3046. 0
  3047. ]
  3048. },
  3049. "orientation": {
  3050. "type": "double",
  3051. "value": 0
  3052. },
  3053. "scale": {
  3054. "type": "list<double>",
  3055. "value": [
  3056. 1,
  3057. 1
  3058. ]
  3059. },
  3060. "$linkDecoratorInfo": {
  3061. "type": "map<string,double>",
  3062. "value": {
  3063. "xratio": 0.4233128834355828,
  3064. "yoffset": 2.5
  3065. }
  3066. }
  3067. },
  3068. "267": {
  3069. "segments": {
  3070. "type": "string",
  3071. "value": "m0,0 l10,4 l-10,4 l3,-4 z"
  3072. },
  3073. "style": {
  3074. "type": "map<string,string>",
  3075. "value": {
  3076. "stroke": "#000000",
  3077. "fill": "#000000",
  3078. "opacity": 1,
  3079. "stroke-width": 1
  3080. }
  3081. },
  3082. "mapper": {
  3083. "type": "code",
  3084. "value": ""
  3085. },
  3086. "parser": {
  3087. "type": "code",
  3088. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3089. },
  3090. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  3091. "position": {
  3092. "type": "list<double>",
  3093. "value": [
  3094. 0,
  3095. 0
  3096. ]
  3097. },
  3098. "orientation": {
  3099. "type": "double",
  3100. "value": 0
  3101. },
  3102. "scale": {
  3103. "type": "list<double>",
  3104. "value": [
  3105. 1,
  3106. 1
  3107. ]
  3108. },
  3109. "$linkDecoratorInfo": {
  3110. "type": "map<string,double>",
  3111. "value": {
  3112. "xratio": 1,
  3113. "yoffset": -4
  3114. }
  3115. }
  3116. }
  3117. },
  3118. "edges": []
  3119. }
  3120. },
  3121. {
  3122. "name": "$asuri",
  3123. "type": "string",
  3124. "default": "-1"
  3125. },
  3126. {
  3127. "name": "$segments",
  3128. "type": "map<string,list<string>>",
  3129. "default": {}
  3130. }
  3131. ],
  3132. "injectLocationLink": [
  3133. {
  3134. "name": "link-style",
  3135. "type": "map<string,string>",
  3136. "default": {
  3137. "stroke": "green",
  3138. "stroke-dasharray": "- ",
  3139. "stroke-opacity": 1,
  3140. "stroke-width": 2
  3141. }
  3142. },
  3143. {
  3144. "name": "arrowHead",
  3145. "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)",
  3146. "default": "custom"
  3147. },
  3148. {
  3149. "name": "arrowTail",
  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. "default": "arrow-black"
  3152. },
  3153. {
  3154. "name": "typename",
  3155. "type": "string",
  3156. "default": "injectLocationLink"
  3157. },
  3158. {
  3159. "name": "position",
  3160. "type": "list<double>",
  3161. "default": [
  3162. 1147,
  3163. 623
  3164. ]
  3165. },
  3166. {
  3167. "name": "orientation",
  3168. "type": "double",
  3169. "default": 0
  3170. },
  3171. {
  3172. "name": "scale",
  3173. "type": "list<double>",
  3174. "default": [
  3175. 1,
  3176. 1
  3177. ]
  3178. },
  3179. {
  3180. "name": "mapper",
  3181. "type": "code",
  3182. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  3183. },
  3184. {
  3185. "name": "parser",
  3186. "type": "code",
  3187. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3188. },
  3189. {
  3190. "name": "$contents",
  3191. "type": "map<string,*>",
  3192. "default": {
  3193. "nodes": {
  3194. "214": {
  3195. "textContent": {
  3196. "type": "string",
  3197. "value": "<coded>"
  3198. },
  3199. "style": {
  3200. "type": "map<string,string>",
  3201. "value": {
  3202. "stroke": "#ffffff",
  3203. "stroke-dasharray": "",
  3204. "fill": "#000000",
  3205. "fill-opacity": 1,
  3206. "font-size": "12px",
  3207. "stroke-width": 0,
  3208. "arrow-start": "none",
  3209. "arrow-end": "none"
  3210. }
  3211. },
  3212. "mapper": {
  3213. "type": "code",
  3214. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar time = getAttr('time');\nif (time == -1) {\n time = 'now';\n} else {\n time = time.toString();\n}\n({'textContent': 'injection time: ' + time})"
  3215. },
  3216. "parser": {
  3217. "type": "code",
  3218. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  3219. },
  3220. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  3221. "position": {
  3222. "type": "list<double>",
  3223. "value": [
  3224. 0,
  3225. 0
  3226. ]
  3227. },
  3228. "orientation": {
  3229. "type": "double",
  3230. "value": 0
  3231. },
  3232. "scale": {
  3233. "type": "list<double>",
  3234. "value": [
  3235. 1,
  3236. 1
  3237. ]
  3238. },
  3239. "$linkDecoratorInfo": {
  3240. "type": "map<string,double>",
  3241. "value": {
  3242. "xratio": 0.39263803680981596,
  3243. "yoffset": -18.5
  3244. }
  3245. }
  3246. }
  3247. },
  3248. "edges": []
  3249. }
  3250. },
  3251. {
  3252. "name": "$asuri",
  3253. "type": "string",
  3254. "default": "-1"
  3255. },
  3256. {
  3257. "name": "$segments",
  3258. "type": "map<string,list<string>>",
  3259. "default": {}
  3260. }
  3261. ]
  3262. },
  3263. "constraints": [],
  3264. "actions": [],
  3265. "cardinalities": {
  3266. "AtomicDEVSIcon": [],
  3267. "StateIcon": [],
  3268. "OutputPortIcon": [],
  3269. "EventInstanceIcon": [],
  3270. "SimulationInstanceIcon": [],
  3271. "InternalTransitionLink": [],
  3272. "submodelsLink": [],
  3273. "ExternalTransitionLink": [],
  3274. "portsLink": [],
  3275. "statesLink": [],
  3276. "channelLink": [],
  3277. "CoupledDEVSIcon": [],
  3278. "InputPortIcon": [],
  3279. "StateInstanceIcon": [],
  3280. "stateLink": [],
  3281. "ConfluentTransitionLink": [],
  3282. "injectLocationLink": []
  3283. },
  3284. "legalConnections": {},
  3285. "connectorTypes": {},
  3286. "types2parentTypes": {
  3287. "AtomicDEVSIcon": [],
  3288. "StateIcon": [],
  3289. "OutputPortIcon": [],
  3290. "EventInstanceIcon": [],
  3291. "SimulationInstanceIcon": [],
  3292. "InternalTransitionLink": [],
  3293. "submodelsLink": [],
  3294. "ExternalTransitionLink": [],
  3295. "portsLink": [],
  3296. "statesLink": [],
  3297. "channelLink": [],
  3298. "CoupledDEVSIcon": [],
  3299. "InputPortIcon": [],
  3300. "StateInstanceIcon": [],
  3301. "stateLink": [],
  3302. "ConfluentTransitionLink": [],
  3303. "injectLocationLink": []
  3304. }
  3305. }