Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Links between Nodes- Distortion (Read 4010 times)
jaiswalamit
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 64
Joined: Feb 17th, 2009
Links between Nodes- Distortion
Mar 18th, 2009 at 11:19am
Print Post  
Hi,

I am not sure if it is a bug.

1. I create a Diagram with some 8-10 Shapenodes with images and text
2. I have links between the nodes
3. I have disabled node resize and only have allowed node move.
4. I apply layouting based on a dropdown.
Now
If I move any node even as little as a few millimeters, the diagramlinks going in and out to that particular node gets repositioned and rebuilt in the following way:
1. It doesnot correspond to the current layout on which the diagram is layed out
2. The links start criss crossing each other
3. They just look out of context.

My queries:
1. Can the above problem be solved by some property/workaround
2. I want to stop allowing movements of links, currently I can select a link and point it to another node, I want to disable that.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Links between Nodes- Distortion
Reply #1 - Mar 18th, 2009 at 11:49am
Print Post  
Hi Amit,

The layout classes have effect only at the time you apply them by calling Arrange. They are not considered when you move items subsequently. If that's what you expect, you could apply them again from some event handlers such as LinkCreated.

You can stop moving link by setting them Locked or by calling e.CancelDrag from the LinkModifying handler.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
jaiswalamit
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 64
Joined: Feb 17th, 2009
Re: Links between Nodes- Distortion
Reply #2 - Mar 18th, 2009 at 1:02pm
Print Post  
Hi Stoyan,

Locked property is of which object - DiagramLink's? I could not find it.

Thanks,
Amit
  
Back to top
 
IP Logged
 
jaiswalamit
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 64
Joined: Feb 17th, 2009
Re: Links between Nodes- Distortion
Reply #3 - Mar 24th, 2009 at 1:01pm
Print Post  
Any updates on this Stoyan.

Regards,
Amit
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Links between Nodes- Distortion
Reply #4 - Mar 25th, 2009 at 1:53pm
Print Post  
Hi Amit,

This version adds the Locked property:
https://mindfusion.eu/_temp/diaglite_newprops.zip

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
jaiswalamit
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 64
Joined: Feb 17th, 2009
Re: Links between Nodes- Distortion
Reply #5 - Mar 26th, 2009 at 7:14am
Print Post  

Thanks Stoyan - appreciate it a lot!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint