From: SourceForge.net <no...@so...> - 2013-03-27 14:59:55
|
The following forum message was posted by igorkvasnicka at http://sourceforge.net/projects/jung/forums/forum/252062/topic/7217715: Hi is it possible to update/change vertex's label? I don't want to change transformer, I just want the label itself to update my code looks like this: [code] vv.getRenderContext().setVertexLabelTransformer(new Transformer<MyVertex, String>() { @Override public String transform(MyVertex v) { return v.getName(); } });[/code] thanks a lot |