gradient graph pre-requisites