The MindFusion Forums
Flow Diagramming Components >> ASP.NET >> Visio Export: Connectors Come Unglued
https://mindfusion.eu/Forum/YaBB.pl?num=1523057454

Message started by Chad Hanson (Cherwell) on Apr 6th, 2018 at 11:30pm

Title: Visio Export: Connectors Come Unglued
Post by Chad Hanson (Cherwell) on Apr 6th, 2018 at 11:30pm
Hi. We are having an issue with exported VSDX diagrams, where the shape connectors disconnect from the shapes when you move objects around. We are using version 6.5.1.451.We have checked all settings, glue, etc and they are enabled.

Attaching a screenshot. Thanks in advance for any advice!

Chad Hanson
Cherwell Software
connectors.png ( 41 KB | 217 Downloads )

Title: Re: Visio Export: Connectors Come Unglued
Post by Slavcho on Apr 9th, 2018 at 8:19am
Hi,

I think you'd get that if you enable the DynamicsOff property, try disabling it. Please attach the diagram saved as xml file otherwise.

Regards,
Slavcho
Mindfusion

Title: Re: Visio Export: Connectors Come Unglued
Post by Chad Hanson (Cherwell) on Apr 9th, 2018 at 4:55pm
Thanks for the reply, Slavcho! Attached is a zip file of our diagram. There are several XML files in there, so I'm not sure which one is the right one. I did look at our code and it has these two variants listed throughout for DynamicsOff:

<DynamicsOff>0</DynamicsOff>
<DynamicsOff F="Inh">0</DynamicsOff>

Please let me know if you can take a look. Thanks again.
https://mindfusion.eu/Forum/YaBB.pl?action=downloadfile;file=RelTest1.zip ( 28 KB | 347 Downloads )

Title: Re: Visio Export: Connectors Come Unglued
Post by Slavcho on Apr 9th, 2018 at 7:55pm
Hi Chad,

Could you attach the file created by Diagram.SaveToXml method instead?

Regards,
Slavcho

Title: Re: Visio Export: Connectors Come Unglued
Post by Chad Hanson (Cherwell) on Apr 9th, 2018 at 8:22pm
Will this work? This is XML exported from our export tool by saving the diagram as VDX, then opening that and saving from Notepad++ as XML.
https://mindfusion.eu/Forum/YaBB.pl?action=downloadfile;file=XMLExport.txt ( 278 KB | 215 Downloads )

Title: Re: Visio Export: Connectors Come Unglued
Post by Slavcho on Apr 10th, 2018 at 5:28am
You are populating a Diagram instance at some point before calling VisioExporter, right? Please call the Diagram.SaveToXml method on it and attach the created file. If you don't keep a separate Diagram field, it should still be accessible via DiagramView.Diagram property. We need to check the original diagrams on which VisioExporter works, and the files attached so far are Visio documents.

Regards,
Slavcho

Title: Re: Visio Export: Connectors Come Unglued
Post by Chad Hanson (Cherwell) on Apr 10th, 2018 at 4:03pm
Thanks. I will see about getting you that file today.

Title: Re: Visio Export: Connectors Come Unglued
Post by Chad Hanson (Cherwell) on Apr 10th, 2018 at 7:24pm
Here is the file. Thanks for looking!
https://mindfusion.eu/Forum/YaBB.pl?action=downloadfile;file=cherwell_sample_diagram_export.txt ( 70 KB | 221 Downloads )

Title: Re: Visio Export: Connectors Come Unglued
Post by Slavcho on Apr 11th, 2018 at 9:26am
Hi,

It's not getting unglued for me, testing with latest 6.1 version of the ASP.NET diagram and exporting with default settings -



Could you try exporting with latest version? The shared diagramming.dll's build number there should be 6.5.2.X

Regards,
Slavcho

Title: Re: Visio Export: Connectors Come Unglued
Post by Chad Hanson (Cherwell) on Apr 11th, 2018 at 4:24pm
Thanks. Can you try this: Select All and drag one of the corners of the entire diagram inward, to shrink down everything. Does it come unglued then? That's what we are seeing.

I will look into this upgrade while I wait to hear back. Where do I need to go to get the latest build?

Title: Re: Visio Export: Connectors Come Unglued
Post by Slavcho on Apr 11th, 2018 at 7:15pm
Right, resizing doesn't seem to update links on some sides correctly, our developer will investigate.

Title: Re: Visio Export: Connectors Come Unglued
Post by Chad Hanson (Cherwell) on Apr 11th, 2018 at 7:40pm
Great, thank you and please keep us posted.

Title: Re: Visio Export: Connectors Come Unglued
Post by Slavcho on Apr 25th, 2018 at 6:40pm
Exporting with this version should keep them glued when resizing -
https://mindfusion.eu/_beta/netdiag611.zip

Regards,
Slavcho

The MindFusion Forums » Powered by YaBB 2.6.11!
YaBB Forum Software © 2000-2024. All Rights Reserved.