Show / Hide Table of Contents

    Class Graph

    Represents the graph.

    Inheritance
    Object
    Graph
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Platform.Protocols.Gexf
    Assembly: Platform.Protocols.dll
    Syntax
    public class Graph

    Constructors

    | Improve this Doc View Source

    Graph()

    Initializes a new Graph instance.

    Declaration
    public Graph()

    Fields

    | Improve this Doc View Source

    DefaultEdgeTypeAttributeName

    The default edge type attribute name.

    Declaration
    public const string DefaultEdgeTypeAttributeName = "defaultedgetype"
    Field Value
    Type Description
    String
    | Improve this Doc View Source

    EdgeElementName

    The edge element name.

    Declaration
    public const string EdgeElementName = "edge"
    Field Value
    Type Description
    String
    | Improve this Doc View Source

    EdgesElementName

    The edges element name.

    Declaration
    public const string EdgesElementName = "edges"
    Field Value
    Type Description
    String
    | Improve this Doc View Source

    ElementName

    The element name.

    Declaration
    public static readonly string ElementName
    Field Value
    Type Description
    String
    | Improve this Doc View Source

    ModeAttributeName

    The mode attribute name.

    Declaration
    public const string ModeAttributeName = "mode"
    Field Value
    Type Description
    String
    | Improve this Doc View Source

    NodeElementName

    The node element name.

    Declaration
    public const string NodeElementName = "node"
    Field Value
    Type Description
    String
    | Improve this Doc View Source

    NodesElementName

    The nodes element name.

    Declaration
    public const string NodesElementName = "nodes"
    Field Value
    Type Description
    String

    Properties

    | Improve this Doc View Source

    DefaultEdgeType

    Gets or sets the default edge type value.

    Declaration
    public GraphDefaultEdgeType DefaultEdgeType { get; set; }
    Property Value
    Type Description
    GraphDefaultEdgeType
    | Improve this Doc View Source

    Edges

    Gets or sets the edges value.

    Declaration
    public List<Edge> Edges { get; set; }
    Property Value
    Type Description
    List<Edge>
    | Improve this Doc View Source

    Mode

    Gets or sets the mode value.

    Declaration
    public GraphMode Mode { get; set; }
    Property Value
    Type Description
    GraphMode
    | Improve this Doc View Source

    Nodes

    Gets or sets the nodes value.

    Declaration
    public List<Node> Nodes { get; set; }
    Property Value
    Type Description
    List<Node>

    Methods

    | Improve this Doc View Source

    WriteXml(XmlWriter)

    Writes the xml using the specified writer.

    Declaration
    public void WriteXml(XmlWriter writer)
    Parameters
    Type Name Description
    XmlWriter writer

    The writer.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    WriteXml(XmlWriter, Action, Action, GraphMode)

    Writes the xml using the specified writer.

    Declaration
    public static void WriteXml(XmlWriter writer, Action writeNodes, Action writeEdges, GraphMode mode)
    Parameters
    Type Name Description
    XmlWriter writer

    The writer.

    Action writeNodes

    The write nodes.

    Action writeEdges

    The write edges.

    GraphMode mode

    The mode.

    | Improve this Doc View Source

    WriteXml(XmlWriter, Action, Action, GraphMode, GraphDefaultEdgeType)

    Writes the xml using the specified writer.

    Declaration
    public static void WriteXml(XmlWriter writer, Action writeNodes, Action writeEdges, GraphMode mode, GraphDefaultEdgeType defaultEdgeType)
    Parameters
    Type Name Description
    XmlWriter writer

    The writer.

    Action writeNodes

    The write nodes.

    Action writeEdges

    The write edges.

    GraphMode mode

    The mode.

    GraphDefaultEdgeType defaultEdgeType

    The default edge type.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX