Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize flowchart algorithm to handle edges spanning multiple rows/layers in horizontal orientation #2288

Open
1 task
rashidakanchwala opened this issue Mar 3, 2025 · 1 comment

Comments

@rashidakanchwala
Copy link
Contributor

rashidakanchwala commented Mar 3, 2025

Description

This is a spike issue; the current flowchart algorithm isn't fully optimized to handle edges between nodes that span multiple rows/layers. While some optimization has been implemented for the vertical orientation, the horizontal orientation still lacks a similar way to minimize unnecessary edge crossings and improve clarity.

Image

Expected Behavior

  • Edges should be routed efficiently in horizontal orientation.
  • Reduce unnecessary edge crossings.
  • Maintain a clean and readable layout.

Current Behavior

  • Some edges in horizontal orientation crisscross or take inefficient paths over multiple layers.
  • The optimization applied to vertical orientation hasn't been extended to horizontal orientation.

Checklist

  • Include labels so that we can categorise your feature request
@astrojuanlu
Copy link
Member

(Would be good to have a reproducer or at least a screenshot of how this looks like, easier to see in the left-to-right mode)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants