Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Click on node, but node.position reports NaN

$
0
0

@incursus wrote:

I am trying to get to the point where I can click on a node and transform the node's position into doc coordinates via transformViewToDoc but not having much luck. I added a listener for ObjectSingleClicked and inside that listener just dumped out e.subject. However, the position property is reporting NaN for the view coordinates. Is this normal? Perhaps I need to query some other property, just not sure at this point what to do. Any ideas? Thanks!

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles