TODO: block graph