ui_qt: improved cfg view by adding more colors for the edges and better drawing for edges which start from botton to top