EntityRelationshipMM.model 25 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127
  1. {
  2. "csm": {
  3. "nodes": {
  4. "4": {
  5. "typename": {
  6. "type": "string",
  7. "value": "EntityIcon"
  8. },
  9. "position": {
  10. "type": "list<double>",
  11. "value": [
  12. 97,
  13. 152
  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": "GlobalConstraint"
  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\nevent\ncode"
  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/4.instance"
  271. },
  272. "$type": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons/EntityIcon"
  273. },
  274. "5": {
  275. "typename": {
  276. "type": "string",
  277. "value": "EntityIcon"
  278. },
  279. "position": {
  280. "type": "list<double>",
  281. "value": [
  282. 97,
  283. 326
  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": "GlobalAction"
  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/5.instance"
  541. },
  542. "$type": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons/EntityIcon"
  543. },
  544. "6": {
  545. "typename": {
  546. "type": "string",
  547. "value": "EntityIcon"
  548. },
  549. "position": {
  550. "type": "list<double>",
  551. "value": [
  552. 498,
  553. 265
  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": "Entity"
  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\nattributes\nconstraints\nactions\ncardinalities"
  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/6.instance"
  811. },
  812. "$type": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons/EntityIcon"
  813. },
  814. "7": {
  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": "Relationship"
  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/7.instance"
  909. },
  910. "$segments": {
  911. "type": "map<string,list<string>>",
  912. "value": {
  913. "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons/EntityIcon/6.instance--/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons/RelationshipLink/7.instance": "M647,263L647,189L767,189L767.0000000000005,203.53386390532543",
  914. "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons/RelationshipLink/7.instance--/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons/EntityIcon/6.instance": "M767.0000000000005,203.53386390532543L767,345L700.0004473156605,345"
  915. }
  916. },
  917. "$type": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons/RelationshipLink"
  918. }
  919. },
  920. "edges": [],
  921. "metamodels": [
  922. "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship.defaultIcons"
  923. ]
  924. },
  925. "asm": {
  926. "nodes": {
  927. "4": {
  928. "name": {
  929. "type": "string",
  930. "value": "GlobalConstraint"
  931. },
  932. "attributes": {
  933. "type": "list<$ATTRIBUTE>",
  934. "value": [
  935. {
  936. "name": "name",
  937. "type": "string",
  938. "default": "GC_"
  939. },
  940. {
  941. "name": "event",
  942. "type": "$EVENT",
  943. "default": ""
  944. },
  945. {
  946. "name": "code",
  947. "type": "code",
  948. "default": ""
  949. }
  950. ]
  951. },
  952. "constraints": {
  953. "type": "list<$EVENT_HANDLER>",
  954. "value": []
  955. },
  956. "actions": {
  957. "type": "list<$EVENT_HANDLER>",
  958. "value": []
  959. },
  960. "cardinalities": {
  961. "type": "list<$CARDINALITY>",
  962. "value": []
  963. },
  964. "$type": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship/Entity"
  965. },
  966. "5": {
  967. "name": {
  968. "type": "string",
  969. "value": "GlobalAction"
  970. },
  971. "attributes": {
  972. "type": "list<$ATTRIBUTE>",
  973. "value": [
  974. {
  975. "name": "name",
  976. "type": "string",
  977. "default": "GA_"
  978. },
  979. {
  980. "name": "event",
  981. "type": "$EVENT",
  982. "default": ""
  983. },
  984. {
  985. "name": "code",
  986. "type": "code",
  987. "default": ""
  988. }
  989. ]
  990. },
  991. "constraints": {
  992. "type": "list<$EVENT_HANDLER>",
  993. "value": []
  994. },
  995. "actions": {
  996. "type": "list<$EVENT_HANDLER>",
  997. "value": []
  998. },
  999. "cardinalities": {
  1000. "type": "list<$CARDINALITY>",
  1001. "value": []
  1002. },
  1003. "$type": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship/Entity"
  1004. },
  1005. "6": {
  1006. "name": {
  1007. "type": "string",
  1008. "value": "Entity"
  1009. },
  1010. "attributes": {
  1011. "type": "list<$ATTRIBUTE>",
  1012. "value": [
  1013. {
  1014. "name": "name",
  1015. "type": "string",
  1016. "default": "Entity_"
  1017. },
  1018. {
  1019. "name": "attributes",
  1020. "type": "list<$ATTRIBUTE>",
  1021. "default": []
  1022. },
  1023. {
  1024. "name": "constraints",
  1025. "type": "list<$EVENT_HANDLER>",
  1026. "default": []
  1027. },
  1028. {
  1029. "name": "actions",
  1030. "type": "list<$EVENT_HANDLER>",
  1031. "default": []
  1032. },
  1033. {
  1034. "name": "cardinalities",
  1035. "type": "list<$CARDINALITY>",
  1036. "default": []
  1037. }
  1038. ]
  1039. },
  1040. "constraints": {
  1041. "type": "list<$EVENT_HANDLER>",
  1042. "value": []
  1043. },
  1044. "actions": {
  1045. "type": "list<$EVENT_HANDLER>",
  1046. "value": []
  1047. },
  1048. "cardinalities": {
  1049. "type": "list<$CARDINALITY>",
  1050. "value": []
  1051. },
  1052. "$type": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship/Entity"
  1053. },
  1054. "7": {
  1055. "name": {
  1056. "type": "string",
  1057. "value": "Relationship"
  1058. },
  1059. "attributes": {
  1060. "type": "list<$ATTRIBUTE>",
  1061. "value": [
  1062. {
  1063. "name": "name",
  1064. "type": "string",
  1065. "default": "Relationship_"
  1066. },
  1067. {
  1068. "name": "attributes",
  1069. "type": "list<$ATTRIBUTE>",
  1070. "default": []
  1071. },
  1072. {
  1073. "name": "constraints",
  1074. "type": "list<$EVENT_HANDLER>",
  1075. "default": []
  1076. },
  1077. {
  1078. "name": "actions",
  1079. "type": "list<$EVENT_HANDLER>",
  1080. "default": []
  1081. },
  1082. {
  1083. "name": "cardinalities",
  1084. "type": "list<$CARDINALITY>",
  1085. "default": []
  1086. },
  1087. {
  1088. "name": "linktype",
  1089. "type": "ENUM(visual,containment)",
  1090. "default": "visual"
  1091. }
  1092. ]
  1093. },
  1094. "constraints": {
  1095. "type": "list<$EVENT_HANDLER>",
  1096. "value": []
  1097. },
  1098. "actions": {
  1099. "type": "list<$EVENT_HANDLER>",
  1100. "value": []
  1101. },
  1102. "cardinalities": {
  1103. "type": "list<$CARDINALITY>",
  1104. "value": []
  1105. },
  1106. "linktype": {
  1107. "type": "ENUM(visual,containment)",
  1108. "value": "visual"
  1109. },
  1110. "$type": "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship/Relationship"
  1111. }
  1112. },
  1113. "edges": [
  1114. {
  1115. "src": "6",
  1116. "dest": "7"
  1117. },
  1118. {
  1119. "src": "7",
  1120. "dest": "6"
  1121. }
  1122. ],
  1123. "metamodels": [
  1124. "/Formalisms/__LanguageSyntax__/EntityRelationship/EntityRelationship"
  1125. ]
  1126. }
  1127. }