Hi,
Coordinates are in graph units. You have to use the Camera of your View to convert them to pixels.
Cheers.
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?RegardsSuhas BhairavOn 28 June 2016 at 12:08, Suhas Bhairav <suhasbhairav AT gmail.com> wrote:Thank you.RegardsSuhas BhairavOn 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.