some steps towards graphviz support