Skip to content

[BUG] Refactor add/remove connection api in TMAN designer backend #1462

@sunxilin

Description

@sunxilin

With the addition of many syntactic sugars to TEN graph, such as names, selector, reversed_connection, etc., the previous tman designer would flatten the graph and provide the flattened version to the frontend for display and modification.
Now, after a series of adaptations, the frontend can display complex graphs, but adding or deleting connections is not yet supported.
This requires the tman designer backend to modify the API protocol and be able to operate directly on the graph before flattening.

Image

The request payload can be modified as following:

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions