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

DOT syntax only accepts K&R-style opening braces #27

Open
brianary opened this issue Mar 8, 2017 · 1 comment
Open

DOT syntax only accepts K&R-style opening braces #27

brianary opened this issue Mar 8, 2017 · 1 comment
Labels

Comments

@brianary
Copy link

brianary commented Mar 8, 2017

This works:

![a -> b](http://g.gravizo.com/g?
digraph G {
    a -> b
}
)

But this doesn't (in Gravizo):

![a -> b](http://g.gravizo.com/g?
digraph G
{
    a -> b
}
)

The second (Allman style indentation) works in any of the other Graphviz programs I've used (Graphviz's dot.exe, viz.js, erdos, Liviz.js, &c.) This was surprising and took me quite a while to figure out what was wrong with all of my existing DOT graph syntax.

@TLmaK0
Copy link
Owner

TLmaK0 commented Mar 13, 2017

Thanks @brianary, It will check it.

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

No branches or pull requests

2 participants