GraphStream Users

Archives de la liste Aide


Re: labels of multiple edges between vertices


Chronologique Discussions 
  • From: Ademir Gabardo <ademir.gabbardo AT gmail.com>
  • To: <graphstream-users AT litislab.fr>, Stefan <stefan.242 AT gmail.com>
  • Subject: Re: labels of multiple edges between vertices
  • Date: Fri, 08 Apr 2016 09:06:18 +1000

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