That's as far as I've gotten until 2 months ago (no work has been done since, have been busy with post-graduate courses). As far as I can remember, I didn't go on because of the fact that too many recalculations will have to happen without a data structure for caching the graph. On Mon, Oct 13, 2008 at 12:12 AM, Fred Morcos <fred morcos gmail com> wrote:
I am wondering again how to run your plugin. dia.register_action ("LayoutForcePy", "Layout (force)", "/DisplayMenu/Test/TestExtensionStart", layout_force_cb) What's the DisplayMenu? On Sun, Oct 12, 2008 at 10:35 PM, Hans Breuer <hans breuer org> wrote:At 12.10.2008 19:07, Fred Morcos wrote:On Sun, Oct 12, 2008 at 6:55 PM, Hans Breuer <hans breuer org> wrote:At 08.10.2008 16:50, Fred Morcos wrote:Sorry for the very late reply, I have been finalizing my thesis and moving back to my country. I would like to restart the discussion about automatic layout, gearing things towards inclusion into Dia as an offered feature. You would prefer it as a plugin (I presume)?Yes.If it is a plugin, where should the GUI code go (if any)?In the plug-in. I did the necessary changes to your code some time ago, but that may be lost in some email. I have now added the plug-in to bugzilla. See: http://bugzilla.gnome.org/show_bug.cgi?id=556026I forgot to mention that I am going to implement it in Python.Why would you want to do this? As mentioned before it definitely is no requirement to get your code to be included with Dia.That was why I asked about GUI code. So should I use pygtk?If you would go with Python, yes.Any requirements for the GUI (following a certain HIG)?You may want to read http://library.gnome.org/devel/hig-book/stable/. But please keep in mind that Dia should rely only on GUI available with vanilla Gtk+ for portability easons.How can I generate the API docs for plugins? --with-hardbooks didn't work.There is no dedicated plug-in API documentation. Basically you can use everything available from lib/* and nothing from app/*Help > PyDia Docs is all what's there?Almost, but see also: http://www.gnome.org/projects/dia/python.html -------- Hans "at" Breuer "dot" Org ----------- Tell me what you need, and I'll tell you how to get along without it. -- Dilbert _______________________________________________ dia-list mailing list dia-list gnome org http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://live.gnome.org/Dia/Faq Main page at http://live.gnome.org/Dia-- Fred Morcos http://fredmorcos.blogspot.com/ http://fredmorcos.googlecode.com/
-- Fred Morcos http://fredmorcos.blogspot.com/ http://katoob.googlecode.com/ https://savannah.nongnu.org/projects/objective-gtk/ http://grafer.googlecode.com/
Attachment:
autolayoutforcefast.py
Description: Text Data