Header menu logo issie

Model Type

Record fields

Record Field Description

Action

Full Usage: Action

Field type: CurrentAction
Field type: CurrentAction

AutomaticScrolling

Full Usage: AutomaticScrolling

Field type: bool
Field type: bool

BoundingBoxes

Full Usage: BoundingBoxes

Field type: Map<ComponentId, BoundingBox>
Field type: Map<ComponentId, BoundingBox>

CanvasSize

Full Usage: CanvasSize

Field type: float

the size of teh canvas in DrawBlock units

Field type: float

CompilationProcess

Full Usage: CompilationProcess

Field type: ChildProcess option
Field type: ChildProcess option

CompilationStatus

Full Usage: CompilationStatus

Field type: CompileStatus
Field type: CompileStatus

Compiling

Full Usage: Compiling

Field type: bool
Field type: bool

ConnectPortsLine

Full Usage: ConnectPortsLine

Field type: XYPos * XYPos
Field type: XYPos * XYPos

CtrlKeyDown

Full Usage: CtrlKeyDown

Field type: bool
Field type: bool

CurrentKeyPresses

Full Usage: CurrentKeyPresses

Field type: (string * float) list
Field type: (string * float) list

CursorType

Full Usage: CursorType

Field type: CursorType
Field type: CursorType

DebugData

Full Usage: DebugData

Field type: int list
Field type: int list

DebugDevice

Full Usage: DebugDevice

Field type: string option
Field type: string option

DebugIsConnected

Full Usage: DebugIsConnected

Field type: bool
Field type: bool

DebugMappings

Full Usage: DebugMappings

Field type: string array
Field type: string array

DebugState

Full Usage: DebugState

Field type: DebugState
Field type: DebugState

DragToSelectBox

Full Usage: DragToSelectBox

Field type: BoundingBox
Field type: BoundingBox

ErrorComponents

Full Usage: ErrorComponents

Field type: ComponentId list
Field type: ComponentId list

InitMouseToScalingBoxCentre

Full Usage: InitMouseToScalingBoxCentre

Field type: XYPos
Field type: XYPos

LastCursorType

Full Usage: LastCursorType

Field type: CursorType
Field type: CursorType

LastMousePos

Full Usage: LastMousePos

Field type: XYPos

this is Drawblock X,Y values

Field type: XYPos

LastMousePosForSnap

Full Usage: LastMousePosForSnap

Field type: XYPos
Field type: XYPos

LastValidBoundingBoxes

Full Usage: LastValidBoundingBoxes

Field type: Map<ComponentId, BoundingBox>
Field type: Map<ComponentId, BoundingBox>

LastValidPos

Full Usage: LastValidPos

Field type: XYPos
Field type: XYPos

LastValidSymbol

Full Usage: LastValidSymbol

Field type: Symbol option
Field type: Symbol option

MouseCounter

Full Usage: MouseCounter

Field type: int
Field type: int

NearbyComponents

Full Usage: NearbyComponents

Field type: ComponentId list
Field type: ComponentId list

PopupDialogData

Full Usage: PopupDialogData

Field type: PopupDialogData
Field type: PopupDialogData

PopupViewFunc

Full Usage: PopupViewFunc

Field type: ((Msg -> Unit) -> PopupDialogData -> ReactElement) option
Field type: ((Msg -> Unit) -> PopupDialogData -> ReactElement) option

PrevWireSelection

Full Usage: PrevWireSelection

Field type: ConnectionId list
Field type: ConnectionId list

RedoList

Full Usage: RedoList

Field type: List<Model>
Field type: List<Model>

ScalingBox

Full Usage: ScalingBox

Field type: Option<ScalingBox>
Field type: Option<ScalingBox>

ScalingBoxCentrePos

Full Usage: ScalingBoxCentrePos

Field type: XYPos
Field type: XYPos

ScalingTmpModel

Full Usage: ScalingTmpModel

Field type: Option<Model>
Field type: Option<Model>

ScreenScrollPos

Full Usage: ScreenScrollPos

Field type: XYPos

html scrolling position: this is in screen pixels, draw block X,Y values are 1/model.Zoom of this

Field type: XYPos

ScrollingLastMousePos

Full Usage: ScrollingLastMousePos

Field type: XYPosMov
Field type: XYPosMov

SelectedComponents

Full Usage: SelectedComponents

Field type: List<ComponentId>
Field type: List<ComponentId>

SelectedLabel

Full Usage: SelectedLabel

Field type: ComponentId option
Field type: ComponentId option

SelectedWires

Full Usage: SelectedWires

Field type: ConnectionId list
Field type: ConnectionId list

ShowGrid

Full Usage: ShowGrid

Field type: bool
Field type: bool

SnapSegments

Full Usage: SnapSegments

Field type: SnapXY
Field type: SnapXY

SnapSymbols

Full Usage: SnapSymbols

Field type: SnapXY
Field type: SnapXY

TargetPortId

Full Usage: TargetPortId

Field type: string
Field type: string

TmpModel

Full Usage: TmpModel

Field type: Option<Model>
Field type: Option<Model>

UndoList

Full Usage: UndoList

Field type: List<Model>
Field type: List<Model>

Wire

Full Usage: Wire

Field type: Model
Field type: Model

Zoom

Full Usage: Zoom

Field type: float

how X,Y coordinates throughout draw block are scaled into screen pixels. All unscaled dimensions (screen pixels) have Screen prepended to name.

Field type: float

Type something to start searching.