Isoperimetric and Sobolev inequalities for magnetic graphs