SimpleClassDiagram.umlIcons.metamodel 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994
  1. {
  2. "types": {
  3. "GlobalConstraintIcon": [
  4. {
  5. "name": "typename",
  6. "type": "string",
  7. "default": "GlobalConstraintIcon"
  8. },
  9. {
  10. "name": "position",
  11. "type": "list<double>",
  12. "default": [
  13. 426,
  14. 126
  15. ]
  16. },
  17. {
  18. "name": "orientation",
  19. "type": "double",
  20. "default": 0
  21. },
  22. {
  23. "name": "scale",
  24. "type": "list<double>",
  25. "default": [
  26. 1,
  27. 1
  28. ]
  29. },
  30. {
  31. "name": "mapper",
  32. "type": "code",
  33. "default": ""
  34. },
  35. {
  36. "name": "parser",
  37. "type": "code",
  38. "default": ""
  39. },
  40. {
  41. "name": "$contents",
  42. "type": "map<string,*>",
  43. "default": {
  44. "nodes": {
  45. "11": {
  46. "textContent": {
  47. "type": "string",
  48. "value": "CONSTRAINT"
  49. },
  50. "style": {
  51. "type": "map<string,string>",
  52. "value": {
  53. "stroke": "#00ff70",
  54. "stroke-dasharray": "",
  55. "fill": "#00ff70",
  56. "fill-opacity": 0.75,
  57. "font-size": "20px",
  58. "stroke-width": 1,
  59. "arrow-start": "none",
  60. "arrow-end": "none"
  61. }
  62. },
  63. "mapper": {
  64. "type": "code",
  65. "value": "({'textContent' : 'check '+getAttr('name')+' on '+(getAttr('event') || 'validate')})\n"
  66. },
  67. "parser": {
  68. "type": "code",
  69. "value": ""
  70. },
  71. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  72. "position": {
  73. "type": "list<double>",
  74. "value": [
  75. 0,
  76. -1
  77. ]
  78. },
  79. "orientation": {
  80. "type": "double",
  81. "value": 0
  82. },
  83. "scale": {
  84. "type": "list<double>",
  85. "value": [
  86. 1,
  87. 1
  88. ]
  89. }
  90. }
  91. },
  92. "edges": []
  93. }
  94. },
  95. {
  96. "name": "$asuri",
  97. "type": "string",
  98. "default": "-1"
  99. }
  100. ],
  101. "GlobalActionIcon": [
  102. {
  103. "name": "typename",
  104. "type": "string",
  105. "default": "GlobalActionIcon"
  106. },
  107. {
  108. "name": "position",
  109. "type": "list<double>",
  110. "default": [
  111. 677,
  112. 151
  113. ]
  114. },
  115. {
  116. "name": "orientation",
  117. "type": "double",
  118. "default": 0
  119. },
  120. {
  121. "name": "scale",
  122. "type": "list<double>",
  123. "default": [
  124. 1,
  125. 1
  126. ]
  127. },
  128. {
  129. "name": "mapper",
  130. "type": "code",
  131. "default": ""
  132. },
  133. {
  134. "name": "parser",
  135. "type": "code",
  136. "default": ""
  137. },
  138. {
  139. "name": "$contents",
  140. "type": "map<string,*>",
  141. "default": {
  142. "nodes": {
  143. "13": {
  144. "textContent": {
  145. "type": "string",
  146. "value": "ACTION"
  147. },
  148. "style": {
  149. "type": "map<string,string>",
  150. "value": {
  151. "stroke": "#af00ff",
  152. "stroke-dasharray": "",
  153. "fill": "#af00ff",
  154. "fill-opacity": 0.75,
  155. "font-size": "20px",
  156. "stroke-width": 1,
  157. "arrow-start": "none",
  158. "arrow-end": "none"
  159. }
  160. },
  161. "mapper": {
  162. "type": "code",
  163. "value": "({'textContent' : 'do '+getAttr('name')+' on '+getAttr('event')})\n"
  164. },
  165. "parser": {
  166. "type": "code",
  167. "value": ""
  168. },
  169. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  170. "position": {
  171. "type": "list<double>",
  172. "value": [
  173. 0,
  174. 1
  175. ]
  176. },
  177. "orientation": {
  178. "type": "double",
  179. "value": 0
  180. },
  181. "scale": {
  182. "type": "list<double>",
  183. "value": [
  184. 1,
  185. 1
  186. ]
  187. }
  188. }
  189. },
  190. "edges": []
  191. }
  192. },
  193. {
  194. "name": "$asuri",
  195. "type": "string",
  196. "default": "-1"
  197. }
  198. ],
  199. "AssociationLink": [
  200. {
  201. "name": "link-style",
  202. "type": "map<string,string>",
  203. "default": {
  204. "stroke": "#000000",
  205. "stroke-dasharray": "",
  206. "stroke-opacity": 1,
  207. "stroke-width": 2
  208. }
  209. },
  210. {
  211. "name": "arrowHead",
  212. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  213. "default": "custom"
  214. },
  215. {
  216. "name": "arrowTail",
  217. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  218. "default": "arrow-black"
  219. },
  220. {
  221. "name": "typename",
  222. "type": "string",
  223. "default": "AssociationLink"
  224. },
  225. {
  226. "name": "position",
  227. "type": "list<double>",
  228. "default": [
  229. 122,
  230. 398
  231. ]
  232. },
  233. {
  234. "name": "orientation",
  235. "type": "double",
  236. "default": 0
  237. },
  238. {
  239. "name": "scale",
  240. "type": "list<double>",
  241. "default": [
  242. 1,
  243. 1
  244. ]
  245. },
  246. {
  247. "name": "mapper",
  248. "type": "code",
  249. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  250. },
  251. {
  252. "name": "parser",
  253. "type": "code",
  254. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  255. },
  256. {
  257. "name": "$contents",
  258. "type": "map<string,*>",
  259. "default": {
  260. "nodes": {
  261. "71": {
  262. "textContent": {
  263. "type": "string",
  264. "value": "<coded>"
  265. },
  266. "style": {
  267. "type": "map<string,string>",
  268. "value": {
  269. "font-size": "20px",
  270. "font-style": "normal",
  271. "font-weight": "normal",
  272. "line-height": "100%",
  273. "letter-spacing": "0px",
  274. "word-spacing": "0px",
  275. "fill": "#000000",
  276. "fill-opacity": "1",
  277. "stroke": "none",
  278. "font-family": "Sans"
  279. }
  280. },
  281. "mapper": {
  282. "type": "code",
  283. "value": "({'textContent':getAttr('name')})"
  284. },
  285. "parser": {
  286. "type": "code",
  287. "value": "({'name':getAttr('textContent')})"
  288. },
  289. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  290. "position": {
  291. "type": "list<double>",
  292. "value": [
  293. 0,
  294. 0
  295. ]
  296. },
  297. "orientation": {
  298. "type": "double",
  299. "value": 0
  300. },
  301. "scale": {
  302. "type": "list<double>",
  303. "value": [
  304. 1,
  305. 1
  306. ]
  307. },
  308. "$linkDecoratorInfo": {
  309. "type": "map<string,double>",
  310. "value": {
  311. "xratio": 0.3803680981595092,
  312. "yoffset": -28.5
  313. }
  314. }
  315. },
  316. "74": {
  317. "textContent": {
  318. "type": "string",
  319. "value": "*"
  320. },
  321. "style": {
  322. "type": "map<string,string>",
  323. "value": {
  324. "font-size": "20px",
  325. "font-style": "normal",
  326. "font-weight": "normal",
  327. "line-height": "100%",
  328. "letter-spacing": "0px",
  329. "word-spacing": "0px",
  330. "fill": "#000000",
  331. "fill-opacity": "1",
  332. "stroke": "none",
  333. "font-family": "Sans"
  334. }
  335. },
  336. "mapper": {
  337. "type": "code",
  338. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar clazz = getNeighbors('>'),\n mult = '';\nif (clazz.length > 0) {\n clazz = clazz[0];\n var cardinalities = getAttr('cardinalities', clazz), card;\n for (i = 0; i < cardinalities.length; i++) {\n if (cardinalities[i]['type'] == getAttr('name') && cardinalities[i]['dir'] == 'in') {\n card = cardinalities[i];\n break;\n }\n }\n if (card) {\n var min = card['min'],\n max = card['max'];\n if (min == '')\n min = '0';\n if (max == '' || max == 'Infinity')\n max = '*';\n if (min == '0' && max == '*')\n mult = '*';\n else if (min == max)\n mult = max;\n else mult = min + '..' + max;\n }\n}\nif (mult == '')\n mult = '*';\n({'textContent': mult})"
  339. },
  340. "parser": {
  341. "type": "code",
  342. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  343. },
  344. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  345. "position": {
  346. "type": "list<double>",
  347. "value": [
  348. 0,
  349. 0
  350. ]
  351. },
  352. "orientation": {
  353. "type": "double",
  354. "value": 0
  355. },
  356. "scale": {
  357. "type": "list<double>",
  358. "value": [
  359. 1,
  360. 1
  361. ]
  362. },
  363. "$linkDecoratorInfo": {
  364. "type": "map<string,double>",
  365. "value": {
  366. "xratio": 0.06134969325153374,
  367. "yoffset": -25.5
  368. }
  369. }
  370. },
  371. "77": {
  372. "textContent": {
  373. "type": "string",
  374. "value": "*"
  375. },
  376. "style": {
  377. "type": "map<string,string>",
  378. "value": {
  379. "font-size": "20px",
  380. "font-style": "normal",
  381. "font-weight": "normal",
  382. "line-height": "100%",
  383. "letter-spacing": "0px",
  384. "word-spacing": "0px",
  385. "fill": "#000000",
  386. "fill-opacity": "1",
  387. "stroke": "none",
  388. "font-family": "Sans"
  389. }
  390. },
  391. "mapper": {
  392. "type": "code",
  393. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar clazz = getNeighbors('<'),\n mult = '';\nif (clazz.length > 0) {\n clazz = clazz[0];\n var cardinalities = getAttr('cardinalities', clazz), card;\n for (i = 0; i < cardinalities.length; i++) {\n if (cardinalities[i]['type'] == getAttr('name') && cardinalities[i]['dir'] == 'out') {\n card = cardinalities[i];\n break;\n }\n }\n if (card) {\n var min = card['min'],\n max = card['max'];\n if (min == '')\n min = '0';\n if (max == '' || max == 'Infinity')\n max = '*';\n if (min == '0' && max == '*')\n mult = '*';\n else if (min == max)\n mult = max;\n else mult = min + '..' + max;\n }\n}\nif (mult == '')\n mult = '*';\n({'textContent': mult})"
  394. },
  395. "parser": {
  396. "type": "code",
  397. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  398. },
  399. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  400. "position": {
  401. "type": "list<double>",
  402. "value": [
  403. 0,
  404. 0
  405. ]
  406. },
  407. "orientation": {
  408. "type": "double",
  409. "value": 0
  410. },
  411. "scale": {
  412. "type": "list<double>",
  413. "value": [
  414. 1,
  415. 1
  416. ]
  417. },
  418. "$linkDecoratorInfo": {
  419. "type": "map<string,double>",
  420. "value": {
  421. "xratio": 1.0245398773006136,
  422. "yoffset": -23.5
  423. }
  424. }
  425. },
  426. "140": {
  427. "segments": {
  428. "type": "string",
  429. "value": "m0,0 l20,8 l-20,8"
  430. },
  431. "style": {
  432. "type": "map<string,string>",
  433. "value": {
  434. "stroke": "#000000",
  435. "fill": "#000000",
  436. "fill-opacity": 0,
  437. "stroke-width": 1,
  438. "opacity": 1
  439. }
  440. },
  441. "mapper": {
  442. "type": "code",
  443. "value": ""
  444. },
  445. "parser": {
  446. "type": "code",
  447. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  448. },
  449. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  450. "position": {
  451. "type": "list<double>",
  452. "value": [
  453. 0,
  454. 0
  455. ]
  456. },
  457. "orientation": {
  458. "type": "double",
  459. "value": 0
  460. },
  461. "scale": {
  462. "type": "list<double>",
  463. "value": [
  464. 1,
  465. 1
  466. ]
  467. },
  468. "$linkDecoratorInfo": {
  469. "type": "map<string,double>",
  470. "value": {
  471. "xratio": 1,
  472. "yoffset": -8
  473. }
  474. }
  475. }
  476. },
  477. "edges": []
  478. }
  479. },
  480. {
  481. "name": "$asuri",
  482. "type": "string",
  483. "default": "-1"
  484. },
  485. {
  486. "name": "$segments",
  487. "type": "map<string,list<string>>",
  488. "default": {}
  489. }
  490. ],
  491. "InheritanceLink": [
  492. {
  493. "name": "link-style",
  494. "type": "map<string,string>",
  495. "default": {
  496. "stroke": "#000000",
  497. "stroke-dasharray": "",
  498. "stroke-opacity": 1,
  499. "stroke-width": 2
  500. }
  501. },
  502. {
  503. "name": "arrowHead",
  504. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  505. "default": "custom"
  506. },
  507. {
  508. "name": "arrowTail",
  509. "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)",
  510. "default": "arrow-black"
  511. },
  512. {
  513. "name": "typename",
  514. "type": "string",
  515. "default": "InheritanceLink"
  516. },
  517. {
  518. "name": "position",
  519. "type": "list<double>",
  520. "default": [
  521. 472,
  522. 398
  523. ]
  524. },
  525. {
  526. "name": "orientation",
  527. "type": "double",
  528. "default": 0
  529. },
  530. {
  531. "name": "scale",
  532. "type": "list<double>",
  533. "default": [
  534. 1,
  535. 1
  536. ]
  537. },
  538. {
  539. "name": "mapper",
  540. "type": "code",
  541. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  542. },
  543. {
  544. "name": "parser",
  545. "type": "code",
  546. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  547. },
  548. {
  549. "name": "$contents",
  550. "type": "map<string,*>",
  551. "default": {
  552. "nodes": {
  553. "164": {
  554. "segments": {
  555. "type": "string",
  556. "value": "m0,0 l20,10 l-20,10 z"
  557. },
  558. "style": {
  559. "type": "map<string,string>",
  560. "value": {
  561. "stroke": "#000000",
  562. "fill": "#ffffff",
  563. "opacity": 1,
  564. "stroke-width": 1
  565. }
  566. },
  567. "mapper": {
  568. "type": "code",
  569. "value": ""
  570. },
  571. "parser": {
  572. "type": "code",
  573. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  574. },
  575. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  576. "position": {
  577. "type": "list<double>",
  578. "value": [
  579. 0,
  580. 0
  581. ]
  582. },
  583. "orientation": {
  584. "type": "double",
  585. "value": 0
  586. },
  587. "scale": {
  588. "type": "list<double>",
  589. "value": [
  590. 1,
  591. 1
  592. ]
  593. },
  594. "$linkDecoratorInfo": {
  595. "type": "map<string,double>",
  596. "value": {
  597. "xratio": 1,
  598. "yoffset": -10
  599. }
  600. }
  601. }
  602. },
  603. "edges": []
  604. }
  605. },
  606. {
  607. "name": "$asuri",
  608. "type": "string",
  609. "default": "-1"
  610. },
  611. {
  612. "name": "$segments",
  613. "type": "map<string,list<string>>",
  614. "default": {}
  615. }
  616. ],
  617. "ClassIcon": [
  618. {
  619. "name": "typename",
  620. "type": "string",
  621. "default": "ClassIcon"
  622. },
  623. {
  624. "name": "position",
  625. "type": "list<double>",
  626. "default": [
  627. 85,
  628. 83
  629. ]
  630. },
  631. {
  632. "name": "orientation",
  633. "type": "double",
  634. "default": 0
  635. },
  636. {
  637. "name": "scale",
  638. "type": "list<double>",
  639. "default": [
  640. 1,
  641. 1
  642. ]
  643. },
  644. {
  645. "name": "mapper",
  646. "type": "code",
  647. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  648. },
  649. {
  650. "name": "parser",
  651. "type": "code",
  652. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  653. },
  654. {
  655. "name": "$contents",
  656. "type": "map<string,*>",
  657. "default": {
  658. "nodes": {
  659. "96": {
  660. "width": {
  661. "type": "double",
  662. "value": 200
  663. },
  664. "height": {
  665. "type": "double",
  666. "value": 125
  667. },
  668. "cornerRadius": {
  669. "type": "double",
  670. "value": 0
  671. },
  672. "style": {
  673. "type": "map<string,string>",
  674. "value": {
  675. "stroke": "#000000",
  676. "stroke-dasharray": "",
  677. "fill": "#ffffff",
  678. "fill-opacity": 0.75,
  679. "stroke-width": 2
  680. }
  681. },
  682. "mapper": {
  683. "type": "code",
  684. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  685. },
  686. "parser": {
  687. "type": "code",
  688. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  689. },
  690. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  691. "position": {
  692. "type": "list<double>",
  693. "value": [
  694. 4,
  695. 3
  696. ]
  697. },
  698. "orientation": {
  699. "type": "double",
  700. "value": 0
  701. },
  702. "scale": {
  703. "type": "list<double>",
  704. "value": [
  705. 1,
  706. 1
  707. ]
  708. }
  709. },
  710. "97": {
  711. "segments": {
  712. "type": "string",
  713. "value": "m0,0l197,0"
  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": "20px",
  723. "stroke-width": 2,
  724. "arrow-start": "none",
  725. "arrow-end": "none"
  726. }
  727. },
  728. "mapper": {
  729. "type": "code",
  730. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  731. },
  732. "parser": {
  733. "type": "code",
  734. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  735. },
  736. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  737. "position": {
  738. "type": "list<double>",
  739. "value": [
  740. 6,
  741. 36
  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. "98": {
  757. "textContent": {
  758. "type": "string",
  759. "value": "<coded>"
  760. },
  761. "style": {
  762. "type": "map<string,string>",
  763. "value": {
  764. "font-size": "18px",
  765. "font-style": "normal",
  766. "font-weight": "bold",
  767. "line-height": "100%",
  768. "letter-spacing": "0px",
  769. "word-spacing": "0px",
  770. "fill": "#000000",
  771. "fill-opacity": "1",
  772. "stroke": "none"
  773. }
  774. },
  775. "mapper": {
  776. "type": "code",
  777. "value": "var style = \n{\n \"font-size\": \"18px\",\n \"font-style\": \"normal\",\n \"font-weight\": \"bold\",\n \"line-height\": \"100%\",\n \"letter-spacing\": \"0px\",\n \"word-spacing\": \"0px\",\n \"fill\": \"#000000\",\n \"fill-opacity\": \"1\",\n \"stroke\": \"none\",\n \"font-style\": (getAttr('abstract') ? 'italic' : 'normal')\n};\n\n({'textContent': getAttr('name'), 'style':style})\n\n\n"
  778. },
  779. "parser": {
  780. "type": "code",
  781. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})"
  782. },
  783. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  784. "position": {
  785. "type": "list<double>",
  786. "value": [
  787. 8,
  788. 8
  789. ]
  790. },
  791. "orientation": {
  792. "type": "double",
  793. "value": 0
  794. },
  795. "scale": {
  796. "type": "list<double>",
  797. "value": [
  798. 1,
  799. 1
  800. ]
  801. }
  802. },
  803. "99": {
  804. "textContent": {
  805. "type": "string",
  806. "value": "T..."
  807. },
  808. "style": {
  809. "type": "map<string,string>",
  810. "value": {
  811. "font-size": "14px",
  812. "font-style": "normal",
  813. "font-weight": "bold",
  814. "line-height": "100%",
  815. "letter-spacing": "0px",
  816. "word-spacing": "0px",
  817. "fill": "#000000",
  818. "fill-opacity": "1",
  819. "stroke": "none"
  820. }
  821. },
  822. "mapper": {
  823. "type": "code",
  824. "value": "var filenames = getAttr('attributes').map(\n function(attr)\n {\n var s = '+ '+attr['name'] + ' : ' + attr['type'];\n if (attr['default'])\n s += ' = ' + attr['default'];\n return s;\n });\n\n({'textContent': filenames.join('\\n')})"
  825. },
  826. "parser": {
  827. "type": "code",
  828. "value": ""
  829. },
  830. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  831. "position": {
  832. "type": "list<double>",
  833. "value": [
  834. 10,
  835. 41
  836. ]
  837. },
  838. "orientation": {
  839. "type": "double",
  840. "value": 0
  841. },
  842. "scale": {
  843. "type": "list<double>",
  844. "value": [
  845. 1,
  846. 1
  847. ]
  848. }
  849. },
  850. "100": {
  851. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  852. "position": {
  853. "type": "list<double>",
  854. "value": [
  855. 68.5,
  856. 36.5
  857. ]
  858. },
  859. "orientation": {
  860. "type": "double",
  861. "value": 0
  862. },
  863. "scale": {
  864. "type": "list<double>",
  865. "value": [
  866. 1,
  867. 1
  868. ]
  869. },
  870. "link-style": {
  871. "type": "map<string,string>",
  872. "value": {
  873. "stroke": "#00ffff",
  874. "stroke-dasharray": "",
  875. "stroke-opacity": 0.1,
  876. "stroke-width": 1
  877. }
  878. }
  879. },
  880. "101": {
  881. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  882. "position": {
  883. "type": "list<double>",
  884. "value": [
  885. 12.5,
  886. 27
  887. ]
  888. },
  889. "orientation": {
  890. "type": "double",
  891. "value": 0
  892. },
  893. "scale": {
  894. "type": "list<double>",
  895. "value": [
  896. 1,
  897. 1
  898. ]
  899. },
  900. "link-style": {
  901. "type": "map<string,string>",
  902. "value": {
  903. "stroke": "#00ffff",
  904. "stroke-dasharray": "",
  905. "stroke-opacity": 0.1,
  906. "stroke-width": 1
  907. }
  908. }
  909. },
  910. "102": {
  911. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  912. "position": {
  913. "type": "list<double>",
  914. "value": [
  915. 53.75,
  916. 20
  917. ]
  918. },
  919. "orientation": {
  920. "type": "double",
  921. "value": 0
  922. },
  923. "scale": {
  924. "type": "list<double>",
  925. "value": [
  926. 1,
  927. 1
  928. ]
  929. },
  930. "link-style": {
  931. "type": "map<string,string>",
  932. "value": {
  933. "stroke": "#00ffff",
  934. "stroke-dasharray": "",
  935. "stroke-opacity": 0.1,
  936. "stroke-width": 1
  937. }
  938. }
  939. }
  940. },
  941. "edges": [
  942. {
  943. "src": "96",
  944. "dest": "100"
  945. },
  946. {
  947. "src": "100",
  948. "dest": "98"
  949. },
  950. {
  951. "src": "96",
  952. "dest": "101"
  953. },
  954. {
  955. "src": "101",
  956. "dest": "99"
  957. },
  958. {
  959. "src": "96",
  960. "dest": "102"
  961. },
  962. {
  963. "src": "102",
  964. "dest": "97"
  965. }
  966. ]
  967. }
  968. },
  969. {
  970. "name": "$asuri",
  971. "type": "string",
  972. "default": "-1"
  973. }
  974. ]
  975. },
  976. "constraints": [],
  977. "actions": [],
  978. "cardinalities": {
  979. "GlobalConstraintIcon": [],
  980. "GlobalActionIcon": [],
  981. "AssociationLink": [],
  982. "InheritanceLink": [],
  983. "ClassIcon": []
  984. },
  985. "legalConnections": {},
  986. "connectorTypes": {},
  987. "types2parentTypes": {
  988. "GlobalConstraintIcon": [],
  989. "GlobalActionIcon": [],
  990. "AssociationLink": [],
  991. "InheritanceLink": [],
  992. "ClassIcon": []
  993. }
  994. }