{ "types": { "ClassIcon": [ { "name": "typename", "type": "string", "default": "ClassIcon" }, { "name": "position", "type": "list", "default": [ 127, 100 ] }, { "name": "orientation", "type": "double", "default": 0 }, { "name": "scale", "type": "list", "default": [ 1, 1 ] }, { "name": "mapper", "type": "code", "default": "" }, { "name": "parser", "type": "code", "default": "" }, { "name": "$contents", "type": "map", "default": { "nodes": { "5": { "width": { "type": "double", "value": 200 }, "height": { "type": "double", "value": 125 }, "cornerRadius": { "type": "double", "value": 5 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "stroke-width": 2 } }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle", "position": { "type": "list", "value": [ 0, 0 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "6": { "textContent": { "type": "string", "value": "" }, "style": { "type": "map", "value": { "stroke": "#000000", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "20px" } }, "mapper": { "type": "code", "value": "var style = \n {\n \"stroke\": \"#000000\",\n \"fill\": \"#ffffff\",\n \"fill-opacity\": 0.75,\n \"font-size\": \"20px\",\n \"font-style\": (getAttr('abstract') ? 'italic' : 'normal')\n };\n\n({'textContent': getAttr('name'), 'style':style})\n\n\n\n" }, "parser": { "type": "code", "value": "({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 23, 2 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "7": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 13.896110991026944, 3.0451514439171206 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ffff", "stroke-dasharray": "", "stroke-opacity": 0.1, "arrow-start": "none", "arrow-end": "classic-wide-long" } } }, "17": { "segments": { "type": "string", "value": "m0,0l200,0" }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 2, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path", "position": { "type": "list", "value": [ 1, 26 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "18": { "textContent": { "type": "string", "value": "T..." }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "13px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "var filenames = getAttr('attributes').map(\n\t\t\t\tfunction(attr)\n\t\t\t\t{\n\t\t\t\t\treturn attr['name'];\n\t\t\t\t});\n({'textContent': filenames.join('\\n')})" }, "parser": { "type": "code", "value": "" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 3, 25 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "19": { "width": { "type": "boolean", "value": true }, "ratio": { "type": "double", "value": 1 }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Span", "position": { "type": "list", "value": [ 168.09129891774523, 30.625911571363645 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#0000ff", "stroke-dasharray": "", "stroke-opacity": 1, "arrow-start": "none", "arrow-end": "classic-wide-long" } } }, "20": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 6.49899850809561, 18.998998508095553 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ffff", "stroke-dasharray": "", "stroke-opacity": 0.1, "arrow-start": "none", "arrow-end": "classic-wide-long" } } } }, "edges": [ { "src": "5", "dest": "7" }, { "src": "7", "dest": "6" }, { "src": "17", "dest": "19" }, { "src": "19", "dest": "5" }, { "src": "5", "dest": "20" }, { "src": "20", "dest": "18" } ] } }, { "name": "$asuri", "type": "string", "default": "-1" } ], "AssociationLink": [ { "name": "link-style", "type": "map", "default": { "stroke": "#000000", "stroke-dasharray": "", "stroke-opacity": 1, "stroke-width": 2, "arrow-start": "none", "arrow-end": "classic-wide-long" } }, { "name": "typename", "type": "string", "default": "AssociationLink" }, { "name": "position", "type": "list", "default": [ 214, 424 ] }, { "name": "orientation", "type": "double", "default": 0 }, { "name": "scale", "type": "list", "default": [ 1, 1 ] }, { "name": "mapper", "type": "code", "default": "" }, { "name": "parser", "type": "code", "default": "" }, { "name": "$contents", "type": "map", "default": { "nodes": { "15": { "textContent": { "type": "string", "value": "" }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "({'textContent':getAttr('name')})" }, "parser": { "type": "code", "value": "({'name':getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 1, -19 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, { "name": "$asuri", "type": "string", "default": "-1" }, { "name": "$segments", "type": "map>", "default": {} } ], "InheritanceLink": [ { "name": "link-style", "type": "map", "default": { "stroke": "#000000", "stroke-dasharray": "- ", "stroke-opacity": 1, "stroke-width": 2, "arrow-start": "none", "arrow-end": "classic-wide-long" } }, { "name": "typename", "type": "string", "default": "InheritanceLink" }, { "name": "position", "type": "list", "default": [ 475, 425 ] }, { "name": "orientation", "type": "double", "default": 0 }, { "name": "scale", "type": "list", "default": [ 1, 1 ] }, { "name": "mapper", "type": "code", "default": "" }, { "name": "parser", "type": "code", "default": "" }, { "name": "$contents", "type": "map", "default": { "nodes": {}, "edges": [] } }, { "name": "$asuri", "type": "string", "default": "-1" }, { "name": "$segments", "type": "map>", "default": {} } ], "GlobalConstraintIcon": [ { "name": "typename", "type": "string", "default": "GlobalConstraintIcon" }, { "name": "position", "type": "list", "default": [ 426, 126 ] }, { "name": "orientation", "type": "double", "default": 0 }, { "name": "scale", "type": "list", "default": [ 1, 1 ] }, { "name": "mapper", "type": "code", "default": "" }, { "name": "parser", "type": "code", "default": "" }, { "name": "$contents", "type": "map", "default": { "nodes": { "11": { "textContent": { "type": "string", "value": "CONSTRAINT" }, "style": { "type": "map", "value": { "stroke": "#00ff70", "stroke-dasharray": "", "fill": "#00ff70", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "({'textContent' : 'check '+getAttr('name')+' on '+(getAttr('event') || 'validate')})\n" }, "parser": { "type": "code", "value": "" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 0, -1 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, { "name": "$asuri", "type": "string", "default": "-1" } ], "GlobalActionIcon": [ { "name": "typename", "type": "string", "default": "GlobalActionIcon" }, { "name": "position", "type": "list", "default": [ 677, 151 ] }, { "name": "orientation", "type": "double", "default": 0 }, { "name": "scale", "type": "list", "default": [ 1, 1 ] }, { "name": "mapper", "type": "code", "default": "" }, { "name": "parser", "type": "code", "default": "" }, { "name": "$contents", "type": "map", "default": { "nodes": { "13": { "textContent": { "type": "string", "value": "ACTION" }, "style": { "type": "map", "value": { "stroke": "#af00ff", "stroke-dasharray": "", "fill": "#af00ff", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "({'textContent' : 'do '+getAttr('name')+' on '+getAttr('event')})\n" }, "parser": { "type": "code", "value": "" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 0, 1 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, { "name": "$asuri", "type": "string", "default": "-1" } ] }, "constraints": [], "actions": [], "cardinalities": { "ClassIcon": [], "AssociationLink": [], "InheritanceLink": [], "GlobalConstraintIcon": [], "GlobalActionIcon": [] }, "legalConnections": {}, "connectorTypes": {}, "types2parentTypes": { "ClassIcon": [], "AssociationLink": [], "InheritanceLink": [], "GlobalConstraintIcon": [], "GlobalActionIcon": [] } }