Interface Graph<T>

    • Method Detail

      • removeNodeAndEdges

        void removeNodeAndEdges​(T n)
                         throws java.lang.UnsupportedOperationException
        remove a node and all its incident edges
        Throws:
        java.lang.UnsupportedOperationException - if the graph implementation does not allow removal