Losing Connections Between Shapes When Saving as Custom Binary


Author
Message
Jason Irby
Jason Irby
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
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


Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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
Jason Irby
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
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 (216 views, 12.00 KB)
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

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


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search