WIP for network graphs. Pretty much running, needs some cleaning and tweaking. Compression of time intervals broken