Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Custom DiagramLink (Read 7056 times)
jaiswalamit
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 64
Joined: Feb 17th, 2009
Custom DiagramLink
Feb 27th, 2009 at 9:58am
Print Post  
Is there a way how can I create custom Diagramlink between 2 edges.  I want to create a link between 2 nodes with :
1. dotted and dashed line style
2. of custom color and .
3. Various Thickness

Also the Mindfusion.Diagramming.Silverlight.Brushes has only 4 colors: Red, Yellow, Green and Cyan. Can I not have more colors for links.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Custom DiagramLink
Reply #1 - Feb 27th, 2009 at 10:16am
Print Post  
Hi Amit,

Set DiagramLink.Pen = new Pen(...) to set the color and thickness. We'll add support for dash styles in the next few days.

Stoyan
  
Back to top
 
IP Logged
 
jaiswalamit
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 64
Joined: Feb 17th, 2009
Re: Custom DiagramLink
Reply #2 - Feb 27th, 2009 at 2:40pm
Print Post  
Hi Stoyan,

I am not able create any object of Pen class. There is no such class available. Is it in silverlight or mindfusion namespaces?

Moreover, the  DiagramLink.Pen takes a Brush as input and not Pen. Is it in the latest SP of the DiagramLite? In the link mentioned in the NEWS section about 1.0.1, the link downloads the version 1.0.0 and not 1.0.1
https://www.mindfusion.eu/DiagramLiteTrial.zip

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Custom DiagramLink
Reply #3 - Feb 27th, 2009 at 2:47pm
Print Post  
Hi Amit,

I got V1.0.1 from this link. Perhaps you are getting a cached version? Try using some download manager tool to download the file.

Stoyan
  
Back to top
 
IP Logged
 
jaiswalamit
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 64
Joined: Feb 17th, 2009
Re: Custom DiagramLink
Reply #4 - Feb 27th, 2009 at 2:50pm
Print Post  
Interesting Smiley I will retry from someother place.

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


I love YaBB 1G - SP1!

Posts: 64
Joined: Feb 17th, 2009
Re: Custom DiagramLink
Reply #5 - Feb 27th, 2009 at 2:55pm
Print Post  
No I am yet getting the build of 22-Jan 09. And File version after installation is 1.0.0

The MSI size is 1936 KB and the zip size is 1670 KB. Please help.

Regards,

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Custom DiagramLink
Reply #6 - Feb 27th, 2009 at 2:58pm
Print Post  
You might be getting it from a router/proxy machine along the way. The dll we've uploaded for you with the new ResizeToFitItems method should have the Pen class - did you try it?
  
Back to top
 
IP Logged
 
jaiswalamit
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 64
Joined: Feb 17th, 2009
Re: Custom DiagramLink
Reply #7 - Mar 16th, 2009 at 2:18pm
Print Post  
Hi Stoyan,

Is the dotted and dashed line support for diagramlink between nodes could get implemented yet.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Custom DiagramLink
Reply #8 - Mar 16th, 2009 at 2:27pm
Print Post  
We have implemented it and it will be available with the v1.0.2 update in a couple of days. I can send you our daily build if you need it urgently.

Stoyan
  
Back to top
 
IP Logged
 
jaiswalamit
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 64
Joined: Feb 17th, 2009
Re: Custom DiagramLink
Reply #9 - Mar 16th, 2009 at 2:32pm
Print Post  
You are like God. Thanks a tonne, howmuchever I appreciate you, it's less.

I can wait for a couple of days so that it comes with your official patch.

Regards,
Amit
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint