There are two ways to associate data with graphs, edges or vertices.
1st. Class Extension, creating a class that extends one of the Graph, Vertice or Edge implementations.
2nd. Jung Annotation, using the existing built-in mechanism (the UserData class) for annotating graph elements with data. Several methods are used to manipulate these data.
I think that the first way is more appropriate for the needs of my project.
Friday, 17 August 2007
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment