Make graph connections based on model.