Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Link selection and some odd behaviors (Read 1694 times)
SavyCat
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 38
Joined: Sep 4th, 2007
Link selection and some odd behaviors
Apr 6th, 2009 at 10:32pm
Print Post  
Hi guys, Ive been trying to consistently re-create this strange behavior Ive been getting, but I can't seem to find the exact order of operations. Anyways there are two issues that I need some help with.
First of all, in my diagram I have set it up so that the links do not have to be anchored. However I make them anchor to the nearest anchor point ( the reason for this being that my anchor points are not within the shape itself - they are just outside of it ). Just thought id say this - as it might be related somehow...?

Anyways.. Ive noticed 2 problems. The first is really hard to re-create. Sometimes links won't get selected - even when Im exactly upon them. I wish I could be more helpful, but i can't always re-create the problem. Basically, it seems that i cant select the link segment that is verticle just before it joins with the destination node. Although its not always the case <: S
Also, is there a way I can set the accuracy of the link selection? Currently its too broad for my purposes, I need the link selection to be more precise.

The other issue is that Ive created a container. The container has an anchor point which accepts incomming and outgoing links. Then I place a node in the container and link that anchor point with the node. For some reason the linkstlye algorithm seems to change for that specific link - ie. ive set it up that so that the linkStyle is cascading - but that specific link changes its style to bezier.

Any help on this guys?

Thanks a lot

Mat
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Link selection and some odd behaviors
Reply #1 - Apr 7th, 2009 at 7:48am
Print Post  
We have noticed the first problem too, mostly on 64-bit systems. Are you using a 64-bit PC by chance? Our developers have put this on the back burner; now that you mention it, we'll try to reproduce and fix it for the next release.

Perhaps the link created in the second case is a self-loop connecting the container to itself, so its style is changed to Bezier?

Stoyan
  
Back to top
 
IP Logged
 
SavyCat
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 38
Joined: Sep 4th, 2007
Re: Link selection and some odd behaviors
Reply #2 - Apr 7th, 2009 at 10:36am
Print Post  
Thanks Stoyo, any help would be great.

No I dont have a 64 bit machine, its 32 bit, Windows vista.

Regarding the container link - this is whats going on:

When a link is created - if its near an anchor point, it manually sets the link anchor indices. (as the links are technically allowed to be unanchored, but arn't because im doing manual checks )

The source node is the container with the single outgoing / incomming anchor point.

The destination node is the node contained within the container. It has 1 anchor point and it only allows incomming links. So its not self looping.

Also, is there a way to increase the acuracy when selecting links? If you'd like a picture of what is happening I can upload them - but do you know where i can upload the images?

Thanks guys
Mat
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Link selection and some odd behaviors
Reply #3 - Apr 7th, 2009 at 2:20pm
Print Post  
The latest version should have a LinkHitDistance property, which lets you change the hit-testing accuracy.

You could upload images to flickr and just links them from here. Or email them to support@mindfusion.eu, along with your LinkCreated code.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint