Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic DiagramLink with multiple texts on it. Is it possible? (Read 5382 times)
Shiner
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 3
Joined: Dec 13th, 2012
DiagramLink with multiple texts on it. Is it possible?
Dec 13th, 2012 at 11:10am
Print Post  
Hello,

I have a requirement that I should be able to add multiple text on the DiagramLink. If not multiple text, but atleast I want to add text at the start of the link, center of link and end of the link. Is this possible? If yes, how can we achieve that?

I have read in some of existing forums that it is possible using DiagramLink.AddLabel method. But, I am not getting this method when I do DiagramLinkObject.AddLabel. May be I am using some older version of dlls. So, if AddLabel is the solution to what I want to achieve, in which version of Mindfusion.Diagramming.Silverlight it is available?

Thanks in Advance!  Smiley
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DiagramLink with multiple texts on it. Is it possible?
Reply #1 - Dec 13th, 2012 at 11:24am
Print Post  
Hi,

Support for multiple labels per link is something we have implemented just recently for other platforms:
http://mindfusion.eu/Forum/YaBB.pl?num=1347948011
http://mindfusion.eu/Forum/YaBB.pl?num=1353410721

It should be available for Silverlight in a few weeks with the DiagramLite 3 release.

If you can't wait, you could create a custom link class that supports more labels as shown here:
http://mindfusion.eu/Forum/YaBB.pl?num=1327392502/1#1

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


I Love MindFusion!

Posts: 3
Joined: Dec 13th, 2012
Re: DiagramLink with multiple texts on it. Is it possible?
Reply #2 - Dec 13th, 2012 at 12:36pm
Print Post  
Hi Stoyan,
Thanks Smiley. I will try with custom link option provided by you.

  
Back to top
 
IP Logged
 
Shiner
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 3
Joined: Dec 13th, 2012
Re: DiagramLink with multiple texts on it. Is it possible?
Reply #3 - Jan 3rd, 2013 at 9:10am
Print Post  
Hello Stoyan,

Happy New Year!!! Smiley

Thanks, custom link option worked for me. Now, I am able to place text at the start and at the end of link as well.

Is multiple label option available for Silverlight now? Will it allow to place text at any point on the line?

And is it possible to achieve following:
- Suppose I have diagram link
- Now, if select diagram link and click on the start anchor point of the link and I want to edit start text, is it possible?
- And will same be possible for end text of the link?
What I want to achieve in above scenario is to add/edit text at the start and end of the link, similar to what is possible now for Center text.
Thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DiagramLink with multiple texts on it. Is it possible?
Reply #4 - Jan 3rd, 2013 at 11:38am
Print Post  
Hi,

We'll release the new version with multiple labels support in a couple of weeks. It allows editing the labels by double click. If using a custom link class, you could override the InplaceEditable interface members to implement that for your labels.

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