123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433 |
- {
- "types": {
- "GlobalBreakpointIcon": [
- {
- "name": "typename",
- "type": "string",
- "default": "GlobalBreakpointIcon"
- },
- {
- "name": "position",
- "type": "list<double>",
- "default": [
- 150,
- 125
- ]
- },
- {
- "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": {
- "3": {
- "width": {
- "type": "double",
- "value": 150
- },
- "height": {
- "type": "double",
- "value": 50
- },
- "cornerRadius": {
- "type": "double",
- "value": 25
- },
- "style": {
- "type": "map<string,string>",
- "value": {
- "stroke": "#ffffff",
- "stroke-dasharray": "",
- "fill": "red",
- "fill-opacity": 1,
- "font-size": "20px",
- "stroke-width": 1,
- "arrow-start": "none",
- "arrow-end": "none"
- }
- },
- "mapper": {
- "type": "code",
- "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar style = {\n \"stroke\": \"#ffffff\",\n \"stroke-dasharray\": \"\",\n \"fill\": \"red\",\n \"fill-opacity\": 1,\n \"font-size\": \"20px\",\n \"stroke-width\": 1,\n \"arrow-start\": \"none\",\n \"arrow-end\": \"none\"\n};\nif (!getAttr(\"enabled\")) {\n style[\"fill\"] = \"grey\";\n}\n({\"style\": style})"
- },
- "parser": {
- "type": "code",
- "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */"
- },
- "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
- "position": {
- "type": "list<double>",
- "value": [
- 5,
- 3
- ]
- },
- "orientation": {
- "type": "double",
- "value": 0
- },
- "scale": {
- "type": "list<double>",
- "value": [
- 1,
- 1
- ]
- }
- },
- "4": {
- "textContent": {
- "type": "string",
- "value": "<coded>"
- },
- "style": {
- "type": "map<string,string>",
- "value": {
- "stroke": "#ffffff",
- "stroke-dasharray": "",
- "fill": "#000000",
- "fill-opacity": 1,
- "font-size": "12px",
- "stroke-width": 0,
- "arrow-start": "none",
- "arrow-end": "none"
- }
- },
- "mapper": {
- "type": "code",
- "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('condition').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': textContent})"
- },
- "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": [
- 16,
- 11
- ]
- },
- "orientation": {
- "type": "double",
- "value": 0
- },
- "scale": {
- "type": "list<double>",
- "value": [
- 1,
- 1
- ]
- }
- },
- "7": {
- "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
- "position": {
- "type": "list<double>",
- "value": [
- 23.31953002410694,
- 11.55769180195216
- ]
- },
- "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": "3",
- "dest": "7"
- },
- {
- "src": "7",
- "dest": "4"
- }
- ]
- }
- },
- {
- "name": "$asuri",
- "type": "string",
- "default": "-1"
- }
- ],
- "BreakpointIcon": [
- {
- "name": "typename",
- "type": "string",
- "default": "BreakpointIcon"
- },
- {
- "name": "position",
- "type": "list<double>",
- "default": [
- 400,
- 125
- ]
- },
- {
- "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": {
- "2": {
- "r": {
- "type": "double",
- "value": 15
- },
- "style": {
- "type": "map<string,string>",
- "value": {
- "stroke": "#ffffff",
- "stroke-dasharray": "",
- "fill": "red",
- "fill-opacity": 1,
- "font-size": "20px",
- "stroke-width": 1,
- "arrow-start": "none",
- "arrow-end": "none"
- }
- },
- "mapper": {
- "type": "code",
- "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar style = {\n \"stroke\": \"#ffffff\",\n \"stroke-dasharray\": \"\",\n \"fill\": \"red\",\n \"fill-opacity\": 1,\n \"font-size\": \"20px\",\n \"stroke-width\": 1,\n \"arrow-start\": \"none\",\n \"arrow-end\": \"none\"\n};\nif (!getAttr(\"enabled\")) {\n style[\"fill\"] = \"grey\";\n}\n({\"style\": style})"
- },
- "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
- ]
- }
- }
- },
- "edges": []
- }
- },
- {
- "name": "$asuri",
- "type": "string",
- "default": "-1"
- }
- ],
- "targetLink": [
- {
- "name": "link-style",
- "type": "map<string,string>",
- "default": {
- "stroke": "red",
- "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": "targetLink"
- },
- {
- "name": "position",
- "type": "list<double>",
- "default": [
- 647,
- 123
- ]
- },
- {
- "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": {
- "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": {
- "GlobalBreakpointIcon": [],
- "BreakpointIcon": [],
- "targetLink": []
- },
- "legalConnections": {},
- "connectorTypes": {},
- "types2parentTypes": {
- "GlobalBreakpointIcon": [],
- "BreakpointIcon": [],
- "targetLink": []
- }
- }
|