From: Philip A G. II <pg...@da...> - 2012-10-20 00:12:52
|
Alex, The JGraph adapter and the associated demo are for a previous version of JGraph. If you use the jgraph jar file that is in the lib directory of the jgrapht distro, you can make the demo work. The current version of JGraph was re-written to align with the JavaScript version, and repackaged as mxGraph (because that's what the JavaScript API is called). The API is completely different and the adapter won't work with it - and there's not an easy path to make it work. I did find a very simple adapter that someone wrote that works one-way with the mxGraph API, but it's incomplete and needs some work. You can find it here: http://forum.jgraph.com/questions/133/using-jgraphx-to-visualize-jgrapht Hope this helps, Phil From: Alex Moir [mailto:am...@di...] Sent: Friday, October 19, 2012 7:25 PM To: jgr...@li... Subject: [jgrapht-users] jgraph question Hey All, So I tried downloading the latest jgraph from jgraph.com. All I seem to be getting is some mxgraph stuff, even in the jar file called jgraph.jar. I am trying to compile my version of the JGraphAdapterDemo using the latest jgraphx.jar from that website but it can't find some of the basic files like JGraph.class which I also don't see in the jar file. Is the JGraphAdapterDemo just out of date and uses an old version of JGraph? Thanks, Alex |