The GraphML File Format
yFiles for HTML uses an extension of the GraphML format to serialize the
contents of a GraphComponent. The format is XML based and describes the graph via XML elements such as
<graph>
, <node>
, <edge>
, and so on. Properties of the elements are described in <data>
elements
that use a certain key
value to correlate them with a property.
While using the yFiles for HTML serialization mechanism provides many advantages and functionality out-of-the-box, it is not mandatory to use the GraphML file format for serialization.