Class XmlSerializableGraph<TVertex, TEdge, TGraph>
A base class that creates a proxy to a graph that is serializable in XML.
Inheritance
System.Object
XmlSerializableGraph<TVertex, TEdge, TGraph>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: QuikGraph.Serialization
Assembly: QuikGraph.Serialization.dll
Syntax
[Serializable]
public class XmlSerializableGraph<TVertex, TEdge, TGraph>
where TEdge : IEdge<TVertex> where TGraph : IMutableVertexAndEdgeListGraph<TVertex, TEdge>, new()
Type Parameters
Name | Description |
---|---|
TVertex | Vertex type. |
TEdge | Edge type. |
TGraph | Graph type. |
Constructors
| Improve this Doc View SourceXmlSerializableGraph()
Initializes a new instance of the XmlSerializableGraph<TVertex, TEdge, TGraph> class.
Declaration
public XmlSerializableGraph()
XmlSerializableGraph(TGraph)
Initializes a new instance of the XmlSerializableGraph<TVertex, TEdge, TGraph> class.
Declaration
public XmlSerializableGraph(TGraph graph)
Parameters
Type | Name | Description |
---|---|---|
TGraph | graph | Graph to serialize. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Properties
| Improve this Doc View SourceEdges
Gets the edges to serialize.
Declaration
public XmlSerializableGraph<TVertex, TEdge, TGraph>.XmlEdgeList Edges { get; set; }
Property Value
Type | Description |
---|---|
XmlSerializableGraph.XmlEdgeList<> |
Graph
Gets the graph to serialize.
Declaration
public TGraph Graph { get; }
Property Value
Type | Description |
---|---|
TGraph |
Vertices
Gets the vertices to serialize.
Declaration
public XmlSerializableGraph<TVertex, TEdge, TGraph>.XmlVertexList Vertices { get; set; }
Property Value
Type | Description |
---|---|
XmlSerializableGraph.XmlVertexList<> |