- adjacentNodes
Returns the nodes which have an incident edge in common with node in this graph.
- allowsSelfLoops
Returns true if this graph allows self-loops (edges that connect a node to
itself). Attempting to ad
- degree
Returns the count of node's incident edges, counting self-loops twice
(equivalently, the number of t
- edges
Returns all edges in this graph.
- inDegree
Returns the count of node's incoming edges (equal to predecessors(node).size())
in a directed graph.
- isDirected
Returns true if the edges in this graph are directed. Directed edges connect a
EndpointPair#source()
- nodeOrder
Returns the order of iteration for the elements of #nodes().
- nodes
Returns all nodes in this graph, in the order specified by #nodeOrder().
- outDegree
Returns the count of node's outgoing edges (equal to successors(node).size()) in
a directed graph. I
- predecessors
- successors