Dot (graphviz) cannot generate PNG/PDF files

I have the graphviz bundle installed on my system. I noticed that it is missing some output formats, most notably PDF and PNG.

$ dot -Tpng
Format: "png" not recognized. Use one of: canon cmap cmapx cmapx_np dot dot_json eps fig gv imap imap_np ismap json json0 mp pic plain plain-ext pov ps ps2 svg svgz tk vdx vml vmlz xdot xdot1.2 xdot1.4 xdot_json

I have tried running

sudo dot -c

but it makes no difference. It looks like it might be an issue with the package build. Any idea? Thanks!

Current OS version: 34130

you can report it here Issues · clearlinux/distribution · GitHub

Thanks! Opened 2238.

The workaround is to install any bundle which has the graphviz-extras package, for example desktop-apps. See the conversation in the issue linked to from the last post.