Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Box arrows to a particular border (Read 2317 times)
koosala
Full Member
***
Offline


Java Happens

Posts: 136
Joined: May 13th, 2007
Box arrows to a particular border
Sep 20th, 2007 at 12:59am
Print Post  
Hi,

There is a method on the Node class called setAllowIncomingArrows which will tell if incoming arrows are allowed.

Is there any similar method with which I can tell which side of the box can allow an incoming arrow?

Thanks,
Praveen
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Box arrows to a particular border
Reply #1 - Sep 20th, 2007 at 5:40am
Print Post  
Hi,

You can do that using AnchorPattern objects. Anchor points have AllowIncomingArrows and AllowOutgoingArrows properties, so you could place one or more anchor points at one side of the box and let them accept only incoming arrows, and at the other side place points that allow only outgoing arrows.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint