This is extension of jung framework.
Download jung framework from the URL at the bottom before using these classes.
jung - Java Universal Network/Graph Framework
to generate graphs
- Newman-watts-strongaz small world graph
- Grid graph
- Ladder graph
to generate trees as a subgraph of a given graph
- BFS tree
- DFS tree
to calculate the centrality of vertex
- Degree centrality
- Radius centrality