Dynamic Socket Issues
- [ ] Multisocket
- [ ] Changing socket type
Multisocket is allowing a dynamic amount of inputs into a node, like list join and formula node.
@node_func(...)
def formula_node(x: Float = 1.0, *n: Float)-> Float:
pass
Changing socket type is basically allowing type information to be carried forward over generic socket links. A kind of generics basically.
def split(size: Int = 1, data: Anytype = Required) -> [Anytype("Data", input=1)]:
pass
So this becomes slight more advanced than expected right now, refactor assumptions time...
There are still some issues plaguing this, I am not totally sure how I want this to work out. The current abstraction breaks down a little here which I am obviously not totally happy with...
So what does need to be abstracted and possible to over ride is the collection of arguments.