Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How do you drag in a text node? (Read 1530 times)
David Cater
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 12
Joined: May 12th, 2012
How do you drag in a text node?
May 17th, 2012 at 12:17am
Print Post  
I want to allow my users to add text labels onto their diagram.  Is there a predefined way to do that, or do I need to fake it up with a ShapeNode with Shape==rectangle, or perhaps create a custom TemplatedNode?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How do you drag in a text node?
Reply #1 - May 17th, 2012 at 5:51am
Print Post  
A rectangular ShapeNode with these properties set should work fine as text label:

IgnoreLayout = true;
AllowOutgoingLinks = true;
AllowIncomingLinks = true;
Transparent = true; // to show only text without background

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