I am writing a first VERY simple class to see if my install can build something. So this is what I have
import org.jgrapht.ListenableGraph;
import org.jgrapht.ext.JGraphModelAdapter;
import org.jgrapht.graph.DefaultEdge;
import org.jgrapht.graph.ListenableDirectedGraph;
public class Some<JGraph> {
private Some() {
ListenableGraph g = new ListenableDirectedGraph( DefaultEdge.class );
JGraph graph = new JGraph(new JGraphModelAdapter( g ));
}
}
I am working in Eclipse and I have jgrapgt-core
, jgrapht-ext
, jgraphx
and jgraphx-3.2.2.0
setup as user libraries.
My problem is when I try to create the JGraphModelAdapter
I get the error:
The type org.jgraph.graph.AttributeMap cannot be resolved. It is indirectly referenced from required .class files
Any help would be great.