graph builder for area graph.