SimpleClassDiagramMM.model 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278
  1. {
  2. "csm": {
  3. "nodes": {
  4. "0": {
  5. "typename": {
  6. "type": "string",
  7. "value": "EntityIcon"
  8. },
  9. "position": {
  10. "type": "list<double>",
  11. "value": [
  12. 498,
  13. 265
  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. "2": {
  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": "#ff3000",
  56. "stroke-dasharray": "",
  57. "fill": "#ff3000",
  58. "fill-opacity": 0.25,
  59. "font-size": "20px",
  60. "stroke-width": 2,
  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. 2,
  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. "3": {
  94. "textContent": {
  95. "type": "string",
  96. "value": "Class"
  97. },
  98. "style": {
  99. "type": "map<string,string>",
  100. "value": {
  101. "stroke": "#000000",
  102. "stroke-dasharray": "",
  103. "fill": "#ffffff",
  104. "fill-opacity": 0.75,
  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": "({'textContent': getAttr('name')})\n\n\n\n\n\n\n\n"
  114. },
  115. "parser": {
  116. "type": "code",
  117. "value": ""
  118. },
  119. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  120. "position": {
  121. "type": "list<double>",
  122. "value": [
  123. 16,
  124. 3
  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. "4": {
  140. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  141. "position": {
  142. "type": "list<double>",
  143. "value": [
  144. 15.24899850809561,
  145. 3.9989985080956103
  146. ]
  147. },
  148. "orientation": {
  149. "type": "double",
  150. "value": 0
  151. },
  152. "scale": {
  153. "type": "list<double>",
  154. "value": [
  155. 1,
  156. 1
  157. ]
  158. },
  159. "link-style": {
  160. "type": "map<string,string>",
  161. "value": {
  162. "stroke": "#00ffff",
  163. "stroke-dasharray": "",
  164. "stroke-opacity": 0.1,
  165. "arrow-start": "none",
  166. "arrow-end": "classic-wide-long"
  167. }
  168. }
  169. },
  170. "16": {
  171. "textContent": {
  172. "type": "string",
  173. "value": "name\nattributes\nconstraints\nactions\ncardinalities\nabstract"
  174. },
  175. "style": {
  176. "type": "map<string,string>",
  177. "value": {
  178. "stroke": "#000000",
  179. "stroke-dasharray": "",
  180. "fill": "#ffffff",
  181. "fill-opacity": 0.75,
  182. "font-size": "13px",
  183. "stroke-width": 1,
  184. "arrow-start": "none",
  185. "arrow-end": "none"
  186. }
  187. },
  188. "mapper": {
  189. "type": "code",
  190. "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')})"
  191. },
  192. "parser": {
  193. "type": "code",
  194. "value": ""
  195. },
  196. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  197. "position": {
  198. "type": "list<double>",
  199. "value": [
  200. 7,
  201. 23
  202. ]
  203. },
  204. "orientation": {
  205. "type": "double",
  206. "value": 0
  207. },
  208. "scale": {
  209. "type": "list<double>",
  210. "value": [
  211. 1,
  212. 1
  213. ]
  214. }
  215. },
  216. "17": {
  217. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  218. "position": {
  219. "type": "list<double>",
  220. "value": [
  221. 9.49899850809561,
  222. 15.499000000000024
  223. ]
  224. },
  225. "orientation": {
  226. "type": "double",
  227. "value": 0
  228. },
  229. "scale": {
  230. "type": "list<double>",
  231. "value": [
  232. 1,
  233. 1
  234. ]
  235. },
  236. "link-style": {
  237. "type": "map<string,string>",
  238. "value": {
  239. "stroke": "#00ffff",
  240. "stroke-dasharray": "",
  241. "stroke-opacity": 0.1,
  242. "arrow-start": "none",
  243. "arrow-end": "classic-wide-long"
  244. }
  245. }
  246. }
  247. },
  248. "edges": [
  249. {
  250. "src": "2",
  251. "dest": "4"
  252. },
  253. {
  254. "src": "4",
  255. "dest": "3"
  256. },
  257. {
  258. "src": "2",
  259. "dest": "17"
  260. },
  261. {
  262. "src": "17",
  263. "dest": "16"
  264. }
  265. ]
  266. }
  267. },
  268. "$asuri": {
  269. "type": "string",
  270. "value": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship/Entity/0.instance"
  271. },
  272. "$type": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons/EntityIcon"
  273. },
  274. "1": {
  275. "typename": {
  276. "type": "string",
  277. "value": "EntityIcon"
  278. },
  279. "position": {
  280. "type": "list<double>",
  281. "value": [
  282. 97,
  283. 152
  284. ]
  285. },
  286. "orientation": {
  287. "type": "double",
  288. "value": 0
  289. },
  290. "scale": {
  291. "type": "list<double>",
  292. "value": [
  293. 1,
  294. 1
  295. ]
  296. },
  297. "mapper": {
  298. "type": "code",
  299. "value": ""
  300. },
  301. "parser": {
  302. "type": "code",
  303. "value": ""
  304. },
  305. "$contents": {
  306. "type": "map<string,*>",
  307. "value": {
  308. "nodes": {
  309. "2": {
  310. "width": {
  311. "type": "double",
  312. "value": 200
  313. },
  314. "height": {
  315. "type": "double",
  316. "value": 125
  317. },
  318. "cornerRadius": {
  319. "type": "double",
  320. "value": 5
  321. },
  322. "style": {
  323. "type": "map<string,string>",
  324. "value": {
  325. "stroke": "#ff3000",
  326. "stroke-dasharray": "",
  327. "fill": "#ff3000",
  328. "fill-opacity": 0.25,
  329. "font-size": "20px",
  330. "stroke-width": 2,
  331. "arrow-start": "none",
  332. "arrow-end": "none"
  333. }
  334. },
  335. "mapper": {
  336. "type": "code",
  337. "value": ""
  338. },
  339. "parser": {
  340. "type": "code",
  341. "value": ""
  342. },
  343. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  344. "position": {
  345. "type": "list<double>",
  346. "value": [
  347. 2,
  348. -1
  349. ]
  350. },
  351. "orientation": {
  352. "type": "double",
  353. "value": 0
  354. },
  355. "scale": {
  356. "type": "list<double>",
  357. "value": [
  358. 1,
  359. 1
  360. ]
  361. }
  362. },
  363. "3": {
  364. "textContent": {
  365. "type": "string",
  366. "value": "GlobalConstraint"
  367. },
  368. "style": {
  369. "type": "map<string,string>",
  370. "value": {
  371. "stroke": "#000000",
  372. "stroke-dasharray": "",
  373. "fill": "#ffffff",
  374. "fill-opacity": 0.75,
  375. "font-size": "20px",
  376. "stroke-width": 1,
  377. "arrow-start": "none",
  378. "arrow-end": "none"
  379. }
  380. },
  381. "mapper": {
  382. "type": "code",
  383. "value": "({'textContent': getAttr('name')})\n\n\n\n\n\n\n\n"
  384. },
  385. "parser": {
  386. "type": "code",
  387. "value": ""
  388. },
  389. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  390. "position": {
  391. "type": "list<double>",
  392. "value": [
  393. 16,
  394. 3
  395. ]
  396. },
  397. "orientation": {
  398. "type": "double",
  399. "value": 0
  400. },
  401. "scale": {
  402. "type": "list<double>",
  403. "value": [
  404. 1,
  405. 1
  406. ]
  407. }
  408. },
  409. "4": {
  410. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  411. "position": {
  412. "type": "list<double>",
  413. "value": [
  414. 15.24899850809561,
  415. 3.9989985080956103
  416. ]
  417. },
  418. "orientation": {
  419. "type": "double",
  420. "value": 0
  421. },
  422. "scale": {
  423. "type": "list<double>",
  424. "value": [
  425. 1,
  426. 1
  427. ]
  428. },
  429. "link-style": {
  430. "type": "map<string,string>",
  431. "value": {
  432. "stroke": "#00ffff",
  433. "stroke-dasharray": "",
  434. "stroke-opacity": 0.1,
  435. "arrow-start": "none",
  436. "arrow-end": "classic-wide-long"
  437. }
  438. }
  439. },
  440. "16": {
  441. "textContent": {
  442. "type": "string",
  443. "value": "name\nevent\ncode"
  444. },
  445. "style": {
  446. "type": "map<string,string>",
  447. "value": {
  448. "stroke": "#000000",
  449. "stroke-dasharray": "",
  450. "fill": "#ffffff",
  451. "fill-opacity": 0.75,
  452. "font-size": "13px",
  453. "stroke-width": 1,
  454. "arrow-start": "none",
  455. "arrow-end": "none"
  456. }
  457. },
  458. "mapper": {
  459. "type": "code",
  460. "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')})"
  461. },
  462. "parser": {
  463. "type": "code",
  464. "value": ""
  465. },
  466. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  467. "position": {
  468. "type": "list<double>",
  469. "value": [
  470. 7,
  471. 23
  472. ]
  473. },
  474. "orientation": {
  475. "type": "double",
  476. "value": 0
  477. },
  478. "scale": {
  479. "type": "list<double>",
  480. "value": [
  481. 1,
  482. 1
  483. ]
  484. }
  485. },
  486. "17": {
  487. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  488. "position": {
  489. "type": "list<double>",
  490. "value": [
  491. 9.49899850809561,
  492. 15.499000000000024
  493. ]
  494. },
  495. "orientation": {
  496. "type": "double",
  497. "value": 0
  498. },
  499. "scale": {
  500. "type": "list<double>",
  501. "value": [
  502. 1,
  503. 1
  504. ]
  505. },
  506. "link-style": {
  507. "type": "map<string,string>",
  508. "value": {
  509. "stroke": "#00ffff",
  510. "stroke-dasharray": "",
  511. "stroke-opacity": 0.1,
  512. "arrow-start": "none",
  513. "arrow-end": "classic-wide-long"
  514. }
  515. }
  516. }
  517. },
  518. "edges": [
  519. {
  520. "src": "2",
  521. "dest": "4"
  522. },
  523. {
  524. "src": "4",
  525. "dest": "3"
  526. },
  527. {
  528. "src": "2",
  529. "dest": "17"
  530. },
  531. {
  532. "src": "17",
  533. "dest": "16"
  534. }
  535. ]
  536. }
  537. },
  538. "$asuri": {
  539. "type": "string",
  540. "value": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship/Entity/1.instance"
  541. },
  542. "$type": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons/EntityIcon"
  543. },
  544. "2": {
  545. "typename": {
  546. "type": "string",
  547. "value": "EntityIcon"
  548. },
  549. "position": {
  550. "type": "list<double>",
  551. "value": [
  552. 97,
  553. 326
  554. ]
  555. },
  556. "orientation": {
  557. "type": "double",
  558. "value": 0
  559. },
  560. "scale": {
  561. "type": "list<double>",
  562. "value": [
  563. 1,
  564. 1
  565. ]
  566. },
  567. "mapper": {
  568. "type": "code",
  569. "value": ""
  570. },
  571. "parser": {
  572. "type": "code",
  573. "value": ""
  574. },
  575. "$contents": {
  576. "type": "map<string,*>",
  577. "value": {
  578. "nodes": {
  579. "2": {
  580. "width": {
  581. "type": "double",
  582. "value": 200
  583. },
  584. "height": {
  585. "type": "double",
  586. "value": 125
  587. },
  588. "cornerRadius": {
  589. "type": "double",
  590. "value": 5
  591. },
  592. "style": {
  593. "type": "map<string,string>",
  594. "value": {
  595. "stroke": "#ff3000",
  596. "stroke-dasharray": "",
  597. "fill": "#ff3000",
  598. "fill-opacity": 0.25,
  599. "font-size": "20px",
  600. "stroke-width": 2,
  601. "arrow-start": "none",
  602. "arrow-end": "none"
  603. }
  604. },
  605. "mapper": {
  606. "type": "code",
  607. "value": ""
  608. },
  609. "parser": {
  610. "type": "code",
  611. "value": ""
  612. },
  613. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  614. "position": {
  615. "type": "list<double>",
  616. "value": [
  617. 2,
  618. -1
  619. ]
  620. },
  621. "orientation": {
  622. "type": "double",
  623. "value": 0
  624. },
  625. "scale": {
  626. "type": "list<double>",
  627. "value": [
  628. 1,
  629. 1
  630. ]
  631. }
  632. },
  633. "3": {
  634. "textContent": {
  635. "type": "string",
  636. "value": "GlobalAction"
  637. },
  638. "style": {
  639. "type": "map<string,string>",
  640. "value": {
  641. "stroke": "#000000",
  642. "stroke-dasharray": "",
  643. "fill": "#ffffff",
  644. "fill-opacity": 0.75,
  645. "font-size": "20px",
  646. "stroke-width": 1,
  647. "arrow-start": "none",
  648. "arrow-end": "none"
  649. }
  650. },
  651. "mapper": {
  652. "type": "code",
  653. "value": "({'textContent': getAttr('name')})\n\n\n\n\n\n\n\n"
  654. },
  655. "parser": {
  656. "type": "code",
  657. "value": ""
  658. },
  659. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  660. "position": {
  661. "type": "list<double>",
  662. "value": [
  663. 16,
  664. 3
  665. ]
  666. },
  667. "orientation": {
  668. "type": "double",
  669. "value": 0
  670. },
  671. "scale": {
  672. "type": "list<double>",
  673. "value": [
  674. 1,
  675. 1
  676. ]
  677. }
  678. },
  679. "4": {
  680. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  681. "position": {
  682. "type": "list<double>",
  683. "value": [
  684. 15.24899850809561,
  685. 3.9989985080956103
  686. ]
  687. },
  688. "orientation": {
  689. "type": "double",
  690. "value": 0
  691. },
  692. "scale": {
  693. "type": "list<double>",
  694. "value": [
  695. 1,
  696. 1
  697. ]
  698. },
  699. "link-style": {
  700. "type": "map<string,string>",
  701. "value": {
  702. "stroke": "#00ffff",
  703. "stroke-dasharray": "",
  704. "stroke-opacity": 0.1,
  705. "arrow-start": "none",
  706. "arrow-end": "classic-wide-long"
  707. }
  708. }
  709. },
  710. "16": {
  711. "textContent": {
  712. "type": "string",
  713. "value": "name\nevent\ncode"
  714. },
  715. "style": {
  716. "type": "map<string,string>",
  717. "value": {
  718. "stroke": "#000000",
  719. "stroke-dasharray": "",
  720. "fill": "#ffffff",
  721. "fill-opacity": 0.75,
  722. "font-size": "13px",
  723. "stroke-width": 1,
  724. "arrow-start": "none",
  725. "arrow-end": "none"
  726. }
  727. },
  728. "mapper": {
  729. "type": "code",
  730. "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')})"
  731. },
  732. "parser": {
  733. "type": "code",
  734. "value": ""
  735. },
  736. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  737. "position": {
  738. "type": "list<double>",
  739. "value": [
  740. 7,
  741. 23
  742. ]
  743. },
  744. "orientation": {
  745. "type": "double",
  746. "value": 0
  747. },
  748. "scale": {
  749. "type": "list<double>",
  750. "value": [
  751. 1,
  752. 1
  753. ]
  754. }
  755. },
  756. "17": {
  757. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  758. "position": {
  759. "type": "list<double>",
  760. "value": [
  761. 9.49899850809561,
  762. 15.499000000000024
  763. ]
  764. },
  765. "orientation": {
  766. "type": "double",
  767. "value": 0
  768. },
  769. "scale": {
  770. "type": "list<double>",
  771. "value": [
  772. 1,
  773. 1
  774. ]
  775. },
  776. "link-style": {
  777. "type": "map<string,string>",
  778. "value": {
  779. "stroke": "#00ffff",
  780. "stroke-dasharray": "",
  781. "stroke-opacity": 0.1,
  782. "arrow-start": "none",
  783. "arrow-end": "classic-wide-long"
  784. }
  785. }
  786. }
  787. },
  788. "edges": [
  789. {
  790. "src": "2",
  791. "dest": "4"
  792. },
  793. {
  794. "src": "4",
  795. "dest": "3"
  796. },
  797. {
  798. "src": "2",
  799. "dest": "17"
  800. },
  801. {
  802. "src": "17",
  803. "dest": "16"
  804. }
  805. ]
  806. }
  807. },
  808. "$asuri": {
  809. "type": "string",
  810. "value": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship/Entity/2.instance"
  811. },
  812. "$type": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons/EntityIcon"
  813. },
  814. "3": {
  815. "link-style": {
  816. "type": "map<string,string>",
  817. "value": {
  818. "stroke": "#0000ff",
  819. "stroke-dasharray": "",
  820. "stroke-opacity": 1,
  821. "stroke-width": 2,
  822. "arrow-start": "none",
  823. "arrow-end": "classic-wide-long"
  824. }
  825. },
  826. "typename": {
  827. "type": "string",
  828. "value": "RelationshipLink"
  829. },
  830. "position": {
  831. "type": "list<double>",
  832. "value": [
  833. 728.0000000000002,
  834. 191.5338639053254
  835. ]
  836. },
  837. "orientation": {
  838. "type": "double",
  839. "value": 0
  840. },
  841. "scale": {
  842. "type": "list<double>",
  843. "value": [
  844. 1,
  845. 1
  846. ]
  847. },
  848. "mapper": {
  849. "type": "code",
  850. "value": ""
  851. },
  852. "parser": {
  853. "type": "code",
  854. "value": ""
  855. },
  856. "$contents": {
  857. "type": "map<string,*>",
  858. "value": {
  859. "nodes": {
  860. "14": {
  861. "textContent": {
  862. "type": "string",
  863. "value": "Association"
  864. },
  865. "style": {
  866. "type": "map<string,string>",
  867. "value": {
  868. "stroke": "#0000ff",
  869. "fill": "#000000",
  870. "fill-opacity": 0.75,
  871. "font-size": "20px"
  872. }
  873. },
  874. "mapper": {
  875. "type": "code",
  876. "value": "({'textContent':getAttr('name')})"
  877. },
  878. "parser": {
  879. "type": "code",
  880. "value": "({'name':getAttr('textContent')})"
  881. },
  882. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  883. "position": {
  884. "type": "list<double>",
  885. "value": [
  886. 2,
  887. -16
  888. ]
  889. },
  890. "orientation": {
  891. "type": "double",
  892. "value": 0
  893. },
  894. "scale": {
  895. "type": "list<double>",
  896. "value": [
  897. 1,
  898. 1
  899. ]
  900. }
  901. }
  902. },
  903. "edges": []
  904. }
  905. },
  906. "$asuri": {
  907. "type": "string",
  908. "value": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship/Relationship/3.instance"
  909. },
  910. "$segments": {
  911. "type": "map<string,list<string>>",
  912. "value": {
  913. "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons/EntityIcon/0.instance--/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons/RelationshipLink/3.instance": "M647,263L647,189L767,189L767.0000000000005,203.53386390532543",
  914. "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons/RelationshipLink/3.instance--/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons/EntityIcon/0.instance": "M767.0000000000005,203.53386390532543L767,345L700.0004473156605,345"
  915. }
  916. },
  917. "$type": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons/RelationshipLink"
  918. },
  919. "6": {
  920. "link-style": {
  921. "type": "map<string,string>",
  922. "value": {
  923. "stroke": "#0000ff",
  924. "stroke-dasharray": "",
  925. "stroke-opacity": 1,
  926. "stroke-width": 2,
  927. "arrow-start": "none",
  928. "arrow-end": "classic-wide-long"
  929. }
  930. },
  931. "typename": {
  932. "type": "string",
  933. "value": "RelationshipLink"
  934. },
  935. "position": {
  936. "type": "list<double>",
  937. "value": [
  938. "467.43800594530325,50%",
  939. "468,50%"
  940. ]
  941. },
  942. "orientation": {
  943. "type": "double",
  944. "value": 0
  945. },
  946. "scale": {
  947. "type": "list<double>",
  948. "value": [
  949. 1,
  950. 1
  951. ]
  952. },
  953. "mapper": {
  954. "type": "code",
  955. "value": ""
  956. },
  957. "parser": {
  958. "type": "code",
  959. "value": ""
  960. },
  961. "$contents": {
  962. "type": "map<string,*>",
  963. "value": {
  964. "nodes": {
  965. "14": {
  966. "textContent": {
  967. "type": "string",
  968. "value": "Inheritance"
  969. },
  970. "style": {
  971. "type": "map<string,string>",
  972. "value": {
  973. "stroke": "#0000ff",
  974. "fill": "#000000",
  975. "fill-opacity": 0.75,
  976. "font-size": "20px"
  977. }
  978. },
  979. "mapper": {
  980. "type": "code",
  981. "value": "({'textContent':getAttr('name')})"
  982. },
  983. "parser": {
  984. "type": "code",
  985. "value": "({'name':getAttr('textContent')})"
  986. },
  987. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  988. "position": {
  989. "type": "list<double>",
  990. "value": [
  991. 2,
  992. -16
  993. ]
  994. },
  995. "orientation": {
  996. "type": "double",
  997. "value": 0
  998. },
  999. "scale": {
  1000. "type": "list<double>",
  1001. "value": [
  1002. 1,
  1003. 1
  1004. ]
  1005. }
  1006. }
  1007. },
  1008. "edges": []
  1009. }
  1010. },
  1011. "$asuri": {
  1012. "type": "string",
  1013. "value": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship/Relationship/6.instance"
  1014. },
  1015. "$segments": {
  1016. "type": "map<string,list<string>>",
  1017. "value": {
  1018. "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons/EntityIcon/0.instance--/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons/RelationshipLink/6.instance": "M570,389L570,468L467.43800594530325,468",
  1019. "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons/RelationshipLink/6.instance--/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons/EntityIcon/0.instance": "M467.43800594530325,468L454,468L454,346L499.9993487712665,346"
  1020. }
  1021. },
  1022. "$type": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons/RelationshipLink"
  1023. }
  1024. },
  1025. "edges": [],
  1026. "metamodels": [
  1027. "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons"
  1028. ]
  1029. },
  1030. "asm": {
  1031. "nodes": {
  1032. "0": {
  1033. "name": {
  1034. "type": "string",
  1035. "value": "Class"
  1036. },
  1037. "attributes": {
  1038. "type": "list<$ATTRIBUTE>",
  1039. "value": [
  1040. {
  1041. "name": "name",
  1042. "type": "string",
  1043. "default": "Class_"
  1044. },
  1045. {
  1046. "name": "attributes",
  1047. "type": "list<$ATTRIBUTE>",
  1048. "default": []
  1049. },
  1050. {
  1051. "name": "constraints",
  1052. "type": "list<$EVENT_HANDLER>",
  1053. "default": []
  1054. },
  1055. {
  1056. "name": "actions",
  1057. "type": "list<$EVENT_HANDLER>",
  1058. "default": []
  1059. },
  1060. {
  1061. "name": "cardinalities",
  1062. "type": "list<$CARDINALITY>",
  1063. "default": []
  1064. },
  1065. {
  1066. "name": "abstract",
  1067. "type": "boolean",
  1068. "default": false
  1069. }
  1070. ]
  1071. },
  1072. "constraints": {
  1073. "type": "list<$EVENT_HANDLER>",
  1074. "value": []
  1075. },
  1076. "actions": {
  1077. "type": "list<$EVENT_HANDLER>",
  1078. "value": []
  1079. },
  1080. "cardinalities": {
  1081. "type": "list<$CARDINALITY>",
  1082. "value": []
  1083. },
  1084. "$type": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship/Entity"
  1085. },
  1086. "1": {
  1087. "name": {
  1088. "type": "string",
  1089. "value": "GlobalConstraint"
  1090. },
  1091. "attributes": {
  1092. "type": "list<$ATTRIBUTE>",
  1093. "value": [
  1094. {
  1095. "name": "name",
  1096. "type": "string",
  1097. "default": "GC_"
  1098. },
  1099. {
  1100. "name": "event",
  1101. "type": "$EVENT",
  1102. "default": ""
  1103. },
  1104. {
  1105. "name": "code",
  1106. "type": "code",
  1107. "default": ""
  1108. }
  1109. ]
  1110. },
  1111. "constraints": {
  1112. "type": "list<$EVENT_HANDLER>",
  1113. "value": []
  1114. },
  1115. "actions": {
  1116. "type": "list<$EVENT_HANDLER>",
  1117. "value": []
  1118. },
  1119. "cardinalities": {
  1120. "type": "list<$CARDINALITY>",
  1121. "value": []
  1122. },
  1123. "$type": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship/Entity"
  1124. },
  1125. "2": {
  1126. "name": {
  1127. "type": "string",
  1128. "value": "GlobalAction"
  1129. },
  1130. "attributes": {
  1131. "type": "list<$ATTRIBUTE>",
  1132. "value": [
  1133. {
  1134. "name": "name",
  1135. "type": "string",
  1136. "default": "GA_"
  1137. },
  1138. {
  1139. "name": "event",
  1140. "type": "$EVENT",
  1141. "default": ""
  1142. },
  1143. {
  1144. "name": "code",
  1145. "type": "code",
  1146. "default": ""
  1147. }
  1148. ]
  1149. },
  1150. "constraints": {
  1151. "type": "list<$EVENT_HANDLER>",
  1152. "value": []
  1153. },
  1154. "actions": {
  1155. "type": "list<$EVENT_HANDLER>",
  1156. "value": []
  1157. },
  1158. "cardinalities": {
  1159. "type": "list<$CARDINALITY>",
  1160. "value": []
  1161. },
  1162. "$type": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship/Entity"
  1163. },
  1164. "3": {
  1165. "name": {
  1166. "type": "string",
  1167. "value": "Association"
  1168. },
  1169. "attributes": {
  1170. "type": "list<$ATTRIBUTE>",
  1171. "value": [
  1172. {
  1173. "name": "name",
  1174. "type": "string",
  1175. "default": "Association_"
  1176. },
  1177. {
  1178. "name": "attributes",
  1179. "type": "list<$ATTRIBUTE>",
  1180. "default": []
  1181. },
  1182. {
  1183. "name": "constraints",
  1184. "type": "list<$EVENT_HANDLER>",
  1185. "default": []
  1186. },
  1187. {
  1188. "name": "actions",
  1189. "type": "list<$EVENT_HANDLER>",
  1190. "default": []
  1191. },
  1192. {
  1193. "name": "cardinalities",
  1194. "type": "list<$CARDINALITY>",
  1195. "default": []
  1196. },
  1197. {
  1198. "name": "linktype",
  1199. "type": "ENUM(visual,containment)",
  1200. "default": "visual"
  1201. }
  1202. ]
  1203. },
  1204. "constraints": {
  1205. "type": "list<$EVENT_HANDLER>",
  1206. "value": []
  1207. },
  1208. "actions": {
  1209. "type": "list<$EVENT_HANDLER>",
  1210. "value": []
  1211. },
  1212. "cardinalities": {
  1213. "type": "list<$CARDINALITY>",
  1214. "value": []
  1215. },
  1216. "linktype": {
  1217. "type": "ENUM(visual,containment)",
  1218. "value": "visual"
  1219. },
  1220. "$type": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship/Relationship"
  1221. },
  1222. "6": {
  1223. "name": {
  1224. "type": "string",
  1225. "value": "Inheritance"
  1226. },
  1227. "attributes": {
  1228. "type": "list<$ATTRIBUTE>",
  1229. "value": []
  1230. },
  1231. "constraints": {
  1232. "type": "list<$EVENT_HANDLER>",
  1233. "value": [
  1234. {
  1235. "name": "noInheritanceLoops",
  1236. "event": "post-create",
  1237. "code": "/*newline*/var mm = '/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram/',/*newline*/ nout = getNeighbors('>',mm+'Class'),/*newline*/ visited = [];/*newline*/function dfs(to_visit)/*newline*/{/*newline*/ var curr = to_visit.pop();/*newline*/ if( curr == undefined )/*newline*/ return true;/*newline*/ else if( visited.indexOf(curr) > -1 )/*newline*/ return false;/*newline*/ else/*newline*/ {/*newline*/ visited.push(curr);/*newline*/ var ntype = (getAttr('$type',curr) == mm+'Class' ? /*newline*/ mm+'Inheritance' : mm+'Class');/*newline*/ return dfs( to_visit.concat(getNeighbors('>',ntype,curr)) );/*newline*/ }/*newline*/}/*newline*/dfs(nout);"
  1238. }
  1239. ]
  1240. },
  1241. "actions": {
  1242. "type": "list<$EVENT_HANDLER>",
  1243. "value": []
  1244. },
  1245. "cardinalities": {
  1246. "type": "list<$CARDINALITY>",
  1247. "value": []
  1248. },
  1249. "linktype": {
  1250. "type": "ENUM(visual,containment)",
  1251. "value": "visual"
  1252. },
  1253. "$type": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship/Relationship"
  1254. }
  1255. },
  1256. "edges": [
  1257. {
  1258. "src": "0",
  1259. "dest": "3"
  1260. },
  1261. {
  1262. "src": "3",
  1263. "dest": "0"
  1264. },
  1265. {
  1266. "src": "0",
  1267. "dest": "6"
  1268. },
  1269. {
  1270. "src": "6",
  1271. "dest": "0"
  1272. }
  1273. ],
  1274. "metamodels": [
  1275. "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship"
  1276. ]
  1277. }
  1278. }