Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Node alignment issue after excel import (Read 2184 times)
Sivaraj p
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 21
Joined: Mar 14th, 2013
Node alignment issue after excel import
Jun 13th, 2013 at 9:36am
Print Post  
Hi stoyo,
     While importing some excel diagrams, I face issues in the alignment of nodes. I have the co-ordinates associated with nodes and connectors. But when the imported diagram is being generated, it appears that some nodes overlap other nodes and few connector end points also overlap on the nodes.

Does mindfusion provide some function or property for proper node and connector alignment? I have tried using autoalignnodes and autoaligndistance.  Sad

I have attached a snapshot of the diagram that was exported as pdf.
  

pdf_export.jpg (Attachment deleted)
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Node alignment issue after excel import
Reply #1 - Jun 13th, 2013 at 10:34am
Print Post  
Hi,

If they don't overlap in the Excel file but do in the imported diagram, you might not be converting the node coordinates or sizes correctly to the diagram's WpfPoint unit. What units are these Excel drawings measured in?

Stoyan
  
Back to top
 
IP Logged
 
Sivaraj p
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 21
Joined: Mar 14th, 2013
Re: Node alignment issue after excel import
Reply #2 - Jun 13th, 2013 at 11:16am
Print Post  
Hi Stoyan,
     The excel shape co-ordinates unit is float.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Node alignment issue after excel import
Reply #3 - Jun 13th, 2013 at 12:25pm
Print Post  
Are you importing from Excel Open XML format / DrawingML specification?
http://en.wikipedia.org/wiki/DrawingML#DrawingML

The English Metric Units used there are defined as 1 / 914400 of an Inch, so to convert to WpfDiagram's default units you must multiply imported coordinates by 914400 / 96.

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