{ "csm": { "nodes": { "0": { "typename": { "type": "string", "value": "PlaceIcon" }, "position": { "type": "list", "value": [ 363, 225 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": { "1": { "r": { "type": "double", "value": 20 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "yellow", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 2, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle", "position": { "type": "list", "value": [ 2, 2 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "2": { "textContent": { "type": "string", "value": 5 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "15px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "({'textContent':getAttr('tokens')})" }, "parser": { "type": "code", "value": "({'tokens':getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 18, 13 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "3": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 11.078337380408811, 13.618963631145192 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ffff", "stroke-dasharray": "", "stroke-opacity": 0.1, "stroke-width": 1 } } }, "4": { "textContent": { "type": "string", "value": "P_1" }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "15px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "({'textContent':getAttr('pname')})" }, "parser": { "type": "code", "value": "({'pname':getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 2, 45 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [ { "src": "1", "dest": "3" }, { "src": "3", "dest": "2" } ] } }, "$asuri": { "type": "string", "value": "/Formalisms/PN/PN/Place/0.instance" }, "$type": "/Formalisms/PN/PN.defaultIcons/PlaceIcon" }, "1": { "typename": { "type": "string", "value": "TransitionIcon" }, "position": { "type": "list", "value": [ 503, 224 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": { "8": { "width": { "type": "double", "value": 20 }, "height": { "type": "double", "value": 40 }, "cornerRadius": { "type": "double", "value": 5 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle", "position": { "type": "list", "value": [ 12, 2 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "9": { "textContent": { "type": "string", "value": "T_1" }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "15px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "({'textContent':getAttr('tname')})" }, "parser": { "type": "code", "value": "({'tname':getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 5, 47 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/PN/PN/Transition/1.instance" }, "$type": "/Formalisms/PN/PN.defaultIcons/TransitionIcon" }, "2": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "stroke-opacity": 1, "stroke-width": 2 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "PlaceToTransitionLink" }, "position": { "type": "list", "value": [ 459, 245 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": { "16": { "textContent": { "type": "string", "value": 1 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "15px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "({'textContent':getAttr('weight')})" }, "parser": { "type": "code", "value": "({'weight':getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ "0;-4.705638386649355,0%", "0;-19.5,0%" ] }, "orientation": { "type": "double", "value": "0;0" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 0.4601226993865031, "yoffset": -19.5 } } }, "267": { "segments": { "type": "string", "value": "m0,0 l10,4 l-10,4 l3,-4 z" }, "style": { "type": "map", "value": { "stroke": "#000000", "fill": "#000000", "opacity": 1, "stroke-width": 1 } }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path", "position": { "type": "list", "value": [ "0;58.99974590634872,100%", "0;-4,0%" ] }, "orientation": { "type": "double", "value": "0;0" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 1, "yoffset": -4 } } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/PN/PN/PlaceToTransition/2.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/PN/PN.defaultIcons/PlaceIcon/0.instance--/Formalisms/PN/PN.defaultIcons/PlaceToTransitionLink/2.instance": "M400,245L459,245", "/Formalisms/PN/PN.defaultIcons/PlaceToTransitionLink/2.instance--/Formalisms/PN/PN.defaultIcons/TransitionIcon/1.instance": "M459.07615382735776,245L517.9997459063487,245" } }, "$type": "/Formalisms/PN/PN.defaultIcons/PlaceToTransitionLink" }, "3": { "typename": { "type": "string", "value": "PlaceIcon" }, "position": { "type": "list", "value": [ 629, 223 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": { "1": { "r": { "type": "double", "value": 20 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "yellow", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 2, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle", "position": { "type": "list", "value": [ 2, 2 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "2": { "textContent": { "type": "string", "value": 0 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "15px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "({'textContent':getAttr('tokens')})" }, "parser": { "type": "code", "value": "({'tokens':getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 18, 13 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "3": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 11.078337380408811, 13.618963631145192 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ffff", "stroke-dasharray": "", "stroke-opacity": 0.1, "stroke-width": 1 } } }, "4": { "textContent": { "type": "string", "value": "P_2" }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "15px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "({'textContent':getAttr('pname')})" }, "parser": { "type": "code", "value": "({'pname':getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 2, 45 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [ { "src": "1", "dest": "3" }, { "src": "3", "dest": "2" } ] } }, "$asuri": { "type": "string", "value": "/Formalisms/PN/PN/Place/3.instance" }, "$type": "/Formalisms/PN/PN.defaultIcons/PlaceIcon" }, "4": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "stroke-opacity": 1, "stroke-width": 2 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "TransitionToPlaceLink" }, "position": { "type": "list", "value": [ 581.6499998039408, 246.49851485342631 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": { "19": { "textContent": { "type": "string", "value": 2 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "15px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "({'textContent':getAttr('weight')})" }, "parser": { "type": "code", "value": "({'weight':getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ "0;-4.37080359017375,0%", "0;-19.457680482154387,0%" ] }, "orientation": { "type": "double", "value": "0;-0.5672664098579506" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 0.4601226993865031, "yoffset": -19.5 } } }, "267": { "segments": { "type": "string", "value": "m0,0 l10,4 l-10,4 l3,-4 z" }, "style": { "type": "map", "value": { "stroke": "#000000", "fill": "#000000", "opacity": 1, "stroke-width": 1 } }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path", "position": { "type": "list", "value": [ "0;50.31010134305711,99.99509888009116%", "0;-4.498315869683012,-0.9900504839613065%" ] }, "orientation": { "type": "double", "value": "0;-0.5672664098579389" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 1, "yoffset": -4 } } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/PN/PN/TransitionToPlace/4.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/PN/PN.defaultIcons/TransitionIcon/1.instance--/Formalisms/PN/PN.defaultIcons/TransitionToPlaceLink/4.instance": "M531,247L581.6499998039408,246.49851485342631", "/Formalisms/PN/PN.defaultIcons/TransitionToPlaceLink/4.instance--/Formalisms/PN/PN.defaultIcons/PlaceIcon/3.instance": "M581.5748514607865,246.49925889642785L631.9997031663563,246.00000293894695" } }, "$type": "/Formalisms/PN/PN.defaultIcons/TransitionToPlaceLink" } }, "edges": [], "metamodels": [ "/Formalisms/PN/PN.defaultIcons" ] }, "asm": { "nodes": { "0": { "tokens": { "type": "int", "value": 5 }, "pname": { "type": "string", "value": "P_1" }, "$type": "/Formalisms/PN/PN/Place" }, "1": { "tname": { "type": "string", "value": "T_1" }, "$type": "/Formalisms/PN/PN/Transition" }, "2": { "weight": { "type": "int", "value": 1 }, "$type": "/Formalisms/PN/PN/PlaceToTransition" }, "3": { "tokens": { "type": "int", "value": 0 }, "pname": { "type": "string", "value": "P_2" }, "$type": "/Formalisms/PN/PN/Place" }, "4": { "weight": { "type": "int", "value": 2 }, "$type": "/Formalisms/PN/PN/TransitionToPlace" } }, "edges": [ { "src": "0", "dest": "2" }, { "src": "2", "dest": "1" }, { "src": "1", "dest": "4" }, { "src": "4", "dest": "3" } ], "metamodels": [ "/Formalisms/PN/PN" ] } }