C# Класс 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.

Наследование: GraphVertexEdgeBase, IVertex
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
m_oFirstIncidentEdgeNode LinkedListNode
m_oLocation System.Drawing.PointF
m_oParentGraph IGraph

Private Properties

Свойство Тип Описание
Vertex System

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
Vertex ( ) : System

Описание методов

AssertValid() публичный Метод

public AssertValid ( ) : void
Результат void

Clone() публичный Метод

public Clone ( System.Boolean copyMetadataValues, System.Boolean copyTag ) : IVertex
copyMetadataValues System.Boolean
copyTag System.Boolean
Результат IVertex

GetConnectingEdges() публичный Метод

public GetConnectingEdges ( IVertex otherVertex ) : ICollection
otherVertex IVertex
Результат ICollection

GetEdgeCollection() защищенный Метод

protected GetEdgeCollection ( EdgeCollection &oEdgeCollection ) : System.Boolean
oEdgeCollection EdgeCollection
Результат System.Boolean

GetIncomingOrOutgoingEdges() защищенный Метод

protected GetIncomingOrOutgoingEdges ( System.Boolean bIncludeIncoming, System.Boolean bIncludeOutgoing ) : ICollection
bIncludeIncoming System.Boolean
bIncludeOutgoing System.Boolean
Результат ICollection

GetPredecessorOrSuccessorVertices() защищенный Метод

protected GetPredecessorOrSuccessorVertices ( System.Boolean bIncludePredecessor, System.Boolean bIncludeSuccessor ) : ICollection
bIncludePredecessor System.Boolean
bIncludeSuccessor System.Boolean
Результат ICollection

IVertexToVertex() защищенный статический Метод

protected static IVertexToVertex ( IVertex oVertex, String sClassName, String sMethodOrPropertyName ) : Vertex
oVertex IVertex
sClassName String
sMethodOrPropertyName String
Результат Vertex

IsIncidentEdge() публичный Метод

public IsIncidentEdge ( IEdge edge ) : System.Boolean
edge IEdge
Результат System.Boolean

IsIncomingEdge() публичный Метод

public IsIncomingEdge ( IEdge edge ) : System.Boolean
edge IEdge
Результат System.Boolean

IsOutgoingEdge() публичный Метод

public IsOutgoingEdge ( IEdge edge ) : System.Boolean
edge IEdge
Результат System.Boolean

RemoveIncidentEdges() защищенный Метод

protected RemoveIncidentEdges ( ) : void
Результат void

SetParentGraph() защищенный Метод

protected SetParentGraph ( IGraph oParentGraph ) : void
oParentGraph IGraph
Результат void

Описание свойств

m_oFirstIncidentEdgeNode защищенное свойство

protected LinkedListNode m_oFirstIncidentEdgeNode
Результат LinkedListNode

m_oLocation защищенное свойство

protected PointF,System.Drawing m_oLocation
Результат System.Drawing.PointF

m_oParentGraph защищенное свойство

protected IGraph m_oParentGraph
Результат IGraph