5x compat version of pulling in the related graph definitions