Some embodiments of the invention provide a method of decomposing a region of
an intergrated circuit ("IC") layout. The method defines several nodes in the region.
The method then specifies a plurality of edges in the region. Each edge is between
a pair of nodes, and some edges are neither perpendicular nor parallel to some
of the edges. The method uses the edges to define routes in the region.