Finally working clustering-based coloring of node lines in dynamic degree and strength figures. Now something is broken with saving the termination correlation figure to pdf, but no matter for now.