David has posted 3 posts at DZone. View Full User Profile

JGraph X Beta Initial Release

  • submit to reddit
The first public beta of the new JGraph Swing architecture

JGraph X (http://www.jgraph.com/jgraphx.html), the new Java Swing Diagramming Library, has been released in beta form. JGraph X is based on the mxGraph architecture, a re-designed core based on 7 years of JGraph experience. The library will be available under the LGPL, as well as there being an extended, commercially-support, version at the 1.0 release later this year.

The new library API is designed to provide a much lower learning curve as well as making the feature set easier to extend and integrate. Sharing the model code base of mxGraph (http://www.mxgraph.com/details.html), the web diagramming library, enabling applications written in Java to be more easily ported to mxGraph-based web applications.

Overall, JGraph X provides more features that JGraph, with a far smaller code size and complexity. Redesigning the codebase from scratch now means implementing common feature extensions are easier and require less coding. A number of new loosely coupled application-centric features have been added, making prototyping even faster, without their usage restricting application flexibility.

Full source code and demonstration are both available on the web site, as well as a support forum.

Zurich, Switzerland
jgraph_header.gif8.98 KB
Published at DZone with permission of its author, David Benson.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)


mark taylor replied on Thu, 2008/10/09 - 8:13pm

JGraph can best be described as an adequate graphing library. The free versions provides basic graph drawing functionality with no automatic layouts provided. That's in the commercially supported version. If anyone is looking for a good free graph drawing library I recommend either JUNG or the Netbeans Visual Library. Each of these provide complex layout algorithms which the free version of JGraph lacks. Note I'm speaking as of last year, I doubt the policy has changed however.

There are several other good commercial graph drawing libraries: yEd and TomSawyer are two.

David Benson replied on Tue, 2009/09/08 - 6:32am

Sorry, only just noticed the reply. When you say "adequate" do you mean the free version is adequate? Have you used the commercial layout package? Does your point come down to an objection that the layouts are not free? Thanks, David

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.