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

implement graph orientation change (graphviz rankdir) #289

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

SchwarzMarek
Copy link
Contributor

For go_plot.py script, allows change in graph orientation through setting of rankdir parameter.

The change can be useful for graphs with many GO items on the same level, where default Top->Bottom produces too wide graphs, while e.g. Left->Right (LR) orientation produces much more concise visualization.

For my usecase, this addresses the issue #288.

Rudimentary tests are included in test_go_plot_orient.py. It is not included in tests/makefile as the test instructions (and makefile) didn't worked in my setup.

I've added simple explanation and examples to documentation.
Best
Marek

Copy link
Owner

@tanghaibao tanghaibao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. Thank you for contributing!

@tanghaibao tanghaibao merged commit f21c24c into tanghaibao:main Apr 12, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants