May 9, 2012 at 8:19 AM
Edited May 9, 2012 at 8:26 AM
I'm working on NodeXL to visualize large dynamic networks.
Briefly, my network is loaded on Disk by a Berkeley Database and it is builded like a binary tree.
However, I added a new Slider (very similar to the Dynamic Filters Sliders) into the Task Pane. And by adjusting the slider NodeXL is able to show the evolution over time of the network.
Each time I adjust the slider: I query my BDB; get the results from the query; then update the workbook by the results and afterwards update the TaskPane according to the workbook.
I also added a play button to see the evolution automatically.
When I push the play button the "Time Slider" will slide in a automatic way by "DynamicFilterRangeTrackBar.SmallChange". The play button works in a way that between each query (which includes the workbook and taskPane update), it will be created a thread,
which will wait for a certain period(1sec for instance). And after this second will call
asynchronously the next query (by the "BeginInvoke" method), which always includes graphics update.
catch (Exception oException)
So it will be showed the network's evolution like a video.
Everything works for networks of 100 edges over 100 time slices.
Everything works also for a network of 3000 edges over 900 time slices except for the play button. When I push the play button in this case NodeXL crashes after the first query (which always includes the first workbook and taskPane update). I think it's
a problem of the asynchronous call. So how could I interact with the UI NodeXL thread from the callback method?
Any help could be appreciated.
Thanks in advance.