Header menu logo issie

SymbolT Module

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

Types

Type Description

Annotation

AppearanceT

FlipType

Represents the orientation of a wire segment or symbol flip

Model

Represents all the symbols and ports on the sheet

Msg

The different messages coming from sheet, normally represent events

PortId

Wraps around the input and output port id types

PortMaps

data structures defining where ports are put on symbol boundary strings here are used for port ids

ScaleType

ShowCorners

ShowPorts

data here changes how the symbol looks but has no other effect

Symbol

Represents a symbol, that contains a component and all the other information needed to render it

ThemeType

This defines the colors used in teh drawblack, and therfore also the symbol color.

Functions and values

Function or value Description

appearance_

Full Usage: appearance_

Returns: Lens<Symbol, AppearanceT>
Returns: Lens<Symbol, AppearanceT>

colour_

Full Usage: colour_

Returns: Lens<AppearanceT, string>
Returns: Lens<AppearanceT, string>

component_

Full Usage: component_

Returns: Lens<Symbol, Component>
Returns: Lens<Symbol, Component>

getScaleF

Full Usage: getScaleF

Returns: float option -> float
Returns: float option -> float

highlightLabel_

Full Usage: highlightLabel_

Returns: Lens<AppearanceT, bool>
Returns: Lens<AppearanceT, bool>

hintPane_

Full Usage: hintPane_

Returns: Lens<Model, string list option>
Returns: Lens<Model, string list option>

labelBoundingBox_

Full Usage: labelBoundingBox_

Returns: Lens<Symbol, BoundingBox>
Returns: Lens<Symbol, BoundingBox>

movingPortTarget_

Full Usage: movingPortTarget_

Returns: Lens<Symbol, (XYPos * XYPos) option>
Returns: Lens<Symbol, (XYPos * XYPos) option>

movingPort_

Full Usage: movingPort_

Returns: Lens<Symbol, Option<(type)>>
Returns: Lens<Symbol, Option<(type)>>

moving_

Full Usage: moving_

Returns: Lens<Symbol, bool>
Returns: Lens<Symbol, bool>

opacity_

Full Usage: opacity_

Returns: Lens<AppearanceT, float>
Returns: Lens<AppearanceT, float>

order_

Full Usage: order_

Returns: Lens<PortMaps, Map<Edge, string list>>
Returns: Lens<PortMaps, Map<Edge, string list>>

orientation_

Full Usage: orientation_

Returns: Lens<PortMaps, Map<string, Edge>>
Returns: Lens<PortMaps, Map<string, Edge>>

portMaps_

Full Usage: portMaps_

Returns: Lens<Symbol, PortMaps>
Returns: Lens<Symbol, PortMaps>

ports_

Full Usage: ports_

Returns: Lens<Model, Map<string, Port>>
Returns: Lens<Model, Map<string, Port>>

posOfSym_

Full Usage: posOfSym_

Returns: Lens<Symbol, XYPos>
Returns: Lens<Symbol, XYPos>

scaleF_

Full Usage: scaleF_

Returns: Lens<Symbol, XYPos>
Returns: Lens<Symbol, XYPos>

showCorners_

Full Usage: showCorners_

Returns: Lens<AppearanceT, ShowCorners>
Returns: Lens<AppearanceT, ShowCorners>

showPorts_

Full Usage: showPorts_

Returns: Lens<AppearanceT, ShowPorts>
Returns: Lens<AppearanceT, ShowPorts>

symbolOf_ k

Full Usage: symbolOf_ k

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

symbols_

Full Usage: symbols_

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

Type something to start searching.