Support running graphviz-graph even on non-graphs (and fail gracefully).