Heron-Repositories / Heron

A python only framework for connecting hardware and closing loops
MIT License
53 stars 6 forks source link

Maybe add multifunctional Nodes #23

Open georgedimitriadis opened 4 months ago

georgedimitriadis commented 4 months ago

In order to keep the number of Nodes in the Node tree managable it might be a good idea to create Nodes that change their parameters and functionality with a meta-parameter dropdown menu.

For example in order to implement libraries like numpy or mnp we could have Nodes that each implements a series of functions (e.g. numpy linalg) in a single Node and when the Node is on the Node editor one can choose its specific functionality. This would also show the required parameters. That means that the parameters of the Node would not be individual attributes but widgets inside windows (the windows would be attributes) and teh windows would hide and show according to the Node's functionality