Fix finally, it is hoped, the potential infinite loop in routespl. When recovering unused space from the boxes, we try to find the smallest and largest x values of the spline in the box and reduce the box to that size. This is done by subdividing the spline into small pieces and using the end points. If the box is small in height, it is possible none of the points will lie in the box. To handle this, if any box is still unbounded, the spline is divided into smaller pieces and we try again. Alas, some times the path planner just fails, with the spline not passing through some boxes. In this case, the loop will never stop. So we now do some reasonable number of passes (initially, 15). If this isn't enough, we use the shortest path polyline to bound the boxes. This will allow the layout to finish. The bad spline will be emitted, but this should be obvious and, in any case, will help with debugging.
Fix finally, it is hoped, the potential infinite loop in routespl. When recovering unused space from
the boxes, we try to find the smallest and largest x values of the spline in the box and reduce the
box to that size. This is done by subdividing the spline into small pieces and using the end points.
If the box is small in height, it is possible none of the points will lie in the box. To handle this,
if any box is still unbounded, the spline is divided into smaller pieces and we try again. Alas, some
times the path planner just fails, with the spline not passing through some boxes. In this case, the loop
will never stop. So we now do some reasonable number of passes (initially, 15). If this isn't enough,
we use the shortest path polyline to bound the boxes. This will allow the layout to finish. The bad
spline will be emitted, but this should be obvious and, in any case, will help with debugging.

kbrock/graphviz,jho1965us/graphviz,pixelglow/graphviz,ellson/graphviz,kbrock/graphviz,jho1965us/graphviz,ellson/graphviz,kbrock/graphviz,tkelman/graphviz,pixelglow/graphviz,MjAbuz/graphviz,ellson/graphviz,MjAbuz/graphviz,BMJHayward/graphviz,pixelglow/graphviz,pixelglow/graphviz,MjAbuz/graphviz,kbrock/graphviz,jho1965us/graphviz,jho1965us/graphviz,MjAbuz/graphviz,MjAbuz/graphviz,MjAbuz/graphviz,BMJHayward/graphviz,BMJHayward/graphviz,pixelglow/graphviz,MjAbuz/graphviz,tkelman/graphviz,BMJHayward/graphviz,ellson/graphviz,MjAbuz/graphviz,BMJHayward/graphviz,pixelglow/graphviz,tkelman/graphviz,pixelglow/graphviz,BMJHayward/graphviz,ellson/graphviz,ellson/graphviz,ellson/graphviz,BMJHayward/graphviz,ellson/graphviz,ellson/graphviz,tkelman/graphviz,ellson/graphviz,jho1965us/graphviz,jho1965us/graphviz,kbrock/graphviz,BMJHayward/graphviz,kbrock/graphviz,BMJHayward/graphviz,jho1965us/graphviz,BMJHayward/graphviz,MjAbuz/graphviz,tkelman/graphviz,jho1965us/graphviz,MjAbuz/graphviz,jho1965us/graphviz,kbrock/graphviz,tkelman/graphviz,pixelglow/graphviz,jho1965us/graphviz,kbrock/graphviz,BMJHayward/graphviz,tkelman/graphviz,tkelman/graphviz,tkelman/graphviz,MjAbuz/graphviz,pixelglow/graphviz,pixelglow/graphviz,kbrock/graphviz,kbrock/graphviz,tkelman/graphviz,jho1965us/graphviz,kbrock/graphviz,pixelglow/graphviz,tkelman/graphviz,ellson/graphviz