-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Replace Sugraph #538
Labels
Status: Needs Design
Needs some thought and design decisions.
Comments
Which (newly free) output channels to connect to new graph, and in what order?
|
we want a complementary function that gives us the IDs of all pipeops that are "between" two (or more) pipeops. |
edge cases to watch out for: entire graph, beginning of graph, end of graph |
vararg will be difficult... |
should work the same as |
Also |
Draft
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A potentially useful operation on a
Graph
would be to replace aPipeOp
, or an entire subgraph, with a differentGraph
. With this, one could "edit" the result of appl()
call, for example, if the pipeline happens to have a single / very few pipeops that are different than what would be desired. Currenlty the user would have to edit the connection table to do this, which may be a bit tedious.Suggested UI for this would be
Graph$replace_subgraph(ids, substitute)
,substitute
being something that can be turned into a graph usingas_graph
. The operation would removeids
from the graph, and do the equivalent of<channels into ids> %>>% substitute %>>% <channels out of ids>
inside the graph (This would entail automatic one-to-many and vararg channel handling, as well as type checking).The text was updated successfully, but these errors were encountered: