C# Класс Smrf.NodeXL.Layouts.SortableLayoutBase

Base class for layouts that support vertex sorting and selective layout.
This is the base class for several layouts that support vertex sorting and the layout of a subset of the graph's vertices. The derived class must implement the LayOutGraphCoreSorted abstract method.

If you want the vertices to be placed in a certain order, set the property to an object that will sort them.

If the graph has a metadata key of , only the vertices specified in the value's IVertex collection are laid out and all other vertices are completely ignored.

Наследование: LayoutBase
Показать файл Открыть проект

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

Свойство Тип Описание
m_oVertexSorter IVertexSorter

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

Метод Описание
AssertValid ( ) : void
SortableLayoutBase ( ) : System

Initializes a new instance of the SortableLayoutBase class.

UseMetadataVertexSorter ( IGraph graph ) : void

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

Метод Описание
LayOutGraphCore ( IGraph graph, ICollection verticesToLayOut, LayoutContext layoutContext, BackgroundWorker backgroundWorker ) : System.Boolean
LayOutGraphCoreSorted ( IGraph graph, ICollection verticesToLayOut, LayoutContext layoutContext, BackgroundWorker backgroundWorker ) : System.Boolean

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

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

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

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

protected LayOutGraphCore ( IGraph graph, ICollection verticesToLayOut, LayoutContext layoutContext, BackgroundWorker backgroundWorker ) : System.Boolean
graph IGraph
verticesToLayOut ICollection
layoutContext LayoutContext
backgroundWorker System.ComponentModel.BackgroundWorker
Результат System.Boolean

LayOutGraphCoreSorted() защищенный абстрактный Метод

protected abstract LayOutGraphCoreSorted ( IGraph graph, ICollection verticesToLayOut, LayoutContext layoutContext, BackgroundWorker backgroundWorker ) : System.Boolean
graph IGraph
verticesToLayOut ICollection
layoutContext LayoutContext
backgroundWorker System.ComponentModel.BackgroundWorker
Результат System.Boolean

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

Initializes a new instance of the SortableLayoutBase class.
public SortableLayoutBase ( ) : System
Результат System

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

public UseMetadataVertexSorter ( IGraph graph ) : void
graph IGraph
Результат void

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

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

protected IVertexSorter m_oVertexSorter
Результат IVertexSorter