Fix graph refresh without window resize
Change edge color