GraphStream Users

Archives de la liste Aide


Re: Node Position


Chronologique Discussions 
  • From: Suhas Bhairav <suhasbhairav AT gmail.com>
  • To: Yoann Pigné <yoann.pigne AT gmail.com>
  • Cc: "graphstream-users AT litislab.fr" <graphstream-users AT litislab.fr>
  • Subject: Re: Node Position
  • Date: Tue, 28 Jun 2016 21:29:19 +0200

Hi,

To which component are the points obtained from " double[] xyz = Toolkit.nodePosition(graph, "A"); " relative to? The viewer? Converting them to pixels by multiplying with the width of the component is giving me peculiar values.

Is there anyway to obtain pixels from these points?

Regards
Suhas Bhairav

On 28 June 2016 at 12:08, Suhas Bhairav <suhasbhairav AT gmail.com> wrote:
Thank you.

Regards
Suhas Bhairav

On 28 June 2016 at 11:59, Yoann Pigné <yoann.pigne AT gmail.com> wrote:
http://graphstream-project.org/doc/FAQ/The-graph-viewer/Why-node-positions-do-not-update/

> On Jun 28, 2016, at 11:19 AM, Suhas Bhairav <suhasbhairav AT gmail.com> wrote:
>
> Hi,
>
> Is it possible to fetch positionX and positionY of a node when it is displayed in a viewer?
>
>
> Regards
> Suhas Bhairav






Archives gérées par MHonArc 2.6.16.

Top of page