This is the first that I'd heard of it; no one's mentioned using JUNG in that context on the forum or the support list, as I recall.
Joshua
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2009-03-26
I'd love to test it out if anyone knows how to make it happen. Here is the information on creating a java library for processing. http://dev.processing.org/libraries/
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2009-04-05
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.
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Has anyone configured / modified / tested the library to be used with Processing?
http://processing.org/
I'd like to use the JUNG library in that environment.
Jeff:
This is the first that I'd heard of it; no one's mentioned using JUNG in that context on the forum or the support list, as I recall.
Joshua
I'd love to test it out if anyone knows how to make it happen. Here is the information on creating a java library for processing. http://dev.processing.org/libraries/
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.