From: Anandhi I. <ana...@gm...> - 2012-07-08 19:40:15
|
Hi, I am using Jgrapht for importing a graph model into my java code. I am having trouble in setting the attributes to the vertices and edges to the graph. 1. Which method should i use? Would it be possible to send a sample code of how to add edge and vertex attributes? 2. I am able to visualize the vertices and edges in an applet. But i am having problems in viewing the vertices as the applet displays only the point but not the labels of the vertices.. What could be the problem? Looking forward for your reply. Thanks and regards, Anandhi |