123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- {
- "types": {
- "NoteIcon": [
- {
- "name": "typename",
- "type": "string",
- "default": "NoteIcon"
- },
- {
- "name": "position",
- "type": "list<double>",
- "default": [
- 126,
- 101
- ]
- },
- {
- "name": "orientation",
- "type": "double",
- "default": 0
- },
- {
- "name": "scale",
- "type": "list<double>",
- "default": [
- 1,
- 1
- ]
- },
- {
- "name": "mapper",
- "type": "code",
- "default": ""
- },
- {
- "name": "parser",
- "type": "code",
- "default": ""
- },
- {
- "name": "$contents",
- "type": "map<string,*>",
- "default": {
- "nodes": {
- "1": {
- "width": {
- "type": "double",
- "value": 300
- },
- "height": {
- "type": "double",
- "value": 300
- },
- "cornerRadius": {
- "type": "double",
- "value": 35
- },
- "style": {
- "type": "map<string,string>",
- "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<double>",
- "value": [
- 1,
- 0
- ]
- },
- "orientation": {
- "type": "double",
- "value": 0
- },
- "scale": {
- "type": "list<double>",
- "value": [
- 1,
- 1
- ]
- }
- },
- "2": {
- "textContent": {
- "type": "string",
- "value": "<coded>"
- },
- "style": {
- "type": "map<string,string>",
- "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<double>",
- "value": [
- 18,
- 15
- ]
- },
- "orientation": {
- "type": "double",
- "value": 0
- },
- "scale": {
- "type": "list<double>",
- "value": [
- 1,
- 1
- ]
- }
- },
- "3": {
- "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
- "position": {
- "type": "list<double>",
- "value": [
- 27.384773832012115,
- 13.563654916150767
- ]
- },
- "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"
- }
- ]
- }
- },
- {
- "name": "$asuri",
- "type": "string",
- "default": "-1"
- }
- ]
- },
- "constraints": [],
- "actions": [],
- "cardinalities": {
- "NoteIcon": []
- },
- "legalConnections": {},
- "connectorTypes": {},
- "types2parentTypes": {
- "NoteIcon": []
- }
- }
|