GraphStream Users

Archives de la liste Aide


Re: labels of multiple edges between vertices


Chronologique Discussions 
  • From: Stefan <stefan.242 AT gmail.com>
  • To: graphstream-users AT litislab.fr
  • Subject: Re: labels of multiple edges between vertices
  • Date: Mon, 11 Apr 2016 20:12:50 +0200

Hallo all,

any ideas or hints of the developers of graphstream?

Cheers
Stefan

On Saturday, 9 April 2016, Stefan <stefan.242 AT gmail.com> wrote:
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 :) )?

Cheers
Stefan


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,
Ademir

From: 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 vertices

Hi Ademir,

I did use this renderer. What properties did you change? Do you have multiple edges between 2 vertices and with correct label position?

Cheers
Stefan


On 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 Gabardo

From: 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 vertices

Hi experts,

when I have multiple edges between 2 vertices the labels are not correctly positioned (see screen):

Inline images 1

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 + Cheers
Stefan 





Archives gérées par MHonArc 2.6.16.

Top of page