Type conversion of the output of tool functions can be converted to the destination panel type in a similar manner to the inputs of the tool function. Currently this would be superficial because the output of tool functions are generally already processed to be a diagram or image.
The response handling and of tool functions can be revised to provide less processed output types so this is handled by the type conversion e.g. for model-to-model transformation the output of the tool function is currently a diagram, this would be changed to be a model output from the tool function and then have a conversion function that converts from the model to a diagram.
Type conversion of the output of tool functions can be converted to the destination panel type in a similar manner to the inputs of the tool function. Currently this would be superficial because the output of tool functions are generally already processed to be a diagram or image.
The response handling and of tool functions can be revised to provide less processed output types so this is handled by the type conversion e.g. for model-to-model transformation the output of the tool function is currently a diagram, this would be changed to be a model output from the tool function and then have a conversion function that converts from the model to a diagram.