- From: Szabolcs Horvat <szhorvat AT nd.edu>
- To: "graphstream-users AT litislab.fr" <graphstream-users AT litislab.fr>
- Subject: edge style: line caps
- Date: Mon, 24 Jun 2013 12:21:34 -0400
- Accept-language: en-US
- Acceptlanguage: en-US
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
Archives gérées par MHonArc 2.6.16.