Skip to main content

Module add_port

Module add_port 

Source

Structsยง

AddPort
Click-to-place a boundary port. A ghost outline previews the port under the cursor; a click stamps it at the default size and opens its name for editing, as a cell dropped off the cluster does (crate::stamp).

Functionsยง

preview_port ๐Ÿ”’
Draw the ghost port outline the placement will produce. The facing is cosmetic here โ€” the real slot side is resolved when the port is created โ€” so the preview always points East.