class DefaultVertexTraversal extends AbstractVertexTraversal implements VertexTraversal {

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

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

}