C# Class Smrf.NodeXL.Core.Vertex

Represents a vertex.
A vertex, also known as a node, is a point in a graph that can be connected to other vertices in the same graph. The connections are called edges.

A Vertex can be created via its constructor and then added to a graph via IGraph.Vertices., or created and added to a graph at the same time via IGraph.Vertices.IVertexCollection.Add().

A vertex can be added to one graph only. It cannot be added to a second graph unless it is first removed from the first graph.

Inheritance: GraphVertexEdgeBase, IVertex
显示文件 Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Property Type Description
m_oFirstIncidentEdgeNode LinkedListNode
m_oLocation System.Drawing.PointF
m_oParentGraph IGraph

Private Properties

Property Type Description
Vertex System

Public Methods

Method Description
AssertValid ( ) : void
Clone ( System.Boolean copyMetadataValues, System.Boolean copyTag ) : IVertex
GetConnectingEdges ( IVertex otherVertex ) : ICollection
IsIncidentEdge ( IEdge edge ) : System.Boolean
IsIncomingEdge ( IEdge edge ) : System.Boolean
IsOutgoingEdge ( IEdge edge ) : System.Boolean

Protected Methods

Method Description
GetEdgeCollection ( EdgeCollection &oEdgeCollection ) : System.Boolean
GetIncomingOrOutgoingEdges ( System.Boolean bIncludeIncoming, System.Boolean bIncludeOutgoing ) : ICollection
GetPredecessorOrSuccessorVertices ( System.Boolean bIncludePredecessor, System.Boolean bIncludeSuccessor ) : ICollection
IVertexToVertex ( IVertex oVertex, String sClassName, String sMethodOrPropertyName ) : Vertex
RemoveIncidentEdges ( ) : void
SetParentGraph ( IGraph oParentGraph ) : void

Private Methods

Method Description
Vertex ( ) : System

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

Clone() public method

public Clone ( System.Boolean copyMetadataValues, System.Boolean copyTag ) : IVertex
copyMetadataValues System.Boolean
copyTag System.Boolean
return IVertex

GetConnectingEdges() public method

public GetConnectingEdges ( IVertex otherVertex ) : ICollection
otherVertex IVertex
return ICollection

GetEdgeCollection() protected method

protected GetEdgeCollection ( EdgeCollection &oEdgeCollection ) : System.Boolean
oEdgeCollection EdgeCollection
return System.Boolean

GetIncomingOrOutgoingEdges() protected method

protected GetIncomingOrOutgoingEdges ( System.Boolean bIncludeIncoming, System.Boolean bIncludeOutgoing ) : ICollection
bIncludeIncoming System.Boolean
bIncludeOutgoing System.Boolean
return ICollection

GetPredecessorOrSuccessorVertices() protected method

protected GetPredecessorOrSuccessorVertices ( System.Boolean bIncludePredecessor, System.Boolean bIncludeSuccessor ) : ICollection
bIncludePredecessor System.Boolean
bIncludeSuccessor System.Boolean
return ICollection

IVertexToVertex() protected static method

protected static IVertexToVertex ( IVertex oVertex, String sClassName, String sMethodOrPropertyName ) : Vertex
oVertex IVertex
sClassName String
sMethodOrPropertyName String
return Vertex

IsIncidentEdge() public method

public IsIncidentEdge ( IEdge edge ) : System.Boolean
edge IEdge
return System.Boolean

IsIncomingEdge() public method

public IsIncomingEdge ( IEdge edge ) : System.Boolean
edge IEdge
return System.Boolean

IsOutgoingEdge() public method

public IsOutgoingEdge ( IEdge edge ) : System.Boolean
edge IEdge
return System.Boolean

RemoveIncidentEdges() protected method

protected RemoveIncidentEdges ( ) : void
return void

SetParentGraph() protected method

protected SetParentGraph ( IGraph oParentGraph ) : void
oParentGraph IGraph
return void

Property Details

m_oFirstIncidentEdgeNode protected_oe property

protected LinkedListNode m_oFirstIncidentEdgeNode
return LinkedListNode

m_oLocation protected_oe property

protected PointF,System.Drawing m_oLocation
return System.Drawing.PointF

m_oParentGraph protected_oe property

protected IGraph m_oParentGraph
return IGraph