ActionCode.defaultIcons.model 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430
  1. {
  2. "csm": {
  3. "nodes": {
  4. "0": {
  5. "typename": {
  6. "type": "string",
  7. "value": "IconIcon"
  8. },
  9. "position": {
  10. "type": "list<double>",
  11. "value": [
  12. 100,
  13. 101
  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": "({'position':getAttr('position'),'orientation':getAttr('orientation'),'scale':getAttr('scale')})"
  30. },
  31. "parser": {
  32. "type": "code",
  33. "value": "({'position':getAttr('position'),'orientation':getAttr('orientation'),'scale':getAttr('scale')})"
  34. },
  35. "$contents": {
  36. "type": "map<string,*>",
  37. "value": {
  38. "nodes": {
  39. "1": {
  40. "width": {
  41. "type": "double",
  42. "value": "200"
  43. },
  44. "height": {
  45. "type": "double",
  46. "value": "150"
  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. "stroke-width": 1
  60. }
  61. },
  62. "mapper": {
  63. "type": "code",
  64. "value": ""
  65. },
  66. "parser": {
  67. "type": "code",
  68. "value": ""
  69. },
  70. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  71. "position": {
  72. "type": "list<double>",
  73. "value": [
  74. 0,
  75. 0
  76. ]
  77. },
  78. "orientation": {
  79. "type": "double",
  80. "value": 0
  81. },
  82. "scale": {
  83. "type": "list<double>",
  84. "value": [
  85. 1,
  86. 1
  87. ]
  88. }
  89. },
  90. "2": {
  91. "textContent": {
  92. "type": "string",
  93. "value": "CodeIcon"
  94. },
  95. "style": {
  96. "type": "map<string,string>",
  97. "value": {
  98. "stroke": "#000000",
  99. "stroke-dasharray": "",
  100. "fill": "#000000",
  101. "fill-opacity": "1",
  102. "font-size": "13px"
  103. }
  104. },
  105. "mapper": {
  106. "type": "code",
  107. "value": "({\"textContent\":getAttr(\"typename\")})"
  108. },
  109. "parser": {
  110. "type": "code",
  111. "value": "({\"typename\":getAttr(\"textContent\")})"
  112. },
  113. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  114. "position": {
  115. "type": "list<double>",
  116. "value": [
  117. 58,
  118. 151
  119. ]
  120. },
  121. "orientation": {
  122. "type": "double",
  123. "value": 0
  124. },
  125. "scale": {
  126. "type": "list<double>",
  127. "value": [
  128. 1,
  129. 1
  130. ]
  131. }
  132. },
  133. "3": {
  134. "distance": {
  135. "type": "double",
  136. "value": 0
  137. },
  138. "alignment": {
  139. "type": "ENUM(\"right\",\"left\",\"center\")",
  140. "value": "center"
  141. },
  142. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Below",
  143. "position": {
  144. "type": "list<double>",
  145. "value": [
  146. 93.49899850809561,
  147. 137.49900000000002
  148. ]
  149. },
  150. "orientation": {
  151. "type": "double",
  152. "value": 0
  153. },
  154. "scale": {
  155. "type": "list<double>",
  156. "value": [
  157. 1,
  158. 1
  159. ]
  160. },
  161. "link-style": {
  162. "type": "map<string,string>",
  163. "value": {
  164. "stroke": "#00ff00",
  165. "stroke-dasharray": "",
  166. "stroke-opacity": 1,
  167. "arrow-start": "none",
  168. "arrow-end": "classic-wide-long"
  169. }
  170. }
  171. }
  172. },
  173. "edges": [
  174. {
  175. "src": "2",
  176. "dest": 3
  177. },
  178. {
  179. "src": 3,
  180. "dest": "1"
  181. }
  182. ]
  183. }
  184. },
  185. "$asuri": {
  186. "type": "string",
  187. "value": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Icon/0.instance"
  188. },
  189. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax.defaultIcons/IconIcon"
  190. },
  191. "1": {
  192. "typename": {
  193. "type": "string",
  194. "value": "TextIcon"
  195. },
  196. "position": {
  197. "type": "list<double>",
  198. "value": [
  199. 101,
  200. 102
  201. ]
  202. },
  203. "orientation": {
  204. "type": "double",
  205. "value": 0
  206. },
  207. "scale": {
  208. "type": "list<double>",
  209. "value": [
  210. 1,
  211. 1
  212. ]
  213. },
  214. "mapper": {
  215. "type": "code",
  216. "value": ""
  217. },
  218. "parser": {
  219. "type": "code",
  220. "value": ""
  221. },
  222. "$contents": {
  223. "type": "map<string,*>",
  224. "value": {
  225. "nodes": {
  226. "21": {
  227. "textContent": {
  228. "type": "string",
  229. "value": "</>"
  230. },
  231. "style": {
  232. "type": "map<string,string>",
  233. "value": {
  234. "stroke": "#000000",
  235. "stroke-dasharray": "",
  236. "fill": "#ffffff",
  237. "fill-opacity": 0.95,
  238. "font-size": "100px",
  239. "stroke-width": 1,
  240. "arrow-start": "none",
  241. "arrow-end": "none"
  242. }
  243. },
  244. "mapper": {
  245. "type": "code",
  246. "value": "({\"textContent\":getAttr(\"textContent\"), \"style\":getAttr(\"style\")})"
  247. },
  248. "parser": {
  249. "type": "code",
  250. "value": "({\"textContent\":getAttr(\"textContent\")})"
  251. },
  252. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  253. "position": {
  254. "type": "list<double>",
  255. "value": [
  256. 0,
  257. 0
  258. ]
  259. },
  260. "orientation": {
  261. "type": "double",
  262. "value": 0
  263. },
  264. "scale": {
  265. "type": "list<double>",
  266. "value": [
  267. 1,
  268. 1
  269. ]
  270. }
  271. }
  272. },
  273. "edges": []
  274. }
  275. },
  276. "$asuri": {
  277. "type": "string",
  278. "value": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text/1.instance"
  279. },
  280. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax.defaultIcons/TextIcon"
  281. },
  282. "2": {
  283. "link-style": {
  284. "type": "map<string,string>",
  285. "value": {
  286. "stroke": "#ff00ff",
  287. "stroke-dasharray": "",
  288. "stroke-opacity": 0.1,
  289. "arrow-start": "none",
  290. "arrow-end": "classic-wide-long"
  291. }
  292. },
  293. "typename": {
  294. "type": "string",
  295. "value": "IconContentsLink"
  296. },
  297. "position": {
  298. "type": "list<double>",
  299. "value": [
  300. 137.11965049194532,
  301. 129.09030420399438
  302. ]
  303. },
  304. "orientation": {
  305. "type": "double",
  306. "value": 0
  307. },
  308. "scale": {
  309. "type": "list<double>",
  310. "value": [
  311. 1,
  312. 1
  313. ]
  314. },
  315. "mapper": {
  316. "type": "code",
  317. "value": ""
  318. },
  319. "parser": {
  320. "type": "code",
  321. "value": ""
  322. },
  323. "$contents": {
  324. "type": "map<string,*>",
  325. "value": {
  326. "nodes": {},
  327. "edges": []
  328. }
  329. },
  330. "$asuri": {
  331. "type": "string",
  332. "value": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/IconContents/2.instance"
  333. },
  334. "$segments": {
  335. "type": "map<string,list<string>>",
  336. "value": {
  337. "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax.defaultIcons/IconIcon/0.instance--/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax.defaultIcons/IconContentsLink/2.instance": "M100,101.00000000000003L137.1206519838497,129.09130420399435",
  338. "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax.defaultIcons/IconContentsLink/2.instance--/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax.defaultIcons/TextIcon/1.instance": "M137.06019491968596,129.0455529121947L172.99973790272878,113.99980165611896"
  339. }
  340. },
  341. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax.defaultIcons/IconContentsLink"
  342. }
  343. },
  344. "edges": [],
  345. "metamodels": [
  346. "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax.defaultIcons"
  347. ]
  348. },
  349. "asm": {
  350. "nodes": {
  351. "0": {
  352. "typename": {
  353. "type": "string",
  354. "value": "CodeIcon"
  355. },
  356. "position": {
  357. "type": "list<double>",
  358. "value": [
  359. 100,
  360. 101
  361. ]
  362. },
  363. "orientation": {
  364. "type": "double",
  365. "value": 0
  366. },
  367. "scale": {
  368. "type": "list<double>",
  369. "value": [
  370. 1,
  371. 1
  372. ]
  373. },
  374. "mapper": {
  375. "type": "code",
  376. "value": ""
  377. },
  378. "parser": {
  379. "type": "code",
  380. "value": ""
  381. },
  382. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Icon"
  383. },
  384. "1": {
  385. "textContent": {
  386. "type": "string",
  387. "value": "</>"
  388. },
  389. "style": {
  390. "type": "map<string,string>",
  391. "value": {
  392. "stroke": "#000000",
  393. "stroke-dasharray": "",
  394. "fill": "#ffffff",
  395. "fill-opacity": 0.95,
  396. "font-size": "100px",
  397. "stroke-width": 1,
  398. "arrow-start": "none",
  399. "arrow-end": "none"
  400. }
  401. },
  402. "mapper": {
  403. "type": "code",
  404. "value": ""
  405. },
  406. "parser": {
  407. "type": "code",
  408. "value": ""
  409. },
  410. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  411. },
  412. "2": {
  413. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/IconContents"
  414. }
  415. },
  416. "edges": [
  417. {
  418. "src": "0",
  419. "dest": "2"
  420. },
  421. {
  422. "src": "2",
  423. "dest": "1"
  424. }
  425. ],
  426. "metamodels": [
  427. "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax"
  428. ]
  429. }
  430. }