PN.defaultIcons.metamodel 17 KB

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