Shear viscosity as a probe of nodal topology