C# 클래스 Smrf.NodeXL.Layouts.HarelKorenFastMultiscaleLayout

Lays out a graph using the Harel-Koren fast multiscale algorithm.
For details on the layout algorithm, see "A Fast Multi-Scale Method for Drawing Large Graphs," David Harel and Yehuda Koren, Journal of Graph Algorithms and Applications, Vol. 6 No. 3, 2002.

Most property names are identical to the names used in the Harel-Koren paper. The exception is Iterations, which is renamed .

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, its location is left unmodified.

This class wraps a C# implementation written by Janez Brank at Microsoft Research Cambridge in May 2009. The code from Janez is in the file HarelKorenFastMultiscaleLayoutInternal.cs.

상속: LayoutBase
파일 보기 프로젝트 열기: 2014-sed-team3/term-project 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_iLocalIterations System.Int32
m_iMinSize System.Int32
m_iRad System.Int32
m_iRatio System.Int32

공개 메소드들

메소드 설명
AssertValid ( ) : void
HarelKorenFastMultiscaleLayout ( ) : System

Initializes a new instance of the HarelKorenFastMultiscaleLayout class.

보호된 메소드들

메소드 설명
LayOutGraphCore ( IGraph graph, ICollection verticesToLayOut, LayoutContext layoutContext, BackgroundWorker backgroundWorker ) : System.Boolean

메소드 상세

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

HarelKorenFastMultiscaleLayout() 공개 메소드

Initializes a new instance of the HarelKorenFastMultiscaleLayout class.
public HarelKorenFastMultiscaleLayout ( ) : System
리턴 System

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

프로퍼티 상세

m_iLocalIterations 보호되어 있는 프로퍼티

protected Int32,System m_iLocalIterations
리턴 System.Int32

m_iMinSize 보호되어 있는 프로퍼티

protected Int32,System m_iMinSize
리턴 System.Int32

m_iRad 보호되어 있는 프로퍼티

protected Int32,System m_iRad
리턴 System.Int32

m_iRatio 보호되어 있는 프로퍼티

protected Int32,System m_iRatio
리턴 System.Int32