AttributedGenericGraph.defaultIcons.model 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. {
  2. "csm": {
  3. "nodes": {
  4. "0": {
  5. "typename": {
  6. "type": "string",
  7. "value": "LinkIcon"
  8. },
  9. "position": {
  10. "type": "list<double>",
  11. "value": [
  12. 224,
  13. 150
  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. "8": {
  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. 1
  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. "9": {
  91. "textContent": {
  92. "type": "string",
  93. "value": "AttributedGenericLinkLink"
  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. 153
  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. "10": {
  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. 98.49899850809561,
  147. 131.99900000000002
  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": "9",
  176. "dest": 10
  177. },
  178. {
  179. "src": 10,
  180. "dest": "8"
  181. }
  182. ]
  183. }
  184. },
  185. "$asuri": {
  186. "type": "string",
  187. "value": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Link/0.instance"
  188. },
  189. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax.defaultIcons/LinkIcon"
  190. }
  191. },
  192. "edges": [],
  193. "metamodels": [
  194. "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax.defaultIcons"
  195. ]
  196. },
  197. "asm": {
  198. "nodes": {
  199. "0": {
  200. "link-style": {
  201. "type": "map<string,string>",
  202. "value": {
  203. "stroke": "#a000ff",
  204. "stroke-dasharray": ". ",
  205. "stroke-opacity": 1,
  206. "stroke-width": 1,
  207. "arrow-start": "none",
  208. "arrow-end": "classic-wide-long"
  209. }
  210. },
  211. "typename": {
  212. "type": "string",
  213. "value": "AttributedGenericLinkLink"
  214. },
  215. "position": {
  216. "type": "list<double>",
  217. "value": [
  218. 224,
  219. 150
  220. ]
  221. },
  222. "orientation": {
  223. "type": "double",
  224. "value": 0
  225. },
  226. "scale": {
  227. "type": "list<double>",
  228. "value": [
  229. 1,
  230. 1
  231. ]
  232. },
  233. "mapper": {
  234. "type": "code",
  235. "value": ""
  236. },
  237. "parser": {
  238. "type": "code",
  239. "value": ""
  240. },
  241. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Link"
  242. }
  243. },
  244. "edges": [],
  245. "metamodels": [
  246. "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax"
  247. ]
  248. }
  249. }