Implemented build resource graph.