pub fn endpoints(&self) -> (FeatureMetadata<'g>, FeatureMetadata<'g>) {
        (self.from(), self.to())
    }
Returns the endpoints as a pair of features `(from, to)`.
guppy/src/graph/feature/graph_impl.rs