The graph can be built from an input file. It uses an edge list.