Skip to content

Improve ordering of generated XML elements #17

@a-asaad

Description

@a-asaad

The ordering of elements in XML generated from the flow diagrams can be unexpected and unintuitive when compared to the diagram. For example, when we have two source components targeting the same channel, if the second source is added later, it will be included at the bottom of the XML.

We should look into some form of topological sorting of the flow graph to generate a more predictable element ordering.

A screenshot illustrating the example mentioned above:

It would make more sense if the createdLast element was listed around createdFirst.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestflow translatorreferences the flow translator library/webapp

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions