Module Simantics/UserComponent

This module is undocumented. This is a list of its definitions.

addToGraph :: Resource -> Resource -> Resource -> <WriteGraph> ()
addUserComponentScript :: Resource -> String -> String -> String -> <WriteGraph> ()

addUserComponentScript userComponent scriptType scriptCode adds the script to the user component.

assignSymbolGroup :: [Resource] -> [Resource] -> [Resource] -> <WriteGraph> ()
changeAllComponentTypes :: Resource -> Resource -> Resource -> <WriteGraph> ()

changeAllComponentTypes model oldComponentType newComponentType

configToDiagram :: Resource -> Resource
configurationOfComponentType :: Resource -> <ReadGraph> Resource
createNewSymbolGroup :: Resource -> String -> <WriteGraph> Resource
createUserComponent :: Resource -> <WriteGraph> Resource
createUserComponentMonitorProperty :: Resource -> <WriteGraph> Resource
createUserComponentProperty :: Resource -> <WriteGraph> Resource
flagToTerminal :: Resource -> <WriteGraph> Resource
getSymbolGroups :: Resource -> <ReadGraph> [Resource]
liftFlag :: Resource -> <WriteGraph> Maybe String
migrateUserComponents :: Resource -> Resource -> [Resource] -> <WriteGraph> ()
populateTerminalToSymbol :: Resource -> (Double, Double) -> <WriteGraph> Resource
renameUserComponentProperty :: Resource -> String -> <WriteGraph> ()
setMonitorExpression :: Resource -> Resource -> String -> <WriteGraph> ()
setUserComponentPropertyDefaultValue :: Resource -> Resource -> String -> <WriteGraph> ()
setUserComponentPropertyDescription :: Resource -> String -> <WriteGraph> ()
setUserComponentPropertyLabel :: Resource -> String -> <WriteGraph> ()
setUserComponentPropertyRange :: Resource -> Resource -> String -> <WriteGraph> ()
setUserComponentPropertyRequiredType :: Resource -> Resource -> String -> <WriteGraph> ()
setUserComponentPropertyUnit :: Resource -> Resource -> String -> <WriteGraph> ()