Class GraphCreateConfigValidations


  • public final class GraphCreateConfigValidations
    extends java.lang.Object
    • Method Detail

      • validateIsUndirectedGraph

        public static <CONFIG extends AlgoBaseConfig> void validateIsUndirectedGraph​(GraphCreateConfig graphCreateConfig,
                                                                                     CONFIG config)
      • validateOrientationCombinations

        public static <CONFIG extends AlgoBaseConfig> void validateOrientationCombinations​(GraphCreateConfig graphCreateConfig,
                                                                                           CONFIG algorithmConfig)
        Validates that Orientation.UNDIRECTED is not mixed with Orientation.NATURAL and Orientation.REVERSE. If a relationship type filter is present in the algorithm config, only those relationship projections are considered in the validation.