Skip to content

[Diagram Editor] Better layout for cyclical connections #107

@mxgrey

Description

@mxgrey

The current auto-layout scheme works very well for workflows that only connect from top to bottom, but it gets a bit twisted up when a cycle shows up. Here's what diagrams/countdown.json currently looks like:

Image

This could be made to look good if the connection from sub to less_than were able to loop the long way around sub (to the left). I think we should consider the following upgrades to the UI:

  • Allow users to manually adjust the positioning of the edges (connections between operations)
  • Have an auto-layout that accounts for cycles by looping those connections outwards instead of taking the shortest path

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions