Skip to content

constant keyword a graph ? #467

Description

@maxenceprog

Could we add a 'constant' keyword in ewoks graph like

Imagine i have node1 a Task_A with outputs : OUT_0,

Imagine i have:

  • node1 is Task1
  • node2 is Task2
  • node3 is Task2
- Task1
   inputs:
        C
   outputs:
        A

- Task2

   inputs:
       C
       A
   outputs:
       B


- Link1
    A -> B

workflow = {
"constants":
{
"C": "a value"
}
"nodes": [node1, node2],
"links": [link1],
"graph": ...,
}

This may simplify some graph ?

Maybe there is already a feature in graph that allow to do that ?

One use-case :

Create a "constants" or "set up" tool in Orange that allow user to set up these constant before to do anything

But maybe this is breaking the workflow philosophy ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions