An API for representing graph (node and edge) data.
-
interface
A subinterface of
Graph
which adds mutation methods.
class
This class provides a skeletal implementation of
Graph
.
class
A
Graph
whose elements and structural relationships will never change.
Returns a live view of this network as a
Graph
.
Returns a live view of this graph as a
Graph
.
Returns a view of graph
with the direction (if any) of every edge reversed.
Creates a mutable copy of graph
with the same nodes and edges.
Returns an immutable copy of graph
.
Returns a
GraphBuilder
initialized with all properties queryable from
graph
.
static <N> boolean
Returns true if graph
has at least one cycle.
Returns the subgraph of graph
induced by nodes
.
Returns the set of nodes that are reachable from node
.
Returns the transitive closure of graph
.
Returns a view of graph
with the direction (if any) of every edge reversed.