regenerate model graph with new layout