Propagation of graphs in two-dimensional inhomogeneous media