I am trying to create a class in Java that will extend another class called Graph.
The outline of the graph class is as follows:
- Graph constructor
- adjacent(int i, int j)
- addEdge, removeEdge methods
- addVertex, removeVertex methods
- neighbors method
- numOfEdges method
- averageDegree method
- girth method
I want to know if it possible to draw a very very basic force-directed undirected graph in Java using the graph class that I have made. I want my graph to be visually pleasing!
If so, can anyone point me in the right direction?