Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7088845
By: morphh
I was able to get JUNG (Java Universal Network/Graph Framework) to import into
the Processing editor by doing the following.
Create a "code" directory in the sketch folder and place the JUNG files inside.
In the sketch, import something like this.
import edu.uci.ics.jung.algorithms.filters.VertexPredicateFilter;
import edu.uci.ics.jung.algorithms.layout.FRLayout2;
import edu.uci.ics.jung.graph.Graph;
import edu.uci.ics.jung.graph.SparseMultigraph;
import edu.uci.ics.jung.graph.util.EdgeType;
I still haven't quite figured out how to make it available as a full processing
library available to all projects as it seems to have an issue with folder /
file names. Not sure what to rename to what in order for it to work.
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=252062
|