pykello / racket-graphviz

Library to enable using graphviz in Racket programs
BSD 3-Clause "New" or "Revised" License
25 stars 3 forks source link

Which version of Graphviz? #4

Closed srfoster closed 5 years ago

srfoster commented 5 years ago

When I run any of the examples, I get (on Linux):

Format: "json" not recognized. Use one of: canon cmap cmapx cmapx_np dot eps fig gd gd2 gif gv imap imap_np ismap jpe jpeg jpg pdf pic plain plain-ext png pov ps ps2 svg svgz tk vml vmlz vrml wbmp x11 xdot xdot1.2 xdot1.4 xlib

I guessing perhaps I'm using the wrong version. What's the appropriate one?

pykello commented 5 years ago

@srfoster Which Linux distro and which version are you using?

It was added in 2.40.0. See https://gitlab.com/graphviz/graphviz/blob/master/ChangeLog#L38

srfoster commented 5 years ago

I was using Xenial, and the version was 2.38. Thanks! I hadn't realized how old the graphviz package was.