class DefaultEdgeTraversal extends AbstractEdgeTraversal implements EdgeTraversal {

    @Override
    public Stream<EdgeEntity> stream() {
        return flow.apply(supplier.get()).toList().stream().map(converter::toEdgeEntity);
    }

      DefaultEdgeTraversal(Supplier<GraphTraversal<?, ?>> supplier,
                         Function<GraphTraversal<?, ?>, GraphTraversal<Vertex, Edge>> flow,
                         GraphConverter converter);

}