Boundary properties of graphs