Reid Rivenburgh
unread,May 21, 2013, 7:28:22 PM5/21/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to d3...@googlegroups.com
Hi. I'm pretty new to d3. I've been using a force-directed graph layout to display some data. I'm following the basic pattern in the examples. It works well, except I've run into one bizarre thing. My page has links to various data files, and if I load one file then load another (clearing out all of the associated variables), one of the nodes will, sometimes, eventually in the tick function take on values of NaN for the x and y values, so it jumps to the upper-left corner. Everything looks fine in my nodes and links arrays before calling start, and it all works properly aside from this. I know an example would be ideal, but given it seems to only occur when loading a second data file and is part of a bigger code, it's hard to reduce to something small and postable. So... does anyone happen to know what might be triggering this? Thanks!
Reid