Graphical visualization of loss minimization in distribution networks