[Uml-devel] [Bug 295600] Umbrello should be able to export diagrams to graphviz dot format
Ralf Habacker
ralf.habacker at gmail.com
Sat Mar 10 19:51:10 UTC 2012
https://bugs.kde.org/show_bug.cgi?id=295600
--- Comment #16 from Ralf Habacker <ralf.habacker at gmail.com> ---
(In reply to comment #15)
> (In reply to comment #14)
> > > [...]
> > > In fact, as seen in the attached log of the console messages, many of the
> > > computed coordinates are negative.
> > Need to be inspected. As workaround set in the related config file
> >
> > [X-UMBRELLO-Dot-Settings]
> > origin=50,50
> > to a higher value for example
> > origin=200,50
>
> Did that - but umbrello did not pick up the changed value.
Are using the correct file ?
I added a debug message with the loaded file, please run
git pull origin
to get this and some more fixes.
> So I just modified the initial value of m_origin in the LayoutGenerator
> constructor.
> And now at least I can see all classes on the diagram.
>
> > yes see origin(..)
> > QPoint p(m_origin.x() + r.x() - r.width()/2,
> > m_boundingRect.height() - r.y() + r.height()/2 + m_origin.y());
>
> I did a little debugging and I see some small values for r.x() but larger
> values for r.width() - which explains why the x coordinate turns out
> negative when m_origin is not large enough.
> Example: m_origin.x() = 50, r.x() = 20 , r.width() = 200
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list