public Set<String> getIds() {
        final List<PipelineElement> pipelineElements = NullSafe.get(
                pipelineModel,
                PipelineModel::getPipelineData,
                PipelineData::getElements,
                PipelineElements::getAdd);

        return NullSafe.stream(pipelineElements)
                .map(PipelineElement::getId)
                .collect(Collectors.toSet());
    }
@return All the element IDs currently in the pipeline
stroom-core-client/src/main/java/stroom/pipeline/structure/client/presenter/PipelineTreePresenter.java