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
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

보호된 프로퍼티들

프로퍼티 타입 설명
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