So here is what I would like to do, in an abstract description.
I have a FooProcess, that has an input (set to a float) and one output (set to a FooClass type that is also specified in the document). I can expose the input pin and set it to a value, or rightclick on the pin without an IOBox to set the value.
This is the FooProcess with both types set on the input and output, nothing fancy.
But I want to be able to also also send in the FooClass output of another FooProcess instead of the float, like this (without the red link, which of course says here that FooClass is no Float32):
I could set the FooProcess to generic and remove the type annotation for the process, which allows me to connect the output.
But now I again have to expose the input and set it to a float manually. So what would be nice to implement something that the input type is by default a Float, but could also be a FooClass and does two separate things for each connection. Am I approaching the topic of interfaces again? If so (also if not so), could anybody help me out here with an explanation please?
Here is also the patch from the screenshots:
FooProcess.vl (7.7 KB)