graph controller init