Class Gexf
Represents the gexf.
Inherited Members
Namespace: Platform.Protocols.Gexf
Assembly: Platform.Protocols.dll
Syntax
public class Gexf
Constructors
| Improve this Doc View SourceGexf()
Initializes a new Gexf instance.
Declaration
public Gexf()
Fields
| Improve this Doc View SourceCurrentVersion
The current version.
Declaration
public static readonly string CurrentVersion
Field Value
Type | Description |
---|---|
String |
ElementName
The element name.
Declaration
public const string ElementName = "gexf"
Field Value
Type | Description |
---|---|
String |
GraphElementName
The graph element name.
Declaration
public const string GraphElementName = "graph"
Field Value
Type | Description |
---|---|
String |
Namespace
The namespace.
Declaration
public const string Namespace = "http://www.gexf.net/1.2draft"
Field Value
Type | Description |
---|---|
String |
VersionAttributeName
The version attribute name.
Declaration
public const string VersionAttributeName = "version"
Field Value
Type | Description |
---|---|
String |
Properties
| Improve this Doc View SourceGraph
Gets or sets the graph value.
Declaration
public Graph Graph { get; set; }
Property Value
Type | Description |
---|---|
Graph |
Version
Gets or sets the version value.
Declaration
public string Version { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceWriteXml(XmlWriter)
Writes the xml using the specified writer.
Declaration
public void WriteXml(XmlWriter writer)
Parameters
Type | Name | Description |
---|---|---|
XmlWriter | writer | The writer.
|
WriteXml(XmlWriter, Action)
Writes the xml using the specified writer.
Declaration
public static void WriteXml(XmlWriter writer, Action writeGraph)
Parameters
Type | Name | Description |
---|---|---|
XmlWriter | writer | The writer.
|
Action | writeGraph | The write graph.
|
WriteXml(XmlWriter, Action, Action)
Writes the xml using the specified writer.
Declaration
public static void WriteXml(XmlWriter writer, Action writeNodes, Action writeEdges)
Parameters
Type | Name | Description |
---|---|---|
XmlWriter | writer | The writer.
|
Action | writeNodes | The write nodes.
|
Action | writeEdges | The write edges.
|
WriteXml(XmlWriter, Action, Action, String)
Writes the xml using the specified writer.
Declaration
public static void WriteXml(XmlWriter writer, Action writeNodes, Action writeEdges, string version)
Parameters
Type | Name | Description |
---|---|---|
XmlWriter | writer | The writer.
|
Action | writeNodes | The write nodes.
|
Action | writeEdges | The write edges.
|
String | version | The version.
|
WriteXml(XmlWriter, Action, Action, String, GraphMode)
Writes the xml using the specified writer.
Declaration
public static void WriteXml(XmlWriter writer, Action writeNodes, Action writeEdges, string version, GraphMode mode)
Parameters
Type | Name | Description |
---|---|---|
XmlWriter | writer | The writer.
|
Action | writeNodes | The write nodes.
|
Action | writeEdges | The write edges.
|
String | version | The version.
|
GraphMode | mode | The mode.
|
WriteXml(XmlWriter, Action, Action, String, GraphMode, GraphDefaultEdgeType)
Writes the xml using the specified writer.
Declaration
public static void WriteXml(XmlWriter writer, Action writeNodes, Action writeEdges, string version, GraphMode mode, GraphDefaultEdgeType defaultEdgeType)
Parameters
Type | Name | Description |
---|---|---|
XmlWriter | writer | The writer.
|
Action | writeNodes | The write nodes.
|
Action | writeEdges | The write edges.
|
String | version | The version.
|
GraphMode | mode | The mode.
|
GraphDefaultEdgeType | defaultEdgeType | The default edge type.
|
WriteXml(XmlWriter, Action, String)
Writes the xml using the specified writer.
Declaration
public static void WriteXml(XmlWriter writer, Action writeGraph, string version)
Parameters
Type | Name | Description |
---|---|---|
XmlWriter | writer | The writer.
|
Action | writeGraph | The write graph.
|
String | version | The version.
|