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 136119 - converted class diagram is not correct
Summary: converted class diagram is not correct
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on: 133883 135557 135821 136043 136948 136951 137170
Blocks:
  Show dependency tree
 
Reported: 2008-05-30 00:52 UTC by Peter Lam
Modified: 2008-06-26 20:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
original 6.1 class diagram (87.93 KB, image/png)
2008-05-30 00:53 UTC, Peter Lam
Details
converted class diagram (75.79 KB, image/png)
2008-05-30 00:54 UTC, Peter Lam
Details
uml project (190.82 KB, application/x-compressed)
2008-05-30 00:54 UTC, Peter Lam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2008-05-30 00:52:59 UTC
build 200805028

- download and unzip the attached NB 6.1 uml project
- open the unzipped project
- expand the Model node 
- open the class diagram
Result: The following issues exists on converted diagram. See attached screenshots for original and converted diagrams. 
* missing elements: 
  collaboration lifeline
  node
  artifact
  aliased
  actor
* missing {From package} label in classes
* elements overlaping: Class2 covers comment element
* duplicate association classes
* automatic routing edges don't look good - overlapping
Comment 1 Peter Lam 2008-05-30 00:53:40 UTC
Created attachment 62141 [details]
original 6.1 class diagram
Comment 2 Peter Lam 2008-05-30 00:54:17 UTC
Created attachment 62142 [details]
converted class diagram
Comment 3 Peter Lam 2008-05-30 00:54:44 UTC
Created attachment 62143 [details]
uml project
Comment 4 Peter Lam 2008-05-30 00:57:37 UTC
missing link labels as well.
Comment 5 Sergey Petrov 2008-05-30 05:16:13 UTC
collaboration lifeline,node is not implemented and may not be implemented in 6.5 because of missed collaboration and
deployment diagrams
other nodes are not implemented on class diagram also but may be will be implemented, dependent on issue 135557

please file missing {From package} label in classes as separate issue, it's general issue

association class have issues with general persistence, issue 133883

overlapping comment is valid but  one is not p2, and may be will not be addressed

"automatic routing edges don't look good - overlapping" other kind of routings are not supported, it will require some
additional work after implementation of issue 136043, but even direct router without importing of bends points will look
better in my opinion

missing labels most like about stareotype labels, issue 135821
Comment 6 Sergey Petrov 2008-06-17 20:09:13 UTC
http://hg.netbeans.org/uml-main/rev/ffe6a89a964d
http://hg.netbeans.org/uml-main/rev/06efc5ea46fe

seems fixed, if no stopper issues will be found it's better to track in separate issues.
for example I don't want to keep this open because of "* missing {From package} label in classes" which is general issue
also.
Comment 7 Peter Lam 2008-06-26 20:21:24 UTC
verified in build 20080626.
Other existing problems are now tracked in the following individual issues:

issue 138408 converted class diagram has the Comment element covered partly by the class element
issue 138413 converted diagram missing "{From <package>}" labels from elements
issue 138414 converted diagram has nested links reversed in displaying