Class DirectedSubgraph

    • Constructor Detail

      • DirectedSubgraph

        public DirectedSubgraph​(DirectedGraph base,
                                java.util.Set vertexSubset,
                                java.util.Set edgeSubset)
        Creates a new directed subgraph.
        Parameters:
        base - the base (backing) graph on which the subgraph will be based.
        vertexSubset - vertices to include in the subgraph. If null then all vertices are included.
        edgeSubset - edges to in include in the subgraph. If null then all the edges whose vertices found in the graph are included.