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

Lays out a graph by placing the vertices on a spiral.
This layout places a graph's vertices on a spiral scaled to the smaller of the rectangle's dimensions.

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.

If a vertex has a metadata key of with a value of true, it is included in layout calculations but its own location is left unmodified.

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

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

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

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

Initializes a new instance of the SpiralLayout class.

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

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

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

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

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

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

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

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

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