This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build: NetBeans IDE Dev (Build nbms-and-javadoc-3865-on-090903) VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02-90, Java(TM) SE Runtime Environment, 1.6.0_15-b03-219 OS: Mac OS X, 10.6, x86_64 User Comments: GUEST: I am trying to generate a class diagram for one class. Maximum slowness yet reported was 22649 ms, average is 15040
Created attachment 87324 [details] nps snapshot
org.netbeans.modules.graphicclassview.JavaSceneLayout
Build: NetBeans IDE Dev (Build 200908022240) VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Linux, 2.6.30-gentoo-r6, amd64 User Comments: It's a big maven project. I open graphical class view on one of the classes. Maximum slowness yet reported was 48990 ms, average is 26357
Created attachment 87391 [details] nps snapshot
Build: NetBeans IDE Dev (Build 200911170201) VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Linux, 2.6.31kid, i386 User Comments: Using Source->Graphical View and changed layout to "Topological Grid Layout" Maximum slowness yet reported was 73237 ms, average is 34886
Created attachment 91252 [details] nps snapshot
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=157880
This is an experimental module, and the combo box actually says "(slow)" next to this algorithm. Best I can think of is to remove the algorithm - it does slightly better layout, but it is very computationally expensive. Would like to wrapper the various algorithms in the Jung open source project, which are from genuine academic research on graph theory (as opposed to something I hacked together with a bit of intuition). This particular one is not really going to get fixed, though it may be removed.
Created attachment 91726 [details] nps snapshot
Fixed in #72a13b51c032 (not a pretty fix - just disabled the combo box, since this layout is never going to perform well).