-
class
The GraphData class represents a data structure used for managing and visualizing graph-based data.
static class
The ValueNode class represents a type of Node that holds a numerical value.
static class
A concrete implementation of the
GraphData.Node class representing a node in a 2D space.
Retrieves the destination node of this edge.
Retrieves the source node of this edge.
GraphData.XYNode.x(double x)
Sets the x-coordinate of this node and returns the current instance.
GraphData.XYNode.y(double y)
Sets the y-coordinate value for the node and returns the node instance.
final void
Adds one or more nodes to the list of nodes if they are not null.
Establishes a connection from the current destination node of this Edge
to the specified target node by creating or retrieving an edge between them.
Connects the current node to the specified target node by creating an edge between them.
GraphData.node(N... nodes)
Adds one or more nodes to the graph and returns the updated graph data.