AttributedGenericGraphMM.model 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561
  1. {
  2. "csm": {
  3. "nodes": {
  4. "0": {
  5. "typename": {
  6. "type": "string",
  7. "value": "ClassIcon"
  8. },
  9. "position": {
  10. "type": "list<double>",
  11. "value": [
  12. 373,
  13. 225
  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. "5": {
  40. "width": {
  41. "type": "double",
  42. "value": 200
  43. },
  44. "height": {
  45. "type": "double",
  46. "value": 125
  47. },
  48. "cornerRadius": {
  49. "type": "double",
  50. "value": 5
  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": 2
  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. "6": {
  91. "textContent": {
  92. "type": "string",
  93. "value": "$*"
  94. },
  95. "style": {
  96. "type": "map<string,string>",
  97. "value": {
  98. "stroke": "#000000",
  99. "stroke-dasharray": "",
  100. "fill": "#ffffff",
  101. "fill-opacity": 0.75,
  102. "font-size": "20px",
  103. "stroke-width": 1,
  104. "arrow-start": "none",
  105. "arrow-end": "none"
  106. }
  107. },
  108. "mapper": {
  109. "type": "code",
  110. "value": "({'textContent': getAttr('name')})"
  111. },
  112. "parser": {
  113. "type": "code",
  114. "value": "({'name': getAttr('textContent')})"
  115. },
  116. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  117. "position": {
  118. "type": "list<double>",
  119. "value": [
  120. 23,
  121. 2
  122. ]
  123. },
  124. "orientation": {
  125. "type": "double",
  126. "value": 0
  127. },
  128. "scale": {
  129. "type": "list<double>",
  130. "value": [
  131. 1,
  132. 1
  133. ]
  134. }
  135. },
  136. "7": {
  137. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  138. "position": {
  139. "type": "list<double>",
  140. "value": [
  141. 13.896110991026944,
  142. 3.0451514439171206
  143. ]
  144. },
  145. "orientation": {
  146. "type": "double",
  147. "value": 0
  148. },
  149. "scale": {
  150. "type": "list<double>",
  151. "value": [
  152. 1,
  153. 1
  154. ]
  155. },
  156. "link-style": {
  157. "type": "map<string,string>",
  158. "value": {
  159. "stroke": "#00ffff",
  160. "stroke-dasharray": "",
  161. "stroke-opacity": 0.1,
  162. "arrow-start": "none",
  163. "arrow-end": "classic-wide-long"
  164. }
  165. }
  166. },
  167. "17": {
  168. "segments": {
  169. "type": "string",
  170. "value": "m0,0l200,0"
  171. },
  172. "style": {
  173. "type": "map<string,string>",
  174. "value": {
  175. "stroke": "#000000",
  176. "stroke-dasharray": "",
  177. "fill": "#ffffff",
  178. "fill-opacity": 0.75,
  179. "font-size": "20px",
  180. "stroke-width": 2,
  181. "arrow-start": "none",
  182. "arrow-end": "none"
  183. }
  184. },
  185. "mapper": {
  186. "type": "code",
  187. "value": ""
  188. },
  189. "parser": {
  190. "type": "code",
  191. "value": ""
  192. },
  193. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  194. "position": {
  195. "type": "list<double>",
  196. "value": [
  197. 1,
  198. 26
  199. ]
  200. },
  201. "orientation": {
  202. "type": "double",
  203. "value": 0
  204. },
  205. "scale": {
  206. "type": "list<double>",
  207. "value": [
  208. 1,
  209. 1
  210. ]
  211. }
  212. },
  213. "18": {
  214. "textContent": {
  215. "type": "string",
  216. "value": ""
  217. },
  218. "style": {
  219. "type": "map<string,string>",
  220. "value": {
  221. "stroke": "#000000",
  222. "stroke-dasharray": "",
  223. "fill": "#ffffff",
  224. "fill-opacity": 0.75,
  225. "font-size": "13px",
  226. "stroke-width": 1,
  227. "arrow-start": "none",
  228. "arrow-end": "none"
  229. }
  230. },
  231. "mapper": {
  232. "type": "code",
  233. "value": "var filenames = getAttr('attributes').map(\n\t\t\t\tfunction(attr)\n\t\t\t\t{\n\t\t\t\t\treturn attr['name'];\n\t\t\t\t});\n({'textContent': filenames.join('\\n')})"
  234. },
  235. "parser": {
  236. "type": "code",
  237. "value": ""
  238. },
  239. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  240. "position": {
  241. "type": "list<double>",
  242. "value": [
  243. 3,
  244. 25
  245. ]
  246. },
  247. "orientation": {
  248. "type": "double",
  249. "value": 0
  250. },
  251. "scale": {
  252. "type": "list<double>",
  253. "value": [
  254. 1,
  255. 1
  256. ]
  257. }
  258. },
  259. "19": {
  260. "width": {
  261. "type": "boolean",
  262. "value": true
  263. },
  264. "ratio": {
  265. "type": "double",
  266. "value": 1
  267. },
  268. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Span",
  269. "position": {
  270. "type": "list<double>",
  271. "value": [
  272. 168.09129891774523,
  273. 30.625911571363645
  274. ]
  275. },
  276. "orientation": {
  277. "type": "double",
  278. "value": 0
  279. },
  280. "scale": {
  281. "type": "list<double>",
  282. "value": [
  283. 1,
  284. 1
  285. ]
  286. },
  287. "link-style": {
  288. "type": "map<string,string>",
  289. "value": {
  290. "stroke": "#0000ff",
  291. "stroke-dasharray": "",
  292. "stroke-opacity": 1,
  293. "arrow-start": "none",
  294. "arrow-end": "classic-wide-long"
  295. }
  296. }
  297. },
  298. "20": {
  299. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  300. "position": {
  301. "type": "list<double>",
  302. "value": [
  303. 6.49899850809561,
  304. 18.998998508095553
  305. ]
  306. },
  307. "orientation": {
  308. "type": "double",
  309. "value": 0
  310. },
  311. "scale": {
  312. "type": "list<double>",
  313. "value": [
  314. 1,
  315. 1
  316. ]
  317. },
  318. "link-style": {
  319. "type": "map<string,string>",
  320. "value": {
  321. "stroke": "#00ffff",
  322. "stroke-dasharray": "",
  323. "stroke-opacity": 0.1,
  324. "arrow-start": "none",
  325. "arrow-end": "classic-wide-long"
  326. }
  327. }
  328. }
  329. },
  330. "edges": [
  331. {
  332. "src": "5",
  333. "dest": "7"
  334. },
  335. {
  336. "src": "7",
  337. "dest": "6"
  338. },
  339. {
  340. "src": "17",
  341. "dest": "19"
  342. },
  343. {
  344. "src": "19",
  345. "dest": "5"
  346. },
  347. {
  348. "src": "5",
  349. "dest": "20"
  350. },
  351. {
  352. "src": "20",
  353. "dest": "18"
  354. }
  355. ]
  356. }
  357. },
  358. "$asuri": {
  359. "type": "string",
  360. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class/0.instance"
  361. },
  362. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon"
  363. },
  364. "3": {
  365. "link-style": {
  366. "type": "map<string,string>",
  367. "value": {
  368. "stroke": "#000000",
  369. "stroke-dasharray": "",
  370. "stroke-opacity": 1,
  371. "stroke-width": 2,
  372. "arrow-start": "none",
  373. "arrow-end": "classic-wide-long"
  374. }
  375. },
  376. "typename": {
  377. "type": "string",
  378. "value": "AssociationLink"
  379. },
  380. "position": {
  381. "type": "list<double>",
  382. "value": [
  383. "640.9999999999999,50%",
  384. "180.5531849687525,50%"
  385. ]
  386. },
  387. "orientation": {
  388. "type": "double",
  389. "value": 0
  390. },
  391. "scale": {
  392. "type": "list<double>",
  393. "value": [
  394. 1,
  395. 1
  396. ]
  397. },
  398. "mapper": {
  399. "type": "code",
  400. "value": ""
  401. },
  402. "parser": {
  403. "type": "code",
  404. "value": ""
  405. },
  406. "$contents": {
  407. "type": "map<string,*>",
  408. "value": {
  409. "nodes": {
  410. "15": {
  411. "textContent": {
  412. "type": "string",
  413. "value": "AttributedGenericLink"
  414. },
  415. "style": {
  416. "type": "map<string,string>",
  417. "value": {
  418. "stroke": "#000000",
  419. "stroke-dasharray": "",
  420. "fill": "#ffffff",
  421. "fill-opacity": 0.75,
  422. "font-size": "20px",
  423. "stroke-width": 1,
  424. "arrow-start": "none",
  425. "arrow-end": "none"
  426. }
  427. },
  428. "mapper": {
  429. "type": "code",
  430. "value": "({'textContent':getAttr('name')})"
  431. },
  432. "parser": {
  433. "type": "code",
  434. "value": "({'name':getAttr('textContent')})"
  435. },
  436. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  437. "position": {
  438. "type": "list<double>",
  439. "value": [
  440. 1,
  441. -19
  442. ]
  443. },
  444. "orientation": {
  445. "type": "double",
  446. "value": 0
  447. },
  448. "scale": {
  449. "type": "list<double>",
  450. "value": [
  451. 1,
  452. 1
  453. ]
  454. }
  455. }
  456. },
  457. "edges": []
  458. }
  459. },
  460. "$asuri": {
  461. "type": "string",
  462. "value": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association/3.instance"
  463. },
  464. "$segments": {
  465. "type": "map<string,list<string>>",
  466. "value": {
  467. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon/0.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/AssociationLink/3.instance": "M525,225L525,174L641,174L640.9999999999999,180.5531849687525",
  468. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/AssociationLink/3.instance--/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/ClassIcon/0.instance": "M640.9999999999999,180.5531849687525L641,285L572.0004343625288,285"
  469. }
  470. },
  471. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons/AssociationLink"
  472. }
  473. },
  474. "edges": [],
  475. "metamodels": [
  476. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons"
  477. ]
  478. },
  479. "asm": {
  480. "nodes": {
  481. "0": {
  482. "name": {
  483. "type": "string",
  484. "value": "$*"
  485. },
  486. "attributes": {
  487. "type": "list<$ATTRIBUTE>",
  488. "value": []
  489. },
  490. "constraints": {
  491. "type": "list<$EVENT_HANDLER>",
  492. "value": []
  493. },
  494. "actions": {
  495. "type": "list<$EVENT_HANDLER>",
  496. "value": []
  497. },
  498. "cardinalities": {
  499. "type": "list<$CARDINALITY>",
  500. "value": []
  501. },
  502. "abstract": {
  503. "type": "boolean",
  504. "value": false
  505. },
  506. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Class"
  507. },
  508. "3": {
  509. "name": {
  510. "type": "string",
  511. "value": "AttributedGenericLink"
  512. },
  513. "attributes": {
  514. "type": "list<$ATTRIBUTE>",
  515. "value": [
  516. {
  517. "name": "name",
  518. "type": "string",
  519. "default": "GL_"
  520. },
  521. {
  522. "name": "data",
  523. "type": "map<string,string>",
  524. "default": {}
  525. }
  526. ]
  527. },
  528. "constraints": {
  529. "type": "list<$EVENT_HANDLER>",
  530. "value": []
  531. },
  532. "actions": {
  533. "type": "list<$EVENT_HANDLER>",
  534. "value": []
  535. },
  536. "cardinalities": {
  537. "type": "list<$CARDINALITY>",
  538. "value": []
  539. },
  540. "linktype": {
  541. "type": "ENUM(visual,containment)",
  542. "value": "visual"
  543. },
  544. "$type": "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/Association"
  545. }
  546. },
  547. "edges": [
  548. {
  549. "src": "0",
  550. "dest": "3"
  551. },
  552. {
  553. "src": "3",
  554. "dest": "0"
  555. }
  556. ],
  557. "metamodels": [
  558. "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram"
  559. ]
  560. }
  561. }