Slackbot
01/02/2024, 1:09 PMElijah Ben Izzy
01/02/2024, 3:51 PMArthur Andres
01/02/2024, 3:57 PMElijah Ben Izzy
01/02/2024, 4:04 PMArthur Andres
01/02/2024, 4:15 PMElijah Ben Izzy
01/02/2024, 4:28 PMThierry Jean
01/02/2024, 5:54 PMfunction
node actually has a single "input" node that contains "the set of inputs
node" of the function
node. Therefore, a_plus_b
would always have the box with a
and b
.
Motivation: this ways, inputs
are always locate together to better understand what the node requires (would get very messy otherwise, following lengthy edges)
Change 2: Then, the deduplicate_inputs
flag deduplicates "input nodes in the viz" which are actually "the set of inputs
node" mentioned in Change 1.
Motivation: If True, you guarantee that inputs are near the function node. If False, you can reduce clutter. It was difficult to pick a default because the best option depends on the specifics of the DAG
Potential solution:
The issue raised appears related to Change 1 because there is currently no way to ungroup "the set of inputs node". It shouldn't be difficult to implement a group_inputs
flag. Then, the `deduplicate_inputs`would work as expected. I now realize that the semantics of deduplicate_inputs
are confusing given the grouping feature. If you have suggestions for a better argument name, I'll take it!Elijah Ben Izzy
01/02/2024, 6:33 PMgroup_inputs
— we should also bury these behind a common set of paramteers (E.G> typed kwargs with the new Unpack
type) to make it so we don’t have too much of a proliferation, as they are mainly pass-through…)Arthur Andres
01/02/2024, 7:38 PMArthur Andres
01/02/2024, 7:39 PMElijah Ben Izzy
01/02/2024, 7:41 PMArthur Andres
01/02/2024, 7:42 PM@parameterize
Elijah Ben Izzy
01/03/2024, 8:03 PM