1One may use for instance the circo program that is part of the graphviz suite.