[Uml-devel] [Bug 67059] Automatic layout of diagrams

Ralf Habacker ralf.habacker at gmail.com
Mon Jan 30 19:21:36 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=67059





--- Comment #15 from Ralf Habacker <ralf habacker gmail com>  2012-01-30 19:21:35 ---
I digged a litte more into this stuff and recognized that dot would be well
useable for generating non overlapping layouts. The most problematic part in
using dot is that umbrello in recent state is not able to draw association
lines exactly as calculated by dot. 

Dot uses lines, polygons, ellipses and bezier curves (b-splines) as line types,
which need to be supported by umbrello for good reender results. 

A possible implementation road seems to me to take the related part (class
AssociationLine and friends) from the soc-umbrello branch as basic idea how to
implement (it is not complete mergable because of major api differences in
relation to trunk umbrello) and to add support for the mentioned line types on
top.  
This would extend the xmi file format with a line type attribute and requires a
related settings attribute in the association line property dialog and/or the
association line context (right-click) menu. 
In the case of b-splines line type, the control points will be not on the line
path, which may require some changes/fixes in the line segment handling. 

After that implementation, adding a layout generator will be possible.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the umbrello-devel mailing list