{ "types": { "NoteIcon": [ { "name": "typename", "type": "string", "default": "NoteIcon" }, { "name": "position", "type": "list", "default": [ 126, 101 ] }, { "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": { "1": { "width": { "type": "double", "value": 300 }, "height": { "type": "double", "value": 300 }, "cornerRadius": { "type": "double", "value": 35 }, "style": { "type": "map", "value": { "fill": "yellow", "fill-opacity": 0.75, "stroke-width": 2 } }, "mapper": { "type": "code", "value": "var style = {\"fill\": \"yellow\",\n \"fill-opacity\": 0.75,\n \"stroke-width\": 2};\nstyle['fill'] = getAttr('color');\n\n({'style':style})" }, "parser": { "type": "code", "value": "" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle", "position": { "type": "list", "value": [ 1, 0 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "2": { "textContent": { "type": "string", "value": "" }, "style": { "type": "map", "value": { "stroke": "#0000ff", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "18px", "stroke-width": 1 } }, "mapper": { "type": "code", "value": "({'textContent':getAttr('text')})" }, "parser": { "type": "code", "value": "({'text':getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 18, 15 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "3": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 27.384773832012115, 13.563654916150767 ] }, "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" } ] } }, { "name": "$asuri", "type": "string", "default": "-1" } ] }, "constraints": [], "actions": [], "cardinalities": { "NoteIcon": [] }, "legalConnections": {}, "connectorTypes": {}, "types2parentTypes": { "NoteIcon": [] } }