Skip to main content

other_endpoint

Function other_endpoint 

Source
fn other_endpoint<G>(
    network: G,
    edge: G::EdgeRef,
    vertex: G::NodeId,
) -> G::NodeId
Expand description

Gets the other endpoint of graph edge, if any, otherwise panics.