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): ![]() 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.