modeci_mdf.utils.simple_connect

modeci_mdf.utils.simple_connect(pre_node, post_node, graph) Edge[source]

Create an edge connecting two nodes in a graph.

Parameters:
  • pre_node – The source node.

  • post_node – The destination node.

  • graph – The graph to and the edge.

Returns:

The edge that has been added to the graph.