mdenet / educationplatform

Eclipse Public License 2.0
2 stars 3 forks source link

Add support for type conversion of tool function outputs to to the destination panel type #19

Open barnettwilliam opened 1 year ago

barnettwilliam commented 1 year ago

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.