Some embodiments of the invention provide a method of decomposing a region of
an intergrated circuit ("IC") layout. The region contains several routable elements.
Based on the routable elements, the method defines a plurality of nodes in the
region. It then triangulates the region based on the nodes. The method then uses
the triangles to define routes in the region.