Home Wiki Blog Forum GEXF.net

Gephi forums

Community support

Change edge label size

Automated tasks on server

Change edge label size

Postby exodus » 24 Dec 2013 15:09

Hello everybody,
I was trying to change edge label size. For some reason using "edge.getNodeData().getTextData().setSize(...)" does not seem to have any effect on edge label size. I'm a bit confused because a corresponding approach for node labels works perfectly fine. Is there anything special about edge labels that I do not consider yet?
Thank you very much in advance.
exodus
 
Posts: 2
Joined: 24 Dec 2013 15:03

Re: Change edge label size

Postby exodus » 25 Dec 2013 23:56

Let me rephrase my question.
Basically I want to modify edge label size for each edge separately. Class "EdgeLabelItem" seems to provide a possobility via "EdgeLabelItem.SIZE". However changing this value does not seem to have any effect, probably due to the fact that class "EdgeLabelRenderer" does not this information. Is there an easier to achieve what I want, or is in necessary to write a new Renderer?
exodus
 
Posts: 2
Joined: 24 Dec 2013 15:03


Return to Toolkit

Who is online

Users browsing this forum: TurnitinBot [Bot] and 1 guest