Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Export issue - missing link (Read 3488 times)
choohj70
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 77
Joined: Sep 23rd, 2008
Export issue - missing link
Jan 9th, 2015 at 7:31am
Print Post  
When I try to export diagram (pdf and svg) with polyline links, the result rendering has only first segments of the links drawn and the rest is missing (see attached sample).
Is this a bug?
  

export.PNG ( 30 KB | 130 Downloads )
export.PNG
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Export issue - missing link
Reply #1 - Jan 9th, 2015 at 2:49pm
Print Post  
I could not reproduce that; please attach XML file for your diagram.
  

test.pdf ( 13 KB | 136 Downloads )
Back to top
 
IP Logged
 
choohj70
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 77
Joined: Sep 23rd, 2008
Re: Export issue - missing link
Reply #2 - Jan 10th, 2015 at 8:12am
Print Post  
attaching xml's and resulting exports
  

diag-20150110-001107.zip ( 60 KB | 198 Downloads )
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Export issue - missing link
Reply #3 - Jan 10th, 2015 at 3:34pm
Print Post  
It looks like a bug, for time being you can work around it by disabling crossing arcs or by calling UpdateFromPoints method before exporting:

Code
Select All
protected void OnExport(object sender, EventArgs e)
{
	foreach (var link in diagramView.Diagram.Links)
		link.UpdateFromPoints(false, true);

	//diagramView.Diagram.LinkCrossings = LinkCrossings.Straight;

	var exporter = new PdfExporter();
	exporter.Export(diagramView.Diagram, "test.pdf");
} 



I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
choohj70
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 77
Joined: Sep 23rd, 2008
Re: Export issue - missing link
Reply #4 - Jan 12th, 2015 at 6:01am
Print Post  
It works!
Thank you.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint