|
@@ -0,0 +1,408 @@
|
|
|
+{
|
|
|
+ "csm": {
|
|
|
+ "nodes": {
|
|
|
+ "0": {
|
|
|
+ "typename": {
|
|
|
+ "type": "string",
|
|
|
+ "value": "ButtonIcon"
|
|
|
+ },
|
|
|
+ "position": {
|
|
|
+ "type": "list<double>",
|
|
|
+ "value": [
|
|
|
+ 499,
|
|
|
+ 271
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "orientation": {
|
|
|
+ "type": "double",
|
|
|
+ "value": 0
|
|
|
+ },
|
|
|
+ "scale": {
|
|
|
+ "type": "list<double>",
|
|
|
+ "value": [
|
|
|
+ 1,
|
|
|
+ 1
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "mapper": {
|
|
|
+ "type": "code",
|
|
|
+ "value": ""
|
|
|
+ },
|
|
|
+ "parser": {
|
|
|
+ "type": "code",
|
|
|
+ "value": ""
|
|
|
+ },
|
|
|
+ "$contents": {
|
|
|
+ "type": "map<string,*>",
|
|
|
+ "value": {
|
|
|
+ "nodes": {
|
|
|
+ "1": {
|
|
|
+ "width": {
|
|
|
+ "type": "double",
|
|
|
+ "value": "120"
|
|
|
+ },
|
|
|
+ "height": {
|
|
|
+ "type": "double",
|
|
|
+ "value": "50"
|
|
|
+ },
|
|
|
+ "cornerRadius": {
|
|
|
+ "type": "double",
|
|
|
+ "value": "25"
|
|
|
+ },
|
|
|
+ "style": {
|
|
|
+ "type": "map<string,string>",
|
|
|
+ "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<double>",
|
|
|
+ "value": [
|
|
|
+ 0,
|
|
|
+ 0
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "orientation": {
|
|
|
+ "type": "double",
|
|
|
+ "value": 0
|
|
|
+ },
|
|
|
+ "scale": {
|
|
|
+ "type": "list<double>",
|
|
|
+ "value": [
|
|
|
+ 1,
|
|
|
+ 1
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "2": {
|
|
|
+ "textContent": {
|
|
|
+ "type": "string",
|
|
|
+ "value": "connectMV"
|
|
|
+ },
|
|
|
+ "style": {
|
|
|
+ "type": "map<string,string>",
|
|
|
+ "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<double>",
|
|
|
+ "value": [
|
|
|
+ 10,
|
|
|
+ 13
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "orientation": {
|
|
|
+ "type": "double",
|
|
|
+ "value": 0
|
|
|
+ },
|
|
|
+ "scale": {
|
|
|
+ "type": "list<double>",
|
|
|
+ "value": [
|
|
|
+ 1,
|
|
|
+ 1
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "3": {
|
|
|
+ "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
|
|
|
+ "position": {
|
|
|
+ "type": "list<double>",
|
|
|
+ "value": [
|
|
|
+ 17.74899850809561,
|
|
|
+ 12.998998508095553
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "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,
|
|
|
+ "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<double>",
|
|
|
+ "value": [
|
|
|
+ 708,
|
|
|
+ 315
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "orientation": {
|
|
|
+ "type": "double",
|
|
|
+ "value": 0
|
|
|
+ },
|
|
|
+ "scale": {
|
|
|
+ "type": "list<double>",
|
|
|
+ "value": [
|
|
|
+ 1,
|
|
|
+ 1
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "mapper": {
|
|
|
+ "type": "code",
|
|
|
+ "value": ""
|
|
|
+ },
|
|
|
+ "parser": {
|
|
|
+ "type": "code",
|
|
|
+ "value": ""
|
|
|
+ },
|
|
|
+ "$contents": {
|
|
|
+ "type": "map<string,*>",
|
|
|
+ "value": {
|
|
|
+ "nodes": {
|
|
|
+ "1": {
|
|
|
+ "width": {
|
|
|
+ "type": "double",
|
|
|
+ "value": "120"
|
|
|
+ },
|
|
|
+ "height": {
|
|
|
+ "type": "double",
|
|
|
+ "value": "50"
|
|
|
+ },
|
|
|
+ "cornerRadius": {
|
|
|
+ "type": "double",
|
|
|
+ "value": "25"
|
|
|
+ },
|
|
|
+ "style": {
|
|
|
+ "type": "map<string,string>",
|
|
|
+ "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<double>",
|
|
|
+ "value": [
|
|
|
+ 0,
|
|
|
+ 0
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "orientation": {
|
|
|
+ "type": "double",
|
|
|
+ "value": 0
|
|
|
+ },
|
|
|
+ "scale": {
|
|
|
+ "type": "list<double>",
|
|
|
+ "value": [
|
|
|
+ 1,
|
|
|
+ 1
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "2": {
|
|
|
+ "textContent": {
|
|
|
+ "type": "string",
|
|
|
+ "value": "dumpModel"
|
|
|
+ },
|
|
|
+ "style": {
|
|
|
+ "type": "map<string,string>",
|
|
|
+ "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<double>",
|
|
|
+ "value": [
|
|
|
+ 10,
|
|
|
+ 13
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "orientation": {
|
|
|
+ "type": "double",
|
|
|
+ "value": 0
|
|
|
+ },
|
|
|
+ "scale": {
|
|
|
+ "type": "list<double>",
|
|
|
+ "value": [
|
|
|
+ 1,
|
|
|
+ 1
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "3": {
|
|
|
+ "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
|
|
|
+ "position": {
|
|
|
+ "type": "list<double>",
|
|
|
+ "value": [
|
|
|
+ 17.74899850809561,
|
|
|
+ 12.998998508095553
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "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,
|
|
|
+ "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"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "edges": [],
|
|
|
+ "metamodels": [
|
|
|
+ "/Formalisms/__Utilities__/Buttons/Buttons.defaultIcons"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "asm": {
|
|
|
+ "nodes": {
|
|
|
+ "0": {
|
|
|
+ "name": {
|
|
|
+ "type": "string",
|
|
|
+ "value": "connectMV"
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "type": "string",
|
|
|
+ "value": "Connect to the ModelVerse"
|
|
|
+ },
|
|
|
+ "code": {
|
|
|
+ "type": "code",
|
|
|
+ "value": "new ModelVerseConnector();\nModelVerseConnector.connect();"
|
|
|
+ },
|
|
|
+ "$type": "/Formalisms/__Utilities__/Buttons/Buttons/Button"
|
|
|
+ },
|
|
|
+ "1": {
|
|
|
+ "name": {
|
|
|
+ "type": "string",
|
|
|
+ "value": "dumpModel"
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "type": "string",
|
|
|
+ "value": ""
|
|
|
+ },
|
|
|
+ "code": {
|
|
|
+ "type": "code",
|
|
|
+ "value": "ModelVerseConnector.dump_model()"
|
|
|
+ },
|
|
|
+ "$type": "/Formalisms/__Utilities__/Buttons/Buttons/Button"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "edges": [],
|
|
|
+ "metamodels": [
|
|
|
+ "/Formalisms/__Utilities__/Buttons/Buttons"
|
|
|
+ ]
|
|
|
+ }
|
|
|
+}
|