Let G=(V,E) be a locally finite connected weighted graph, and Ω be an unbounded subset of V. Using Rothe's method, we study the existence of solutions for the semilinear heat equation ∂_t u+|u|^{p−1}⋅u=Δu (p≥1) and the parabolic variational inequality
∫_{Ω^∘} ∂_t u⋅(v−u)dμ ≥ ∫_{Ω^∘} (Δu+f)⋅(v−u)dμ for any v∈H,
where H={u∈W^{1,2}(V):u=0 on V∖Ω^∘}.