editor for shapes ?
Hi, i'd like, maybe like many others, add new shapes to dia, especially for network diagrams. following : http://www.gnome.org/projects/dia/diatut/all/all.html#L017 the only way to create shapes is by hand. i had no luck trying to use sketch icons saved as svg. the svg seems incompatible : svg are embedded in the .shape, with additionnal info (shape name, connexions points...) with svg: before every svg tag. with doing a svg with no gradients, simple things, and saving it as svg with sketch, and adding the dia shape headers/footers, i could use it in my diagram. (using only "path" commands in svg, hand cleaning) however, it's a pita. and i have to add connexions points by hand. is there any way to do that easily ? thanks. -- xavier ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://www.gnome.org/projects/dia/faq.html Main page at http://www.gnome.org/projects/dia
Re: editor for shapes ?
> > > > i'd like, maybe like many others, > > add new shapes to dia, especially for network diagrams. > > What kinds of shapes do you think we are missing from the existing Network > Shapes? If you could make a short list others might already have some of > the shapes you want and be willing to share them. a rackmount server that doesn't look like a sun. good looking stuff to show to a client (like http://www.grassouille.org/docs/graphics/dmz.png (done with sketch)) (i'd like to include :http://www.grassouille.org/docs/index.en.html ; gradients would be nice) of course, stuff like that is a pita to create with sketch. no glue points, no easy resize, etc... but once it's done, it could be used. > > > following : > > http://www.gnome.org/projects/dia/diatut/all/all.html#L017 > > > > > > the only way to create shapes is by hand. > > Not sure what exactly you mean when you say "by hand". with a raw text editor, editing xml, instead of point and click. > > Creating shapes in Dia is not as easy as it might be but you do know about > "Export, Dia Shape (.shape)" dont you? wahoo, cool ! one step ahead. thanks. maybe it could be in www.gnome.org/projects/dia/diatut/all/all.html#L017 ? > The situation is not ideal but if you could explain a bit more clearly and > in more detail I might be able to make better suggestions. well, you said it ; - a better import svg module. - a line with grab points AND connexions points at the end. with that it's easier to draw a 3d box. (right now, lines have grab points at extremities and connexion point in the middle) also, the cisco icons are nice, but have bad defaults. fill with light grey and dark lines is more conventionnal. (or no filling, like every other sheet). the fill and lines are reversed in cisco icons. (try changing the color of the lines of any cisco icon, try to change the fill) what about a way to edit connexions points of a image ? this way, we can create any cool image (yeah, bitmap, but still...) we want, with gimp or anything else, then import it and edit the connexions points ? thanks -- xavier ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://www.gnome.org/projects/dia/faq.html Main page at http://www.gnome.org/projects/dia
Re: editor for shapes ?
> Add an image, draw a polgon which provides your desired > connection points, save as .shape. > > Voila: a new shape file. If you remove the polygon and some > of the connection points you didn't intend you'll get > something like : [...] > > Which appears to be pretty close to what you requested ... > cool ! thanks for the hints ! it's easy enough now. thanks again. -- xavier ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://www.gnome.org/projects/dia/faq.html Main page at http://www.gnome.org/projects/dia
GTK+ 2.0 widget for dia
Hi all. I've just read one mail about the dia port to gtk+2.0 and later, gnome 2. I have taken over the dia-newcanvas widget that was initiated by james henstridge. The widget is under developement but can be usefull for dia. It will mostly care about the item selection, movement, grabbing, snapping, connection interaction when moving (line connected to moved rectangles for example). If you need fonctionnalities for it, just ask for it. I'm MCArkan on irc.gnome.org. dia-newcanvas in the gnome CVS is a "stable" module. If you are interested in it, download it from http://sourceforge.net/projects/gael Regards -- Xavier Ordoquy, Aurora-linux If NT is the answer, you didn't understand the question. Complexity has nothing to do with intelligence. Simplicity does. (Larry Bossidy, CEO, Allied Signal) ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list
Re: GTK+ 2.0 widget for dia
> Hmmm... could the Renderer interface be synced with dia's ? (namely, the > prerender_string() method [a no-op in the gtk renderer, some stuff in > lib/diagramdata.c, if that applies to dia-newcanvas]. There has also been > some discussion to help support groups for export renderers (would be no-ops > on display renderers), but I'm not sure something conclusive has been seen > out of that discussion). > > -- Cyrille I just looked a bit in diagramdata.c and dia-newcanvas looks pretty similar. I think Jamesh would explain better than I can do how this fits, but looks like it's fine. dia canvas has items (line, rectangle, ...) with some properties and member functions. Amoung them, you can find void (*render) (DiaCanvasItem *canvas_item, DiaRenderer *renderer, DiaRectangle *rect); which looks pretty the same as: (*obj_renderer)(obj, renderer, active_layer, data); The (dia canvas) render is an interface that enables to set width, color, .. and draw points, lines, Again this is pretty similar to the dia render. I think jamesh started the dia-newcanvas in order to put in it all the code realted to rendering mainly. My personal feeling is to make dia-newcanvas a widget with a higher abstraction level. You don't need to add code to enable snapping, just set the snap point. You don't have to care about grabbing. You don't have to care about the rendering engine, just choose it, change it if you want and so on. Hope this will answer your question. Xavier Ordoquy, aka MCArkan ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list
Re: GTK+ 2.0 widget for dia
On 27 Jun 2001 21:24:48 +0200, Cyrille Chepelov wrote: > Le mer, jun 27, 2001, à 08:44:36 +0200, Xavier Ordoquy a écrit: > It doesn't completely. One uses of renderers in dia is not only to talk gtk, > but also talk EPS, PS, PNG, XFIG, LaTeX, and I forget some (like DPS which > has always been experimental). > > What I was asking for is to have similar capabilities (perhaps in a saner > way) included in dia-newcanvas. > > -- Cyrille I think I need to take a closer look to this issue. However, eps and ps rendering is already targeted although not in the top priority list. At worst rendering in two phases is still possible. -- Xavier Ordoquy, Aurora-linux If NT is the answer, you didn't understand the question. Complexity has nothing to do with intelligence. Simplicity does. (Larry Bossidy, CEO, Allied Signal) ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list
Re: Digital circuits?
On 20 Aug 2001 15:38:31 +0100, Sarah Mount wrote: > > Hi everyone :) > > I was wondering if there is a digital circuit plugin for Dia yet. I've > seen the analogue one, but I need something with AND / OR gates, and all > that stuff? > > Thanks, > > Sarah You may have a look a oregano for that: http://oregano.codefactory.se/ -- Xavier Ordoquy, Aurora-linux If NT is the answer, you didn't understand the question. Complexity has nothing to do with intelligence. Simplicity does. (Larry Bossidy, CEO, Allied Signal) ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list
dia-newcanvas status
Hi, dia-newcanvas has been going ahead. Since the last time, there is more items available (arc, lines, connections, attract/attracted points and ... text rendered with pango). Text still needs some work, but already works with pango and zooming enabled (thanks to alex for the help). I'll review the code somewhat later to check memory leaks. Screenshots are available at: http://gael.sourceforge.net/screenshots.php Regards, MCArkan -- Xavier Ordoquy, Aurora-linux "The software said 'runs on Win95 or better,' so I installed it on Linux Complexity has nothing to do with intelligence. Simplicity does. (Larry Bossidy, CEO, Allied Signal) ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list
Configure an xgettext problem
Hello,I'm sorry, I guess it is only a small problem.I tried to compile dia-0.95 because the 0.94 on my SUSE 10.0 does not have the UML scheme I need.I first got the following message : $ ./configure[...] checking for xgettext... noneconfigure: error: xgettext program not found: none. I googled xgettext but I got nothing. I also searched the mail archive but nobody seems to have this problem.So I got the latest gettext : gettext-0.15 . I compiled it, installed it and 'ldconfig'ed it.When configuring dia-0.95 the "checking for xgettext" was ok (hurra!).But when compiling, I got the following error : $ make[...]INTLTOOL_EXTRACT=../intltool-extract srcdir=. ../intltool-update --gettext-package dia --pot *** xgettext is not found on this system! *** Without it, intltool-update can not extract strings. If I ask for xgettext version, xgettext is found and I get :$ xgettext -Vxgettext (GNU gettext-tools) 0.15Could someone please help me? Thank you. Xavier ___ Dia-list mailing list Dia-list@gnome.org http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://www.gnome.org/projects/dia/faq.html Main page at http://www.gnome.org/projects/dia
Question regarding text alignment
Hi all, I've started using DIA to draw network diagrams and I can't find a way to write parallel text above or under a diagonal line. that is to say, I can write text and set the Text alignment and the vertical alignment but I miss the rotate clockwise or counter clockwise option. Is there any way to do that in the current release or is it in the roadmap for a future release? Thanks a lot and great program. Regards, -- Xavi -- .. __ / / Xavier Marchador Márquez C E / S / C A Departament de Sistemes i Xarxes /_/Centre de Supercomputació de Catalunya Gran Capità, 2-4 (Edifici Nexus) - 08034 Barcelona T. 93 205 6464(ext. 501) - F. 93 205 6979 - xmarcha...@cesca.cat .. ___ 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
Re: Question regarding text alignment
Hi Steffen, Thanks a lot for the information. The fact is that I'm using the last release and I didn't notice that feature, sorry about that. I've tried it and it works fine. I thought the rotation feature would be in the contextual menu of the text object and not a single object from the Objects Menu. Just to add a new feature or a feature enhancement It would be useful if all the text in a diagram could be rotated without having to delete it and create a new object. Great program ! Thanks a lot, -- Xavi On 02/09/2011 08:56 PM, Steffen Macke wrote: Hi Xavi, On 02/03/2011 04:07 PM, Xavier Marchador wrote: I've started using DIA to draw network diagrams and I can't find a way to write parallel text above or under a diagonal line. that is to say, I can write text and set the Text alignment and the vertical alignment but I miss the rotate clockwise or counter clockwise option. Is there any way to do that in the current release or is it in the roadmap for a future release? Which Dia version do you use? Are you aware of the "Outline" tool? it allows to draw texts that can be rotated. You can watch a video how to rotate text on the page below: http://dia-installer.de/doc/rotation.html.en Is that what you're trying to do? If not, could you explain you problem in a little bit more detail? E.g. with an example diagram? Regards, Steffen ___ 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 .. ___ 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
Re: Dia does not support SVG as shape icon?
I've developed a little script in Python to insert SVG icons in Dia sheets. Most SVG icons I've tested worked well in Dia if they are in shapes http://code.google.com/p/image2dia/ -- Utrescu On 01/10/2011 19:04, "Andrey Repin" wrote: > Greetings, Michael Ross! > >> Does Dia still work when you remove the offending SVG? > > Yes, indeed, it does. > I though I would give SVG a try, since making PNG readable with my limited > artistic skills is a hard task. > >> Have you ever seen Dia work with any icon set to SVG? > > Well, no. I just though I'll give it a try. > >> If yes, then maybe that is a clue it would be good to share. I have never >> tried to do what you have done, or thought that it is a good idea to do so. >> As far as I know Windows icons are raster not vector. Perhaps the same is >> true for Dia icons. I may be old fashioned. > > Well, my path of logic was quite straightforward... Dia natively works with > SVG. Why can't it support it in one more place? > It didn't worked quite well, apparently... :( > >> A good work around may be - do not ever try to put an SVG file in the sheet. > > Well, here I tried... > >> You have the png. If that works then you have an OK solution for other >> icons - Convert your SVG to png. > > It takes more time and effort, than to say so. I still can't get Inkscape to > save icons in the size I want them, and GIMP SVG plugin crashing on attempt to > load image. (Though I could try to update GIMP, as I think there's a newer > version posted.) > >> If you want to see more about this while waiting for a developer to help, >> you could look among the bug reports and see anyone else has ever had this >> problem. Perhaps this is already being dealt with, or has been set aside as >> not fixable. > > Pretty sure at least crash could be fixed (just a simple check for a return > value in proper place). > >> I really don't understand why you think complaining is useful. > > I don't think it's useful. Neither I said so. > I do think I've provided most of the information required to reproduce the > issue. (I've missed the OS type/version in my initial post, though, sorry about > that.) > > > -- > WBR, > Andrey Repin (anrdae...@freemail.ru) 01.10.2011, <21:09> > > Sorry for my terrible english... > > ___ > 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 > ___ 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
Re: dia
La forma más fácil es exportar el diagrama a un formato gráfico como png o jpg Saludos, -- Xavier Sala On 13/10/2011 15:17, "RUBEN QUINTANA FERNANDEZ" < cali...@senoriodeolivenza.com> wrote: > Hola, queria saber como puedo copiar un diagrama de flujo elaborado con > dia en una hoja de Word > > Gracias > > ___ > 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 > > > ___ 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
How to place extra connection points
Hi all, I've been reading many posts about how to add extra connection points to an object. As far as I've been able to understand, since there's no way to add it directly from Dia the best way to do it is editing the xml of the .shape object and add it here. I've done it and I've managed to add some extra connection points by creating a new sheet, copying one existing object and modifying its xml. However, I can't see how to know where the connection point will be placed. How do you know where to set the coords of the new point? Is there any visual utility that could help me with that? eg. I've tried to open the .shape file with Inkscape but it doesn't recognize the file format. Any suggestions would be appreciated. Best regards, -- Xavier -- ... __ / / Xavier Marchador Márquez C E / S / C A Departament de Sistemes i Xarxes /_/ Centre de Serveis Científics i Acadèmics de Catalunya Gran Capità, 2-4 (Edifici Nexus) - 08034 Barcelona T. 93 205 6464(ext. 501) - F. 93 205 6979 - xmarcha...@cesca.cat ... ___ 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
Re: How to place extra connection points
Thanks a lot for your help, guys I'll try to work with Inkscape while Steffen develops his tool. regard, -- Xavier On 03/15/2012 08:39 AM, Ron Wilson wrote: > On Wed, Mar 14, 2012 at 4:40 PM, wrote: >> Date: Wed, 14 Mar 2012 18:21:41 +0100 >> From: Marchand > >>> However, I can't see how to know where the connection point will be >>> placed. How do you know where to set the coords of the new point? Is >>> there any visual utility that could help me with that? eg. >> >> why not open your shape within dia? :) > > That's possible, now? Been a long time since I last edited shapes for > Dia, but I used Inkscape to edit shapes (although you can create > shapes in Dia, then export as Shapes). > ___ > 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 > -- ... __ / / Xavier Marchador Márquez C E / S / C A Departament de Sistemes i Xarxes /_/ Centre de Serveis Científics i Acadèmics de Catalunya Gran Capità, 2-4 (Edifici Nexus) - 08034 Barcelona T. 93 205 6464(ext. 501) - F. 93 205 6979 - xmarcha...@cesca.cat ... ___ 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
python
Hi everyone, I'm trying to get going with dia python. I'm going to create a bunch of network diagrams, all the diagrams have the same structure but the names, addresses etc in the labels vary. I do have all the information in a source accessible via an API and I have already a python library that gets the information. The idea is to label the objects in the diagram using a python script. To begin with I copied the last example in the documentation page https://live.gnome.org/Dia/Python to the file "~/.dia/python/center.py" and gave it 755. And that's it, I was expecting an extra option in the menus but it doesn't show. I'm using Fedora 17 and installed Dia via repositories (0.97.1). Should I install python plugin separately? If yes, how? Any help will be very much appreciated. Best regards, Xavier ___ dia-list mailing list dia-list@gnome.org https://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://live.gnome.org/Dia/Faq Main page at http://live.gnome.org/Dia
Fwd: python
Anyone? Original Message Subject:python Date: Thu, 28 Feb 2013 08:35:52 +0100 From: Xavier Naveira Reply-To: discussions about usage and development of dia To: dia-list@gnome.org Hi everyone, I'm trying to get going with dia python. I'm going to create a bunch of network diagrams, all the diagrams have the same structure but the names, addresses etc in the labels vary. I do have all the information in a source accessible via an API and I have already a python library that gets the information. The idea is to label the objects in the diagram using a python script. To begin with I copied the last example in the documentation page https://live.gnome.org/Dia/Python to the file "~/.dia/python/center.py" and gave it 755. And that's it, I was expecting an extra option in the menus but it doesn't show. I'm using Fedora 17 and installed Dia via repositories (0.97.1). Should I install python plugin separately? If yes, how? Any help will be very much appreciated. Best regards, Xavier ___ dia-list mailing list dia-list@gnome.org https://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://live.gnome.org/Dia/Faq Main page at http://live.gnome.org/Dia ___ dia-list mailing list dia-list@gnome.org https://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://live.gnome.org/Dia/Faq Main page at http://live.gnome.org/Dia