Skip to content

Edge data contains a lot of node data #272

Description

@poautran

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions