View RSS Feed

Graphs

  1. Creating and visualizing graphs - JGraphT

    by , 11-19-2011 at 05: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:
    http://prdownloads.sourceforge.net/j...3.zip?download

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