Profile Picture

Losing Connections Between Shapes When Saving as Custom Binary

Posted By Jason Irby 11 Years Ago

Losing Connections Between Shapes When Saving as Custom Binary

Author
Message
Nevron Support
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi Jason,

Thank you for the detailed information, we have managed to reproduce the issue now. We will analyze it and include a fix in the next service pack of Nevron Diagram for .NET.



Best Regards,
Nevron Support Team



Jason Irby
Posted 11 Years Ago
View Quick Profile
Forum Member

Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 59, Visits: 77

Here is a very simple example.

 

(I'm not attaching custom data on tags here but the behavior is the same...)

Using you pre-built Diagram Designer example program that came with version 2012.v1  I create a simple diagram with two shapes connected by a line.

I then save as customXml and as a customBinary. 

If I then open the customXml version the shapes are present and still connected.

If I open the customBinary version, the shapes are present, but they seem to have lost the connection.  Move the shapes and see the line is no long connected.

 

Attaching the two saved files.

 

Thanks,

Jason Irby

 

 



Attachments
test.zip (203 views, 12.00 KB)
Nevron Support
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
Can you provide us with an XML serialized diagram that produces the problem when saved and loaded from CustomBinary?

Best Regards,
Nevron Support Team



Jason Irby
questionmark Posted 11 Years Ago
View Quick Profile
Forum Member

Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 59, Visits: 77

 

We are currently attaching extension objects to the tags of our Nevron shapes in our diagrams.

Accordingly we have been registering the classes with the PersistencyManager and serializing out as CustomXML.

We would like to explore being able to write our documents out as CustomBinary.  However, in our initial tests, saving daigrams out in this format loses connection between shapes spanned by lines or connectors.  The lines and shapes come back after load but they are not longer connected.

I have demostrated this behavior even when saving an example without custom tag objects through the provided Nevron Diagram Designer example.

 

Is there anyway to keep from losing those relationships when saving as CustomBinary?

 

Thanks in advance,

Jason Irby

 

I





Similar Topics


Reading This Topic