Tie routing documentation to user and developer workflows

This commit is contained in:
Jan Petykiewicz 2026-11-27 10:15:54 -08:00
commit 2c7a7ea90a

View file

@ -123,10 +123,14 @@ def _placed_crossing(directory: Path) -> None:
_heading(ax, port, 10)
ax.text(port.x + dx, port.y + dy, label, color=INK, fontsize=10, ha="left" if dx > 0 else "right")
ax.annotate(
"Port access opening", xy=(76, 79), xytext=(94, 117), color=INK, fontsize=10,
arrowprops={"arrowstyle": "->", "color": MUTED}, zorder=8,
)
for label, opening, label_position in (
("A port opening", (76, 79), (94, 117)),
("B port opening", (263, 111), (219, 77)),
):
ax.annotate(
label, xy=opening, xytext=label_position, color=INK, fontsize=10,
arrowprops={"arrowstyle": "->", "color": MUTED}, zorder=8,
)
ax.annotate(
"External waveguide", xy=(154, 75), xytext=(168, 47), color=ROUTE, fontsize=10,
arrowprops={"arrowstyle": "->", "color": ROUTE},