View RSS Feed

My Java Tips

  1. Creating and visualizing graphs - JGraphT

    by , 11-19-2011 at 06:54 PM (My Java Tips)
    Graphs are used to represent knowledge in a visual form. There are many types and forms of graphs. Java provides support for graphical structures. In this post, I will talk about JGraphT which is a free Java graph library.

    You may download the library from:

    Creating and visualizing the graph is very easy:
    Java Code:
    // create a JGraphT graph
    ListenableGraph g = new ListenableDirectedGraph(