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

Support for { rank=plop; x, y } #36

Open
FGRibreau opened this issue Sep 4, 2018 · 1 comment
Open

Support for { rank=plop; x, y } #36

FGRibreau opened this issue Sep 4, 2018 · 1 comment

Comments

@FGRibreau
Copy link

With the following input:

graph {
    rankdir=LR;
    a -- { b c d }; b -- { c e }; c -- { e f }; d -- { f g }; e -- h;
    f -- { h i j g }; g -- k; h -- { o l }; i -- { l m j }; j -- { m n k };
    k -- { n r }; l -- { o m }; m -- { o p n }; n -- { q r };
    o -- { s p }; p -- { s t q }; q -- { t r }; r -- t; s -- z; t -- z;
    { rank=same; b, c, d }
    { rank=same; e, f, g }
    { rank=same; h, i, j, k }
    { rank=same; l, m, n }
    { rank=same; o, p, q, r }
    { rank=same; s, t }
}

graphlib-dot does not seem to be able to parse it and instead throws Expected "--", "->", ":", ";", "=", "[", "edge", "graph", "node", "subgraph", "{", "}", comment, identifier or whitespace but "," found..

But it should work:

chart

@explosivose
Copy link

explosivose commented Jun 4, 2019

I've discovered the same problem but in trying to produce this kind of ranking as opposed to parsing it

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