AttributedGenericGraph.metamodel 903 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "types": {
  3. "$*": [],
  4. "AttributedGenericLink": [
  5. {
  6. "name": "name",
  7. "type": "string",
  8. "default": "GL_"
  9. },
  10. {
  11. "name": "data",
  12. "type": "map<string,string>",
  13. "default": {}
  14. }
  15. ]
  16. },
  17. "constraints": [],
  18. "actions": [],
  19. "cardinalities": {
  20. "$*": [
  21. {
  22. "dir": "out",
  23. "type": "AttributedGenericLink",
  24. "min": "0",
  25. "max": "Infinity"
  26. },
  27. {
  28. "dir": "in",
  29. "type": "AttributedGenericLink",
  30. "min": "0",
  31. "max": "Infinity"
  32. }
  33. ],
  34. "AttributedGenericLink": [
  35. {
  36. "dir": "in",
  37. "type": "$*",
  38. "min": "0",
  39. "max": "1"
  40. },
  41. {
  42. "dir": "out",
  43. "type": "$*",
  44. "min": "0",
  45. "max": "1"
  46. }
  47. ]
  48. },
  49. "legalConnections": {
  50. "$*": {
  51. "$*": [
  52. "AttributedGenericLink"
  53. ]
  54. }
  55. },
  56. "connectorTypes": {
  57. "AttributedGenericLink": "visual"
  58. },
  59. "types2parentTypes": {
  60. "$*": [],
  61. "AttributedGenericLink": []
  62. }
  63. }