eclipse - JGraph has unresolved AttributeMap on precompilation -


i writing first simple class see if install can build something. 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 working in eclipse , have jgrapgt-core, jgrapht-ext, jgraphx , jgraphx-3.2.2.0 setup user libraries.

my problem when try create jgraphmodeladapter error:

the type org.jgraph.graph.attributemap cannot resolved. indirectly referenced required .class files 

any great.

jgrapht uses old jgraph 5 library visualization. org.jgraph jgraph 5, com.jgraph jgraphx.

replace jgraphx libraries jgraph 5. jgraph 5 on github here.


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -