TLmaK0 / gravizo

How to include graphviz graphs in github README

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DOT syntax only accepts K&R-style opening braces

brianary opened this issue · comments

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.

Thanks @brianary, It will check it.