R_consumeTokens.model 48 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994
  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. "9": {
  883. "typename": {
  884. "type": "string",
  885. "value": "RHSIcon"
  886. },
  887. "position": {
  888. "type": "list<double>",
  889. "value": [
  890. 854,
  891. 174
  892. ]
  893. },
  894. "orientation": {
  895. "type": "double",
  896. "value": 0
  897. },
  898. "scale": {
  899. "type": "list<double>",
  900. "value": [
  901. 1,
  902. 1
  903. ]
  904. },
  905. "mapper": {
  906. "type": "code",
  907. "value": ""
  908. },
  909. "parser": {
  910. "type": "code",
  911. "value": ""
  912. },
  913. "$contents": {
  914. "type": "map<string,*>",
  915. "value": {
  916. "nodes": {
  917. "7": {
  918. "segments": {
  919. "type": "string",
  920. "value": "m0,0 l450,0 l0,500 l-450,0 l100,-250z"
  921. },
  922. "style": {
  923. "type": "map<string,string>",
  924. "value": {
  925. "stroke": "#000000",
  926. "stroke-dasharray": "",
  927. "fill": "#ffffff",
  928. "fill-opacity": 0.75,
  929. "stroke-width": 2,
  930. "arrow-start": "none",
  931. "arrow-end": "none"
  932. }
  933. },
  934. "mapper": {
  935. "type": "code",
  936. "value": ""
  937. },
  938. "parser": {
  939. "type": "code",
  940. "value": ""
  941. },
  942. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  943. "position": {
  944. "type": "list<double>",
  945. "value": [
  946. 0,
  947. 0
  948. ]
  949. },
  950. "orientation": {
  951. "type": "double",
  952. "value": 0
  953. },
  954. "scale": {
  955. "type": "list<double>",
  956. "value": [
  957. 1,
  958. 1
  959. ]
  960. }
  961. }
  962. },
  963. "edges": []
  964. }
  965. },
  966. "$asuri": {
  967. "type": "string",
  968. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/RHS/9.instance"
  969. },
  970. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon"
  971. },
  972. "10": {
  973. "typename": {
  974. "type": "string",
  975. "value": "PlaceIcon"
  976. },
  977. "position": {
  978. "type": "list<double>",
  979. "value": [
  980. 1006,
  981. 355
  982. ]
  983. },
  984. "orientation": {
  985. "type": "double",
  986. "value": 0
  987. },
  988. "scale": {
  989. "type": "list<double>",
  990. "value": [
  991. 1,
  992. 1
  993. ]
  994. },
  995. "mapper": {
  996. "type": "code",
  997. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  998. },
  999. "parser": {
  1000. "type": "code",
  1001. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1002. },
  1003. "$contents": {
  1004. "type": "map<string,*>",
  1005. "value": {
  1006. "nodes": {
  1007. "1": {
  1008. "r": {
  1009. "type": "double",
  1010. "value": 20
  1011. },
  1012. "style": {
  1013. "type": "map<string,string>",
  1014. "value": {
  1015. "stroke": "#000000",
  1016. "stroke-dasharray": "",
  1017. "fill": "yellow",
  1018. "fill-opacity": 0.75,
  1019. "font-size": "20px",
  1020. "stroke-width": 2,
  1021. "arrow-start": "none",
  1022. "arrow-end": "none"
  1023. }
  1024. },
  1025. "mapper": {
  1026. "type": "code",
  1027. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1028. },
  1029. "parser": {
  1030. "type": "code",
  1031. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1032. },
  1033. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle",
  1034. "position": {
  1035. "type": "list<double>",
  1036. "value": [
  1037. 2,
  1038. 2
  1039. ]
  1040. },
  1041. "orientation": {
  1042. "type": "double",
  1043. "value": 0
  1044. },
  1045. "scale": {
  1046. "type": "list<double>",
  1047. "value": [
  1048. 1,
  1049. 1
  1050. ]
  1051. }
  1052. },
  1053. "2": {
  1054. "textContent": {
  1055. "type": "string",
  1056. "value": "#"
  1057. },
  1058. "style": {
  1059. "type": "map<string,string>",
  1060. "value": {
  1061. "stroke": "#000000",
  1062. "stroke-dasharray": "",
  1063. "fill": "#ffffff",
  1064. "fill-opacity": 0.75,
  1065. "font-size": "15px",
  1066. "stroke-width": 1,
  1067. "arrow-start": "none",
  1068. "arrow-end": "none"
  1069. }
  1070. },
  1071. "mapper": {
  1072. "type": "code",
  1073. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1074. },
  1075. "parser": {
  1076. "type": "code",
  1077. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1078. },
  1079. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1080. "position": {
  1081. "type": "list<double>",
  1082. "value": [
  1083. 18,
  1084. 13
  1085. ]
  1086. },
  1087. "orientation": {
  1088. "type": "double",
  1089. "value": 0
  1090. },
  1091. "scale": {
  1092. "type": "list<double>",
  1093. "value": [
  1094. 1,
  1095. 1
  1096. ]
  1097. }
  1098. },
  1099. "3": {
  1100. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1101. "position": {
  1102. "type": "list<double>",
  1103. "value": [
  1104. 11.078337380408811,
  1105. 13.618963631145192
  1106. ]
  1107. },
  1108. "orientation": {
  1109. "type": "double",
  1110. "value": 0
  1111. },
  1112. "scale": {
  1113. "type": "list<double>",
  1114. "value": [
  1115. 1,
  1116. 1
  1117. ]
  1118. },
  1119. "link-style": {
  1120. "type": "map<string,string>",
  1121. "value": {
  1122. "stroke": "#00ffff",
  1123. "stroke-dasharray": "",
  1124. "stroke-opacity": 0.1,
  1125. "stroke-width": 1
  1126. }
  1127. }
  1128. },
  1129. "4": {
  1130. "textContent": {
  1131. "type": "string",
  1132. "value": "Name"
  1133. },
  1134. "style": {
  1135. "type": "map<string,string>",
  1136. "value": {
  1137. "stroke": "#000000",
  1138. "stroke-dasharray": "",
  1139. "fill": "#ffffff",
  1140. "fill-opacity": 0.75,
  1141. "font-size": "15px",
  1142. "stroke-width": 1,
  1143. "arrow-start": "none",
  1144. "arrow-end": "none"
  1145. }
  1146. },
  1147. "mapper": {
  1148. "type": "code",
  1149. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1150. },
  1151. "parser": {
  1152. "type": "code",
  1153. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1154. },
  1155. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1156. "position": {
  1157. "type": "list<double>",
  1158. "value": [
  1159. 2,
  1160. 45
  1161. ]
  1162. },
  1163. "orientation": {
  1164. "type": "double",
  1165. "value": 0
  1166. },
  1167. "scale": {
  1168. "type": "list<double>",
  1169. "value": [
  1170. 1,
  1171. 1
  1172. ]
  1173. }
  1174. },
  1175. "__pLabelText": {
  1176. "position": {
  1177. "type": "list<double>",
  1178. "value": [
  1179. 0,
  1180. 0
  1181. ]
  1182. },
  1183. "orientation": {
  1184. "type": "double",
  1185. "value": 0
  1186. },
  1187. "scale": {
  1188. "type": "list<double>",
  1189. "value": [
  1190. 1,
  1191. 1
  1192. ]
  1193. },
  1194. "textContent": {
  1195. "type": "string",
  1196. "value": "1"
  1197. },
  1198. "style": {
  1199. "type": "map<string,string>",
  1200. "value": {
  1201. "stroke": "#6000ff",
  1202. "fill": "#6000ff",
  1203. "font-size": "15px",
  1204. "opacity": "1"
  1205. }
  1206. },
  1207. "mapper": {
  1208. "type": "code",
  1209. "value": "({'textContent':getAttr('__pLabel')})"
  1210. },
  1211. "parser": {
  1212. "type": "code",
  1213. "value": "({'__pLabel':getAttr('textContent')})"
  1214. },
  1215. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  1216. }
  1217. },
  1218. "edges": [
  1219. {
  1220. "src": "1",
  1221. "dest": "3"
  1222. },
  1223. {
  1224. "src": "3",
  1225. "dest": "2"
  1226. }
  1227. ]
  1228. }
  1229. },
  1230. "$asuri": {
  1231. "type": "string",
  1232. "value": "/Formalisms/PN/PN.pattern/__pPlace/10.instance"
  1233. },
  1234. "$type": "/Formalisms/PN/PN.defaultIcons.pattern/__pPlaceIcon"
  1235. },
  1236. "11": {
  1237. "typename": {
  1238. "type": "string",
  1239. "value": "TransitionIcon"
  1240. },
  1241. "position": {
  1242. "type": "list<double>",
  1243. "value": [
  1244. 1196,
  1245. 359
  1246. ]
  1247. },
  1248. "orientation": {
  1249. "type": "double",
  1250. "value": 0
  1251. },
  1252. "scale": {
  1253. "type": "list<double>",
  1254. "value": [
  1255. 1,
  1256. 1
  1257. ]
  1258. },
  1259. "mapper": {
  1260. "type": "code",
  1261. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1262. },
  1263. "parser": {
  1264. "type": "code",
  1265. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1266. },
  1267. "$contents": {
  1268. "type": "map<string,*>",
  1269. "value": {
  1270. "nodes": {
  1271. "8": {
  1272. "width": {
  1273. "type": "double",
  1274. "value": 20
  1275. },
  1276. "height": {
  1277. "type": "double",
  1278. "value": 40
  1279. },
  1280. "cornerRadius": {
  1281. "type": "double",
  1282. "value": 5
  1283. },
  1284. "style": {
  1285. "type": "map<string,string>",
  1286. "value": {
  1287. "stroke": "#000000",
  1288. "stroke-dasharray": "",
  1289. "fill": "#000000",
  1290. "fill-opacity": 0.75,
  1291. "font-size": "20px",
  1292. "stroke-width": 1,
  1293. "arrow-start": "none",
  1294. "arrow-end": "none"
  1295. }
  1296. },
  1297. "mapper": {
  1298. "type": "code",
  1299. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1300. },
  1301. "parser": {
  1302. "type": "code",
  1303. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1304. },
  1305. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  1306. "position": {
  1307. "type": "list<double>",
  1308. "value": [
  1309. 12,
  1310. 2
  1311. ]
  1312. },
  1313. "orientation": {
  1314. "type": "double",
  1315. "value": 0
  1316. },
  1317. "scale": {
  1318. "type": "list<double>",
  1319. "value": [
  1320. 1,
  1321. 1
  1322. ]
  1323. }
  1324. },
  1325. "9": {
  1326. "textContent": {
  1327. "type": "string",
  1328. "value": "Name"
  1329. },
  1330. "style": {
  1331. "type": "map<string,string>",
  1332. "value": {
  1333. "stroke": "#000000",
  1334. "stroke-dasharray": "",
  1335. "fill": "#ffffff",
  1336. "fill-opacity": 0.75,
  1337. "font-size": "15px",
  1338. "stroke-width": 1,
  1339. "arrow-start": "none",
  1340. "arrow-end": "none"
  1341. }
  1342. },
  1343. "mapper": {
  1344. "type": "code",
  1345. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1346. },
  1347. "parser": {
  1348. "type": "code",
  1349. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1350. },
  1351. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1352. "position": {
  1353. "type": "list<double>",
  1354. "value": [
  1355. 5,
  1356. 47
  1357. ]
  1358. },
  1359. "orientation": {
  1360. "type": "double",
  1361. "value": 0
  1362. },
  1363. "scale": {
  1364. "type": "list<double>",
  1365. "value": [
  1366. 1,
  1367. 1
  1368. ]
  1369. }
  1370. },
  1371. "__pLabelText": {
  1372. "position": {
  1373. "type": "list<double>",
  1374. "value": [
  1375. 0,
  1376. 0
  1377. ]
  1378. },
  1379. "orientation": {
  1380. "type": "double",
  1381. "value": 0
  1382. },
  1383. "scale": {
  1384. "type": "list<double>",
  1385. "value": [
  1386. 1,
  1387. 1
  1388. ]
  1389. },
  1390. "textContent": {
  1391. "type": "string",
  1392. "value": "0"
  1393. },
  1394. "style": {
  1395. "type": "map<string,string>",
  1396. "value": {
  1397. "stroke": "#6000ff",
  1398. "fill": "#6000ff",
  1399. "font-size": "15px",
  1400. "opacity": "1"
  1401. }
  1402. },
  1403. "mapper": {
  1404. "type": "code",
  1405. "value": "({'textContent':getAttr('__pLabel')})"
  1406. },
  1407. "parser": {
  1408. "type": "code",
  1409. "value": "({'__pLabel':getAttr('textContent')})"
  1410. },
  1411. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  1412. }
  1413. },
  1414. "edges": []
  1415. }
  1416. },
  1417. "$asuri": {
  1418. "type": "string",
  1419. "value": "/Formalisms/PN/PN.pattern/__pTransition/11.instance"
  1420. },
  1421. "$type": "/Formalisms/PN/PN.defaultIcons.pattern/__pTransitionIcon"
  1422. },
  1423. "12": {
  1424. "link-style": {
  1425. "type": "map<string,string>",
  1426. "value": {
  1427. "stroke": "#000000",
  1428. "stroke-dasharray": "",
  1429. "stroke-opacity": 1,
  1430. "stroke-width": 2
  1431. }
  1432. },
  1433. "arrowHead": {
  1434. "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)",
  1435. "value": "custom"
  1436. },
  1437. "arrowTail": {
  1438. "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)",
  1439. "value": "arrow-black"
  1440. },
  1441. "typename": {
  1442. "type": "string",
  1443. "value": "PlaceToTransitionLink"
  1444. },
  1445. "position": {
  1446. "type": "list<double>",
  1447. "value": [
  1448. 1128,
  1449. 380.5
  1450. ]
  1451. },
  1452. "orientation": {
  1453. "type": "double",
  1454. "value": 0
  1455. },
  1456. "scale": {
  1457. "type": "list<double>",
  1458. "value": [
  1459. 1,
  1460. 1
  1461. ]
  1462. },
  1463. "mapper": {
  1464. "type": "code",
  1465. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1466. },
  1467. "parser": {
  1468. "type": "code",
  1469. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1470. },
  1471. "$contents": {
  1472. "type": "map<string,*>",
  1473. "value": {
  1474. "nodes": {
  1475. "16": {
  1476. "textContent": {
  1477. "type": "string",
  1478. "value": "weight"
  1479. },
  1480. "style": {
  1481. "type": "map<string,string>",
  1482. "value": {
  1483. "stroke": "#000000",
  1484. "stroke-dasharray": "",
  1485. "fill": "#ffffff",
  1486. "fill-opacity": 0.75,
  1487. "font-size": "15px",
  1488. "stroke-width": 1,
  1489. "arrow-start": "none",
  1490. "arrow-end": "none"
  1491. }
  1492. },
  1493. "mapper": {
  1494. "type": "code",
  1495. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1496. },
  1497. "parser": {
  1498. "type": "code",
  1499. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1500. },
  1501. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1502. "position": {
  1503. "type": "list<double>",
  1504. "value": [
  1505. "0;-5.471699510045482,0%",
  1506. "0;-19.829617220689954,0%"
  1507. ]
  1508. },
  1509. "orientation": {
  1510. "type": "double",
  1511. "value": "0;3.141129835636104"
  1512. },
  1513. "scale": {
  1514. "type": "list<double>",
  1515. "value": [
  1516. 1,
  1517. 1
  1518. ]
  1519. },
  1520. "$linkDecoratorInfo": {
  1521. "type": "map<string,double>",
  1522. "value": {
  1523. "xratio": 0.4601226993865031,
  1524. "yoffset": -19.5
  1525. }
  1526. }
  1527. },
  1528. "267": {
  1529. "segments": {
  1530. "type": "string",
  1531. "value": "m0,0 l10,4 l-10,4 l3,-4 z"
  1532. },
  1533. "style": {
  1534. "type": "map<string,string>",
  1535. "value": {
  1536. "stroke": "#000000",
  1537. "fill": "#000000",
  1538. "opacity": 1,
  1539. "stroke-width": 1
  1540. }
  1541. },
  1542. "mapper": {
  1543. "type": "code",
  1544. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1545. },
  1546. "parser": {
  1547. "type": "code",
  1548. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  1549. },
  1550. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1551. "position": {
  1552. "type": "list<double>",
  1553. "value": [
  1554. "0;82.21845128592486,99.84975925186968%",
  1555. "0;0.5059695079014546,5.479559958944101%"
  1556. ]
  1557. },
  1558. "orientation": {
  1559. "type": "double",
  1560. "value": "0;3.141129835636123"
  1561. },
  1562. "scale": {
  1563. "type": "list<double>",
  1564. "value": [
  1565. 1,
  1566. 1
  1567. ]
  1568. },
  1569. "$linkDecoratorInfo": {
  1570. "type": "map<string,double>",
  1571. "value": {
  1572. "xratio": 1,
  1573. "yoffset": -4
  1574. }
  1575. }
  1576. },
  1577. "__pLabelText": {
  1578. "position": {
  1579. "type": "list<double>",
  1580. "value": [
  1581. 0,
  1582. 0
  1583. ]
  1584. },
  1585. "orientation": {
  1586. "type": "double",
  1587. "value": 0
  1588. },
  1589. "scale": {
  1590. "type": "list<double>",
  1591. "value": [
  1592. 1,
  1593. 1
  1594. ]
  1595. },
  1596. "textContent": {
  1597. "type": "string",
  1598. "value": "2"
  1599. },
  1600. "style": {
  1601. "type": "map<string,string>",
  1602. "value": {
  1603. "stroke": "#6000ff",
  1604. "fill": "#6000ff",
  1605. "font-size": "15px",
  1606. "opacity": "1"
  1607. }
  1608. },
  1609. "mapper": {
  1610. "type": "code",
  1611. "value": "({'textContent':getAttr('__pLabel')})"
  1612. },
  1613. "parser": {
  1614. "type": "code",
  1615. "value": "({'__pLabel':getAttr('textContent')})"
  1616. },
  1617. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  1618. }
  1619. },
  1620. "edges": []
  1621. }
  1622. },
  1623. "$asuri": {
  1624. "type": "string",
  1625. "value": "/Formalisms/PN/PN.pattern/__pPlaceToTransition/12.instance"
  1626. },
  1627. "$segments": {
  1628. "type": "map<string,list<string>>",
  1629. "value": {
  1630. "/Formalisms/PN/PN.defaultIcons.pattern/__pPlaceIcon/10.instance--/Formalisms/PN/PN.defaultIcons.pattern/__pPlaceToTransitionLink/12.instance": "M1046,376L1128,380.5",
  1631. "/Formalisms/PN/PN.defaultIcons.pattern/__pPlaceToTransitionLink/12.instance--/Formalisms/PN/PN.defaultIcons.pattern/__pTransitionIcon/11.instance": "M1128.149634072524,380.50821162593115L1209.999268887567,384.99995987797627"
  1632. }
  1633. },
  1634. "$type": "/Formalisms/PN/PN.defaultIcons.pattern/__pPlaceToTransitionLink"
  1635. },
  1636. "13": {
  1637. "link-style": {
  1638. "type": "map<string,string>",
  1639. "value": {
  1640. "stroke": "#00ff00",
  1641. "stroke-dasharray": "",
  1642. "stroke-opacity": 0.2,
  1643. "stroke-width": 1,
  1644. "arrow-start": "none",
  1645. "arrow-end": "classic-wide-long"
  1646. }
  1647. },
  1648. "typename": {
  1649. "type": "string",
  1650. "value": "PatternContentsLink"
  1651. },
  1652. "position": {
  1653. "type": "list<double>",
  1654. "value": [
  1655. 940.5,
  1656. 280.25
  1657. ]
  1658. },
  1659. "orientation": {
  1660. "type": "double",
  1661. "value": 0
  1662. },
  1663. "scale": {
  1664. "type": "list<double>",
  1665. "value": [
  1666. 1,
  1667. 1
  1668. ]
  1669. },
  1670. "mapper": {
  1671. "type": "code",
  1672. "value": ""
  1673. },
  1674. "parser": {
  1675. "type": "code",
  1676. "value": ""
  1677. },
  1678. "$contents": {
  1679. "type": "map<string,*>",
  1680. "value": {
  1681. "nodes": {},
  1682. "edges": []
  1683. }
  1684. },
  1685. "$asuri": {
  1686. "type": "string",
  1687. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/13.instance"
  1688. },
  1689. "$segments": {
  1690. "type": "map<string,list<string>>",
  1691. "value": {
  1692. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon/9.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/13.instance": "M854,174L940.5,280.25",
  1693. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/13.instance--/Formalisms/PN/PN.defaultIcons.pattern/__pPlaceIcon/10.instance": "M940.5471466226785,280.3079113139838L1026.9993782846034,386.49923633224415"
  1694. }
  1695. },
  1696. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  1697. },
  1698. "14": {
  1699. "link-style": {
  1700. "type": "map<string,string>",
  1701. "value": {
  1702. "stroke": "#00ff00",
  1703. "stroke-dasharray": "",
  1704. "stroke-opacity": 0.2,
  1705. "stroke-width": 1,
  1706. "arrow-start": "none",
  1707. "arrow-end": "classic-wide-long"
  1708. }
  1709. },
  1710. "typename": {
  1711. "type": "string",
  1712. "value": "PatternContentsLink"
  1713. },
  1714. "position": {
  1715. "type": "list<double>",
  1716. "value": [
  1717. 1036,
  1718. 282.75
  1719. ]
  1720. },
  1721. "orientation": {
  1722. "type": "double",
  1723. "value": 0
  1724. },
  1725. "scale": {
  1726. "type": "list<double>",
  1727. "value": [
  1728. 1,
  1729. 1
  1730. ]
  1731. },
  1732. "mapper": {
  1733. "type": "code",
  1734. "value": ""
  1735. },
  1736. "parser": {
  1737. "type": "code",
  1738. "value": ""
  1739. },
  1740. "$contents": {
  1741. "type": "map<string,*>",
  1742. "value": {
  1743. "nodes": {},
  1744. "edges": []
  1745. }
  1746. },
  1747. "$asuri": {
  1748. "type": "string",
  1749. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/14.instance"
  1750. },
  1751. "$segments": {
  1752. "type": "map<string,list<string>>",
  1753. "value": {
  1754. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon/9.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/14.instance": "M854,174L1036,282.75",
  1755. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/14.instance--/Formalisms/PN/PN.defaultIcons.pattern/__pTransitionIcon/11.instance": "M1036.064204564498,282.78836399114925L1217.9994535775547,391.4996734975774"
  1756. }
  1757. },
  1758. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  1759. }
  1760. },
  1761. "edges": [],
  1762. "metamodels": [
  1763. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons",
  1764. "/Formalisms/PN/PN.defaultIcons.pattern"
  1765. ]
  1766. },
  1767. "asm": {
  1768. "nodes": {
  1769. "0": {
  1770. "Condition": {
  1771. "type": "code",
  1772. "value": "result = True"
  1773. },
  1774. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/LHS"
  1775. },
  1776. "3": {
  1777. "__pLabel": {
  1778. "type": "string",
  1779. "value": "0"
  1780. },
  1781. "__pPivotIn": {
  1782. "type": "string",
  1783. "value": "readyForSimulation"
  1784. },
  1785. "__pPivotOut": {
  1786. "type": "string",
  1787. "value": ""
  1788. },
  1789. "__pMatchSubtypes": {
  1790. "type": "boolean",
  1791. "value": false
  1792. },
  1793. "tname": {
  1794. "type": "code",
  1795. "value": "result = True"
  1796. },
  1797. "$type": "/Formalisms/PN/PN.pattern/__pTransition"
  1798. },
  1799. "5": {
  1800. "__pLabel": {
  1801. "type": "string",
  1802. "value": "1"
  1803. },
  1804. "__pPivotIn": {
  1805. "type": "string",
  1806. "value": ""
  1807. },
  1808. "__pPivotOut": {
  1809. "type": "string",
  1810. "value": ""
  1811. },
  1812. "__pMatchSubtypes": {
  1813. "type": "boolean",
  1814. "value": false
  1815. },
  1816. "tokens": {
  1817. "type": "code",
  1818. "value": "result = True"
  1819. },
  1820. "pname": {
  1821. "type": "code",
  1822. "value": "result = True"
  1823. },
  1824. "$type": "/Formalisms/PN/PN.pattern/__pPlace"
  1825. },
  1826. "6": {
  1827. "__pLabel": {
  1828. "type": "string",
  1829. "value": "2"
  1830. },
  1831. "__pPivotIn": {
  1832. "type": "string",
  1833. "value": ""
  1834. },
  1835. "__pPivotOut": {
  1836. "type": "string",
  1837. "value": ""
  1838. },
  1839. "__pMatchSubtypes": {
  1840. "type": "boolean",
  1841. "value": false
  1842. },
  1843. "weight": {
  1844. "type": "code",
  1845. "value": "result = True"
  1846. },
  1847. "$type": "/Formalisms/PN/PN.pattern/__pPlaceToTransition"
  1848. },
  1849. "7": {
  1850. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  1851. },
  1852. "8": {
  1853. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  1854. },
  1855. "9": {
  1856. "Action": {
  1857. "type": "code",
  1858. "value": "setAttr('tokens',getAttr('tokens','1')-getAttr('weight','2'),'1')"
  1859. },
  1860. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/RHS"
  1861. },
  1862. "10": {
  1863. "__pLabel": {
  1864. "type": "string",
  1865. "value": "1"
  1866. },
  1867. "__pPivotIn": {
  1868. "type": "string",
  1869. "value": ""
  1870. },
  1871. "__pPivotOut": {
  1872. "type": "string",
  1873. "value": ""
  1874. },
  1875. "__pMatchSubtypes": {
  1876. "type": "boolean"
  1877. },
  1878. "tokens": {
  1879. "type": "code",
  1880. "value": "result = getAttr()"
  1881. },
  1882. "pname": {
  1883. "type": "code",
  1884. "value": "result = getAttr()"
  1885. },
  1886. "$type": "/Formalisms/PN/PN.pattern/__pPlace"
  1887. },
  1888. "11": {
  1889. "__pLabel": {
  1890. "type": "string",
  1891. "value": "0"
  1892. },
  1893. "__pPivotIn": {
  1894. "type": "string",
  1895. "value": ""
  1896. },
  1897. "__pPivotOut": {
  1898. "type": "string",
  1899. "value": ""
  1900. },
  1901. "__pMatchSubtypes": {
  1902. "type": "boolean"
  1903. },
  1904. "tname": {
  1905. "type": "code",
  1906. "value": "result = getAttr()"
  1907. },
  1908. "$type": "/Formalisms/PN/PN.pattern/__pTransition"
  1909. },
  1910. "12": {
  1911. "__pLabel": {
  1912. "type": "string",
  1913. "value": "2"
  1914. },
  1915. "__pPivotIn": {
  1916. "type": "string",
  1917. "value": ""
  1918. },
  1919. "__pPivotOut": {
  1920. "type": "string",
  1921. "value": ""
  1922. },
  1923. "__pMatchSubtypes": {
  1924. "type": "boolean"
  1925. },
  1926. "weight": {
  1927. "type": "code",
  1928. "value": "result = getAttr()"
  1929. },
  1930. "$type": "/Formalisms/PN/PN.pattern/__pPlaceToTransition"
  1931. },
  1932. "13": {
  1933. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  1934. },
  1935. "14": {
  1936. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  1937. }
  1938. },
  1939. "edges": [
  1940. {
  1941. "src": "5",
  1942. "dest": "6"
  1943. },
  1944. {
  1945. "src": "6",
  1946. "dest": "3"
  1947. },
  1948. {
  1949. "src": "0",
  1950. "dest": "7"
  1951. },
  1952. {
  1953. "src": "7",
  1954. "dest": "3"
  1955. },
  1956. {
  1957. "src": "0",
  1958. "dest": "8"
  1959. },
  1960. {
  1961. "src": "8",
  1962. "dest": "5"
  1963. },
  1964. {
  1965. "src": "10",
  1966. "dest": "12"
  1967. },
  1968. {
  1969. "src": "12",
  1970. "dest": "11"
  1971. },
  1972. {
  1973. "src": "9",
  1974. "dest": "13"
  1975. },
  1976. {
  1977. "src": "13",
  1978. "dest": "10"
  1979. },
  1980. {
  1981. "src": "9",
  1982. "dest": "14"
  1983. },
  1984. {
  1985. "src": "14",
  1986. "dest": "11"
  1987. }
  1988. ],
  1989. "metamodels": [
  1990. "/Formalisms/__Transformations__/TransformationRule/TransformationRule",
  1991. "/Formalisms/PN/PN.pattern"
  1992. ]
  1993. }
  1994. }