### Question:
LabelPropagationMutateProc extends MutatePropertyProc<LabelPropagation, LabelPropagation, LabelPropagationMutateProc.MutateResult, LabelPropagationMutateConfig> { @Override protected NodeProperties nodeProperties(ComputationResult<LabelPropagation, LabelPropagation, LabelPropagationMutateConfig> computationResult) { return LabelPropagationProc.nodeProperties(computationResult, computationResult.config().mutateProperty(), allocationTracker()); }  @Procedure(value = "gds.labelPropagation.mutate", mode = READ) @Description(LABEL_PROPAGATION_DESCRIPTION) Stream<MutateResult> mutate(
        @Name(value = "graphName") Object graphNameOrConfig,
        @Name(value = "configuration", defaultValue = "{}") Map<String, Object> configuration
    ); @Procedure(value = "gds.labelPropagation.mutate.estimate", mode = READ) @Description(ESTIMATE_DESCRIPTION) Stream<MemoryEstimateResult> mutateEstimate(
        @Name(value = "graphName") Object graphNameOrConfig,
        @Name(value = "configuration", defaultValue = "{}") Map<String, Object> configuration
    );  }### Answer:
@Test void testGraphMutationFiltered() { long deletedNodes = clearDb(); runQuery("CREATE (x:Ignore {id: -1, communityId: null}) " + createQuery()); String graphName = "loadGraph"; String loadQuery = GdsCypher .call() .withNodeLabels("Ignore", "A", "B") .withAnyRelationshipType() .graphCreate(graphName) .yields(); runQuery(loadQuery); String query = GdsCypher .call() .explicitCreation(graphName) .algo("labelPropagation") .mutateMode() .addParameter("nodeLabels", Arrays.asList("A", "B")) .addParameter("mutateProperty", mutateProperty()) .yields(); runQuery(query); List<Long> expectedValueList = new ArrayList<>(RESULT.size() + 1); expectedValueList.add(Long.MIN_VALUE); RESULT.forEach(component -> expectedValueList.add(component + deletedNodes + 1)); Graph mutatedGraph = GraphStoreCatalog.get(TEST_USERNAME, namedDatabaseId(), graphName).graphStore().getUnion(); mutatedGraph.forEachNode(nodeId -> { assertEquals( expectedValueList.get(Math.toIntExact(nodeId)), mutatedGraph.nodeProperties("communityId").longValue(nodeId) ); return true; } ); }