class modeci_mdf.mdf.Edge(id: str, sender: str, receiver: str, sender_port: str, receiver_port: str, parameters: Optional[Dict[str, Any]] = None, *, metadata: Optional[Dict[str, Any]] = None)[source]

Bases: MdfBase

An Edge is an attribute of a Graph that transmits computational results from a sender’s OutputPort to a receiver’s InputPort.

  • id (str) – A unique string identifier for this edge.

  • sender (str) – The id of the Node which is the source of the edge.

  • receiver (str) – The id of the Node which is the target of the edge.

  • sender_port (str) – The id of the OutputPort on the sender Node, whose value should be sent to the receiver_port

  • receiver_port (str) – The id of the InputPort on the receiver Node

  • parameters (Optional[Dict[str, Any]]) – Dictionary of parameters for the edge.

Method generated by attrs for class Edge.