Ability to retrieve graph input parameters from package functions
Graph input parameters currently cannot be retrieved from within package functions (leads to "variable not found" error) even though at runtime, the variable would be resolved if the function was called within the proper graph. Also, there is no way to make global functions part of a graph (which would probably solve the problem), functions can only be at the package root or associated to an input parameter. This makes things inconvenient as some init code using graph input parameters cannot be made into function, hence need to be repeated in every location needing them (i.e. when duplicating an fx-map node).
As suggested in the original text, a suitable solution would be to enable functions at the graph level. These would have access to the graph input params, the package level functions would still not. This would avoid complications for existing projects, existing behavior would be kept.