▎ 摘 要
We propose a protocol to identify spatial hallmarks of viscous electron flow in graphene and other twodimensional viscous electron fluids. We predict that the profile of the magnetic field generated by hydrodynamic electron currents flowing in confined geometries displays unambiguous features linked to whirlpools and backflow near current injectors. We also show that the same profile sheds light on the nature of the boundary conditions describing friction exerted on the electron fluid by the edges of the sample. Our predictions are within reach of vector magnetometry based on nitrogen-vacancy centers embedded in a diamond slab mounted onto a graphene layer.