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

Orientation needs a square option. #49

Closed
yxhuvud opened this issue Apr 22, 2013 · 3 comments
Closed

Orientation needs a square option. #49

yxhuvud opened this issue Apr 22, 2013 · 3 comments

Comments

@yxhuvud
Copy link

yxhuvud commented Apr 22, 2013

I have a Rails app with some 150 or so activerecord models. Neither vertical or horizontal orientation work well since there will be so much overlap between different lines since the output will either be absurdly long or absurdly high.

I believe a square option would work a lot better.

@rolftimmermans
Copy link
Member

Thanks for the suggestion. Unfortunately we are dependent on the ranking algorithms provided by Graphviz. The rankdir option is used to either rank models from top to bottom or from left to right. I don't believe there is a way to distribute nodes differently. Of course if you have a suggestion how to implement it I'm all ears.

@yxhuvud
Copy link
Author

yxhuvud commented Apr 24, 2013

Ok. I suppose it is good enough for my use case to get a .dot and manually arrange the result. Thankfully I don't have to do it very often.

@yxhuvud yxhuvud closed this as completed Apr 24, 2013
@mathieujobin
Copy link
Contributor

I wish we could revisit this idea and find a way... the PDF that I tried to print this morning had a page size of 10154 x 1315 mm (Landscape Custom)

using pdfposter, I got it to be split in 2 page high and 11 pages wide.
I would have prefered something like a 4x5

Thankfully with clustering found in #320
I could get a smaller pdf has a page size of 754 x 5887 mm (Portrait Custom)

still being able to precise some sort of limit would be great

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

No branches or pull requests

3 participants