Tie routing documentation to user and developer workflows
This commit is contained in:
parent
2d77877fff
commit
2c7a7ea90a
1 changed files with 309 additions and 148 deletions
|
|
@ -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},
|
||||
|
|
|
|||
Loading…
Reference in a new issue