pub fn edge_endpoints(&self, e: EdgeIndex) -> Option<(NodeIndex, NodeIndex)> {
        self.edges
            .get(e.index())
            .map(|ed| (ed.source(), ed.target()))
    }
/// Access the source and target nodes for `e`.
Access the source and target nodes for `e`.
Access the source and target nodes for ` e ` .
pub fn edge_endpoints(&self, e: EdgeIndex) -> Option<(NodeIndex, NodeIndex)> {
        self.edges
            .get(e.index())
            .map(|ed| (ed.source(), ed.target()))
    }
pub fn edge_endpoints ( & self , e : EdgeIndex ) -> Option < ( NodeIndex , NodeIndex ) > { self . edges . get ( e . index ( ) ) . map ( | ed | ( ed . source ( ) , ed . target ( ) ) ) }
Access the source and target nodes for `e`.
Access the source and target nodes for ` e ` .
&self
e
EdgeIndex