Extracted graph controller.