GraphStream Users

Archives de la liste Aide

Re: edge style: line caps

Chronologique Discussions 
  • From: Antoine Dutot <antoine.dutot AT>
  • To: "graphstream-users AT" <graphstream-users AT>, Szabolcs Horvat <szhorvat AT>
  • 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 :(


2013/6/24 Szabolcs Horvat <szhorvat AT>

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:

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: )

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,

  • 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