GraphStream Users

Archives de la liste Aide


Re: edge style: line caps


Chronologique Discussions 
  • From: Antoine Dutot <antoine.dutot AT gmail.com>
  • To: "graphstream-users AT litislab.fr" <graphstream-users AT litislab.fr>, Szabolcs Horvat <szhorvat AT nd.edu>
  • Subject: Re: edge style: line caps
  • Date: Mon, 24 Jun 2013 18:24:00 +0200

I am sorry to always answer no to your questions ;-), but this is not changeable also :(

Antoine


2013/6/24 Szabolcs Horvat <szhorvat AT nd.edu>
Hello,

Is it possible to control the line cap style for edges drawn as lines?

Different standard line cap styles are shown e.g. in this figure:

http://maperitive.net/docs/images/LineCaps.png

The default for GraphStream seems to be no. 3 from the left (square caps), while I'm aiming for no. 1 or no. 2 (butt caps or round caps).  The dots in the figure indicate the line end coordinates.  The difference between butt caps and square caps is that the former ends at the coordinate while the latter is longer by an amount determined by the line width.

Controlling this would be useful when the line width is comparable to the size of circular nodes (example: https://www.evernote.com/shard/s135/sh/f2553721-7a45-4e40-af2d-b10772d9e502/840dd5a84326371b3d9b1f7461f58b02 )

I don't expect that this control is possible, but GraphStream has surprised me (pleasantly) in the past, so I thought I'd ask :-)

Thank you,
Szabolcs



  • edge style: line caps, Szabolcs Horvat, 24/06/2013
    • Re: edge style: line caps, Antoine Dutot, 24/06/2013

Archives gérées par MHonArc 2.6.16.

Top of page