chose graph structure