Re: center anchor in UML's "activity" icon

2012-11-25 Thread Hans Breuer

At 23.11.2012 15:50, Mirko Vukovic wrote:

I am not sure if this has been reported before (Google did not find it).

Looks like an oversight in the original patch (and for the 7 years since 
than ;))

http://git.gnome.org/browse/dia/commit/?id=e22e379


The Activity icon on the UML sheet does not have a center anchor.  The
State icon does.

There are some more inconsistencies between different UML objects - like 
for example not every object supports stereotype. It should be relatively 
easy to add these.


Patches accepted,
Hans

 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
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: A new render

2012-11-25 Thread Hans Breuer

At 24.11.2012 14:29, Ruslan Panasiuk wrote:

Hi. How about to use a cairo graphic to render primitives?
Probably I'm misunderstanding something in your request, because there is a 
cairo renderer available with Dia since 2004 - see:

http://git.gnome.org/browse/dia/log/plug-ins/cairo?ofs=100


So, I have some free time, and I can try do something by myself, if you say
me what files contains render system.


The basis is the DiaRenderer interface:
http://git.gnome.org/browse/dia/tree/lib/diarenderer.h

Most of the renderers are implmented as plug-ins, see e.g. plug-ins/cairo

HTH,
Hans

 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
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Connect two lines?

2012-11-25 Thread Ohto Nordberg
I can connect a line to a box, but not line to line. I am trying to draw
graphs like this:
http://mathworld.wolfram.com/GraphComposition.html

I would like to draw graphs like that easily, not sure if Dia can do that?

Thank you,
Ohto Nordberg
___
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



Re: Connect two lines?

2012-11-25 Thread Michael Ross
You cannot connect lines directly. But you can use a scaled down connection
point between the lines.

Alternately, you can use a bezier line which is completely adaptable  - you
can even make corners by reducing the slope grips (sorry I do not
know the proper name for these).

On Mon, Nov 26, 2012 at 2:09 AM, Ohto Nordberg  wrote:

> I can connect a line to a box, but not line to line. I am trying to draw
> graphs like this:
> http://mathworld.wolfram.com/GraphComposition.html
>
> I would like to draw graphs like that easily, not sure if Dia can do that?
>
> Thank you,
> Ohto Nordberg
>
> ___
> 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
>
>
>


-- 
Put this question to yourself: should I use everyone else to attain
happiness, or should I help others gain happiness?
*Dalai Lama *

To invent, you need a good imagination and a pile of junk.
Thomas A. 
Edison

A public-opinion poll is no substitute for thought.
*Warren Buffet*

Michael E. Ross
(919) 550-2430 Land
(919) 576-0824  Google Phone
(919) 631-1451 Cell
(919) 513-0418 Desk

michael.e.r...@gmail.com

___
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



Re: Connect two lines?

2012-11-25 Thread vwf
Ohto,

I think you can if you make connector points and draw lines between
them. I think such point do not exist yet but creating them should be
easy.

Frits

On Mon, Nov 26, 2012 at 09:09:50AM +0200, Ohto Nordberg wrote:
> I can connect a line to a box, but not line to line. I am trying to draw
> graphs like this:
> http://mathworld.wolfram.com/GraphComposition.html
> 
> I would like to draw graphs like that easily, not sure if Dia can do that?
> 
> Thank you,
> Ohto Nordberg

> ___
> 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