built graph structure