Skip to main content

edit_cycle

Function edit_cycle 

Source
pub fn edit_cycle(data: &Drawing<'_>, block: BlockId) -> Vec<EditTarget>
Expand description

The block’s editable fields in tab order: name, type, then each pin — all West (left) pins top-to-bottom, then all East (right) pins. Each pin’s three fields run left-to-right across the pin: a West pin’s tag sits outboard to the left of its labels (tag → name → type), an East pin’s tag outboard to the right (name → tag → type). The subtitle (type) comes last either way. The block’s own type field is dropped on a locked block, which can’t edit it, so Tab steps straight from name to the first pin.