sample1.model 24 KB

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