fixed graph initialization with nest and food