All pastes #90010 Raw Edit

Java Project

public text v1 · immutable
#90010 ·published 2006-07-17 06:42 UTC
rendered paste body
JGraphT and JGraph
JGraphT and JGraph are two different libraries which are optimized for different purposes. 

JGraphT:

is optimized for data models and algorithms. 
has a clean and simple API that is designed for safe "auto-complete programming". 
is designed to support high-performance and large-scale applications. 
can handle graphs with a few millions vertices and edges. 
provides visualizations by using JGraph (demo). 
JGraph:

is a swing-style graph component optimized for visualization and GUI-based editing. 
has a more complicated API with non-trivial casting and swing dependency; requires fluency with its documentation. 
is slower and consumes more resources. 
The two libraries are complementary and can be used together. You will probably find JGraphT easier to start with and more eligible for your data model. When you need graph visualizations, you can add JGraph to do them for you.

Your Improvements