v1.addUserDatum("name", entry.getKey(), new UserDataContainer.CopyAction.Clone());
g.addVertex(v1);
Vertex v2 = new SparseVertex();
v2.addUserDatum("name", entry.getValue(), new UserDataContainer.CopyAction.Clone());
g.addVertex(v2);
Edge e = new UndirectedSparseEdge(v1, v2);
g.addEdge(e);
}
FRLayout l = new FRLayout(g);
PluggableRenderer r = new PluggableRenderer();
VisualizationViewer vv = new VisualizationViewer((Layout) l, r);