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.

Bug 79456 - Diagram is unusable after relationship discovery on Association Class
Summary: Diagram is unusable after relationship discovery on Association Class
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@uml
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2006-06-29 23:44 UTC by Peter Lam
Modified: 2006-09-28 14:52 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
diagram layout result (137.75 KB, image/png)
2006-06-29 23:46 UTC, Peter Lam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2006-06-29 23:44:55 UTC
steps to reproduce:
1. create uml project
2. add component diagram
3. add and name two classes to the diagram
4. draw association class between classes
4a. click on an empty space on the diagram to unselect everything
5. press 'relationship discovery' toolbar button
relationship discovery process takes at least 10 seconds on P4-2800/2GB system
6. click on first class
it takes few seconds to select class
7. click on operation in class
it takes few second to select operation
8. try symmetric layout

This performance problem seems to be in any diagram that Association Class can
be created. So, it's not limited to just Component Diagram.
Comment 1 Peter Lam 2006-06-29 23:46:43 UTC
Created attachment 31524 [details]
diagram layout result
Comment 2 Peter Lam 2006-06-29 23:47:21 UTC
see attached snapshot for the result of doing the symmetric layout.
Comment 3 Viktor Lapitski 2006-08-29 10:05:10 UTC
it isn't a performance issue per se - it is just that a huge amount of extra,
duplicating, egdes are generated as a result of relationship discovery (as a
result of symmetric layout they form that nice snowflake on the snapshot)
Fixed in coco and release55(ie. coke) branches.
Comment 4 Sergey Petrov 2006-09-28 14:52:10 UTC
verified in 060927