{ "csm": { "nodes": { "108": { "typename": { "type": "string", "value": "LHSIcon" }, "position": { "type": "list", "value": [ 499, 300 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "" }, "$contents": { "type": "map", "value": { "nodes": { "4": { "segments": { "type": "string", "value": "m0,0 l350,0 l100,250 l-100,250 l-350,0z" }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "stroke-width": 2, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path", "position": { "type": "list", "value": [ 1, 0 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/LHS/107.instance" }, "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/LHSIcon" }, "109": { "typename": { "type": "string", "value": "RHSIcon" }, "position": { "type": "list", "value": [ 900, 300 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "" }, "$contents": { "type": "map", "value": { "nodes": { "7": { "segments": { "type": "string", "value": "m0,0 l450,0 l0,500 l-450,0 l100,-250z" }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "stroke-width": 2, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path", "position": { "type": "list", "value": [ 0, 0 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/RHS/108.instance" }, "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon" }, "125": { "typename": { "type": "string", "value": "ParametersIcon" }, "position": { "type": "list", "value": [ 606, 334 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */" }, "parser": { "type": "code", "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */" }, "$contents": { "type": "map", "value": { "nodes": { "93": { "width": { "type": "double", "value": 60 }, "height": { "type": "double", "value": 60 }, "cornerRadius": { "type": "double", "value": 0 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#f9ec72", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */" }, "parser": { "type": "code", "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle", "position": { "type": "list", "value": [ 23, 24 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "95": { "textContent": { "type": "string", "value": "Parameters" }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "9px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */" }, "parser": { "type": "code", "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 26, 92 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "157": { "src": { "type": "string", "value": "/Toolbars/Utilities/editprefs.icon.png" }, "width": { "type": "double", "value": 48 }, "height": { "type": "double", "value": 48 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */" }, "parser": { "type": "code", "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image", "position": { "type": "list", "value": [ 27, 28 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "158": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 37.11052529523249, 38.60657796325995 ] }, "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 } } }, "__pLabelText": { "position": { "type": "list", "value": [ 0, 0 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "textContent": { "type": "string", "value": "0" }, "style": { "type": "map", "value": { "stroke": "#6000ff", "fill": "#6000ff", "font-size": "15px", "opacity": "1" } }, "mapper": { "type": "code", "value": "({'textContent':getAttr('__pLabel')})" }, "parser": { "type": "code", "value": "({'__pLabel':getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text" } }, "edges": [ { "src": "93", "dest": "158" }, { "src": "158", "dest": "157" } ] } }, "$asuri": { "type": "string", "value": "/Formalisms/Workflows/Workflows.pattern/__pParameters/124.instance" }, "$type": "/Formalisms/Workflows/Workflows.defaultIcons.pattern/__pParametersIcon" }, "126": { "typename": { "type": "string", "value": "ParametersIcon" }, "position": { "type": "list", "value": [ 1040, 334 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */" }, "parser": { "type": "code", "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */" }, "$contents": { "type": "map", "value": { "nodes": { "93": { "width": { "type": "double", "value": 60 }, "height": { "type": "double", "value": 60 }, "cornerRadius": { "type": "double", "value": 0 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#f9ec72", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */" }, "parser": { "type": "code", "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle", "position": { "type": "list", "value": [ 23, 24 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "95": { "textContent": { "type": "string", "value": "Parameters" }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "9px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */" }, "parser": { "type": "code", "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 26, 92 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "157": { "src": { "type": "string", "value": "/Toolbars/Utilities/editprefs.icon.png" }, "width": { "type": "double", "value": 48 }, "height": { "type": "double", "value": 48 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */" }, "parser": { "type": "code", "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image", "position": { "type": "list", "value": [ 27, 28 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "158": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 37.11052529523249, 38.60657796325995 ] }, "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 } } }, "__pLabelText": { "position": { "type": "list", "value": [ 0, 0 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "textContent": { "type": "string", "value": "0" }, "style": { "type": "map", "value": { "stroke": "#6000ff", "fill": "#6000ff", "font-size": "15px", "opacity": "1" } }, "mapper": { "type": "code", "value": "({'textContent':getAttr('__pLabel')})" }, "parser": { "type": "code", "value": "({'__pLabel':getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text" } }, "edges": [ { "src": "93", "dest": "158" }, { "src": "158", "dest": "157" } ] } }, "$asuri": { "type": "string", "value": "/Formalisms/Workflows/Workflows.pattern/__pParameters/125.instance" }, "$type": "/Formalisms/Workflows/Workflows.defaultIcons.pattern/__pParametersIcon" }, "127": { "link-style": { "type": "map", "value": { "stroke": "#00ff00", "stroke-dasharray": "", "stroke-opacity": 0.2, "stroke-width": 1, "arrow-start": "none", "arrow-end": "classic-wide-long" } }, "typename": { "type": "string", "value": "PatternContentsLink" }, "position": { "type": "list", "value": [ 573.75, 342.5 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "" }, "$contents": { "type": "map", "value": { "nodes": {}, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/126.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/LHSIcon/108.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/127.instance": "M500,300L573.75,342.5", "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/127.instance--/Formalisms/Workflows/Workflows.defaultIcons.pattern/__pParametersIcon/125.instance": "M573.879840770828,342.57482349505335L647.4993880236108,384.99964733564013" } }, "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink" }, "128": { "link-style": { "type": "map", "value": { "stroke": "#00ff00", "stroke-dasharray": "", "stroke-opacity": 0.2, "stroke-width": 1, "arrow-start": "none", "arrow-end": "classic-wide-long" } }, "typename": { "type": "string", "value": "PatternContentsLink" }, "position": { "type": "list", "value": [ 990.886124954625, 342.56374997875 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "" }, "$contents": { "type": "map", "value": { "nodes": {}, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/127.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon/109.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/128.instance": "M900,300L990.886124954625,342.56374997875", "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/128.instance--/Formalisms/Workflows/Workflows.defaultIcons.pattern/__pParametersIcon/126.instance": "M990.8858527048967,342.5636224788773L1081.499455863,384.99974517" } }, "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink" }, "129": { "typename": { "type": "string", "value": "__pTaskIcon" }, "position": { "type": "list", "value": [ 640, 579 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "" }, "$contents": { "type": "map", "value": { "nodes": { "text": { "textContent": { "type": "string", "value": "__pTaskIcon" }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": "1", "font-size": "13px" } }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 10, 76 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "rect": { "width": { "type": "double", "value": 75 }, "height": { "type": "double", "value": 75 }, "cornerRadius": { "type": "double", "value": 15 }, "style": { "type": "map", "value": { "stroke": "#000000", "fill": "#ffffff", "fill-opacity": 0.75 } }, "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 ] } }, "textBelowRect": { "distance": { "type": "double", "value": 10 }, "alignment": { "type": "ENUM(\"right\",\"left\",\"center\")", "value": "center" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Below", "position": { "type": "list", "value": [ 5, 38 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ff00", "stroke-dasharray": "", "stroke-opacity": 1, "arrow-start": "none", "arrow-end": "classic-wide-long" } } }, "__pLabelText": { "position": { "type": "list", "value": [ 0, 0 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "textContent": { "type": "string", "value": "1" }, "style": { "type": "map", "value": { "stroke": "#6000ff", "fill": "#6000ff", "font-size": "15px", "opacity": "1" } }, "mapper": { "type": "code", "value": "({'textContent':getAttr('__pLabel')})" }, "parser": { "type": "code", "value": "({'__pLabel':getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text" } }, "edges": [ { "src": "text", "dest": "textBelowRect" }, { "src": "textBelowRect", "dest": "rect" } ] } }, "$asuri": { "type": "string", "value": "/Formalisms/Workflows/Workflows.pattern/__pTask/128.instance" }, "$type": "/Formalisms/Workflows/Workflows.defaultIcons.pattern/__pTaskIcon" }, "130": { "typename": { "type": "string", "value": "__pTaskIcon" }, "position": { "type": "list", "value": [ 1104, 582 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "" }, "$contents": { "type": "map", "value": { "nodes": { "text": { "textContent": { "type": "string", "value": "__pTaskIcon" }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": "1", "font-size": "13px" } }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 10, 76 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "rect": { "width": { "type": "double", "value": 75 }, "height": { "type": "double", "value": 75 }, "cornerRadius": { "type": "double", "value": 15 }, "style": { "type": "map", "value": { "stroke": "#000000", "fill": "#ffffff", "fill-opacity": 0.75 } }, "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 ] } }, "textBelowRect": { "distance": { "type": "double", "value": 10 }, "alignment": { "type": "ENUM(\"right\",\"left\",\"center\")", "value": "center" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Below", "position": { "type": "list", "value": [ 5, 38 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ff00", "stroke-dasharray": "", "stroke-opacity": 1, "arrow-start": "none", "arrow-end": "classic-wide-long" } } }, "__pLabelText": { "position": { "type": "list", "value": [ 0, 0 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "textContent": { "type": "string", "value": "1" }, "style": { "type": "map", "value": { "stroke": "#6000ff", "fill": "#6000ff", "font-size": "15px", "opacity": "1" } }, "mapper": { "type": "code", "value": "({'textContent':getAttr('__pLabel')})" }, "parser": { "type": "code", "value": "({'__pLabel':getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text" } }, "edges": [ { "src": "text", "dest": "textBelowRect" }, { "src": "textBelowRect", "dest": "rect" } ] } }, "$asuri": { "type": "string", "value": "/Formalisms/Workflows/Workflows.pattern/__pTask/129.instance" }, "$type": "/Formalisms/Workflows/Workflows.defaultIcons.pattern/__pTaskIcon" }, "131": { "link-style": { "type": "map", "value": { "stroke": "#00ff00", "stroke-dasharray": "", "stroke-opacity": 0.2, "stroke-width": 1, "arrow-start": "none", "arrow-end": "classic-wide-long" } }, "typename": { "type": "string", "value": "PatternContentsLink" }, "position": { "type": "list", "value": [ 590.75, 462.25 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "" }, "$contents": { "type": "map", "value": { "nodes": {}, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/130.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/LHSIcon/108.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/131.instance": "M500,300L590.75,462.25", "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/131.instance--/Formalisms/Workflows/Workflows.defaultIcons.pattern/__pTaskIcon/129.instance": "M590.7865726954823,462.31538754646834L681.4996441570303,624.4993637959025" } }, "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink" }, "132": { "link-style": { "type": "map", "value": { "stroke": "#00ff00", "stroke-dasharray": "", "stroke-opacity": 0.2, "stroke-width": 1, "arrow-start": "none", "arrow-end": "classic-wide-long" } }, "typename": { "type": "string", "value": "PatternContentsLink" }, "position": { "type": "list", "value": [ 1022.8400366676401, 463.8701100148764 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "" }, "$contents": { "type": "map", "value": { "nodes": {}, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/131.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon/109.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/132.instance": "M900,300L1022.8400366676401,463.8701100148764", "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/132.instance--/Formalisms/Workflows/Workflows.defaultIcons.pattern/__pTaskIcon/130.instance": "M1022.7948862533776,463.8098788105139L1145.4996039443404,627.4994716569103" } }, "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink" } }, "edges": [], "metamodels": [ "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons", "/Formalisms/Workflows/Workflows.defaultIcons.pattern" ] }, "asm": { "nodes": { "107": { "Condition": { "type": "code", "value": "result=True" }, "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/LHS" }, "108": { "Action": { "type": "code", "value": "data = ''\nc = 0\nmsg = ''\ntxt = ''\nParameterId = 0\nwidgets = '{\"widgets\":['\n\npLabels = getAllNodes()\nnodes = getNodesFromLabels(pLabels)\nnodes = sorted(nodes, key=lambda a:int(a['$atompmId']))\n\nfor i, n in enumerate(nodes):\n\t#print(\"Node: \" + str(n))\n\n\tif n['$type'] != u'/Formalisms/Workflows/Workflows/Parameters' :\n\t\text = ''\n\t\tlabel = ''\n\n\t\tpLabel = pLabels[i]\n\t\tfor a in sorted(getAttrNames(pLabel),reverse=True):\n\n\t\t\tif a[0] != '$' and a not in ['parameterList','current','Duration','Executing','Message','Name','Mode','tarParam','srcParam','id','chosen','iterations','isTrue','condition'] and str(n[a])!= '%' :\n\t\t\t\ts = str(n['$ft__'])\n\t\t\t\tb = s.split('/')\n\t\t\t\tif b[-1] not in ['InitialNode','FinalNode','ForkNode','JoinNode','DecisionNode','IterationNode','Link','Flow','Alternative','Dependency','ExecTransformation','GenerateAS','GenerateCS', 'EditModel','VerifyAS']:\n\t\t\t\t\tif data and a != 'extension':\n\t\t\t\t\t\tdata += ','\n\t\t\t\t\tif c > 0 and a != 'name':\n\t\t\t\t\t\twidgets += ','\n\t\t\t\t\tc +=1\n\t\t\t\t\tif a == 'extension' and str(n[a]) != '':\n\t\t\t\t\t\text = str(n[a])\n\t\t\t\t\t\tc = c-1\n\t\t\t\t\t\twidgets = widgets.rstrip(',')\n\t\t\t\t\telif a == 'name' :\n\t\t\t\t\t\tif str(n[a])!= '':\n\t\t\t\t\t\t\tlabel = str(n[a])\n\t\t\t\t\t\tc = c-1\n\t\t\t\t\t\tdata = data.rstrip(',')\n\t\t\t\t\telse:\n\t\t\t\t\t\tdata += n['$atompmId']+':'+ext\n\t\t\t\t\t\t#print str(n['$atompmId'])+str(a)+b[-1]+':'+str(n[a])+ext\n\t\t\t\t\t\twidgets += '{\"id\":\"'+n['$atompmId']+'\",\"type\":\"input\",\"label\":\"'+label+'('+b[-1]+')'+str(a)+'\",\"default\":\"'+n[a]+'\"}'\n\t\t\t\t\t\t#print widgets\n\t\t\telif a == 'Message':\n\n\t\t\t\tif n[a] is not None :\n\t\t\t\t\ttxt = n[a]\n\t\t\t\t\ttxt = txt.replace(',', ';')\n\t\t\t\t\tmsg += n['$atompmId']+':'+txt+','\n\telse:\n\n\t\tParameterId = str(n['$atompmId'])\n\t\t#print(ParameterId)\nwidgets += '],\"title\":\"Parameters\"}'\n#print '=========================================================' + str(widgets)\ndata = '{'+data\ndata += '}'\nmsg = msg.rstrip(',')\n#print data\n#print msg\n#label += widgets\nhttpReq(\n\t'PUT',\n\tNone,\n\t'/GET/console',\n\t{'text':'CLIENT_BDAPI :: {\"func\":\"_openNewDialog\",\"args\":{\"args\":'+widgets+',\"labels\":\"'+data+'\",\"paramId\":\"'+ParameterId+'\",\"msg\":\"'+msg+'\"}}'})" }, "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/RHS" }, "124": { "__pLabel": { "type": "string", "value": "0" }, "__pPivotIn": { "type": "string", "value": "" }, "__pPivotOut": { "type": "string", "value": "" }, "__pMatchSubtypes": { "type": "boolean", "value": false }, "parameterList": { "type": "code", "value": "result = True" }, "$type": "/Formalisms/Workflows/Workflows.pattern/__pParameters" }, "125": { "__pLabel": { "type": "string", "value": "0" }, "__pPivotIn": { "type": "string", "value": "" }, "__pPivotOut": { "type": "string", "value": "" }, "__pMatchSubtypes": { "type": "boolean" }, "parameterList": { "type": "code", "value": "result = getAttr()" }, "$type": "/Formalisms/Workflows/Workflows.pattern/__pParameters" }, "126": { "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents" }, "127": { "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents" }, "128": { "__pLabel": { "type": "string", "value": "1" }, "__pPivotIn": { "type": "string", "value": "" }, "__pPivotOut": { "type": "string", "value": "" }, "__pMatchSubtypes": { "type": "boolean", "value": true }, "current": { "type": "code", "value": "result = True" }, "name": { "type": "code", "value": "result = True" }, "$type": "/Formalisms/Workflows/Workflows.pattern/__pTask" }, "129": { "__pLabel": { "type": "string", "value": "1" }, "__pPivotIn": { "type": "string", "value": "" }, "__pPivotOut": { "type": "string", "value": "" }, "__pMatchSubtypes": { "type": "boolean" }, "current": { "type": "code", "value": "result = getAttr()" }, "name": { "type": "code", "value": "result = getAttr()" }, "$type": "/Formalisms/Workflows/Workflows.pattern/__pTask" }, "130": { "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents" }, "131": { "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents" } }, "edges": [ { "src": "107", "dest": "126" }, { "src": "126", "dest": "124" }, { "src": "108", "dest": "127" }, { "src": "127", "dest": "125" }, { "src": "107", "dest": "130" }, { "src": "130", "dest": "128" }, { "src": "108", "dest": "131" }, { "src": "131", "dest": "129" } ], "metamodels": [ "/Formalisms/__Transformations__/TransformationRule/TransformationRule", "/Formalisms/Workflows/Workflows.pattern" ] } }