put regions in their own graph