ParallelDEVS.defaultIcons.metamodel 78 KB

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