Issie logo Issie

DrawModelType Module

Types and nested modules

Type/Module Description

BusWireT

Highlighted (Module)

SheetT

SymbolT

---------- SYMBOL TYPES ----------

Highlighted (Type)

What the schematic is to draw picked out, for a reason the draw block cannot know itself: at present the waveform whose name the pointer is resting on, which only the UI layer knows about because only it knows a simulation is running. Reaches the draw block the same way `overlay` does - as an argument to SheetDisplay.view - and never as a message. **Derived on every render from the state that says why, and never stored.** The highlight used to be painted by the mouse handlers, which wrote the colours into the symbols and wires and put them in the sheet's selection, and then unwrote them on the way out. Every one of those corner cases is a transition that can be missed or arrive in the wrong order: a hover whose mouse-out never came left the colour on the canvas, a repaint after it left the wire the wrong colour, and ids of a simulation older than the sheet ended up in the selection where Delete could act on them. As a function of the model there is nothing to put back.

Snap

Dynamic data used when a symbol is being snapped

SnapData

Static 1D data defining position range within which the currently moved thing will "snap" to fixed point (Snap).

SnapInfo

All the 1D data needed to manage snapping of a moving symbol

SnapXY

Functions and values

Function or value Description

snapData_

Full Usage: snapData_

Returns: Lens<SnapInfo, SnapData array>
Returns: Lens<SnapInfo, SnapData array>

snapIndicatorPos_

Full Usage: snapIndicatorPos_

Returns: Lens<Snap, float>
Returns: Lens<Snap, float>

snapOpt_

Full Usage: snapOpt_

Returns: Lens<SnapInfo, Snap option>
Returns: Lens<SnapInfo, Snap option>

snapPosition_

Full Usage: snapPosition_

Returns: Lens<Snap, float>
Returns: Lens<Snap, float>

snapX_

Full Usage: snapX_

Returns: Lens<SnapXY, SnapInfo>
Returns: Lens<SnapXY, SnapInfo>

snapY_

Full Usage: snapY_

Returns: Lens<SnapXY, SnapInfo>
Returns: Lens<SnapXY, SnapInfo>

unSnapPositon_

Full Usage: unSnapPositon_

Returns: Lens<Snap, float>
Returns: Lens<Snap, float>

Type something to start searching.