123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472 |
- {
- "types": {
- "StateIcon": [
- {
- "name": "typename",
- "type": "string",
- "default": "StateIcon"
- },
- {
- "name": "position",
- "type": "list<double>",
- "default": [
- 75,
- 150
- ]
- },
- {
- "name": "orientation",
- "type": "double",
- "default": 0
- },
- {
- "name": "scale",
- "type": "list<double>",
- "default": [
- 1,
- 1
- ]
- },
- {
- "name": "mapper",
- "type": "code",
- "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
- },
- {
- "name": "parser",
- "type": "code",
- "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
- },
- {
- "name": "$contents",
- "type": "map<string,*>",
- "default": {
- "nodes": {
- "1": {
- "r": {
- "type": "double",
- "value": 50
- },
- "style": {
- "type": "map<string,string>",
- "value": {
- "stroke": "#000000",
- "fill": "#ffffff",
- "fill-opacity": 0.75,
- "stroke-width": 2
- }
- },
- "mapper": {
- "type": "code",
- "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nif (getAttr(\"current\")) {\n ({style:{\n \"stroke\": \"#000000\",\n \"fill\": \"#ffff00\",\n \"fill-opacity\": 0.75,\n \"stroke-width\": 2\n }});\n}\nelse {\n ({style:{\n \"stroke\": \"#000000\",\n \"fill\": \"#ffffff\",\n \"fill-opacity\": 0.75,\n \"stroke-width\": 2\n }});\n}"
- },
- "parser": {
- "type": "code",
- "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
- },
- "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle",
- "position": {
- "type": "list<double>",
- "value": [
- 4,
- 4
- ]
- },
- "orientation": {
- "type": "double",
- "value": 0
- },
- "scale": {
- "type": "list<double>",
- "value": [
- 1,
- 1
- ]
- }
- },
- "2": {
- "textContent": {
- "type": "string",
- "value": "T..."
- },
- "style": {
- "type": "map<string,string>",
- "value": {
- "stroke": "#000000",
- "stroke-dasharray": "",
- "fill": "#ffffff",
- "fill-opacity": 0.75,
- "font-size": "14px",
- "arrow-start": "none",
- "arrow-end": "none"
- }
- },
- "mapper": {
- "type": "code",
- "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({textContent: getAttr(\"name\")})\n"
- },
- "parser": {
- "type": "code",
- "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
- },
- "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
- "position": {
- "type": "list<double>",
- "value": [
- 11,
- 48
- ]
- },
- "orientation": {
- "type": "double",
- "value": 0
- },
- "scale": {
- "type": "list<double>",
- "value": [
- 1,
- 1
- ]
- }
- },
- "3": {
- "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
- "position": {
- "type": "list<double>",
- "value": [
- 12.71270269242143,
- 30
- ]
- },
- "orientation": {
- "type": "double",
- "value": 0
- },
- "scale": {
- "type": "list<double>",
- "value": [
- 1,
- 1
- ]
- },
- "link-style": {
- "type": "map<string,string>",
- "value": {
- "stroke": "#00ffff",
- "stroke-dasharray": "",
- "stroke-opacity": 0.1,
- "stroke-width": 1
- }
- }
- }
- },
- "edges": [
- {
- "src": "1",
- "dest": "3"
- },
- {
- "src": "3",
- "dest": "2"
- }
- ]
- }
- },
- {
- "name": "$asuri",
- "type": "string",
- "default": "-1"
- }
- ],
- "InputEventsIcon": [
- {
- "name": "typename",
- "type": "string",
- "default": "InputEventsIcon"
- },
- {
- "name": "position",
- "type": "list<double>",
- "default": [
- 325,
- 175
- ]
- },
- {
- "name": "orientation",
- "type": "double",
- "default": 0
- },
- {
- "name": "scale",
- "type": "list<double>",
- "default": [
- 1,
- 1
- ]
- },
- {
- "name": "mapper",
- "type": "code",
- "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
- },
- {
- "name": "parser",
- "type": "code",
- "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
- },
- {
- "name": "$contents",
- "type": "map<string,*>",
- "default": {
- "nodes": {
- "7": {
- "textContent": {
- "type": "string",
- "value": "T..."
- },
- "style": {
- "type": "map<string,string>",
- "value": {
- "stroke": "#000000",
- "stroke-dasharray": "",
- "fill": "#ff0000",
- "fill-opacity": 0.75,
- "stroke-width": 1,
- "font-size": "20px",
- "arrow-start": "none",
- "arrow-end": "none"
- }
- },
- "mapper": {
- "type": "code",
- "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({textContent: getAttr(\"eventList\")})\n"
- },
- "parser": {
- "type": "code",
- "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
- },
- "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
- "position": {
- "type": "list<double>",
- "value": [
- 4,
- 7
- ]
- },
- "orientation": {
- "type": "double",
- "value": 0
- },
- "scale": {
- "type": "list<double>",
- "value": [
- 1,
- 1
- ]
- }
- }
- },
- "edges": []
- }
- },
- {
- "name": "$asuri",
- "type": "string",
- "default": "-1"
- }
- ],
- "TransitionLink": [
- {
- "name": "link-style",
- "type": "map<string,string>",
- "default": {
- "stroke": "#000000",
- "stroke-dasharray": "",
- "stroke-opacity": 1,
- "stroke-width": 2
- }
- },
- {
- "name": "arrowHead",
- "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)",
- "default": "custom"
- },
- {
- "name": "arrowTail",
- "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)",
- "default": "arrow-black"
- },
- {
- "name": "typename",
- "type": "string",
- "default": "TransitionLink"
- },
- {
- "name": "position",
- "type": "list<double>",
- "default": [
- 596,
- 266
- ]
- },
- {
- "name": "orientation",
- "type": "double",
- "default": 0
- },
- {
- "name": "scale",
- "type": "list<double>",
- "default": [
- 1,
- 1
- ]
- },
- {
- "name": "mapper",
- "type": "code",
- "default": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */"
- },
- {
- "name": "parser",
- "type": "code",
- "default": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
- },
- {
- "name": "$contents",
- "type": "map<string,*>",
- "default": {
- "nodes": {
- "13": {
- "textContent": {
- "type": "string",
- "value": "T..."
- },
- "style": {
- "type": "map<string,string>",
- "value": {
- "stroke": "#000000",
- "stroke-dasharray": "",
- "fill": "#ffffff",
- "fill-opacity": 0.75,
- "font-size": "16px",
- "arrow-start": "none",
- "arrow-end": "none"
- }
- },
- "mapper": {
- "type": "code",
- "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({textContent: getAttr(\"event\")})\n"
- },
- "parser": {
- "type": "code",
- "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
- },
- "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
- "position": {
- "type": "list<double>",
- "value": [
- 0,
- 0
- ]
- },
- "orientation": {
- "type": "double",
- "value": 0
- },
- "scale": {
- "type": "list<double>",
- "value": [
- 1,
- 1
- ]
- },
- "$linkDecoratorInfo": {
- "type": "map<string,double>",
- "value": {
- "xratio": 0.49693251533742333,
- "yoffset": -21.5
- }
- }
- },
- "267": {
- "segments": {
- "type": "string",
- "value": "m0,0 l10,4 l-10,4 l3,-4 z"
- },
- "style": {
- "type": "map<string,string>",
- "value": {
- "stroke": "#000000",
- "fill": "#000000",
- "opacity": 1,
- "stroke-width": 1
- }
- },
- "mapper": {
- "type": "code",
- "value": ""
- },
- "parser": {
- "type": "code",
- "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
- },
- "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
- "position": {
- "type": "list<double>",
- "value": [
- 0,
- 0
- ]
- },
- "orientation": {
- "type": "double",
- "value": 0
- },
- "scale": {
- "type": "list<double>",
- "value": [
- 1,
- 1
- ]
- },
- "$linkDecoratorInfo": {
- "type": "map<string,double>",
- "value": {
- "xratio": 1,
- "yoffset": -4
- }
- }
- }
- },
- "edges": []
- }
- },
- {
- "name": "$asuri",
- "type": "string",
- "default": "-1"
- },
- {
- "name": "$segments",
- "type": "map<string,list<string>>",
- "default": {}
- }
- ]
- },
- "constraints": [],
- "actions": [],
- "cardinalities": {
- "StateIcon": [],
- "InputEventsIcon": [],
- "TransitionLink": []
- },
- "legalConnections": {},
- "connectorTypes": {},
- "types2parentTypes": {
- "StateIcon": [],
- "InputEventsIcon": [],
- "TransitionLink": []
- }
- }
|