before graph