R_nonFiringTransition.model 24 KB

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