Skip to content

Explore graph layout improvements #78

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

Open
tmr232 opened this issue Jan 26, 2025 · 4 comments
Open

Explore graph layout improvements #78

tmr232 opened this issue Jan 26, 2025 · 4 comments
Labels
enhancement New feature or request

Comments

@tmr232
Copy link
Owner

tmr232 commented Jan 26, 2025

Following the realization that pretty-printing DOT changes the layout, it makes sense to explore layout improvements.

We need to understand what causes the changes (are things reordered, or is it something else) and see if we can solve the very squiggly edges without messing up the cases where layout is actually kinda nice.

This will probably require quite a bit of experimentation, and a reasonable dataset of "nice looking" and "bad looking" graphs (that can luckily be easily collected from the CFGBot,)

@tmr232 tmr232 added the enhancement New feature or request label Jan 26, 2025
@tmr232
Copy link
Owner Author

tmr232 commented Jan 31, 2025

@OfekShilon
Copy link

Perhaps 'splines=ortho'?

@tmr232
Copy link
Owner Author

tmr232 commented Apr 15, 2025

Perhaps 'splines=ortho'?

Seems like the edge layout for ortho splines has a unique set of issues:

Image

DOT

@OfekShilon
Copy link

It shouldn't be like that. Reported to graphviz: https://gitlab.com/graphviz/graphviz/-/issues/2674

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants