cosapp.utils.graph_analysis

Functions

get_free_inputs(system)

Searches all free inputs within system, and returns a dictionary mapping each input to their source variable (may differ from input, in case of pulling).

cosapp.utils.graph_analysis.get_free_inputs(system: System) Dict[str, VariableReference][source]

Searches all free inputs within system, and returns a dictionary mapping each input to their source variable (may differ from input, in case of pulling).

Returns:

mapping: Dict[str, str]

Dictionary of the kind input_name: free_input_name.