Interface TreeLayout<V>

    • Field Detail

      • TREE_LAYOUT_HORIZONTAL_SPACING

        static final int TREE_LAYOUT_HORIZONTAL_SPACING
      • TREE_LAYOUT_VERTICAL_SPACING

        static final int TREE_LAYOUT_VERTICAL_SPACING
    • Method Detail

      • setRootPredicate

        void setRootPredicate​(Predicate<V> rootPredicate)
      • setRootComparator

        void setRootComparator​(Comparator<V> rootComparator)
      • isLoopVertex

        static <V,​E> boolean isLoopVertex​(org.jgrapht.Graph<V,​E> graph,
                                                V v)
      • isZeroDegreeVertex

        static <V,​E> boolean isZeroDegreeVertex​(org.jgrapht.Graph<V,​E> graph,
                                                      V v)
      • isIsolatedVertex

        static <V,​E> boolean isIsolatedVertex​(org.jgrapht.Graph<V,​E> graph,
                                                    V v)
      • vertexIsolationScore

        static <V,​E> int vertexIsolationScore​(org.jgrapht.Graph<V,​E> graph,
                                                    V v)
        to set vertex order to normal -> loop -> zeroDegree
        Type Parameters:
        V -
        E -
        Parameters:
        graph -
        v -
        Returns: