"Fossies" - the Fresh Open Source Software Archive

Member "rce-release-9.1.0/de.rcenvironment.core.gui.wizards.exampleproject/templates/workflows_examples/01_First Steps/01_02_Coupling_Components.wf" (7 Jun 2019, 5174 Bytes) of package /linux/misc/rce-release-9.1.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PL/1 source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {
    2   "identifier" : "8232ac4c-39f7-4ae0-bc43-49f5d9e22559",
    3   "workflowVersion" : "5",
    4   "nodes" : [ {
    5     "identifier" : "7ecc6b51-dcc3-4140-abcf-fe45e6c20b06",
    6     "name" : "First",
    7     "location" : "424:343",
    8     "zIndex" : "0",
    9     "active" : "true",
   10     "component" : {
   11       "identifier" : "de.rcenvironment.script",
   12       "version" : "3.4",
   13       "name" : "Script"
   14     },
   15     "configuration" : {
   16       "pythonExecutionPath" : "${pythonExecutionPath}",
   17       "script" : "RCE.write_output(\"word\", \"Hello\")",
   18       "scriptLanguage" : "Jython",
   19       "storeComponentHistoryData" : "true",
   20       "usageOfScript" : "NEW"
   21     },
   22     "dynamicOutputs" : [ {
   23       "identifier" : "41a04455-f765-445d-8d01-8bd70f8988e5",
   24       "name" : "word",
   25       "epIdentifier" : "default",
   26       "datatype" : "ShortText"
   27     } ]
   28   }, {
   29     "identifier" : "a41df7fe-cbee-4b0d-bde2-b79a07c643e8",
   30     "name" : "Second",
   31     "location" : "668:343",
   32     "zIndex" : "1",
   33     "active" : "true",
   34     "component" : {
   35       "identifier" : "de.rcenvironment.script",
   36       "version" : "3.4",
   37       "name" : "Script"
   38     },
   39     "configuration" : {
   40       "pythonExecutionPath" : "${pythonExecutionPath}",
   41       "script" : "print(RCE.read_input(\"incoming_word\") + \" World\")",
   42       "scriptLanguage" : "Jython",
   43       "storeComponentHistoryData" : "true",
   44       "usageOfScript" : "NEW"
   45     },
   46     "dynamicInputs" : [ {
   47       "identifier" : "f80edd69-8511-458c-a04f-bf721b2701a3",
   48       "name" : "incoming_word",
   49       "epIdentifier" : "default",
   50       "group" : "null",
   51       "datatype" : "ShortText",
   52       "metadata" : {
   53         "inputExecutionConstraint_4aae3eea" : "Required",
   54         "inputHandling_73b1056e" : "Single"
   55       }
   56     } ]
   57   } ],
   58   "connections" : [ {
   59     "source" : "7ecc6b51-dcc3-4140-abcf-fe45e6c20b06",
   60     "output" : "41a04455-f765-445d-8d01-8bd70f8988e5",
   61     "target" : "a41df7fe-cbee-4b0d-bde2-b79a07c643e8",
   62     "input" : "f80edd69-8511-458c-a04f-bf721b2701a3"
   63   } ],
   64   "labels" : "[{\"identifier\":\"1242f1ea-82f3-4d33-8322-cd93976e47e0\",\"headerText\":\"See section \\\"Workflows\\\" in the user guide for details.\",\"text\":\"\",\"location\":\"711:563\",\"size\":\"432:39\",\"alpha\":\"203\",\"colorHeader\":\"0:0:0\",\"colorText\":\"0:0:0\",\"colorBackground\":\"255:255:0\",\"labelPosition\":\"TOPLEFT\",\"textAlignmentType\":\"LEFT\",\"headerAlignmentType\":\"CENTER\",\"border\":\"false\",\"headerSize\":\"9\",\"textSize\":\"9\",\"zIndex\":\"1\"},{\"identifier\":\"9b3e1499-3329-4117-aa38-68ca5710e1ba\",\"headerText\":\"\",\"text\":\"Execute the workflow. First, the workflow component \\\"First\\\" is executed. Afterwards, the workflow component \\\"Second\\\" is executed. Between the two executions, a datum was transferred from \\\"First\\\" to \\\"Second\\\" via the connection between them. In the \\\"Workflow Data Browser\\\" tab which is placed below the workflow editor, you can trace the data sent and received by workflow components.\",\"location\":\"30:456\",\"size\":\"1113:86\",\"alpha\":\"202\",\"colorHeader\":\"0:0:0\",\"colorText\":\"0:0:0\",\"colorBackground\":\"0:255:64\",\"labelPosition\":\"CENTER\",\"textAlignmentType\":\"LEFT\",\"headerAlignmentType\":\"CENTER\",\"border\":\"false\",\"headerSize\":\"11\",\"textSize\":\"9\",\"zIndex\":\"2\"},{\"identifier\":\"b1aa1889-ad91-4fea-aa85-bbd208c3212e\",\"headerText\":\"Introducing coupling among workflow components\",\"text\":\"This workflow consists of a workflow component named \\\"First\\\" that sends data to the workflow component named \\\"Second\\\" via the connection between them represented by the arrow. The connection is created between the output named \\\"word\\\" of the workflow component \\\"First\\\" and the input named \\\"incoming_word\\\" of the workflow component \\\"Second\\\".\\r\\n\\r\\nInputs and outputs of workflow components are added/edited/removed in the \\\"Inputs/Outputs\\\" tab of the workflow components \\\"Properties\\\" tab. Connections are created by switching to the \\\"Draw connections\\\" mode in the workflow editor's palette. It is the second item from the top. In the \\\"Draw connections\\\" mode, click on the workflow component \\\"First\\\" and afterwards on the workflow component \\\"Second\\\". A dialog appears. On the left-hand side you see the outputs of the workflow component clicked first and on the right-hand side you see the inputs of the workflow component clicked afterwards. Outputs are connected to inputs via drag&drop. For your convenience, connections are automatically created in the dialog for some obvious cases (like same name and same data type, etc.).\\r\\n\\r\\nTo see all connections of a workflow, click on the button \\\"Open Connection Editor\\\" in the tool bar (next to the \\\"Execute Workflow\\\" button).\",\"location\":\"30:13\",\"size\":\"1113:288\",\"alpha\":\"202\",\"colorHeader\":\"0:0:0\",\"colorText\":\"0:0:0\",\"colorBackground\":\"0:255:64\",\"labelPosition\":\"CENTER\",\"textAlignmentType\":\"LEFT\",\"headerAlignmentType\":\"CENTER\",\"border\":\"false\",\"headerSize\":\"11\",\"textSize\":\"9\",\"zIndex\":\"0\"}]"
   65 }