The DiagramXmlSerializer type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DiagramXmlSerializer |
Methods
| Name | Description | |
|---|---|---|
| CreateBoolean |
Returns a boolean based on the given XAttribute.
| |
| CreateConnection |
Returns a deserialized connection based on the given XElement.
| |
| CreateDiagram |
Returns an instance of the diagram that is being deserialized.
| |
| CreateDouble |
Returns a double based on the given XAttribute.
| |
| CreateLong |
Returns a long based on the given XAttribute.
| |
| CreateNode |
Returns a deserialized node based on the given XElement.
| |
| CreateString |
Returns a string based on the given XAttribute.
| |
| Deserialize |
Deserializes a Diagram from XML.
| |
| Serialize |
Serializes a Diagram to XML.
| |
| SerializeConnectionCore |
Returns an XElement for serializing the given connection.
| |
| SerializeNodeCore |
Returns an XElement for serializing the given node.
| |
| Shape |
Returns a DiagramShape based on the given XAttribute value.
|
Properties
| Name | Description | |
|---|---|---|
| LineTypeNameResolver |
Gets or sets a function used to resolve line type names. This supports custom line types.
If the LineTypeNameResolver is not set, or returns null, then the default resolver is used.
| |
| OnDeserializeCustomConnectionData |
Gets or sets a function used to deserialize custom connection data.
| |
| OnDeserializeCustomNodeData |
Gets or sets a function used to deserialize custom node data.
| |
| OnSerializeCustomConnectionData |
Gets or sets a function used to serialize custom connection data.
| |
| OnSerializeCustomNodeData |
Gets or sets a function used to serialize custom node data.
| |
| ShapeNameResolver |
Gets or sets a function used to resolve shape names. This supports custom shapes.
If the ShapeNameResolver is not set, or returns null, then the default resolver is used.
|