{ "csm": { "nodes": { "0": { "typename": { "type": "string", "value": "ButtonIcon" }, "position": { "type": "list", "value": [ 499, 271 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "" }, "$contents": { "type": "map", "value": { "nodes": { "1": { "width": { "type": "double", "value": "120" }, "height": { "type": "double", "value": "50" }, "cornerRadius": { "type": "double", "value": "25" }, "style": { "type": "map", "value": { "stroke": "#af0000", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 0.05, "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 ] } }, "2": { "textContent": { "type": "string", "value": "connectMV" }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "13px", "stroke-width": 1 } }, "mapper": { "type": "code", "value": "({\"textContent\":getAttr(\"name\")})" }, "parser": { "type": "code", "value": "({\"name\":getAttr(\"textContent\")})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 10, 13 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "3": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 17.74899850809561, 12.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": "1", "dest": 3 }, { "src": 3, "dest": "2" } ] } }, "$asuri": { "type": "string", "value": "/Formalisms/__Utilities__/Buttons/Buttons/Button/0.instance" }, "$type": "/Formalisms/__Utilities__/Buttons/Buttons.defaultIcons/ButtonIcon" }, "1": { "typename": { "type": "string", "value": "ButtonIcon" }, "position": { "type": "list", "value": [ 708, 315 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "" }, "$contents": { "type": "map", "value": { "nodes": { "1": { "width": { "type": "double", "value": "120" }, "height": { "type": "double", "value": "50" }, "cornerRadius": { "type": "double", "value": "25" }, "style": { "type": "map", "value": { "stroke": "#af0000", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 0.05, "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 ] } }, "2": { "textContent": { "type": "string", "value": "loadModel" }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "13px", "stroke-width": 1 } }, "mapper": { "type": "code", "value": "({\"textContent\":getAttr(\"name\")})" }, "parser": { "type": "code", "value": "({\"name\":getAttr(\"textContent\")})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 10, 13 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "3": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 17.74899850809561, 12.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": "1", "dest": 3 }, { "src": 3, "dest": "2" } ] } }, "$asuri": { "type": "string", "value": "/Formalisms/__Utilities__/Buttons/Buttons/Button/1.instance" }, "$type": "/Formalisms/__Utilities__/Buttons/Buttons.defaultIcons/ButtonIcon" }, "21": { "typename": { "type": "string", "value": "ButtonIcon" }, "position": { "type": "list", "value": [ 866, 384 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "" }, "$contents": { "type": "map", "value": { "nodes": { "1": { "width": { "type": "double", "value": "120" }, "height": { "type": "double", "value": "50" }, "cornerRadius": { "type": "double", "value": "25" }, "style": { "type": "map", "value": { "stroke": "#af0000", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 0.05, "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 ] } }, "2": { "textContent": { "type": "string", "value": "saveModel" }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "13px", "stroke-width": 1 } }, "mapper": { "type": "code", "value": "({\"textContent\":getAttr(\"name\")})" }, "parser": { "type": "code", "value": "({\"name\":getAttr(\"textContent\")})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 10, 13 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "3": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 17.74899850809561, 12.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": "1", "dest": 3 }, { "src": 3, "dest": "2" } ] } }, "$asuri": { "type": "string", "value": "/Formalisms/__Utilities__/Buttons/Buttons/Button/21.instance" }, "$type": "/Formalisms/__Utilities__/Buttons/Buttons.defaultIcons/ButtonIcon" } }, "edges": [], "metamodels": [ "/Formalisms/__Utilities__/Buttons/Buttons.defaultIcons", "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons", "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.umlIcons", "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax.defaultIcons", "/Formalisms/SCCD/SCCD.defaultIcons" ] }, "asm": { "nodes": { "0": { "name": { "type": "string", "value": "connectMV" }, "tooltip": { "type": "string", "value": "(ALPHA) Connect to the ModelVerse" }, "code": { "type": "code", "value": "new ModelVerseConnector();\nModelVerseConnector.connect();" }, "$type": "/Formalisms/__Utilities__/Buttons/Buttons/Button" }, "1": { "name": { "type": "string", "value": "loadModel" }, "tooltip": { "type": "string", "value": "(ALPHA) Load a model from the ModelVerse" }, "code": { "type": "code", "value": "if (ModelVerseConnector.connected == undefined){\n WindowManagement.openDialog(_ERROR,'Connect to the ModelVerse first');\n}else{\n ModelVerseConnector.choose_model();\n}" }, "$type": "/Formalisms/__Utilities__/Buttons/Buttons/Button" }, "21": { "name": { "type": "string", "value": "saveModel" }, "tooltip": { "type": "string", "value": "(ALPHA) Save a model to the ModelVerse" }, "code": { "type": "code", "value": "if (ModelVerseConnector.connected == undefined){\n WindowManagement.openDialog(_ERROR,'Connect to the ModelVerse first');\n}else{\n _httpReq('GET', '/current.state?wid='+_context.aswid, undefined, \n ModelVerseConnector.choose_model);\n}" }, "$type": "/Formalisms/__Utilities__/Buttons/Buttons/Button" } }, "edges": [], "metamodels": [ "/Formalisms/__Utilities__/Buttons/Buttons", "/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram", "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax", "/Formalisms/SCCD/SCCD" ] } }