Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Automatically infer edges from previous node inputs #333

Closed
dbwiddis opened this issue Dec 28, 2023 · 0 comments · Fixed by #334
Closed

[FEATURE] Automatically infer edges from previous node inputs #333

dbwiddis opened this issue Dec 28, 2023 · 0 comments · Fixed by #334
Assignees
Labels
enhancement New feature or request

Comments

@dbwiddis
Copy link
Member

Is your feature request related to a problem?

Defining an input from a previous step essentially establishes the source/destination edge relationship in the graph. It is redundant to both declare that step 2 depends on output "foo" from step 1, and simultaneously require the user to create an edge from step 1 to step 2 (or fail validation).

What solution would you like?

When parsing a workflow, create a list of "inferred edges" based on previous node inputs. If they do not duplicate existing edges, add them to the list of edges.

What alternatives have you considered?

Maintaining redundancy.

Do you have any additional context?

This has been requested by initial users experimenting with the framework.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant