A diagram associated with the subconstituent algebra of a distance-regular graph