Drawing graph of lines added and removed