Header menu logo issie

GraphBuilder Module

Functions and values

Function or value Description

compType t

Full Usage: compType t

Parameters:
Returns: string
t : ComponentType
Returns: string

extractBit fd_

Full Usage: extractBit fd_

Parameters:
Returns: uint32
Modifiers: inline

Assert that the FData only contain a single bit, and return such bit.

fd_ : FData
Returns: uint32

getLabelConnections comps conns

Full Usage: getLabelConnections comps conns

Parameters:
Returns: Connection list
comps : Component list
conns : Connection list
Returns: Connection list

getSimulationIOs components

Full Usage: getSimulationIOs components

Parameters:
Returns: SimulationIO list * SimulationIO list

Get ComponentIds, ComponentLabels and wire widths of all input and output nodes.

components : Component list
Returns: SimulationIO list * SimulationIO list

packBit bit

Full Usage: packBit bit

Parameters:
    bit : uint32

Returns: FData
Modifiers: inline
bit : uint32
Returns: FData

runCanvasStateChecksAndBuildGraph (arg1, arg2) loadedComponents

Full Usage: runCanvasStateChecksAndBuildGraph (arg1, arg2) loadedComponents

Parameters:
Returns: Result<SimulationGraph, SimulationError>

Validate a diagram and generate its simulation graph.

arg0 : Component list
arg1 : Connection list
loadedComponents : LoadedComponent list
Returns: Result<SimulationGraph, SimulationError>

simTrace

Full Usage: simTrace

Returns: bool
Returns: bool

Type something to start searching.