Population graphs: the graph theoretic shape of genetic structure