Make routing documentation task-oriented
This commit is contained in:
parent
2b02c6eae9
commit
24559bb6aa
1 changed files with 142 additions and 140 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Routing examples
|
||||
|
||||
Run an example from the repository root after [installation](../README.md#install).
|
||||
Run an example from the repository root after [installation](../README.md#install). Each script saves a PNG alongside its source.
|
||||
|
||||
```sh
|
||||
python examples/01_simple_route.py
|
||||
|
|
@ -10,12 +10,14 @@ python examples/01_simple_route.py
|
|||
| --- | --- | --- |
|
||||
| [Simple route](01_simple_route.py) | Create a problem, route one net, and check validity. | [PNG](01_simple_route.png) |
|
||||
| [Congestion resolution](02_congestion_resolution.py) | Separate three nets that compete for routing space. | [PNG](02_congestion_resolution.png) |
|
||||
| [Locked paths](03_locked_paths.py) | Reuse routed geometry as fixed obstacles. | [PNG](03_locked_paths.png) |
|
||||
| [Locked paths](03_locked_paths.py) | See how a second net detours around an existing route. Use the API guide for the public version of this workflow. | [PNG](03_locked_paths.png) |
|
||||
| [S-bends and radii](04_sbends_and_radii.py) | Route compact offsets with specified bend radii. | [PNG](04_sbends_and_radii.png) |
|
||||
| [Port orientations](05_orientation_stress.py) | Route nets with perpendicular and opposing headings. | [PNG](05_orientation_stress.png) |
|
||||
| [Bend proxies](06_bend_collision_models.py) | Compare arc, bounding-box, and clipped-box search geometry. | [PNG](06_bend_collision_models.png) |
|
||||
| [Fan-out](07_large_scale_routing.py) | Route several nets through a bottleneck and plot expansions. | [PNG](07_large_scale_routing.png) |
|
||||
| [Bend proxies](06_bend_collision_models.py) | Compare an arc, a bounding-box proxy for an arc, and a custom physical bend. | [PNG](06_bend_collision_models.png) |
|
||||
| [Fan-out](07_large_scale_routing.py) | Inspect where search spends work around a bottleneck. This advanced example adjusts the heuristic between iterations through the internal worker. | [PNG](07_large_scale_routing.png) |
|
||||
| [Custom bends](08_custom_bend_geometry.py) | Supply separate physical and proxy polygons. | [PNG](08_custom_bend_geometry.png) |
|
||||
| [Best-effort results](09_unroutable_best_effort.py) | Inspect a net that the router cannot complete. | [PNG](09_unroutable_best_effort.png) |
|
||||
| [Best-effort results](09_unroutable_best_effort.py) | Inspect the endpoint of a partial path when search runs with a deliberately tiny budget. | [PNG](09_unroutable_best_effort.png) |
|
||||
|
||||
In route plots with the physical overlay enabled, dashed outlines show search proxies and solid outlines show physical geometry. Red marks paths that failed final validity checks or stopped before their target. [API and tuning guide](../DOCS.md)
|
||||
In route plots with the physical overlay enabled, dashed outlines show search proxies and solid outlines show physical geometry. Use the solid outlines to inspect physical clearance. Red paths need attention. Check `result.outcome` to tell an incomplete path from one that reached the target with a collision. [Read the result](../DOCS.md#read-the-result) · [Lock a route with the public API](../DOCS.md#incremental-routing-with-locked-geometry)
|
||||
|
||||
To see the difference between an unfinished search and a blocked layout, try raising `node_limit` to `500` in the best-effort example. The same geometry then routes to completion. [Tune a run](../DOCS.md#tune-a-run)
|
||||
|
|
|
|||
Loading…
Reference in a new issue