This project puts JGraphT to use in some interesting ways.
http://gralog.sourceforge.net/index.html
The plugin tree requires a bit of experimentation to figure out how it
works; here are some example steps:
1. From Gralog-Core-Plugin, choose the
LabeledSimpleUndirectedGraphStructure. Use the "Add Node" and "Add
Edge" toolbar buttons to create a graph structure in the canvas to the
right.
2. From the Examples plugin, choose ShortestPathInteractive under the
algorithms folder, then select the document you created in step 1 as the
structure. Then click Execute Algorithm. You'll be prompted to select
the start and finish vertices, which will cause the shortest path to be
highlighted. Nice!
The graph generators work too, but there's no layout algorithm, so all
of the nodes come out on top of each other...need to integrate graphviz
or JGraph algorithms there.
JVS
|