modeci_mdf.mdf.Edge
- class modeci_mdf.mdf.Edge(id: str, sender: str, receiver: str, sender_port: str, receiver_port: str, parameters: Dict[str, Any] | None = None, *, metadata: Dict[str, Any] | None = None)[source]
Bases:
MdfBaseAn
Edgeis an attribute of aGraphthat transmits computational results from a sender’sOutputPortto a receiver’sInputPort.- Variables:
id (str) – A unique string identifier for this edge.
sender (str) – The
idof theNodewhich is the source of the edge.receiver (str) – The
idof theNodewhich is the target of the edge.sender_port (str) – The id of the
OutputPorton the senderNode, whose value should be sent to thereceiver_portreceiver_port (str) – The id of the InputPort on the receiver
Nodeparameters (Dict[str, Any] | None) – Dictionary of parameters for the edge.
Method generated by attrs for class Edge.
Methods