I have made a program which takes the results of some SPARQL queries through Jena and saves them in a 2-dimensional string (i.e., 2-dimensional array of Strings). I want to take the values of the first column only and design a diagram of blocks where every block contains every value of the first column and links them successively with each other.
From what I have read, JGraph seems to be pretty helpful for this, but I downloaded it and tried to do it but I failed.
How could I do this with JGraph, or are there other ways?
Here's a method I put together that will draw a rectangle, fill it with a color, and put a String at the center of the rectangle.
You'll have to figure out where you want the rectangles and how to connect them with skinny rectangles.