sample2.model 43 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766
  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": 3
  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. "5": {
  936. "typename": {
  937. "type": "string",
  938. "value": "TransitionIcon"
  939. },
  940. "position": {
  941. "type": "list<double>",
  942. "value": [
  943. 761,
  944. 226
  945. ]
  946. },
  947. "orientation": {
  948. "type": "double",
  949. "value": 0
  950. },
  951. "scale": {
  952. "type": "list<double>",
  953. "value": [
  954. 1,
  955. 1
  956. ]
  957. },
  958. "mapper": {
  959. "type": "code",
  960. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  961. },
  962. "parser": {
  963. "type": "code",
  964. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  965. },
  966. "$contents": {
  967. "type": "map<string,*>",
  968. "value": {
  969. "nodes": {
  970. "8": {
  971. "width": {
  972. "type": "double",
  973. "value": 20
  974. },
  975. "height": {
  976. "type": "double",
  977. "value": 40
  978. },
  979. "cornerRadius": {
  980. "type": "double",
  981. "value": 5
  982. },
  983. "style": {
  984. "type": "map<string,string>",
  985. "value": {
  986. "stroke": "#000000",
  987. "stroke-dasharray": "",
  988. "fill": "#000000",
  989. "fill-opacity": 0.75,
  990. "font-size": "20px",
  991. "stroke-width": 1,
  992. "arrow-start": "none",
  993. "arrow-end": "none"
  994. }
  995. },
  996. "mapper": {
  997. "type": "code",
  998. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  999. },
  1000. "parser": {
  1001. "type": "code",
  1002. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1003. },
  1004. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  1005. "position": {
  1006. "type": "list<double>",
  1007. "value": [
  1008. 12,
  1009. 2
  1010. ]
  1011. },
  1012. "orientation": {
  1013. "type": "double",
  1014. "value": 0
  1015. },
  1016. "scale": {
  1017. "type": "list<double>",
  1018. "value": [
  1019. 1,
  1020. 1
  1021. ]
  1022. }
  1023. },
  1024. "9": {
  1025. "textContent": {
  1026. "type": "string",
  1027. "value": "T_2"
  1028. },
  1029. "style": {
  1030. "type": "map<string,string>",
  1031. "value": {
  1032. "stroke": "#000000",
  1033. "stroke-dasharray": "",
  1034. "fill": "#ffffff",
  1035. "fill-opacity": 0.75,
  1036. "font-size": "15px",
  1037. "stroke-width": 1,
  1038. "arrow-start": "none",
  1039. "arrow-end": "none"
  1040. }
  1041. },
  1042. "mapper": {
  1043. "type": "code",
  1044. "value": "({'textContent':getAttr('tname')})"
  1045. },
  1046. "parser": {
  1047. "type": "code",
  1048. "value": "({'tname':getAttr('textContent')})"
  1049. },
  1050. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1051. "position": {
  1052. "type": "list<double>",
  1053. "value": [
  1054. 5,
  1055. 47
  1056. ]
  1057. },
  1058. "orientation": {
  1059. "type": "double",
  1060. "value": 0
  1061. },
  1062. "scale": {
  1063. "type": "list<double>",
  1064. "value": [
  1065. 1,
  1066. 1
  1067. ]
  1068. }
  1069. }
  1070. },
  1071. "edges": []
  1072. }
  1073. },
  1074. "$asuri": {
  1075. "type": "string",
  1076. "value": "/Formalisms/PN/PN/Transition/5.instance"
  1077. },
  1078. "$type": "/Formalisms/PN/PN.defaultIcons/TransitionIcon"
  1079. },
  1080. "6": {
  1081. "link-style": {
  1082. "type": "map<string,string>",
  1083. "value": {
  1084. "stroke": "#000000",
  1085. "stroke-dasharray": "",
  1086. "stroke-opacity": 1,
  1087. "stroke-width": 2
  1088. }
  1089. },
  1090. "arrowHead": {
  1091. "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)",
  1092. "value": "custom"
  1093. },
  1094. "arrowTail": {
  1095. "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)",
  1096. "value": "arrow-black"
  1097. },
  1098. "typename": {
  1099. "type": "string",
  1100. "value": "PlaceToTransitionLink"
  1101. },
  1102. "position": {
  1103. "type": "list<double>",
  1104. "value": [
  1105. 724.1499998513675,
  1106. 247.00258620433394
  1107. ]
  1108. },
  1109. "orientation": {
  1110. "type": "double",
  1111. "value": 0
  1112. },
  1113. "scale": {
  1114. "type": "list<double>",
  1115. "value": [
  1116. 1,
  1117. 1
  1118. ]
  1119. },
  1120. "mapper": {
  1121. "type": "code",
  1122. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1123. },
  1124. "parser": {
  1125. "type": "code",
  1126. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1127. },
  1128. "$contents": {
  1129. "type": "map<string,*>",
  1130. "value": {
  1131. "nodes": {
  1132. "16": {
  1133. "textContent": {
  1134. "type": "string",
  1135. "value": 4
  1136. },
  1137. "style": {
  1138. "type": "map<string,string>",
  1139. "value": {
  1140. "stroke": "#000000",
  1141. "stroke-dasharray": "",
  1142. "fill": "#ffffff",
  1143. "fill-opacity": 0.75,
  1144. "font-size": "15px",
  1145. "stroke-width": 1,
  1146. "arrow-start": "none",
  1147. "arrow-end": "none"
  1148. }
  1149. },
  1150. "mapper": {
  1151. "type": "code",
  1152. "value": "({'textContent':getAttr('weight')})"
  1153. },
  1154. "parser": {
  1155. "type": "code",
  1156. "value": "({'weight':getAttr('textContent')})"
  1157. },
  1158. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1159. "position": {
  1160. "type": "list<double>",
  1161. "value": [
  1162. "0;-4.439728715002275,0%",
  1163. "0;-19.579445166763975,0%"
  1164. ]
  1165. },
  1166. "orientation": {
  1167. "type": "double",
  1168. "value": "0;0.9877603996398245"
  1169. },
  1170. "scale": {
  1171. "type": "list<double>",
  1172. "value": [
  1173. 1,
  1174. 1
  1175. ]
  1176. },
  1177. "$linkDecoratorInfo": {
  1178. "type": "map<string,double>",
  1179. "value": {
  1180. "xratio": 0.4601226993865031,
  1181. "yoffset": -19.5
  1182. }
  1183. }
  1184. },
  1185. "267": {
  1186. "segments": {
  1187. "type": "string",
  1188. "value": "m0,0 l10,4 l-10,4 l3,-4 z"
  1189. },
  1190. "style": {
  1191. "type": "map<string,string>",
  1192. "value": {
  1193. "stroke": "#000000",
  1194. "fill": "#000000",
  1195. "opacity": 1,
  1196. "stroke-width": 1
  1197. }
  1198. },
  1199. "mapper": {
  1200. "type": "code",
  1201. "value": ""
  1202. },
  1203. "parser": {
  1204. "type": "code",
  1205. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1206. },
  1207. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1208. "position": {
  1209. "type": "list<double>",
  1210. "value": [
  1211. "0;57.918696945578745,99.98514005489976%",
  1212. "0;-3.001996262944715,1.7238817250844398%"
  1213. ]
  1214. },
  1215. "orientation": {
  1216. "type": "double",
  1217. "value": "0;0.9877603996397878"
  1218. },
  1219. "scale": {
  1220. "type": "list<double>",
  1221. "value": [
  1222. 1,
  1223. 1
  1224. ]
  1225. },
  1226. "$linkDecoratorInfo": {
  1227. "type": "map<string,double>",
  1228. "value": {
  1229. "xratio": 1,
  1230. "yoffset": -4
  1231. }
  1232. }
  1233. }
  1234. },
  1235. "edges": []
  1236. }
  1237. },
  1238. "$asuri": {
  1239. "type": "string",
  1240. "value": "/Formalisms/PN/PN/PlaceToTransition/6.instance"
  1241. },
  1242. "$segments": {
  1243. "type": "map<string,list<string>>",
  1244. "value": {
  1245. "/Formalisms/PN/PN.defaultIcons/PlaceIcon/3.instance--/Formalisms/PN/PN.defaultIcons/PlaceToTransitionLink/6.instance": "M666,246L724.1499998513675,247.00258620433394",
  1246. "/Formalisms/PN/PN.defaultIcons/PlaceToTransitionLink/6.instance--/Formalisms/PN/PN.defaultIcons/TransitionIcon/5.instance": "M724.074870671172,247.00129087364093L781.9997415279429,247.99999554358521"
  1247. }
  1248. },
  1249. "$type": "/Formalisms/PN/PN.defaultIcons/PlaceToTransitionLink"
  1250. },
  1251. "7": {
  1252. "typename": {
  1253. "type": "string",
  1254. "value": "PlaceIcon"
  1255. },
  1256. "position": {
  1257. "type": "list<double>",
  1258. "value": [
  1259. 896,
  1260. 229
  1261. ]
  1262. },
  1263. "orientation": {
  1264. "type": "double",
  1265. "value": 0
  1266. },
  1267. "scale": {
  1268. "type": "list<double>",
  1269. "value": [
  1270. 1,
  1271. 1
  1272. ]
  1273. },
  1274. "mapper": {
  1275. "type": "code",
  1276. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1277. },
  1278. "parser": {
  1279. "type": "code",
  1280. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1281. },
  1282. "$contents": {
  1283. "type": "map<string,*>",
  1284. "value": {
  1285. "nodes": {
  1286. "1": {
  1287. "r": {
  1288. "type": "double",
  1289. "value": 20
  1290. },
  1291. "style": {
  1292. "type": "map<string,string>",
  1293. "value": {
  1294. "stroke": "#000000",
  1295. "stroke-dasharray": "",
  1296. "fill": "yellow",
  1297. "fill-opacity": 0.75,
  1298. "font-size": "20px",
  1299. "stroke-width": 2,
  1300. "arrow-start": "none",
  1301. "arrow-end": "none"
  1302. }
  1303. },
  1304. "mapper": {
  1305. "type": "code",
  1306. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1307. },
  1308. "parser": {
  1309. "type": "code",
  1310. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1311. },
  1312. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle",
  1313. "position": {
  1314. "type": "list<double>",
  1315. "value": [
  1316. 2,
  1317. 2
  1318. ]
  1319. },
  1320. "orientation": {
  1321. "type": "double",
  1322. "value": 0
  1323. },
  1324. "scale": {
  1325. "type": "list<double>",
  1326. "value": [
  1327. 1,
  1328. 1
  1329. ]
  1330. }
  1331. },
  1332. "2": {
  1333. "textContent": {
  1334. "type": "string",
  1335. "value": 2
  1336. },
  1337. "style": {
  1338. "type": "map<string,string>",
  1339. "value": {
  1340. "stroke": "#000000",
  1341. "stroke-dasharray": "",
  1342. "fill": "#ffffff",
  1343. "fill-opacity": 0.75,
  1344. "font-size": "15px",
  1345. "stroke-width": 1,
  1346. "arrow-start": "none",
  1347. "arrow-end": "none"
  1348. }
  1349. },
  1350. "mapper": {
  1351. "type": "code",
  1352. "value": "({'textContent':getAttr('tokens')})"
  1353. },
  1354. "parser": {
  1355. "type": "code",
  1356. "value": "({'tokens':getAttr('textContent')})"
  1357. },
  1358. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1359. "position": {
  1360. "type": "list<double>",
  1361. "value": [
  1362. 18,
  1363. 13
  1364. ]
  1365. },
  1366. "orientation": {
  1367. "type": "double",
  1368. "value": 0
  1369. },
  1370. "scale": {
  1371. "type": "list<double>",
  1372. "value": [
  1373. 1,
  1374. 1
  1375. ]
  1376. }
  1377. },
  1378. "3": {
  1379. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  1380. "position": {
  1381. "type": "list<double>",
  1382. "value": [
  1383. 11.078337380408811,
  1384. 13.618963631145192
  1385. ]
  1386. },
  1387. "orientation": {
  1388. "type": "double",
  1389. "value": 0
  1390. },
  1391. "scale": {
  1392. "type": "list<double>",
  1393. "value": [
  1394. 1,
  1395. 1
  1396. ]
  1397. },
  1398. "link-style": {
  1399. "type": "map<string,string>",
  1400. "value": {
  1401. "stroke": "#00ffff",
  1402. "stroke-dasharray": "",
  1403. "stroke-opacity": 0.1,
  1404. "stroke-width": 1
  1405. }
  1406. }
  1407. },
  1408. "4": {
  1409. "textContent": {
  1410. "type": "string",
  1411. "value": "P_3"
  1412. },
  1413. "style": {
  1414. "type": "map<string,string>",
  1415. "value": {
  1416. "stroke": "#000000",
  1417. "stroke-dasharray": "",
  1418. "fill": "#ffffff",
  1419. "fill-opacity": 0.75,
  1420. "font-size": "15px",
  1421. "stroke-width": 1,
  1422. "arrow-start": "none",
  1423. "arrow-end": "none"
  1424. }
  1425. },
  1426. "mapper": {
  1427. "type": "code",
  1428. "value": "({'textContent':getAttr('pname')})"
  1429. },
  1430. "parser": {
  1431. "type": "code",
  1432. "value": "({'pname':getAttr('textContent')})"
  1433. },
  1434. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1435. "position": {
  1436. "type": "list<double>",
  1437. "value": [
  1438. 2,
  1439. 45
  1440. ]
  1441. },
  1442. "orientation": {
  1443. "type": "double",
  1444. "value": 0
  1445. },
  1446. "scale": {
  1447. "type": "list<double>",
  1448. "value": [
  1449. 1,
  1450. 1
  1451. ]
  1452. }
  1453. }
  1454. },
  1455. "edges": [
  1456. {
  1457. "src": "1",
  1458. "dest": "3"
  1459. },
  1460. {
  1461. "src": "3",
  1462. "dest": "2"
  1463. }
  1464. ]
  1465. }
  1466. },
  1467. "$asuri": {
  1468. "type": "string",
  1469. "value": "/Formalisms/PN/PN/Place/7.instance"
  1470. },
  1471. "$type": "/Formalisms/PN/PN.defaultIcons/PlaceIcon"
  1472. },
  1473. "8": {
  1474. "link-style": {
  1475. "type": "map<string,string>",
  1476. "value": {
  1477. "stroke": "#000000",
  1478. "stroke-dasharray": "",
  1479. "stroke-opacity": 1,
  1480. "stroke-width": 2
  1481. }
  1482. },
  1483. "arrowHead": {
  1484. "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)",
  1485. "value": "custom"
  1486. },
  1487. "arrowTail": {
  1488. "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)",
  1489. "value": "arrow-black"
  1490. },
  1491. "typename": {
  1492. "type": "string",
  1493. "value": "TransitionToPlaceLink"
  1494. },
  1495. "position": {
  1496. "type": "list<double>",
  1497. "value": [
  1498. 849.1499998513674,
  1499. 250.5038793065009
  1500. ]
  1501. },
  1502. "orientation": {
  1503. "type": "double",
  1504. "value": 0
  1505. },
  1506. "scale": {
  1507. "type": "list<double>",
  1508. "value": [
  1509. 1,
  1510. 1
  1511. ]
  1512. },
  1513. "mapper": {
  1514. "type": "code",
  1515. "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
  1516. },
  1517. "parser": {
  1518. "type": "code",
  1519. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1520. },
  1521. "$contents": {
  1522. "type": "map<string,*>",
  1523. "value": {
  1524. "nodes": {
  1525. "19": {
  1526. "textContent": {
  1527. "type": "string",
  1528. "value": 1
  1529. },
  1530. "style": {
  1531. "type": "map<string,string>",
  1532. "value": {
  1533. "stroke": "#000000",
  1534. "stroke-dasharray": "",
  1535. "fill": "#ffffff",
  1536. "fill-opacity": 0.75,
  1537. "font-size": "15px",
  1538. "stroke-width": 1,
  1539. "arrow-start": "none",
  1540. "arrow-end": "none"
  1541. }
  1542. },
  1543. "mapper": {
  1544. "type": "code",
  1545. "value": "({'textContent':getAttr('weight')})"
  1546. },
  1547. "parser": {
  1548. "type": "code",
  1549. "value": "({'weight':getAttr('textContent')})"
  1550. },
  1551. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  1552. "position": {
  1553. "type": "list<double>",
  1554. "value": [
  1555. "0;-4.271743875143443,0%",
  1556. "0;-19.616996299095717,0%"
  1557. ]
  1558. },
  1559. "orientation": {
  1560. "type": "double",
  1561. "value": "0;1.4814571708870852"
  1562. },
  1563. "scale": {
  1564. "type": "list<double>",
  1565. "value": [
  1566. 1,
  1567. 1
  1568. ]
  1569. },
  1570. "$linkDecoratorInfo": {
  1571. "type": "map<string,double>",
  1572. "value": {
  1573. "xratio": 0.4601226993865031,
  1574. "yoffset": -19.5
  1575. }
  1576. }
  1577. },
  1578. "267": {
  1579. "segments": {
  1580. "type": "string",
  1581. "value": "m0,0 l10,4 l-10,4 l3,-4 z"
  1582. },
  1583. "style": {
  1584. "type": "map<string,string>",
  1585. "value": {
  1586. "stroke": "#000000",
  1587. "fill": "#000000",
  1588. "opacity": 1,
  1589. "stroke-width": 1
  1590. }
  1591. },
  1592. "mapper": {
  1593. "type": "code",
  1594. "value": ""
  1595. },
  1596. "parser": {
  1597. "type": "code",
  1598. "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
  1599. },
  1600. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  1601. "position": {
  1602. "type": "list<double>",
  1603. "value": [
  1604. "0;57.95315537426791,99.96657443593833%",
  1605. "0;-2.5025489685606033,2.5853424423087055%"
  1606. ]
  1607. },
  1608. "orientation": {
  1609. "type": "double",
  1610. "value": "0;1.4814571708870492"
  1611. },
  1612. "scale": {
  1613. "type": "list<double>",
  1614. "value": [
  1615. 1,
  1616. 1
  1617. ]
  1618. },
  1619. "$linkDecoratorInfo": {
  1620. "type": "map<string,double>",
  1621. "value": {
  1622. "xratio": 1,
  1623. "yoffset": -4
  1624. }
  1625. }
  1626. }
  1627. },
  1628. "edges": []
  1629. }
  1630. },
  1631. "$asuri": {
  1632. "type": "string",
  1633. "value": "/Formalisms/PN/PN/TransitionToPlace/8.instance"
  1634. },
  1635. "$segments": {
  1636. "type": "map<string,list<string>>",
  1637. "value": {
  1638. "/Formalisms/PN/PN.defaultIcons/TransitionIcon/5.instance--/Formalisms/PN/PN.defaultIcons/TransitionToPlaceLink/8.instance": "M791,249L849.1499998513674,250.5038793065009",
  1639. "/Formalisms/PN/PN.defaultIcons/TransitionToPlaceLink/8.instance--/Formalisms/PN/PN.defaultIcons/PlaceIcon/7.instance": "M849.074870671172,250.50193631046136L906.999741527943,251.99999331537782"
  1640. }
  1641. },
  1642. "$type": "/Formalisms/PN/PN.defaultIcons/TransitionToPlaceLink"
  1643. }
  1644. },
  1645. "edges": [],
  1646. "metamodels": [
  1647. "/Formalisms/PN/PN.defaultIcons"
  1648. ]
  1649. },
  1650. "asm": {
  1651. "nodes": {
  1652. "0": {
  1653. "tokens": {
  1654. "type": "int",
  1655. "value": 5
  1656. },
  1657. "pname": {
  1658. "type": "string",
  1659. "value": "P_1"
  1660. },
  1661. "$type": "/Formalisms/PN/PN/Place"
  1662. },
  1663. "1": {
  1664. "tname": {
  1665. "type": "string",
  1666. "value": "T_1"
  1667. },
  1668. "$type": "/Formalisms/PN/PN/Transition"
  1669. },
  1670. "2": {
  1671. "weight": {
  1672. "type": "int",
  1673. "value": 1
  1674. },
  1675. "$type": "/Formalisms/PN/PN/PlaceToTransition"
  1676. },
  1677. "3": {
  1678. "tokens": {
  1679. "type": "int",
  1680. "value": 3
  1681. },
  1682. "pname": {
  1683. "type": "string",
  1684. "value": "P_2"
  1685. },
  1686. "$type": "/Formalisms/PN/PN/Place"
  1687. },
  1688. "4": {
  1689. "weight": {
  1690. "type": "int",
  1691. "value": 2
  1692. },
  1693. "$type": "/Formalisms/PN/PN/TransitionToPlace"
  1694. },
  1695. "5": {
  1696. "tname": {
  1697. "type": "string",
  1698. "value": "T_2"
  1699. },
  1700. "$type": "/Formalisms/PN/PN/Transition"
  1701. },
  1702. "6": {
  1703. "weight": {
  1704. "type": "int",
  1705. "value": 4
  1706. },
  1707. "$type": "/Formalisms/PN/PN/PlaceToTransition"
  1708. },
  1709. "7": {
  1710. "tokens": {
  1711. "type": "int",
  1712. "value": 2
  1713. },
  1714. "pname": {
  1715. "type": "string",
  1716. "value": "P_3"
  1717. },
  1718. "$type": "/Formalisms/PN/PN/Place"
  1719. },
  1720. "8": {
  1721. "weight": {
  1722. "type": "int",
  1723. "value": 1
  1724. },
  1725. "$type": "/Formalisms/PN/PN/TransitionToPlace"
  1726. }
  1727. },
  1728. "edges": [
  1729. {
  1730. "src": "0",
  1731. "dest": "2"
  1732. },
  1733. {
  1734. "src": "2",
  1735. "dest": "1"
  1736. },
  1737. {
  1738. "src": "1",
  1739. "dest": "4"
  1740. },
  1741. {
  1742. "src": "4",
  1743. "dest": "3"
  1744. },
  1745. {
  1746. "src": "3",
  1747. "dest": "6"
  1748. },
  1749. {
  1750. "src": "6",
  1751. "dest": "5"
  1752. },
  1753. {
  1754. "src": "5",
  1755. "dest": "8"
  1756. },
  1757. {
  1758. "src": "8",
  1759. "dest": "7"
  1760. }
  1761. ],
  1762. "metamodels": [
  1763. "/Formalisms/PN/PN"
  1764. ]
  1765. }
  1766. }