Definition (Edge-boundary). Let G be a graph and let A⊂V(G). The edge-boundary ∂A of A is the set of edges xy such that y∉A.
If G=ℤn or {0,1}n and i∈[n], then the i-th boundary ∂iA is the set of edges xy∈∂A such that x−y=±ei, i.e. ∂iA consists of deges pointing in direction i.