documentationfor yFiles for HTML 2.6

Customizing Graph I/O

This chapter describes how you can customize the serialization mechanism in yFiles for HTML to serialize and deserialize your own data that is bound to graphs and graph elements using the GraphML data format.

How to use the JSON data format for serialization and deserialization of graph information is described in the section about Graph I/O and Printing.

It is essential for custom class serialization to register both regular classes and MarkupExtension classes via addXamlNamespaceMapping.