[Qt-creator] ModelEditor plugin
Jochen Becher
jochen_becher at gmx.de
Tue Oct 6 18:39:14 CEST 2015
Hi
Instead of implementing an exporter to PlantUML (which in fact would
lead to complete different diagram layout) it is much easier to
implement print support, SVG export and other exporters directly.
I already implemented a small tool which loads a model and exports
diagrams as png, svg or PDF files. Its not released yet but I will do in
future. And I will add functions to export into these formats from
ModelEditor plugin. Printing is also not a big deal.
Today you can print by pressing "Ctrl-C" on a diagram when nothing is
selected on the diagram. This will copy the whole diagram into the
clipboard using 300dpi. Paste it into any program which is able to print
images.
The real state machine is already planned (see Wiki page). Currently the
possibility of having numbered relations is still missing. I want to
implement customizable relations first. After that state machines should
not be difficult.
Sequence diagrams are a different story. Currently I only support canvas
diagrams where everything is layouted by coordinates. Sequence diagrams
need a dynamic layout engine which is much more complex.
Regards, Jochen
Am Dienstag, den 06.10.2015, 07:22 +0200 schrieb Cristian Adam:
>
> On Mon, Oct 5, 2015 at 11:26 PM, Christian Gagneraud <chgans at gna.org>
> wrote:
>
> Random thoughts after using it for a real case:
> - print support
> - SVG export
> - Support for "real" state machine (not activities)
>
> Thanks a lot for this wonderful plugin!
> Krys
>
>
>
>
> The first two could be delegated to another tool. One could export to
> PlantUML,
>
> and from there export to SVG etc.
>
>
>
> Cheers,
>
> Cristian.
>
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
More information about the Qt-creator
mailing list