graph controller