R_init.model 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317
  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. 374,
  13. 200
  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": "RHSIcon"
  98. },
  99. "position": {
  100. "type": "list<double>",
  101. "value": [
  102. 750,
  103. 200
  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": ""
  120. },
  121. "parser": {
  122. "type": "code",
  123. "value": ""
  124. },
  125. "$contents": {
  126. "type": "map<string,*>",
  127. "value": {
  128. "nodes": {
  129. "7": {
  130. "segments": {
  131. "type": "string",
  132. "value": "m0,0 l450,0 l0,500 l-450,0 l100,-250z"
  133. },
  134. "style": {
  135. "type": "map<string,string>",
  136. "value": {
  137. "stroke": "#000000",
  138. "stroke-dasharray": "",
  139. "fill": "#ffffff",
  140. "fill-opacity": 0.75,
  141. "stroke-width": 2,
  142. "arrow-start": "none",
  143. "arrow-end": "none"
  144. }
  145. },
  146. "mapper": {
  147. "type": "code",
  148. "value": ""
  149. },
  150. "parser": {
  151. "type": "code",
  152. "value": ""
  153. },
  154. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  155. "position": {
  156. "type": "list<double>",
  157. "value": [
  158. 0,
  159. 0
  160. ]
  161. },
  162. "orientation": {
  163. "type": "double",
  164. "value": 0
  165. },
  166. "scale": {
  167. "type": "list<double>",
  168. "value": [
  169. 1,
  170. 1
  171. ]
  172. }
  173. }
  174. },
  175. "edges": []
  176. }
  177. },
  178. "$asuri": {
  179. "type": "string",
  180. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/RHS/1.instance"
  181. },
  182. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon"
  183. },
  184. "2": {
  185. "typename": {
  186. "type": "string",
  187. "value": "ClassIcon"
  188. },
  189. "position": {
  190. "type": "list<double>",
  191. "value": [
  192. 891,
  193. 238
  194. ]
  195. },
  196. "orientation": {
  197. "type": "double",
  198. "value": 0
  199. },
  200. "scale": {
  201. "type": "list<double>",
  202. "value": [
  203. 1,
  204. 1
  205. ]
  206. },
  207. "mapper": {
  208. "type": "code",
  209. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  210. },
  211. "parser": {
  212. "type": "code",
  213. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  214. },
  215. "$contents": {
  216. "type": "map<string,*>",
  217. "value": {
  218. "nodes": {
  219. "75": {
  220. "textContent": {
  221. "type": "string",
  222. "value": "T..."
  223. },
  224. "style": {
  225. "type": "map<string,string>",
  226. "value": {
  227. "font-size": "14px",
  228. "font-style": "normal",
  229. "font-weight": "bold",
  230. "line-height": "100%",
  231. "letter-spacing": "0px",
  232. "word-spacing": "0px",
  233. "fill": "#000000",
  234. "fill-opacity": "1",
  235. "stroke": "none"
  236. }
  237. },
  238. "mapper": {
  239. "type": "code",
  240. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  241. },
  242. "parser": {
  243. "type": "code",
  244. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  245. },
  246. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  247. "position": {
  248. "type": "list<double>",
  249. "value": [
  250. 10,
  251. 41
  252. ]
  253. },
  254. "orientation": {
  255. "type": "double",
  256. "value": 0
  257. },
  258. "scale": {
  259. "type": "list<double>",
  260. "value": [
  261. 1,
  262. 1
  263. ]
  264. }
  265. },
  266. "77": {
  267. "textContent": {
  268. "type": "string",
  269. "value": "<coded>"
  270. },
  271. "style": {
  272. "type": "map<string,string>",
  273. "value": {
  274. "font-size": "18px",
  275. "font-style": "normal",
  276. "font-weight": "bold",
  277. "line-height": "100%",
  278. "letter-spacing": "0px",
  279. "word-spacing": "0px",
  280. "fill": "#000000",
  281. "fill-opacity": "1",
  282. "stroke": "none"
  283. }
  284. },
  285. "mapper": {
  286. "type": "code",
  287. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  288. },
  289. "parser": {
  290. "type": "code",
  291. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  292. },
  293. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  294. "position": {
  295. "type": "list<double>",
  296. "value": [
  297. 8,
  298. 8
  299. ]
  300. },
  301. "orientation": {
  302. "type": "double",
  303. "value": 0
  304. },
  305. "scale": {
  306. "type": "list<double>",
  307. "value": [
  308. 1,
  309. 1
  310. ]
  311. }
  312. },
  313. "80": {
  314. "segments": {
  315. "type": "string",
  316. "value": "m0,0l197,0"
  317. },
  318. "style": {
  319. "type": "map<string,string>",
  320. "value": {
  321. "stroke": "#000000",
  322. "stroke-dasharray": "",
  323. "fill": "#ffffff",
  324. "fill-opacity": 0.75,
  325. "font-size": "20px",
  326. "stroke-width": 2,
  327. "arrow-start": "none",
  328. "arrow-end": "none"
  329. }
  330. },
  331. "mapper": {
  332. "type": "code",
  333. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  334. },
  335. "parser": {
  336. "type": "code",
  337. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  338. },
  339. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  340. "position": {
  341. "type": "list<double>",
  342. "value": [
  343. 6,
  344. 36
  345. ]
  346. },
  347. "orientation": {
  348. "type": "double",
  349. "value": 0
  350. },
  351. "scale": {
  352. "type": "list<double>",
  353. "value": [
  354. 1,
  355. 1
  356. ]
  357. }
  358. },
  359. "81": {
  360. "width": {
  361. "type": "double",
  362. "value": 200
  363. },
  364. "height": {
  365. "type": "double",
  366. "value": 125
  367. },
  368. "cornerRadius": {
  369. "type": "double",
  370. "value": 0
  371. },
  372. "style": {
  373. "type": "map<string,string>",
  374. "value": {
  375. "stroke": "#000000",
  376. "stroke-dasharray": "",
  377. "fill": "#ffffff",
  378. "fill-opacity": 0.75,
  379. "stroke-width": 2
  380. }
  381. },
  382. "mapper": {
  383. "type": "code",
  384. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  385. },
  386. "parser": {
  387. "type": "code",
  388. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  389. },
  390. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  391. "position": {
  392. "type": "list<double>",
  393. "value": [
  394. 4,
  395. 3
  396. ]
  397. },
  398. "orientation": {
  399. "type": "double",
  400. "value": 0
  401. },
  402. "scale": {
  403. "type": "list<double>",
  404. "value": [
  405. 1,
  406. 1
  407. ]
  408. }
  409. },
  410. "83": {
  411. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  412. "position": {
  413. "type": "list<double>",
  414. "value": [
  415. 12.5,
  416. 27
  417. ]
  418. },
  419. "orientation": {
  420. "type": "double",
  421. "value": 0
  422. },
  423. "scale": {
  424. "type": "list<double>",
  425. "value": [
  426. 1,
  427. 1
  428. ]
  429. },
  430. "link-style": {
  431. "type": "map<string,string>",
  432. "value": {
  433. "stroke": "#00ffff",
  434. "stroke-dasharray": "",
  435. "stroke-opacity": 0.1,
  436. "stroke-width": 1
  437. }
  438. }
  439. },
  440. "84": {
  441. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  442. "position": {
  443. "type": "list<double>",
  444. "value": [
  445. 53.75,
  446. 20
  447. ]
  448. },
  449. "orientation": {
  450. "type": "double",
  451. "value": 0
  452. },
  453. "scale": {
  454. "type": "list<double>",
  455. "value": [
  456. 1,
  457. 1
  458. ]
  459. },
  460. "link-style": {
  461. "type": "map<string,string>",
  462. "value": {
  463. "stroke": "#00ffff",
  464. "stroke-dasharray": "",
  465. "stroke-opacity": 0.1,
  466. "stroke-width": 1
  467. }
  468. }
  469. },
  470. "85": {
  471. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  472. "position": {
  473. "type": "list<double>",
  474. "value": [
  475. 68.5,
  476. 36.5
  477. ]
  478. },
  479. "orientation": {
  480. "type": "double",
  481. "value": 0
  482. },
  483. "scale": {
  484. "type": "list<double>",
  485. "value": [
  486. 1,
  487. 1
  488. ]
  489. },
  490. "link-style": {
  491. "type": "map<string,string>",
  492. "value": {
  493. "stroke": "#00ffff",
  494. "stroke-dasharray": "",
  495. "stroke-opacity": 0.1,
  496. "stroke-width": 1
  497. }
  498. }
  499. },
  500. "__pLabelText": {
  501. "position": {
  502. "type": "list<double>",
  503. "value": [
  504. 0,
  505. 0
  506. ]
  507. },
  508. "orientation": {
  509. "type": "double",
  510. "value": 0
  511. },
  512. "scale": {
  513. "type": "list<double>",
  514. "value": [
  515. 1,
  516. 1
  517. ]
  518. },
  519. "textContent": {
  520. "type": "string",
  521. "value": "0"
  522. },
  523. "style": {
  524. "type": "map<string,string>",
  525. "value": {
  526. "stroke": "#6000ff",
  527. "fill": "#6000ff",
  528. "font-size": "15px",
  529. "opacity": "1"
  530. }
  531. },
  532. "mapper": {
  533. "type": "code",
  534. "value": "({'textContent':getAttr('__pLabel')})"
  535. },
  536. "parser": {
  537. "type": "code",
  538. "value": "({'__pLabel':getAttr('textContent')})"
  539. },
  540. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  541. }
  542. },
  543. "edges": [
  544. {
  545. "src": "81",
  546. "dest": "83"
  547. },
  548. {
  549. "src": "83",
  550. "dest": "75"
  551. },
  552. {
  553. "src": "81",
  554. "dest": "84"
  555. },
  556. {
  557. "src": "84",
  558. "dest": "80"
  559. },
  560. {
  561. "src": "81",
  562. "dest": "85"
  563. },
  564. {
  565. "src": "85",
  566. "dest": "77"
  567. }
  568. ]
  569. }
  570. },
  571. "$asuri": {
  572. "type": "string",
  573. "value": "/Formalisms/SCCD/SCCD.pattern/__pClass/2.instance"
  574. },
  575. "$type": "/Formalisms/SCCD/SCCD.defaultIcons.pattern/__pClassIcon"
  576. },
  577. "3": {
  578. "typename": {
  579. "type": "string",
  580. "value": "CompositeStateIcon"
  581. },
  582. "position": {
  583. "type": "list<double>",
  584. "value": [
  585. 891,
  586. 425
  587. ]
  588. },
  589. "orientation": {
  590. "type": "double",
  591. "value": 0
  592. },
  593. "scale": {
  594. "type": "list<double>",
  595. "value": [
  596. 0.5987,
  597. 0.5987
  598. ]
  599. },
  600. "mapper": {
  601. "type": "code",
  602. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  603. },
  604. "parser": {
  605. "type": "code",
  606. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  607. },
  608. "$contents": {
  609. "type": "map<string,*>",
  610. "value": {
  611. "nodes": {
  612. "10": {
  613. "width": {
  614. "type": "double",
  615. "value": 400
  616. },
  617. "height": {
  618. "type": "double",
  619. "value": 400
  620. },
  621. "cornerRadius": {
  622. "type": "double",
  623. "value": 20
  624. },
  625. "style": {
  626. "type": "map<string,string>",
  627. "value": {
  628. "stroke": "blue",
  629. "fill": "#ffffff",
  630. "fill-opacity": 0.01,
  631. "stroke-width": 2
  632. }
  633. },
  634. "mapper": {
  635. "type": "code",
  636. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  637. },
  638. "parser": {
  639. "type": "code",
  640. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  641. },
  642. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  643. "position": {
  644. "type": "list<double>",
  645. "value": [
  646. 2,
  647. 0
  648. ]
  649. },
  650. "orientation": {
  651. "type": "double",
  652. "value": 0
  653. },
  654. "scale": {
  655. "type": "list<double>",
  656. "value": [
  657. 1,
  658. 1
  659. ]
  660. }
  661. },
  662. "11": {
  663. "textContent": {
  664. "type": "string",
  665. "value": "<coded>"
  666. },
  667. "style": {
  668. "type": "map<string,string>",
  669. "value": {
  670. "stroke": "#000000",
  671. "stroke-dasharray": "",
  672. "fill": "#ffffff",
  673. "fill-opacity": 0.75,
  674. "font-size": "13px",
  675. "stroke-width": 1
  676. }
  677. },
  678. "mapper": {
  679. "type": "code",
  680. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  681. },
  682. "parser": {
  683. "type": "code",
  684. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  685. },
  686. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  687. "position": {
  688. "type": "list<double>",
  689. "value": [
  690. 11,
  691. 404
  692. ]
  693. },
  694. "orientation": {
  695. "type": "double",
  696. "value": 0
  697. },
  698. "scale": {
  699. "type": "list<double>",
  700. "value": [
  701. 1,
  702. 1
  703. ]
  704. }
  705. },
  706. "12": {
  707. "distance": {
  708. "type": "double",
  709. "value": 10
  710. },
  711. "alignment": {
  712. "type": "ENUM(\"right\",\"left\",\"center\")",
  713. "value": "\"center\""
  714. },
  715. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Below",
  716. "position": {
  717. "type": "list<double>",
  718. "value": [
  719. 77.06940657361247,
  720. 379.3658354276615
  721. ]
  722. },
  723. "orientation": {
  724. "type": "double",
  725. "value": 0
  726. },
  727. "scale": {
  728. "type": "list<double>",
  729. "value": [
  730. 1,
  731. 1
  732. ]
  733. },
  734. "link-style": {
  735. "type": "map<string,string>",
  736. "value": {
  737. "stroke": "#00ff00",
  738. "stroke-dasharray": "",
  739. "stroke-opacity": 1,
  740. "arrow-start": "none",
  741. "arrow-end": "classic-wide-long"
  742. }
  743. }
  744. },
  745. "__pLabelText": {
  746. "position": {
  747. "type": "list<double>",
  748. "value": [
  749. 0,
  750. 0
  751. ]
  752. },
  753. "orientation": {
  754. "type": "double",
  755. "value": 0
  756. },
  757. "scale": {
  758. "type": "list<double>",
  759. "value": [
  760. 1,
  761. 1
  762. ]
  763. },
  764. "textContent": {
  765. "type": "string",
  766. "value": "1"
  767. },
  768. "style": {
  769. "type": "map<string,string>",
  770. "value": {
  771. "stroke": "#6000ff",
  772. "fill": "#6000ff",
  773. "font-size": "15px",
  774. "opacity": "1"
  775. }
  776. },
  777. "mapper": {
  778. "type": "code",
  779. "value": "({'textContent':getAttr('__pLabel')})"
  780. },
  781. "parser": {
  782. "type": "code",
  783. "value": "({'__pLabel':getAttr('textContent')})"
  784. },
  785. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  786. }
  787. },
  788. "edges": [
  789. {
  790. "src": "11",
  791. "dest": "12"
  792. },
  793. {
  794. "src": "12",
  795. "dest": "10"
  796. }
  797. ]
  798. }
  799. },
  800. "$asuri": {
  801. "type": "string",
  802. "value": "/Formalisms/SCCD/SCCD.pattern/__pCompositeState/3.instance"
  803. },
  804. "$type": "/Formalisms/SCCD/SCCD.defaultIcons.pattern/__pCompositeStateIcon"
  805. },
  806. "4": {
  807. "link-style": {
  808. "type": "map<string,string>",
  809. "value": {
  810. "stroke": "#000000",
  811. "stroke-dasharray": "-",
  812. "stroke-opacity": 1,
  813. "stroke-width": 1
  814. }
  815. },
  816. "arrowHead": {
  817. "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)",
  818. "value": "custom"
  819. },
  820. "arrowTail": {
  821. "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)",
  822. "value": "arrow-black"
  823. },
  824. "typename": {
  825. "type": "string",
  826. "value": "behaviourLink"
  827. },
  828. "position": {
  829. "type": "list<double>",
  830. "value": [
  831. 1021,
  832. 394.5
  833. ]
  834. },
  835. "orientation": {
  836. "type": "double",
  837. "value": 0
  838. },
  839. "scale": {
  840. "type": "list<double>",
  841. "value": [
  842. 1,
  843. 1
  844. ]
  845. },
  846. "mapper": {
  847. "type": "code",
  848. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  849. },
  850. "parser": {
  851. "type": "code",
  852. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  853. },
  854. "$contents": {
  855. "type": "map<string,*>",
  856. "value": {
  857. "nodes": {
  858. "92": {
  859. "textContent": {
  860. "type": "string",
  861. "value": "<<behaviour>>"
  862. },
  863. "style": {
  864. "type": "map<string,string>",
  865. "value": {
  866. "stroke": "#000000",
  867. "stroke-dasharray": "",
  868. "fill": "#ffffff",
  869. "fill-opacity": 0.75,
  870. "font-size": "13px",
  871. "stroke-width": 1,
  872. "arrow-start": "none",
  873. "arrow-end": "none"
  874. }
  875. },
  876. "mapper": {
  877. "type": "code",
  878. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  879. },
  880. "parser": {
  881. "type": "code",
  882. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  883. },
  884. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  885. "position": {
  886. "type": "list<double>",
  887. "value": [
  888. "0;16.5,0%",
  889. "0;-10.481748771024456,0%"
  890. ]
  891. },
  892. "orientation": {
  893. "type": "double",
  894. "value": "0;90"
  895. },
  896. "scale": {
  897. "type": "list<double>",
  898. "value": [
  899. 1,
  900. 1
  901. ]
  902. },
  903. "$linkDecoratorInfo": {
  904. "type": "map<string,double>",
  905. "value": {
  906. "xratio": 0.34355828220858897,
  907. "yoffset": -16.5
  908. }
  909. }
  910. },
  911. "281": {
  912. "segments": {
  913. "type": "string",
  914. "value": "m0,0 l10,4 l-10,4"
  915. },
  916. "style": {
  917. "type": "map<string,string>",
  918. "value": {
  919. "stroke": "#000000",
  920. "fill": "#000000",
  921. "fill-opacity": 0,
  922. "stroke-width": 1,
  923. "opacity": 1
  924. }
  925. },
  926. "mapper": {
  927. "type": "code",
  928. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  929. },
  930. "parser": {
  931. "type": "code",
  932. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  933. },
  934. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  935. "position": {
  936. "type": "list<double>",
  937. "value": [
  938. "0;4,6.123031769111886e-15%",
  939. "0;33.499552684339506,100%"
  940. ]
  941. },
  942. "orientation": {
  943. "type": "double",
  944. "value": "0;90"
  945. },
  946. "scale": {
  947. "type": "list<double>",
  948. "value": [
  949. 1,
  950. 1
  951. ]
  952. },
  953. "$linkDecoratorInfo": {
  954. "type": "map<string,double>",
  955. "value": {
  956. "xratio": 1,
  957. "yoffset": -4
  958. }
  959. }
  960. },
  961. "__pLabelText": {
  962. "position": {
  963. "type": "list<double>",
  964. "value": [
  965. 0,
  966. 0
  967. ]
  968. },
  969. "orientation": {
  970. "type": "double",
  971. "value": 0
  972. },
  973. "scale": {
  974. "type": "list<double>",
  975. "value": [
  976. 1,
  977. 1
  978. ]
  979. },
  980. "textContent": {
  981. "type": "string",
  982. "value": "2"
  983. },
  984. "style": {
  985. "type": "map<string,string>",
  986. "value": {
  987. "stroke": "#6000ff",
  988. "fill": "#6000ff",
  989. "font-size": "15px",
  990. "opacity": "1"
  991. }
  992. },
  993. "mapper": {
  994. "type": "code",
  995. "value": "({'textContent':getAttr('__pLabel')})"
  996. },
  997. "parser": {
  998. "type": "code",
  999. "value": "({'__pLabel':getAttr('textContent')})"
  1000. },
  1001. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  1002. }
  1003. },
  1004. "edges": []
  1005. }
  1006. },
  1007. "$asuri": {
  1008. "type": "string",
  1009. "value": "/Formalisms/SCCD/SCCD.pattern/__pbehaviour/4.instance"
  1010. },
  1011. "$segments": {
  1012. "type": "map<string,list<string>>",
  1013. "value": {
  1014. "/Formalisms/SCCD/SCCD.defaultIcons.pattern/__pClassIcon/2.instance--/Formalisms/SCCD/SCCD.defaultIcons.pattern/__pbehaviourLink/4.instance": "M1021,361L1021,394.5",
  1015. "/Formalisms/SCCD/SCCD.defaultIcons.pattern/__pbehaviourLink/4.instance--/Formalisms/SCCD/SCCD.defaultIcons.pattern/__pCompositeStateIcon/3.instance": "M1021,394.5770453941717L1021,427.9995526843395"
  1016. }
  1017. },
  1018. "$type": "/Formalisms/SCCD/SCCD.defaultIcons.pattern/__pbehaviourLink"
  1019. },
  1020. "5": {
  1021. "link-style": {
  1022. "type": "map<string,string>",
  1023. "value": {
  1024. "stroke": "#00ff00",
  1025. "stroke-dasharray": "",
  1026. "stroke-opacity": 0.2,
  1027. "stroke-width": 1,
  1028. "arrow-start": "none",
  1029. "arrow-end": "classic-wide-long"
  1030. }
  1031. },
  1032. "typename": {
  1033. "type": "string",
  1034. "value": "PatternContentsLink"
  1035. },
  1036. "position": {
  1037. "type": "list<double>",
  1038. "value": [
  1039. 871.5,
  1040. 251
  1041. ]
  1042. },
  1043. "orientation": {
  1044. "type": "double",
  1045. "value": 0
  1046. },
  1047. "scale": {
  1048. "type": "list<double>",
  1049. "value": [
  1050. 1,
  1051. 1
  1052. ]
  1053. },
  1054. "mapper": {
  1055. "type": "code",
  1056. "value": ""
  1057. },
  1058. "parser": {
  1059. "type": "code",
  1060. "value": ""
  1061. },
  1062. "$contents": {
  1063. "type": "map<string,*>",
  1064. "value": {
  1065. "nodes": {},
  1066. "edges": []
  1067. }
  1068. },
  1069. "$asuri": {
  1070. "type": "string",
  1071. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/5.instance"
  1072. },
  1073. "$segments": {
  1074. "type": "map<string,list<string>>",
  1075. "value": {
  1076. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon/1.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/5.instance": "M750,200L871.5,251",
  1077. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/5.instance--/Formalisms/SCCD/SCCD.defaultIcons.pattern/__pClassIcon/2.instance": "M871.6383823412295,251.0580864148371L992.9995786375873,301.9998231318267"
  1078. }
  1079. },
  1080. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  1081. },
  1082. "6": {
  1083. "link-style": {
  1084. "type": "map<string,string>",
  1085. "value": {
  1086. "stroke": "#00ff00",
  1087. "stroke-dasharray": "",
  1088. "stroke-opacity": 0.2,
  1089. "stroke-width": 1,
  1090. "arrow-start": "none",
  1091. "arrow-end": "classic-wide-long"
  1092. }
  1093. },
  1094. "typename": {
  1095. "type": "string",
  1096. "value": "PatternContentsLink"
  1097. },
  1098. "position": {
  1099. "type": "list<double>",
  1100. "value": [
  1101. 880.7590543530047,
  1102. 375.3855951841408
  1103. ]
  1104. },
  1105. "orientation": {
  1106. "type": "double",
  1107. "value": 0
  1108. },
  1109. "scale": {
  1110. "type": "list<double>",
  1111. "value": [
  1112. 1,
  1113. 1
  1114. ]
  1115. },
  1116. "mapper": {
  1117. "type": "code",
  1118. "value": ""
  1119. },
  1120. "parser": {
  1121. "type": "code",
  1122. "value": ""
  1123. },
  1124. "$contents": {
  1125. "type": "map<string,*>",
  1126. "value": {
  1127. "nodes": {},
  1128. "edges": []
  1129. }
  1130. },
  1131. "$asuri": {
  1132. "type": "string",
  1133. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/6.instance"
  1134. },
  1135. "$segments": {
  1136. "type": "map<string,list<string>>",
  1137. "value": {
  1138. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon/1.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/6.instance": "M750,200L880.7590543530047,375.3855951841408",
  1139. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/6.instance--/Formalisms/SCCD/SCCD.defaultIcons.pattern/__pCompositeStateIcon/3.instance": "M880.7140790149774,375.32527028757795L1011.3383306774637,550.5300561944877"
  1140. }
  1141. },
  1142. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  1143. }
  1144. },
  1145. "edges": [],
  1146. "metamodels": [
  1147. "/Formalisms/TrafficLight/TrafficLight.defaultIcons.pattern",
  1148. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons",
  1149. "/Formalisms/SCCD/SCCD.defaultIcons.pattern"
  1150. ]
  1151. },
  1152. "asm": {
  1153. "nodes": {
  1154. "0": {
  1155. "Condition": {
  1156. "type": "code",
  1157. "value": "result = True"
  1158. },
  1159. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/LHS"
  1160. },
  1161. "1": {
  1162. "Action": {
  1163. "type": "code",
  1164. "value": ""
  1165. },
  1166. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/RHS"
  1167. },
  1168. "2": {
  1169. "__pLabel": {
  1170. "type": "string",
  1171. "value": "0"
  1172. },
  1173. "__pPivotIn": {
  1174. "type": "string",
  1175. "value": ""
  1176. },
  1177. "__pPivotOut": {
  1178. "type": "string",
  1179. "value": ""
  1180. },
  1181. "__pMatchSubtypes": {
  1182. "type": "boolean"
  1183. },
  1184. "name": {
  1185. "type": "code",
  1186. "value": "result = \"TrafficLight\""
  1187. },
  1188. "attributes": {
  1189. "type": "code",
  1190. "value": "result = [{\"name\": \"my_ui\",\n \"type\": \"TrafficLightUI\",\n \"default\": None}]"
  1191. },
  1192. "cardinalities": {
  1193. "type": "code",
  1194. "value": "result = getAttr()"
  1195. },
  1196. "abstract": {
  1197. "type": "code",
  1198. "value": "result = False"
  1199. },
  1200. "methods": {
  1201. "type": "code",
  1202. "value": "result = [ \n {\n \"name\": \"TrafficLight\",\n \"args\": [\n {\n \"name\": \"my_ui\",\n \"type\": \"TrafficLightUI\"\n }\n ],\n \"returntype\": \"\",\n \"body\": \"self.my_ui = my_ui; self.RED = 0; self.YELLOW = 1; self.GREEN = 2; self.colors = ['#f00','#ff0','#0f0']\"\n },\n {\n \"name\": \"clear\",\n \"args\": [],\n \"returntype\": \"\",\n \"body\": \"self.my_ui.setRed('#000'); self.my_ui.setYellow('#000'); self.my_ui.setGreen('#000')\"\n },\n {\n \"name\": \"setGreen\",\n \"args\": [],\n \"returntype\": \"\",\n \"body\": \"self.my_ui.setGreen(self.colors[self.GREEN])\"\n },\n {\n \"name\": \"setRed\",\n \"args\": [],\n \"returntype\": \"\",\n \"body\": \"self.my_ui.setRed(self.colors[self.RED])\"\n },\n {\n \"name\": \"setYellow\",\n \"args\": [],\n \"returntype\": \"\",\n \"body\": \"self.my_ui.setYellow(self.colors[self.YELLOW])\"\n }\n ]"
  1203. },
  1204. "external": {
  1205. "type": "code",
  1206. "value": "result = False"
  1207. },
  1208. "$type": "/Formalisms/SCCD/SCCD.pattern/__pClass"
  1209. },
  1210. "3": {
  1211. "__pLabel": {
  1212. "type": "string",
  1213. "value": "1"
  1214. },
  1215. "__pPivotIn": {
  1216. "type": "string",
  1217. "value": ""
  1218. },
  1219. "__pPivotOut": {
  1220. "type": "string",
  1221. "value": ""
  1222. },
  1223. "__pMatchSubtypes": {
  1224. "type": "boolean"
  1225. },
  1226. "name": {
  1227. "type": "code",
  1228. "value": "result = \"root\""
  1229. },
  1230. "entryAction": {
  1231. "type": "code",
  1232. "value": "result = getAttr()"
  1233. },
  1234. "exitAction": {
  1235. "type": "code",
  1236. "value": "result = getAttr()"
  1237. },
  1238. "isStart": {
  1239. "type": "code",
  1240. "value": "result = getAttr()"
  1241. },
  1242. "isCurrent": {
  1243. "type": "code",
  1244. "value": "result = getAttr()"
  1245. },
  1246. "option": {
  1247. "type": "code",
  1248. "value": "result = getAttr()"
  1249. },
  1250. "raiseEntry": {
  1251. "type": "code",
  1252. "value": "result = getAttr()"
  1253. },
  1254. "raiseExit": {
  1255. "type": "code",
  1256. "value": "result = getAttr()"
  1257. },
  1258. "$type": "/Formalisms/SCCD/SCCD.pattern/__pCompositeState"
  1259. },
  1260. "4": {
  1261. "__pLabel": {
  1262. "type": "string",
  1263. "value": "2"
  1264. },
  1265. "__pPivotIn": {
  1266. "type": "string",
  1267. "value": ""
  1268. },
  1269. "__pPivotOut": {
  1270. "type": "string",
  1271. "value": ""
  1272. },
  1273. "__pMatchSubtypes": {
  1274. "type": "boolean"
  1275. },
  1276. "$type": "/Formalisms/SCCD/SCCD.pattern/__pbehaviour"
  1277. },
  1278. "5": {
  1279. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  1280. },
  1281. "6": {
  1282. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  1283. }
  1284. },
  1285. "edges": [
  1286. {
  1287. "src": "2",
  1288. "dest": "4"
  1289. },
  1290. {
  1291. "src": "4",
  1292. "dest": "3"
  1293. },
  1294. {
  1295. "src": "1",
  1296. "dest": "5"
  1297. },
  1298. {
  1299. "src": "5",
  1300. "dest": "2"
  1301. },
  1302. {
  1303. "src": "1",
  1304. "dest": "6"
  1305. },
  1306. {
  1307. "src": "6",
  1308. "dest": "3"
  1309. }
  1310. ],
  1311. "metamodels": [
  1312. "/Formalisms/TrafficLight/TrafficLight.pattern",
  1313. "/Formalisms/__Transformations__/TransformationRule/TransformationRule",
  1314. "/Formalisms/SCCD/SCCD.pattern"
  1315. ]
  1316. }
  1317. }