creates a list of directed connections of connectionType type from all headModules to all tailModules.

CreateDirectedConnections(headModules, tailModules, inputArgument,
  connectionNamePrefix = NULL, connectionType = DirectedConnection)

Arguments

headModules

a list of module objs or names of modules

tailModules

a list of modules objs or names of modules

inputArgument

Name of the argument the output of a head module is used for a tail module's execution.

connectionNamePrefix

a character string to use as a prefix in the name generation of connections created with this function. Default is NULL, in which case The head and tail module names are concatenated to be used as the prefix.

connectionType

R6Class that is of DirectedConnection type, any classes that inherit from DirectedConnection will work.

Value

list of directed connections created