Class DirectedGraphBuilder<V,​E,​G extends DirectedGraph<V,​E>>

    • Constructor Detail

      • DirectedGraphBuilder

        public DirectedGraphBuilder​(G baseGraph)
        Creates a builder based on baseGraph. baseGraph must be mutable.

        The recommended way to use this constructor is: new DirectedGraphBuilder<...>(new YourGraph<...>(...)).

        NOTE: baseGraph should not be an existing graph. If you want to add an existing graph to the graph being built, you should use the AbstractGraphBuilder.addVertex(Object) method.

        Parameters:
        baseGraph - the graph object to base building on