Extract the coauthorship graph.