Load graph data, convert it to a list of edges and draw a simple graph