Updated such that edges are displayed instead of nodes