Header menu logo issie

SheetT Module

Types

Type Description

Arrange

ArrayDirection

Which way the copies of a pasted array run. A fragment is arrayed across its short axis, so that the copies stack up beside each other rather than end to end: a row of gates laid out left to right becomes a vertical array, and a column of them a horizontal one. Prefixed because CommonTypes.Orientation is Horizontal | Vertical and is used unqualified all over the draw block - two of these cases named the same would shadow it.

CompilationStage

CompilationStageLabel

CompileStatus

CurrentAction

Keeps track of the current action that the user is doing

DebugState

IssieInterfaceMsg

KeyboardMsg

For Keyboard messages. These name draw block *actions*, not keys - KeyTypes decides which chord reaches which. AltC, AltV, AltZ and AltShiftZ used to be here with no dispatcher, and CtrlS with a handler that added a square for a demo.

Model

MouseOn

Used to keep track of what the mouse is on

Msg

PopupDialogData

Possible fields that may (or may not) be used in a dialog popup.

ReadLog

ScalingBox

ScalingDirection

SymbolEditMode

What a right-click has made draggable on one custom component. These used to be reached by holding Ctrl, which meant the affordance appeared on every custom component at once, vanished if the key was released or the window lost focus, and was undiscoverable. A mode entered from the component's own menu applies to that component alone and stays until the user clicks away.

UndoAction

WireTypeMsg

XYPosMov

Used to keep mouse movement (AKA velocity) info as well as position

Functions and values

Function or value Description

boundingBoxes_

Full Usage: boundingBoxes_

Returns: Lens<Model, Map<ComponentId, BoundingBox>>
Returns: Lens<Model, Map<ComponentId, BoundingBox>>

canvasSize_

Full Usage: canvasSize_

Returns: Lens<Model, float>
Returns: Lens<Model, float>

lastMousePosForSnap_

Full Usage: lastMousePosForSnap_

Returns: Lens<Model, XYPos>
Returns: Lens<Model, XYPos>

lastMousePos_

Full Usage: lastMousePos_

Returns: Lens<Model, XYPos>
Returns: Lens<Model, XYPos>

move_

Full Usage: move_

Returns: Lens<XYPosMov, XYPos>
Returns: Lens<XYPosMov, XYPos>

pos_

Full Usage: pos_

Returns: Lens<XYPosMov, XYPos>
Returns: Lens<XYPosMov, XYPos>

scalingBox_

Full Usage: scalingBox_

Returns: Lens<Model, Option<ScalingBox>>
Returns: Lens<Model, Option<ScalingBox>>

screenScrollPos_

Full Usage: screenScrollPos_

Returns: Lens<Model, XYPos>
Returns: Lens<Model, XYPos>

scrollingLastMousePos_

Full Usage: scrollingLastMousePos_

Returns: Lens<Model, XYPosMov>
Returns: Lens<Model, XYPosMov>

selectedComponents_

Full Usage: selectedComponents_

Returns: Lens<Model, List<ComponentId>>
Returns: Lens<Model, List<ComponentId>>

selectedWires_

Full Usage: selectedWires_

Returns: Lens<Model, ConnectionId list>
Returns: Lens<Model, ConnectionId list>

symbolEdit_

Full Usage: symbolEdit_

Returns: Lens<Model, (ComponentId * SymbolEditMode) option>
Returns: Lens<Model, (ComponentId * SymbolEditMode) option>

symbolOf_ k

Full Usage: symbolOf_ k

Parameters:
Returns: Lens<Model, Symbol>
k : ComponentId
Returns: Lens<Model, Symbol>

symbol_

Full Usage: symbol_

Returns: Lens<Model, Model>
Returns: Lens<Model, Model>

symbols_

Full Usage: symbols_

Returns: Lens<Model, Map<ComponentId, Symbol>>
Returns: Lens<Model, Map<ComponentId, Symbol>>

wireOf_ k

Full Usage: wireOf_ k

Parameters:
Returns: Lens<Model, Wire>
k : ConnectionId
Returns: Lens<Model, Wire>

wire_

Full Usage: wire_

Returns: Lens<Model, Model>
Returns: Lens<Model, Model>

wires_

Full Usage: wires_

Returns: Lens<Model, Map<ConnectionId, Wire>>
Returns: Lens<Model, Map<ConnectionId, Wire>>

zoom_

Full Usage: zoom_

Returns: Lens<Model, float>
Returns: Lens<Model, float>

Type something to start searching.