1. Fix single output when dealing with iterables
Previously, returning one output with an iterable was resulting in taking the first element. See 4 and 6.
2. Possible to use kwargs in functions
Args and kwargs can be used in functions, see 3.
python
graph.register(
inputs=['a', 'b'],
args=['c'],
kwargs=['d'],
outputs=['e']
)
def f_my_function(a, b, *args, **kwargs):
return a + b + args[0] + kwargs['d']
3. Can create a Node without using the decorator, 2
python
graph.add_node(f_my_function, inputs=['a', 'b'], outputs=['c'])
4. Dag pretty print, 1
Use `graph.dag`