Skip to content

Edge

Source code in docs_src/capo_application_signals/types/edge.py
class Edge(TypedDict, closed=True):
    source_node_id: NotRequired["str"]
    """<p>The identifier of the source node in this edge connection.</p>"""
    destination_node_id: NotRequired["str"]
    """<p>The identifier of the destination node in this edge connection.</p>"""
    duration: NotRequired["float"]
    """<p>The duration or latency associated with this connection, if applicable.</p>"""
    connection_type: NotRequired[
        "capo_application_signals.types.connection_type.ConnectionType"
    ]
    """<p>The type of connection between the nodes, indicating the nature of the relationship.</p>"""

connection_type instance-attribute

connection_type: NotRequired[ConnectionType]

The type of connection between the nodes, indicating the nature of the relationship.

destination_node_id instance-attribute

destination_node_id: NotRequired[str]

The identifier of the destination node in this edge connection.

duration instance-attribute

duration: NotRequired[float]

The duration or latency associated with this connection, if applicable.

source_node_id instance-attribute

source_node_id: NotRequired[str]

The identifier of the source node in this edge connection.