GraphStream Users

Archives de la liste Aide

Re: Node Position

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


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?

Suhas Bhairav

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

Suhas Bhairav

On 28 June 2016 at 11:59, Yoann Pigné <yoann.pigne AT> wrote:

> On Jun 28, 2016, at 11:19 AM, Suhas Bhairav <suhasbhairav AT> 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