Class Edge
Represents the edge.
Inherited Members
Namespace: Platform.Protocols.Gexf
Assembly: Platform.Protocols.dll
Syntax
public class Edge
Fields
| Improve this Doc View SourceElementName
The element name.
Declaration
public static readonly string ElementName
Field Value
Type | Description |
---|---|
String |
IdAttributeName
The id attribute name.
Declaration
public const string IdAttributeName = "id"
Field Value
Type | Description |
---|---|
String |
LabelAttributeName
The label attribute name.
Declaration
public const string LabelAttributeName = "label"
Field Value
Type | Description |
---|---|
String |
SourceAttributeName
The source attribute name.
Declaration
public const string SourceAttributeName = "source"
Field Value
Type | Description |
---|---|
String |
TargetAttributeName
The target attribute name.
Declaration
public const string TargetAttributeName = "target"
Field Value
Type | Description |
---|---|
String |
Properties
| Improve this Doc View SourceId
Gets or sets the id value.
Declaration
public long Id { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
Label
Gets or sets the label value.
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
String |
Source
Gets or sets the source value.
Declaration
public long Source { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
Target
Gets or sets the target value.
Declaration
public long Target { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
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, Int64, Int64, Int64)
Writes the xml using the specified writer.
Declaration
public static void WriteXml(XmlWriter writer, long id, long sourceNodeId, long targetNodeId)
Parameters
Type | Name | Description |
---|---|---|
XmlWriter | writer | The writer.
|
Int64 | id | The id.
|
Int64 | sourceNodeId | The source node id.
|
Int64 | targetNodeId | The target node id.
|
WriteXml(XmlWriter, Int64, Int64, Int64, String)
Writes the xml using the specified writer.
Declaration
public static void WriteXml(XmlWriter writer, long id, long sourceNodeId, long targetNodeId, string label)
Parameters
Type | Name | Description |
---|---|---|
XmlWriter | writer | The writer.
|
Int64 | id | The id.
|
Int64 | sourceNodeId | The source node id.
|
Int64 | targetNodeId | The target node id.
|
String | label | The label.
|