How to draw a line from a circle to itself

2009-03-03 Thread Chris Nelson
I'm using Dia 0.96.1 on 'Windows to create state transition diagrams.
There may very well be a sheet of objects that would help me but I'm
just using circles for states and lines and arcs for transitions.  The
problem I'm running into is when a state reenters itself on some
event.  If I try to use an arc, I end up with a teardrop shape
attached to and in front of the center of the circle.  If I use a
Bezier line, it's hard to get it the shape I want.  What I'm really
looking for is 270 degrees of a circle touching the edge of the circle
I use for the state and with an arrow on one end.  How can I do that?
___
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: Dear Dia developers. Zigzagline not sufficiant

2009-03-03 Thread Steffen Macke
Hi,

> situation they would complain about. And that is the ability to attach lines
> to other lines. I noticed that a single line will have this capability, but

Did you try the following:

* Use a small dot symbol (e.g. the Circle from the "Assorted" sheet).
* Connect your lines to that dot, resize until it has the same size as
the line thickness.
* Move around as required

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



Changing/Setting end_arrow from python

2009-03-03 Thread Philip Cavaco
--- Begin Message ---
Hello

I need to set the end_arrow type of a 'Standard - Arc' object from a
python script. How do I create the Arrow instance required? I have been
looking through the python docs, example scripts, and the code but
haven't found what I am looking for. I have been able to change color
properties by assigning strings (eg. o.properties['fill_colour']='red')
but haven't found the code which enables this. Trying to change the
Arrow type directly doesn't work.

Any ideas?

Thank you,
Philip
--- End Message ---
___
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: Dear Dia developers. Zigzagline not sufficiant

2009-03-03 Thread Michael Ross
I use the electric (or circuit, I forget) connector.

On Tue, Mar 3, 2009 at 1:28 PM, Steffen Macke  wrote:

> Hi,
>
> > situation they would complain about. And that is the ability to attach
> lines
> > to other lines. I noticed that a single line will have this capability,
> but
>
> Did you try the following:
>
> * Use a small dot symbol (e.g. the Circle from the "Assorted" sheet).
> * Connect your lines to that dot, resize until it has the same size as
> the line thickness.
> * Move around as required
>
> 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
>
>


-- 
   Michael E. Ross
ArcAngle Design & Analysis | MX Automation
=
Bachelor of Science Mechanical Engineering
 Machine & Product Design - SolidWorks
   Data Acquisition & Control - LabVIEW
 Finite Element Analysis - Cosmos


 217 Valley Creek Drive
   Clayton, NC 27520

  (919) 631-1451
  (919) 550-2430
 michael.e.r...@gmail.com
==
___
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: Dear Dia developers. Zigzagline not sufficiant

2009-03-03 Thread personificator

Thanks for your quick replys. I suppose the hacks you proposed are great
suggestions, but I was looking for something a little cleaner, and resizing
circles all day wasn't what I had in mind. Also, lining up dotted lines with
the circuit connectors doesn't allow for ease of lengthening/shortening my
lines without overlapping. At any rate, I was more or less looking for a fix
from the developer standpoint as I can see that this isn't something I
should be worrying about at the presentation level. If you could just point
me in the right direction, I would be more than willing to provide the
source patch to the proper line tools.
Thanks again.


Michael Ross-4 wrote:
> 
> I use the electric (or circuit, I forget) connector.
> 
> On Tue, Mar 3, 2009 at 1:28 PM, Steffen Macke  wrote:
> 
>> Hi,
>>
>> > situation they would complain about. And that is the ability to attach
>> lines
>> > to other lines. I noticed that a single line will have this capability,
>> but
>>
>> Did you try the following:
>>
>> * Use a small dot symbol (e.g. the Circle from the "Assorted" sheet).
>> * Connect your lines to that dot, resize until it has the same size as
>> the line thickness.
>> * Move around as required
>>
>> 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
>>
>>
> 
> 
> -- 
>Michael E. Ross
> ArcAngle Design & Analysis | MX Automation
> =
> Bachelor of Science Mechanical Engineering
>  Machine & Product Design - SolidWorks
>Data Acquisition & Control - LabVIEW
>  Finite Element Analysis - Cosmos
> 
> 
>  217 Valley Creek Drive
>Clayton, NC 27520
> 
>   (919) 631-1451
>   (919) 550-2430
>  michael.e.r...@gmail.com
> ==
> 
> ___
> 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
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Dear-Dia-developers.-Zigzagline-not-sufficiant-tp22302139p22323901.html
Sent from the Gnome - Dia mailing list archive at Nabble.com.

___
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