qt_dotgraph: refactor edge coloring

 * take color as parameter, not obscure "heat" param
 * split up coloring of nodes and text
 * leave text color of nodes black if not specified otherwise
 * cleanup