i am using jung to visually display large data sets, (1000s of nodes) but the system becomes very laggy when I zoom in or out, or move a node. Is there anyway to improve the rendering of graphs in JUNG ?
The way that I used to improve rendering on graphs was to filter the edges of the graph. Every time you try to move the graph the framework do enormous calculations to reposition every vertex and edge and this causes bad performance. The filtering could be done with adding AbstractPopupGraphMousePlugin succesor to the DefaultModalGraphMouse object you are using. Simply override the handlePopup(MouseEvent mouseEvent).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With