CustomCompPorts Module
Types
Type | Description |
Functions and values
Function or value | Description |
Full Usage:
changeInstance comp change
Parameters:
Component
change : PortChange
Returns: Component
|
Return updated custom component with ports changed as per change If a port is deleted any corresponding connections must be deleted to keep the CanvasState consistent. That is done elsewhere, since deleting not fully connected connections is a straightforward operation on CanvasState, as done by deleteIncompleteConnections
|
|
|
Full Usage:
deleteIncompleteConnections (arg1, arg2)
Parameters:
Component list
arg1 : Connection list
Returns: Component list * Connection list
|
|
Full Usage:
dependencyDoesNotMatchSignature (arg1, arg2) (arg3, arg4)
Parameters:
'a
arg1 : 'b
arg2 : 'a
arg3 : 'b
Returns: bool
|
|
Full Usage:
findInstancesOfCurrentSheet project
Parameters:
Project
Returns: (string * (ComponentId * CustomComponentType)) list
|
|
|
|
Full Usage:
getDependents model
Parameters:
Model
Returns: (((string * int) list * (string * int) list) * (string * string * ((string * int) list * (string * int) list)) list) option
|
|
|
|
Full Usage:
getIOMatchFromSig (inputs, outputs)
Parameters:
(string * int) list
outputs : (string * int) list
Returns: Match list
|
|
Full Usage:
getOutOfDateDependents model
Parameters:
Model
Returns: (((string * int) list * (string * int) list) * (string * string * ((string * int) list * (string * int) list)) list) option
|
|
Full Usage:
guessAtRenamedPorts matches
Parameters:
PortChange seq
Returns: PortChange array
|
|
Full Usage:
ioCompareSigs (arg1, arg2) (arg3, arg4)
Parameters:
(string * int) list
arg1 : (string * int) list
arg2 : (string * int) list
arg3 : (string * int) list
Returns: PortChange seq
|
|
Full Usage:
listUpdate uPred uFunc lst
Parameters:
'a -> bool
uFunc : 'a -> 'a
lst : 'a list
Returns: 'a list
|
|
Full Usage:
makePortName nameWidth
Parameters:
(string * int) option
Returns: ReactElement
|
|
Full Usage:
optCurrentSheetDependentsPopup model
Parameters:
Model
Returns: ((Msg -> Unit) -> Model -> ReactElement) option
|
|
|
|
|
|
|
|
|
|
|
|