FSA.metamodel 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "types": {
  3. "State": [
  4. {
  5. "name": "name",
  6. "type": "string",
  7. "default": "S_"
  8. },
  9. {
  10. "name": "current",
  11. "type": "boolean",
  12. "default": false
  13. }
  14. ],
  15. "InputEvents": [
  16. {
  17. "name": "eventList",
  18. "type": "string",
  19. "default": "abc"
  20. }
  21. ],
  22. "Transition": [
  23. {
  24. "name": "event",
  25. "type": "string",
  26. "default": "a"
  27. }
  28. ]
  29. },
  30. "constraints": [],
  31. "actions": [],
  32. "cardinalities": {
  33. "State": [
  34. {
  35. "dir": "out",
  36. "type": "Transition",
  37. "min": "0",
  38. "max": "Infinity"
  39. },
  40. {
  41. "dir": "in",
  42. "type": "Transition",
  43. "min": "0",
  44. "max": "Infinity"
  45. }
  46. ],
  47. "InputEvents": [],
  48. "Transition": [
  49. {
  50. "dir": "in",
  51. "type": "State",
  52. "min": "0",
  53. "max": "1"
  54. },
  55. {
  56. "dir": "out",
  57. "type": "State",
  58. "min": "0",
  59. "max": "1"
  60. }
  61. ]
  62. },
  63. "legalConnections": {
  64. "State": {
  65. "State": [
  66. "Transition"
  67. ]
  68. }
  69. },
  70. "connectorTypes": {
  71. "Transition": "visual"
  72. },
  73. "types2parentTypes": {
  74. "State": [],
  75. "InputEvents": [],
  76. "Transition": []
  77. }
  78. }