strict graph {
overlap="false";
node [shape="circle", label="", style="filled"];
1 [fillcolor=blue];
2 [fillcolor=red];
3 [fillcolor=green];
4 [fillcolor=yellow];
1 -- 2;
1 -- 3;
1 -- 4;
2 -- 3;
2 -- 4;
3 -- 4;
}
neato
renders this just fine as PDF or PNG. On Linux rendered image is blank for GIF and JPG. On Intel MacOS only GIF image is blank. On an older version of Graphviz (2.43.0) all render fine.
[~/graphy]$ neato -V
neato - graphviz version 12.1.2 (0)
[~/graphy]$ neato -Tx
Format: "x" not recognized. Use one of: canon cmap cmapx cmapx_np dot dot_json eps fig gd gd2 gif gv imap imap_np ismap jpe jpeg jpg json json0 kitty kittyz pdf pic plain plain-ext png pov ps ps2 svg svg_inline svgz tk vrml vt vt-24bit vt-4up vt-6up vt-8up wbmp webp x11 xdot xdot1.2 xdot1.4 xdot_json xlib
[~/graphy]$ neato -Tpng first_graph.dot >image.png #this image is fine
[~/graphy]$ neato -Tpdf first_graph.dot >image.pdf #this image is fine
[~/graphy]$ neato -Tgif first_graph.dot >image.gif #EMPTY IMAGE
[~/graphy]$ neato -Tjpg first_graph.dot >image.jpg #BLANK WHITE IMAGE
Is this a bug or are there supporting dependencies I haven’t installed?