T_Pacman_Random.model 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. {
  2. "csm": {
  3. "nodes": {
  4. "0": {
  5. "typename": {
  6. "type": "string",
  7. "value": "ExhaustRandomIcon"
  8. },
  9. "position": {
  10. "type": "list<double>",
  11. "value": [
  12. "593",
  13. "253"
  14. ]
  15. },
  16. "orientation": {
  17. "type": "double",
  18. "value": 0
  19. },
  20. "scale": {
  21. "type": "list<double>",
  22. "value": [
  23. 1,
  24. 1
  25. ]
  26. },
  27. "mapper": {
  28. "type": "code",
  29. "value": ""
  30. },
  31. "parser": {
  32. "type": "code",
  33. "value": ""
  34. },
  35. "$contents": {
  36. "type": "map<string,*>",
  37. "value": {
  38. "nodes": {
  39. "37": {
  40. "width": {
  41. "type": "double",
  42. "value": "200"
  43. },
  44. "height": {
  45. "type": "double",
  46. "value": "100"
  47. },
  48. "cornerRadius": {
  49. "type": "double",
  50. "value": "10"
  51. },
  52. "style": {
  53. "type": "map<string,string>",
  54. "value": {
  55. "stroke": "#000000",
  56. "stroke-dasharray": "",
  57. "fill": "#ffffff",
  58. "fill-opacity": 0.75,
  59. "font-size": "20px",
  60. "stroke-width": 1,
  61. "arrow-start": "none",
  62. "arrow-end": "none"
  63. }
  64. },
  65. "mapper": {
  66. "type": "code",
  67. "value": ""
  68. },
  69. "parser": {
  70. "type": "code",
  71. "value": ""
  72. },
  73. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  74. "position": {
  75. "type": "list<double>",
  76. "value": [
  77. 0,
  78. -1
  79. ]
  80. },
  81. "orientation": {
  82. "type": "double",
  83. "value": 0
  84. },
  85. "scale": {
  86. "type": "list<double>",
  87. "value": [
  88. 1,
  89. 1
  90. ]
  91. }
  92. },
  93. "38": {
  94. "segments": {
  95. "type": "string",
  96. "value": "m0,0 l10,15 l-5,0 l0,35 l5,0 l-10,15 l-10,-15 l5,0 l0-35 l-5,0z"
  97. },
  98. "style": {
  99. "type": "map<string,string>",
  100. "value": {
  101. "stroke": "#3CB371",
  102. "stroke-dasharray": "",
  103. "fill": "#3CB371",
  104. "fill-opacity": 1,
  105. "font-size": "20px",
  106. "stroke-width": 1,
  107. "arrow-start": "none",
  108. "arrow-end": "none"
  109. }
  110. },
  111. "mapper": {
  112. "type": "code",
  113. "value": ""
  114. },
  115. "parser": {
  116. "type": "code",
  117. "value": ""
  118. },
  119. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  120. "position": {
  121. "type": "list<double>",
  122. "value": [
  123. 211,
  124. 18
  125. ]
  126. },
  127. "orientation": {
  128. "type": "double",
  129. "value": 0
  130. },
  131. "scale": {
  132. "type": "list<double>",
  133. "value": [
  134. 1,
  135. 1
  136. ]
  137. }
  138. },
  139. "39": {
  140. "distance": {
  141. "type": "double",
  142. "value": 0
  143. },
  144. "alignment": {
  145. "type": "ENUM(\"top\",\"bottom\",\"center\")",
  146. "value": "center"
  147. },
  148. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/RightOf",
  149. "position": {
  150. "type": "list<double>",
  151. "value": [
  152. 197.4989985080956,
  153. 45.99899850809555
  154. ]
  155. },
  156. "orientation": {
  157. "type": "double",
  158. "value": 0
  159. },
  160. "scale": {
  161. "type": "list<double>",
  162. "value": [
  163. 1,
  164. 1
  165. ]
  166. },
  167. "link-style": {
  168. "type": "map<string,string>",
  169. "value": {
  170. "stroke": "#ff0000",
  171. "stroke-dasharray": "",
  172. "stroke-opacity": 1,
  173. "arrow-start": "none",
  174. "arrow-end": "classic-wide-long"
  175. }
  176. }
  177. },
  178. "40": {
  179. "textContent": {
  180. "type": "string",
  181. "value": "R_PacMoveLeft"
  182. },
  183. "style": {
  184. "type": "map<string,string>",
  185. "value": {
  186. "stroke": "#000000",
  187. "stroke-dasharray": "",
  188. "fill": "#ffffff",
  189. "fill-opacity": 0.75,
  190. "font-size": "13px",
  191. "stroke-width": 1,
  192. "arrow-start": "none",
  193. "arrow-end": "none"
  194. }
  195. },
  196. "mapper": {
  197. "type": "code",
  198. "value": "var filenames = getAttr('filenames').map(\n\t\t\t\tfunction(f)\n\t\t\t\t{\n\t\t\t\t\treturn f.match(/.*\\/(.*)\\.model/)[1];\n\t\t\t\t});\n\n({'textContent': filenames.join('\\n')})"
  199. },
  200. "parser": {
  201. "type": "code",
  202. "value": ""
  203. },
  204. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  205. "position": {
  206. "type": "list<double>",
  207. "value": [
  208. 4,
  209. -3
  210. ]
  211. },
  212. "orientation": {
  213. "type": "double",
  214. "value": 0
  215. },
  216. "scale": {
  217. "type": "list<double>",
  218. "value": [
  219. 1,
  220. 1
  221. ]
  222. }
  223. },
  224. "41": {
  225. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  226. "position": {
  227. "type": "list<double>",
  228. "value": [
  229. 12.890662583693938,
  230. 4.548997593600802
  231. ]
  232. },
  233. "orientation": {
  234. "type": "double",
  235. "value": 0
  236. },
  237. "scale": {
  238. "type": "list<double>",
  239. "value": [
  240. 1,
  241. 1
  242. ]
  243. },
  244. "link-style": {
  245. "type": "map<string,string>",
  246. "value": {
  247. "stroke": "#00ffff",
  248. "stroke-dasharray": "",
  249. "stroke-opacity": 0.1,
  250. "arrow-start": "none",
  251. "arrow-end": "classic-wide-long"
  252. }
  253. }
  254. }
  255. },
  256. "edges": [
  257. {
  258. "src": "38",
  259. "dest": 39
  260. },
  261. {
  262. "src": 39,
  263. "dest": "37"
  264. },
  265. {
  266. "src": "37",
  267. "dest": 41
  268. },
  269. {
  270. "src": 41,
  271. "dest": "40"
  272. }
  273. ]
  274. }
  275. },
  276. "$asuri": {
  277. "type": "string",
  278. "value": "/Formalisms/__Transformations__/Transformation/Transformation/ExhaustRandom/0.instance"
  279. },
  280. "$type": "/Formalisms/__Transformations__/Transformation/Transformation.defaultIcons/ExhaustRandomIcon"
  281. }
  282. },
  283. "edges": [],
  284. "metamodels": [
  285. "/Formalisms/__Transformations__/Transformation/Transformation.defaultIcons"
  286. ]
  287. },
  288. "asm": {
  289. "nodes": {
  290. "0": {
  291. "filenames": {
  292. "type": "list<string>",
  293. "value": [
  294. "/Formalisms/Pacman/OpSem/R_PacMoveLeft.model"
  295. ]
  296. },
  297. "isStart": {
  298. "type": "boolean",
  299. "value": true
  300. },
  301. "$type": "/Formalisms/__Transformations__/Transformation/Transformation/ExhaustRandom"
  302. }
  303. },
  304. "edges": [],
  305. "metamodels": [
  306. "/Formalisms/__Transformations__/Transformation/Transformation"
  307. ]
  308. }
  309. }