[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •Arrows with curved edges
Page 1 of 1

Arrows with curved edges

Posted: 21 May 2018 15:11
by mcallisto
Hi,

I am testing some PNG renderings with Gephi Toolkit 0.9.2

Within the same exact code:

* if I have

Code: Select all

      model.getProperties.putValue(PreviewProperty.DIRECTED, true)
      model.getProperties.putValue(PreviewProperty.ARROW_SIZE, 100.0f)
      model.getProperties.putValue(PreviewProperty.EDGE_CURVED, false)
the arrows are perfectly shown in the exported PNG image file

* if I change the last line to (setting EDGE_CURVED to true)

Code: Select all

      model.getProperties.putValue(PreviewProperty.EDGE_CURVED, true)
the arrows are not displayed.

Any idea why this is happening?

Thank you,

Mario

Re: Arrows with curved edges

Posted: 21 May 2018 17:29
by eduramiba
Hi Mario,

Arrows are not supported for curved lines.

Re: Arrows with curved edges

Posted: 21 May 2018 22:45
by mcallisto
Hi, thank you for your quick reply.

A few questions:

1. It is just lack of priority or there is any fundamental problem against it?

2. If not the latter, how could arrows for curved lines enter in the future roadmap?
I would love to render graphs like this, they need curved lines but are also directedImage

3. Is there any place in the documentation where it would make sense to mention this current lack of support?

Best,

Mario

Re: Arrows with curved edges

Posted: 22 May 2018 11:45
by eduramiba
It will probably be supported in some future, as I am (slowly) working on a new renderer.

Anyway, the clockwise of the curve is the direction of the edge in curved edges, so arrows are not necessary.