Getting a graph out