In GitLab by @loichuder on Feb 7, 2024, 11:21 GMT+1:
Looking at the Edge data, we can see that a lot of fields are actually data that come for the source/target node https://gitlab.esrf.fr/workflow/ewoks/ewoksweb/-/blob/73cd96cab29da5e5afe2b824d27636870957d6af/src/edition/Canvas/utils.ts#L49
For example, links_required_output_names is no more than the required_input_names of the target node task.
This duplicates the info and may lead to stale info in the edge data, perhaps? It might be beneficial to only keep the id of the source/target node in the link data and use this id to access the node info when needed.
Migrated from GitLab: https://gitlab.esrf.fr/workflow/ewoks/ewoksweb/-/issues/259
In GitLab by @loichuder on Feb 7, 2024, 11:21 GMT+1:
Looking at the Edge data, we can see that a lot of fields are actually data that come for the source/target node https://gitlab.esrf.fr/workflow/ewoks/ewoksweb/-/blob/73cd96cab29da5e5afe2b824d27636870957d6af/src/edition/Canvas/utils.ts#L49
For example,
links_required_output_namesis no more than therequired_input_namesof the target node task.This duplicates the info and may lead to stale info in the edge data, perhaps? It might be beneficial to only keep the
idof the source/target node in the link data and use thisidto access the node info when needed.Migrated from GitLab: https://gitlab.esrf.fr/workflow/ewoks/ewoksweb/-/issues/259