Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Move diagramLink in drag-and-drop (Read 1413 times)
SPT
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 1
Joined: Jul 3rd, 2012
Move diagramLink in drag-and-drop
Jul 3rd, 2012 at 8:27am
Print Post  
Is it possible to drag a diagramLink that does not have nodes connected to it?

In our code we allow diagramlink with no connected nodes (only dummyNode).

Scenario:
User selects a region in diagramView with a diagramLink that have one connected node. Dragging the diagramLink will only move the diagramlink endpoint with an connected node. Dragging a diagramLink with no connected nodes will not move the diagramlink. Is it possible to configure the diagram component so that the diagramlink will be moved when doing drag-and-drop in one diagramView?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Move diagramLink in drag-and-drop
Reply #1 - Jul 3rd, 2012 at 10:44am
Print Post  
You can find some code implementing that for multiple links connected to a node here:
http://mindfusion.eu/Forum/YaBB.pl?num=1328615880/1#1

You could adapt it to handle modification of individual links using LinkCreating event handler.

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