Hi Ademir,yes I did try other renderer, but this one gave the best result and has also best support for css formatting.Any further ideas (without writing a new renderer :) )?CheersStefan
On Saturday, 9 April 2016, Ademir Gabardo <ademir.gabbardo AT gmail.com> wrote:Hi Stefan, I do not have multiple edges, but I notice that when I change the renderer the edge and node labels are differently positioned.In this case, may you can try the other renderers?Cheers,AdemirFrom: Stefan <stefan.242 AT gmail.com>
Date: Friday, April 8, 2016 at 7:45 PM
To: "ademir.gabbardo AT gmail.com" <ademir.gabbardo AT gmail.com>
Cc: <graphstream-users AT litislab.fr>
Subject: Re: labels of multiple edges between verticesHi Ademir,I did use this renderer. What properties did you change? Do you have multiple edges between 2 vertices and with correct label position?CheersStefanOn 8 April 2016 at 01:06, Ademir Gabardo <ademir.gabbardo AT gmail.com> wrote:Can you try to change the renderer?I have used this renderer with some properties and worked better for me.Just add as the first line on your main method, or, where you call your graph viewer.System.setProperty("org.graphstream.ui.renderer","org.graphstream.ui.j2dviewer.J2DGraphRenderer");Kind Regards,Ademir GabardoFrom: Stefan <stefan.242 AT gmail.com>
Reply-To: <graphstream-users AT litislab.fr>, Stefan <stefan.242 AT gmail.com>
Date: Friday, April 8, 2016 at 12:43 AM
To: <graphstream-users AT litislab.fr>
Subject: labels of multiple edges between verticesHi experts,when I have multiple edges between 2 vertices the labels are not correctly positioned (see screen):css for edges:edge {size: 2px;text-alignment: under;text-color: #000000;text-size: 10px;text-color: black;}I would expect to have each label under each corresponding edge (tried already other text-alignment (along, center, ...) with same result).Thanks + CheersStefan
Archives gérées par MHonArc 2.6.16.