Function LayerGridGraph.SerializeExtraInfo

SerializeExtraInfo (GraphSerializationContext ctx)

Serializes graph type specific node data.

Protected
void SerializeExtraInfo (

GraphSerializationContext

ctx

)

Serializes graph type specific node data.

This function can be overriden to serialize extra node information (or graph information for that matter) which cannot be serialized using the standard serialization. Serialize the data in any way you want and return a byte array. When loading, the exact same byte array will be passed to the DeserializeExtraInfo function.
These functions will only be called if node serialization is enabled.