Annotation.defaultIcons.metamodel 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811
  1. {
  2. "types": {
  3. "TextAnnotationBoxIcon": [
  4. {
  5. "name": "typename",
  6. "type": "string",
  7. "default": "TextAnnotationBoxIcon"
  8. },
  9. {
  10. "name": "position",
  11. "type": "list<double>",
  12. "default": [
  13. 401,
  14. 301
  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": "({\"position\":getAttr(\"position\")})"
  34. },
  35. {
  36. "name": "parser",
  37. "type": "code",
  38. "default": "({\"position\":getAttr(\"position\")})"
  39. },
  40. {
  41. "name": "$contents",
  42. "type": "map<string,*>",
  43. "default": {
  44. "nodes": {
  45. "8": {
  46. "width": {
  47. "type": "double",
  48. "value": 100
  49. },
  50. "height": {
  51. "type": "double",
  52. "value": 100
  53. },
  54. "cornerRadius": {
  55. "type": "double",
  56. "value": 5
  57. },
  58. "style": {
  59. "type": "map<string,string>",
  60. "value": {
  61. "stroke": "#04B404",
  62. "stroke-dasharray": "",
  63. "fill": "#F2F2F2",
  64. "fill-opacity": 0.75,
  65. "font-size": "20px",
  66. "stroke-width": 2.5,
  67. "arrow-start": "none",
  68. "arrow-end": "none"
  69. }
  70. },
  71. "mapper": {
  72. "type": "code",
  73. "value": "({\"width\":getAttr(\"width\"), \"height\":getAttr(\"height\"), \"style\":getAttr(\"style\")})"
  74. },
  75. "parser": {
  76. "type": "code",
  77. "value": "({\"width\":getAttr(\"width\"), \"height\":getAttr(\"height\"), \"style\":getAttr(\"style\")})"
  78. },
  79. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  80. "position": {
  81. "type": "list<double>",
  82. "value": [
  83. 44,
  84. 24
  85. ]
  86. },
  87. "orientation": {
  88. "type": "double",
  89. "value": 0
  90. },
  91. "scale": {
  92. "type": "list<double>",
  93. "value": [
  94. 1,
  95. 1
  96. ]
  97. }
  98. },
  99. "18": {
  100. "textContent": {
  101. "type": "string",
  102. "value": "<coded>"
  103. },
  104. "style": {
  105. "type": "map<string,string>",
  106. "value": {
  107. "stroke": "#000000",
  108. "stroke-dasharray": "",
  109. "fill": "#000000",
  110. "fill-opacity": 0,
  111. "font-size": "17px",
  112. "stroke-width": 1,
  113. "arrow-start": "none",
  114. "arrow-end": "none"
  115. }
  116. },
  117. "mapper": {
  118. "type": "code",
  119. "value": "({\"textContent\":getAttr(\"text\"), \"style\":getAttr(\"textStyle\")})"
  120. },
  121. "parser": {
  122. "type": "code",
  123. "value": "({\"text\":getAttr(\"textContent\"), \"textStyle\":getAttr(\"style\")})"
  124. },
  125. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  126. "position": {
  127. "type": "list<double>",
  128. "value": [
  129. 61,
  130. 37
  131. ]
  132. },
  133. "orientation": {
  134. "type": "double",
  135. "value": 0
  136. },
  137. "scale": {
  138. "type": "list<double>",
  139. "value": [
  140. 1,
  141. 1
  142. ]
  143. }
  144. },
  145. "19": {
  146. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  147. "position": {
  148. "type": "list<double>",
  149. "value": [
  150. 70.75,
  151. 48.5
  152. ]
  153. },
  154. "orientation": {
  155. "type": "double",
  156. "value": 0
  157. },
  158. "scale": {
  159. "type": "list<double>",
  160. "value": [
  161. 1,
  162. 1
  163. ]
  164. },
  165. "link-style": {
  166. "type": "map<string,string>",
  167. "value": {
  168. "stroke": "#00ffff",
  169. "stroke-dasharray": "",
  170. "stroke-opacity": 0.1,
  171. "stroke-width": 1
  172. }
  173. }
  174. }
  175. },
  176. "edges": [
  177. {
  178. "src": "8",
  179. "dest": "19"
  180. },
  181. {
  182. "src": "19",
  183. "dest": "18"
  184. }
  185. ]
  186. }
  187. },
  188. {
  189. "name": "$asuri",
  190. "type": "string",
  191. "default": "-1"
  192. }
  193. ],
  194. "TextAnnotationRoundIcon": [
  195. {
  196. "name": "typename",
  197. "type": "string",
  198. "default": "TextAnnotationRoundIcon"
  199. },
  200. {
  201. "name": "position",
  202. "type": "list<double>",
  203. "default": [
  204. 651,
  205. 351
  206. ]
  207. },
  208. {
  209. "name": "orientation",
  210. "type": "double",
  211. "default": 0
  212. },
  213. {
  214. "name": "scale",
  215. "type": "list<double>",
  216. "default": [
  217. 1,
  218. 1
  219. ]
  220. },
  221. {
  222. "name": "mapper",
  223. "type": "code",
  224. "default": "({\"position\":getAttr(\"position\")})"
  225. },
  226. {
  227. "name": "parser",
  228. "type": "code",
  229. "default": "({\"position\":getAttr(\"position\")})"
  230. },
  231. {
  232. "name": "$contents",
  233. "type": "map<string,*>",
  234. "default": {
  235. "nodes": {
  236. "14": {
  237. "r": {
  238. "type": "double",
  239. "value": 50
  240. },
  241. "style": {
  242. "type": "map<string,string>",
  243. "value": {
  244. "stroke": "#04B404",
  245. "stroke-dasharray": "",
  246. "fill": "#F2F2F2",
  247. "fill-opacity": 0.75,
  248. "font-size": "20px",
  249. "stroke-width": 2.5,
  250. "arrow-start": "none",
  251. "arrow-end": "none"
  252. }
  253. },
  254. "mapper": {
  255. "type": "code",
  256. "value": "({\"r\":getAttr(\"r\"), \"style\":getAttr(\"style\")})"
  257. },
  258. "parser": {
  259. "type": "code",
  260. "value": "({\"r\":getAttr(\"r\"), \"style\":getAttr(\"style\")})"
  261. },
  262. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle",
  263. "position": {
  264. "type": "list<double>",
  265. "value": [
  266. 44,
  267. 26
  268. ]
  269. },
  270. "orientation": {
  271. "type": "double",
  272. "value": 0
  273. },
  274. "scale": {
  275. "type": "list<double>",
  276. "value": [
  277. 1,
  278. 1
  279. ]
  280. }
  281. },
  282. "20": {
  283. "textContent": {
  284. "type": "string",
  285. "value": "<coded>"
  286. },
  287. "style": {
  288. "type": "map<string,string>",
  289. "value": {
  290. "stroke": "#000000",
  291. "stroke-dasharray": "",
  292. "fill": "#000000",
  293. "fill-opacity": 0,
  294. "font-size": "17px",
  295. "stroke-width": 1,
  296. "arrow-start": "none",
  297. "arrow-end": "none"
  298. }
  299. },
  300. "mapper": {
  301. "type": "code",
  302. "value": "({\"textContent\":getAttr(\"text\"), \"style\":getAttr(\"textStyle\")})"
  303. },
  304. "parser": {
  305. "type": "code",
  306. "value": "({\"text\":getAttr(\"textContent\"), \"textStyle\":getAttr(\"style\")})"
  307. },
  308. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  309. "position": {
  310. "type": "list<double>",
  311. "value": [
  312. 61,
  313. 44
  314. ]
  315. },
  316. "orientation": {
  317. "type": "double",
  318. "value": 0
  319. },
  320. "scale": {
  321. "type": "list<double>",
  322. "value": [
  323. 1,
  324. 1
  325. ]
  326. }
  327. },
  328. "21": {
  329. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  330. "position": {
  331. "type": "list<double>",
  332. "value": [
  333. 70.21270269242143,
  334. 51.5
  335. ]
  336. },
  337. "orientation": {
  338. "type": "double",
  339. "value": 0
  340. },
  341. "scale": {
  342. "type": "list<double>",
  343. "value": [
  344. 1,
  345. 1
  346. ]
  347. },
  348. "link-style": {
  349. "type": "map<string,string>",
  350. "value": {
  351. "stroke": "#00ffff",
  352. "stroke-dasharray": "",
  353. "stroke-opacity": 0.1,
  354. "stroke-width": 1
  355. }
  356. }
  357. }
  358. },
  359. "edges": [
  360. {
  361. "src": "14",
  362. "dest": "21"
  363. },
  364. {
  365. "src": "21",
  366. "dest": "20"
  367. }
  368. ]
  369. }
  370. },
  371. {
  372. "name": "$asuri",
  373. "type": "string",
  374. "default": "-1"
  375. }
  376. ],
  377. "TextAnnotationRoundedBoxIcon": [
  378. {
  379. "name": "typename",
  380. "type": "string",
  381. "default": "TextAnnotationRoundedBoxIcon"
  382. },
  383. {
  384. "name": "position",
  385. "type": "list<double>",
  386. "default": [
  387. 901,
  388. 399
  389. ]
  390. },
  391. {
  392. "name": "orientation",
  393. "type": "double",
  394. "default": 0
  395. },
  396. {
  397. "name": "scale",
  398. "type": "list<double>",
  399. "default": [
  400. 1,
  401. 1
  402. ]
  403. },
  404. {
  405. "name": "mapper",
  406. "type": "code",
  407. "default": "({\"position\":getAttr(\"position\")})"
  408. },
  409. {
  410. "name": "parser",
  411. "type": "code",
  412. "default": "({\"position\":getAttr(\"position\")})"
  413. },
  414. {
  415. "name": "$contents",
  416. "type": "map<string,*>",
  417. "default": {
  418. "nodes": {
  419. "16": {
  420. "width": {
  421. "type": "double",
  422. "value": 100
  423. },
  424. "height": {
  425. "type": "double",
  426. "value": 100
  427. },
  428. "cornerRadius": {
  429. "type": "double",
  430. "value": 30
  431. },
  432. "style": {
  433. "type": "map<string,string>",
  434. "value": {
  435. "stroke": "#04B404",
  436. "stroke-dasharray": "",
  437. "fill": "#F2F2F2",
  438. "fill-opacity": 0.75,
  439. "font-size": "20px",
  440. "stroke-width": 2.5,
  441. "arrow-start": "none",
  442. "arrow-end": "none"
  443. }
  444. },
  445. "mapper": {
  446. "type": "code",
  447. "value": "({\"width\":getAttr(\"width\"), \"height\":getAttr(\"height\"), \"style\":getAttr(\"style\")})"
  448. },
  449. "parser": {
  450. "type": "code",
  451. "value": "({\"width\":getAttr(\"width\"), \"height\":getAttr(\"height\"), \"style\":getAttr(\"style\")})"
  452. },
  453. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  454. "position": {
  455. "type": "list<double>",
  456. "value": [
  457. 49,
  458. 27
  459. ]
  460. },
  461. "orientation": {
  462. "type": "double",
  463. "value": 0
  464. },
  465. "scale": {
  466. "type": "list<double>",
  467. "value": [
  468. 1,
  469. 1
  470. ]
  471. }
  472. },
  473. "22": {
  474. "textContent": {
  475. "type": "string",
  476. "value": "<coded>"
  477. },
  478. "style": {
  479. "type": "map<string,string>",
  480. "value": {
  481. "stroke": "#000000",
  482. "stroke-dasharray": "",
  483. "fill": "#000000",
  484. "fill-opacity": 0,
  485. "font-size": "17px",
  486. "stroke-width": 1,
  487. "arrow-start": "none",
  488. "arrow-end": "none"
  489. }
  490. },
  491. "mapper": {
  492. "type": "code",
  493. "value": "({\"textContent\":getAttr(\"text\"), \"style\":getAttr(\"textStyle\")})"
  494. },
  495. "parser": {
  496. "type": "code",
  497. "value": "({\"text\":getAttr(\"textContent\"), \"textStyle\":getAttr(\"style\")})"
  498. },
  499. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  500. "position": {
  501. "type": "list<double>",
  502. "value": [
  503. 65,
  504. 38
  505. ]
  506. },
  507. "orientation": {
  508. "type": "double",
  509. "value": 0
  510. },
  511. "scale": {
  512. "type": "list<double>",
  513. "value": [
  514. 1,
  515. 1
  516. ]
  517. }
  518. },
  519. "23": {
  520. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  521. "position": {
  522. "type": "list<double>",
  523. "value": [
  524. 75.86145804666057,
  525. 52.60208307077335
  526. ]
  527. },
  528. "orientation": {
  529. "type": "double",
  530. "value": 0
  531. },
  532. "scale": {
  533. "type": "list<double>",
  534. "value": [
  535. 1,
  536. 1
  537. ]
  538. },
  539. "link-style": {
  540. "type": "map<string,string>",
  541. "value": {
  542. "stroke": "#00ffff",
  543. "stroke-dasharray": "",
  544. "stroke-opacity": 0.1,
  545. "stroke-width": 1
  546. }
  547. }
  548. }
  549. },
  550. "edges": [
  551. {
  552. "src": "16",
  553. "dest": "23"
  554. },
  555. {
  556. "src": "23",
  557. "dest": "22"
  558. }
  559. ]
  560. }
  561. },
  562. {
  563. "name": "$asuri",
  564. "type": "string",
  565. "default": "-1"
  566. }
  567. ],
  568. "annotatesLink": [
  569. {
  570. "name": "link-style",
  571. "type": "map<string,string>",
  572. "default": {
  573. "stroke": "#000000",
  574. "stroke-dasharray": "",
  575. "stroke-opacity": 1,
  576. "stroke-width": 2
  577. }
  578. },
  579. {
  580. "name": "arrowHead",
  581. "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)",
  582. "default": "custom"
  583. },
  584. {
  585. "name": "arrowTail",
  586. "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)",
  587. "default": "arrow-black"
  588. },
  589. {
  590. "name": "typename",
  591. "type": "string",
  592. "default": "annotatesLink"
  593. },
  594. {
  595. "name": "position",
  596. "type": "list<double>",
  597. "default": [
  598. 147,
  599. 574
  600. ]
  601. },
  602. {
  603. "name": "orientation",
  604. "type": "double",
  605. "default": 0
  606. },
  607. {
  608. "name": "scale",
  609. "type": "list<double>",
  610. "default": [
  611. 1,
  612. 1
  613. ]
  614. },
  615. {
  616. "name": "mapper",
  617. "type": "code",
  618. "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  619. },
  620. {
  621. "name": "parser",
  622. "type": "code",
  623. "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  624. },
  625. {
  626. "name": "$contents",
  627. "type": "map<string,*>",
  628. "default": {
  629. "nodes": {
  630. "267": {
  631. "segments": {
  632. "type": "string",
  633. "value": "m0,0 l10,4 l-10,4 l3,-4 z"
  634. },
  635. "style": {
  636. "type": "map<string,string>",
  637. "value": {
  638. "stroke": "#000000",
  639. "fill": "#000000",
  640. "opacity": 1,
  641. "stroke-width": 1
  642. }
  643. },
  644. "mapper": {
  645. "type": "code",
  646. "value": ""
  647. },
  648. "parser": {
  649. "type": "code",
  650. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  651. },
  652. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  653. "position": {
  654. "type": "list<double>",
  655. "value": [
  656. 0,
  657. 0
  658. ]
  659. },
  660. "orientation": {
  661. "type": "double",
  662. "value": 0
  663. },
  664. "scale": {
  665. "type": "list<double>",
  666. "value": [
  667. 1,
  668. 1
  669. ]
  670. },
  671. "$linkDecoratorInfo": {
  672. "type": "map<string,double>",
  673. "value": {
  674. "xratio": 1,
  675. "yoffset": -4
  676. }
  677. }
  678. }
  679. },
  680. "edges": []
  681. }
  682. },
  683. {
  684. "name": "$asuri",
  685. "type": "string",
  686. "default": "-1"
  687. },
  688. {
  689. "name": "$segments",
  690. "type": "map<string,list<string>>",
  691. "default": {}
  692. }
  693. ],
  694. "AnnotationIcon": [
  695. {
  696. "name": "typename",
  697. "type": "string",
  698. "default": "AnnotationIcon"
  699. },
  700. {
  701. "name": "position",
  702. "type": "list<double>",
  703. "default": [
  704. 149,
  705. 251
  706. ]
  707. },
  708. {
  709. "name": "orientation",
  710. "type": "double",
  711. "default": 0
  712. },
  713. {
  714. "name": "scale",
  715. "type": "list<double>",
  716. "default": [
  717. 1,
  718. 1
  719. ]
  720. },
  721. {
  722. "name": "mapper",
  723. "type": "code",
  724. "default": "({\"position\":getAttr(\"position\")})"
  725. },
  726. {
  727. "name": "parser",
  728. "type": "code",
  729. "default": "({\"position\":getAttr(\"position\")})"
  730. },
  731. {
  732. "name": "$contents",
  733. "type": "map<string,*>",
  734. "default": {
  735. "nodes": {
  736. "25": {
  737. "textContent": {
  738. "type": "string",
  739. "value": "<coded>"
  740. },
  741. "style": {
  742. "type": "map<string,string>",
  743. "value": {
  744. "stroke": "#000000",
  745. "stroke-dasharray": "",
  746. "fill": "#000000",
  747. "fill-opacity": 0,
  748. "font-size": "17px",
  749. "stroke-width": 1,
  750. "arrow-start": "none",
  751. "arrow-end": "none"
  752. }
  753. },
  754. "mapper": {
  755. "type": "code",
  756. "value": "({\"textContent\":getAttr(\"text\"), \"style\":getAttr(\"textStyle\")})"
  757. },
  758. "parser": {
  759. "type": "code",
  760. "value": "({\"text\":getAttr(\"textContent\"), \"textStyle\":getAttr(\"style\")})"
  761. },
  762. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  763. "position": {
  764. "type": "list<double>",
  765. "value": [
  766. 60,
  767. 33
  768. ]
  769. },
  770. "orientation": {
  771. "type": "double",
  772. "value": 0
  773. },
  774. "scale": {
  775. "type": "list<double>",
  776. "value": [
  777. 1,
  778. 1
  779. ]
  780. }
  781. }
  782. },
  783. "edges": []
  784. }
  785. },
  786. {
  787. "name": "$asuri",
  788. "type": "string",
  789. "default": "-1"
  790. }
  791. ]
  792. },
  793. "constraints": [],
  794. "actions": [],
  795. "cardinalities": {
  796. "TextAnnotationBoxIcon": [],
  797. "TextAnnotationRoundIcon": [],
  798. "TextAnnotationRoundedBoxIcon": [],
  799. "annotatesLink": [],
  800. "AnnotationIcon": []
  801. },
  802. "legalConnections": {},
  803. "connectorTypes": {},
  804. "types2parentTypes": {
  805. "TextAnnotationBoxIcon": [],
  806. "TextAnnotationRoundIcon": [],
  807. "TextAnnotationRoundedBoxIcon": [],
  808. "annotatesLink": [],
  809. "AnnotationIcon": []
  810. }
  811. }