Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) Run Time Drag and Drop (Read 6917 times)
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Run Time Drag and Drop
Reply #15 - Feb 4th, 2008 at 5:49pm
Print Post  
Hi,

You could define a custom shape whose text region is set slightly below the shape. Another option is to attach a transparent node to the main shape and display the text there (see the Transparent property and AttachTo method).

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
SC
YaBB Newbies
*
Offline



Posts: 37
Joined: Jan 18th, 2008
Re: Run Time Drag and Drop
Reply #16 - Feb 4th, 2008 at 8:35pm
Print Post  
Hi

I was able to attach text as you suggested but how can I trace back the node that has been attached to the node that has been selected? as I have changed the text through properties but since it is tied to node, it is not udpating the text below it.

I mean is there any method that finds the node attached to a node?

Also how can I export just portion of the drawing instead of the whole things? I am trying to show the relations hierarchically in treeview but when I click on the treeview particular node, it has to show only the conenction below it on the canvas..
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Run Time Drag and Drop
Reply #17 - Feb 5th, 2008 at 7:53am
Print Post  
Hi,

You can access attached nodes through the mainNode.SubordinateGroup.AttachedNodes collection.

You could use the Visible property to show or hide some subset of the diagram items.

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