R_findTransition.model 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402
  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. 510,
  13. 222
  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. "1": {
  95. "typename": {
  96. "type": "string",
  97. "value": "TransitionIcon"
  98. },
  99. "position": {
  100. "type": "list<double>",
  101. "value": [
  102. 699,
  103. 418
  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. "4": {
  130. "width": {
  131. "type": "double",
  132. "value": 15
  133. },
  134. "height": {
  135. "type": "double",
  136. "value": 40
  137. },
  138. "cornerRadius": {
  139. "type": "double",
  140. "value": 0
  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. 3,
  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. "5": {
  184. "textContent": {
  185. "type": "string",
  186. "value": "#"
  187. },
  188. "style": {
  189. "type": "map<string,string>",
  190. "value": {
  191. "stroke": "#000000",
  192. "stroke-dasharray": "",
  193. "fill": "#000000",
  194. "fill-opacity": 0.75,
  195. "font-size": "15px",
  196. "stroke-width": 1,
  197. "arrow-start": "none",
  198. "arrow-end": "none",
  199. "text-anchor": "middle"
  200. }
  201. },
  202. "mapper": {
  203. "type": "code",
  204. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  205. },
  206. "parser": {
  207. "type": "code",
  208. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  209. },
  210. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  211. "position": {
  212. "type": "list<double>",
  213. "value": [
  214. 10,
  215. 44
  216. ]
  217. },
  218. "orientation": {
  219. "type": "double",
  220. "value": 0
  221. },
  222. "scale": {
  223. "type": "list<double>",
  224. "value": [
  225. 1,
  226. 1
  227. ]
  228. }
  229. },
  230. "__pLabelText": {
  231. "position": {
  232. "type": "list<double>",
  233. "value": [
  234. 0,
  235. 0
  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. "textContent": {
  250. "type": "string",
  251. "value": "0"
  252. },
  253. "style": {
  254. "type": "map<string,string>",
  255. "value": {
  256. "stroke": "#6000ff",
  257. "fill": "#6000ff",
  258. "font-size": "15px",
  259. "opacity": "1"
  260. }
  261. },
  262. "mapper": {
  263. "type": "code",
  264. "value": "({'textContent':getAttr('__pLabel')})"
  265. },
  266. "parser": {
  267. "type": "code",
  268. "value": "({'__pLabel':getAttr('textContent')})"
  269. },
  270. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  271. }
  272. },
  273. "edges": []
  274. }
  275. },
  276. "$asuri": {
  277. "type": "string",
  278. "value": "/Formalisms/PN_inhibitor/PN.pattern/__pTransition/1.instance"
  279. },
  280. "$type": "/Formalisms/PN_inhibitor/PN.defaultIcons.pattern/__pTransitionIcon"
  281. },
  282. "2": {
  283. "link-style": {
  284. "type": "map<string,string>",
  285. "value": {
  286. "stroke": "#00ff00",
  287. "stroke-dasharray": "",
  288. "stroke-opacity": 0.2,
  289. "stroke-width": 1,
  290. "arrow-start": "none",
  291. "arrow-end": "classic-wide-long"
  292. }
  293. },
  294. "typename": {
  295. "type": "string",
  296. "value": "PatternContentsLink"
  297. },
  298. "position": {
  299. "type": "list<double>",
  300. "value": [
  301. 609.5984999854073,
  302. 335.3632499832222
  303. ]
  304. },
  305. "orientation": {
  306. "type": "double",
  307. "value": 0
  308. },
  309. "scale": {
  310. "type": "list<double>",
  311. "value": [
  312. 1,
  313. 1
  314. ]
  315. },
  316. "mapper": {
  317. "type": "code",
  318. "value": ""
  319. },
  320. "parser": {
  321. "type": "code",
  322. "value": ""
  323. },
  324. "$contents": {
  325. "type": "map<string,*>",
  326. "value": {
  327. "nodes": {},
  328. "edges": []
  329. }
  330. },
  331. "$asuri": {
  332. "type": "string",
  333. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/2.instance"
  334. },
  335. "$segments": {
  336. "type": "map<string,list<string>>",
  337. "value": {
  338. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/LHSIcon/0.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/2.instance": "M511,222L609.5984999854073,335.3632499832222",
  339. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/2.instance--/Formalisms/PN_inhibitor/PN.defaultIcons.pattern/__pTransitionIcon/1.instance": "M609.5490529981977,335.30639849792783L707.999409394,448.49932095300005"
  340. }
  341. },
  342. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  343. }
  344. },
  345. "edges": [],
  346. "metamodels": [
  347. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons",
  348. "/Formalisms/PN_inhibitor/PN.defaultIcons.pattern"
  349. ]
  350. },
  351. "asm": {
  352. "nodes": {
  353. "0": {
  354. "Condition": {
  355. "type": "code",
  356. "value": "result = True"
  357. },
  358. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/LHS"
  359. },
  360. "1": {
  361. "__pLabel": {
  362. "type": "string",
  363. "value": "0"
  364. },
  365. "__pPivotIn": {
  366. "type": "string",
  367. "value": ""
  368. },
  369. "__pPivotOut": {
  370. "type": "string",
  371. "value": "t"
  372. },
  373. "__pMatchSubtypes": {
  374. "type": "boolean",
  375. "value": false
  376. },
  377. "tname": {
  378. "type": "code",
  379. "value": "result = True"
  380. },
  381. "$type": "/Formalisms/PN_inhibitor/PN.pattern/__pTransition"
  382. },
  383. "2": {
  384. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  385. }
  386. },
  387. "edges": [
  388. {
  389. "src": "0",
  390. "dest": "2"
  391. },
  392. {
  393. "src": "2",
  394. "dest": "1"
  395. }
  396. ],
  397. "metamodels": [
  398. "/Formalisms/__Transformations__/TransformationRule/TransformationRule",
  399. "/Formalisms/PN_inhibitor/PN.pattern"
  400. ]
  401. }
  402. }