Make a graph model