Expand description
The naming and flag family: one- or two-register updates on an existing entity.
Structs§
- Label
FitWidth - The width, in grid cells, that fits a pin’s labels — the gesture’s text measurement, which the emitter cannot make for itself.
- Label
Placement - A committed label drag: the offset the gesture resolved, and the side the release height chose, when it chose one.
Enums§
- Accent
Target - What an accent pick lands on — the five accent-bearing entities. A
port’s accent is its own register (
PortAccent); the stub and port-pin accents are derived state, never in the log. - Authoring
- Whether the affordances that add something are offered: the faint “Add name”/“Add type” prompts, the free-slot pin dots, the route-start targets, a wire’s waypoint handles and text anchors — and, with them, the gestures those affordances begin.
- Interface
Lock - Whether a block’s pin interface accepts edits — the parameter form of
the block’s
Lockedregister. - Label
Target - What a label drag lands on — the three placeable labels.
- TagVisibility
- Whether a pin draws its location tag — the parameter form of the pin’s
TagHiddenregister. - Title
Target - What a title rename lands on — the two entities carrying a title label.
Functions§
- clear_
wire_ label - Inventory row “Delete Wire Label (empty rename)”: clearing a wire label’s text drops the label and unnames the wire it labelled.
- cycle_
dir - Inventory row “Cycle Pin Direction”: clicking the selected pin’s stub advances its signal direction.
- cycled 🔒
InOut→ Input → Output →InOut.- edit_
text - Inventory rows “Edit Text Box” and “Delete Text Box (emptied)”: a text box commits its content, or is discarded when that content is blank rather than left invisible.
- place_
label - Inventory row “Move Title / Type Label”: reposition a block’s or area’s title, or a block’s type label.
- placement_
updates 🔒 - The two placement registers filter independently: a drag along one side writes no side, and a side change at the same offset writes no offset.
- rename_
pin - Inventory row “Rename Pin”: a pin’s name, widening the port body to fit.
- rename_
route - Inventory row “Rename Route”: name a wire. A blank name is the wire
label’s deletion instead (
clear_wire_label), never a name write. - rename_
title - Inventory row “Rename Title”: a block’s or area’s title label gets a new name.
- rename_
type - Inventory row “Rename Block Type”: a block’s type label gets a new name.
- retype_
pin - Inventory row “Retype Pin”: a pin’s type line, widening the port body to fit.
- set_
accent - Inventory row “Set Accent”: recolor a block, wire, area, text, or
port.
accentis the picker’s vocabulary (None= plain). - set_
dirs - Inventory row “Set Pin Direction (bulk)”: one direction across a pin selection, leaving locked owners’ interfaces frozen.
- set_
locked - Inventory row “Lock/Unlock Block”: freeze or thaw a block’s pin interface.
- set_tag
- Inventory row “Set Pin Tag”: a pin’s location designator. Tags extend outward over the stub, so there is no widening rider.
- set_
tag_ visibility - Inventory row “Show/Hide Pin Tags”: tag visibility across a pin selection.
- widened 🔒
- The rename/retype rider: the port body grows to fit its labels and never narrows, so a body the user widened keeps its width.