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

Specify rankdir #94

Closed
OliverUv opened this issue Jul 9, 2016 · 2 comments
Closed

Specify rankdir #94

OliverUv opened this issue Jul 9, 2016 · 2 comments
Milestone

Comments

@OliverUv
Copy link

OliverUv commented Jul 9, 2016

Would like to be able to specify which rankdir should be used. The default (top to bottom) looks terrible for our project, while we get a very readable graph using

digraph G {
  rankdir=LR;
  ...
@pahen pahen modified the milestones: 1.1.0, 1.0 Aug 8, 2016
@pahen
Copy link
Owner

pahen commented Aug 15, 2016

Thanks for reporting! I'll look into this soon. Will probably be solved as a new config option graphVizOptions which will allow you to specify custom GraphViz options like rankdir.

@pahen pahen modified the milestones: 1.1.0, 1.0 Aug 15, 2016
@pahen pahen closed this as completed in a727adb Aug 23, 2016
@pahen
Copy link
Owner

pahen commented Aug 23, 2016

This has been fixed in v1.1.0 now. Try adding this to your .madgerc config

{
    "graphVizOptions": {
        "G": {
            "rankdir": "LR"
        }
    }
}

nmeylan pushed a commit to nmeylan/madge that referenced this issue Jan 7, 2020
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

2 participants