improve graphviz support