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

Lays out a graph using the Sugiyama layered layout scheme.
This layout uses an algorithm based on Sugiyama's layered layout scheme. It is implemented with the Microsoft Research GLEE (Graph Layout Execution Engine) library. GLEE was developed by Lev Nachmanson of Microsoft Research and was available on the Microsoft Research download site as of January 2007.

The Microsoft.GLEE.dll assembly must be included in the build that uses this class.

상속: LayoutBase
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

공개 메소드들

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

Initializes a new instance of the SugiyamaLayout class.

보호된 메소드들

메소드 설명
GetNodeXLVertexRadius ( LayoutContext oLayoutContext ) : System.Single
GetTransformationMatrix ( Microsoft oGleeGraph, Rectangle oNodeXLGraphRectangle ) : Matrix
GleeCurveToPointFArray ( Microsoft oCurve ) : System.Drawing.PointF[]
GleeCurveToTransformedPointFArray ( Microsoft oCurve, Matrix oTransformationMatrix ) : System.Drawing.PointF[]
GleePointToPointF ( Microsoft oGleePoint ) : PointF
GleePointToTransformedPointF ( Microsoft oGleePoint, Matrix oTransformationMatrix ) : PointF
LayOutGraphCore ( IGraph graph, ICollection verticesToLayOut, LayoutContext layoutContext, BackgroundWorker backgroundWorker ) : System.Boolean
NodeXLEdgeToGleeEdge ( IEdge oEdge ) : Microsoft.Glee.Edge
NodeXLVertexToGleeNode ( IVertex oVertex ) : Microsoft.Glee.Node
OnVertexMoveCore ( IVertex vertex ) : void
TransformLayoutCore ( IGraph graph, LayoutContext originalLayoutContext, LayoutContext newLayoutContext ) : void

메소드 상세

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

GetNodeXLVertexRadius() 보호된 메소드

protected GetNodeXLVertexRadius ( LayoutContext oLayoutContext ) : System.Single
oLayoutContext LayoutContext
리턴 System.Single

GetTransformationMatrix() 보호된 메소드

protected GetTransformationMatrix ( Microsoft oGleeGraph, Rectangle oNodeXLGraphRectangle ) : Matrix
oGleeGraph Microsoft
oNodeXLGraphRectangle System.Drawing.Rectangle
리턴 Matrix

GleeCurveToPointFArray() 보호된 메소드

protected GleeCurveToPointFArray ( Microsoft oCurve ) : System.Drawing.PointF[]
oCurve Microsoft
리턴 System.Drawing.PointF[]

GleeCurveToTransformedPointFArray() 보호된 메소드

protected GleeCurveToTransformedPointFArray ( Microsoft oCurve, Matrix oTransformationMatrix ) : System.Drawing.PointF[]
oCurve Microsoft
oTransformationMatrix Matrix
리턴 System.Drawing.PointF[]

GleePointToPointF() 보호된 메소드

protected GleePointToPointF ( Microsoft oGleePoint ) : PointF
oGleePoint Microsoft
리턴 System.Drawing.PointF

GleePointToTransformedPointF() 보호된 메소드

protected GleePointToTransformedPointF ( Microsoft oGleePoint, Matrix oTransformationMatrix ) : PointF
oGleePoint Microsoft
oTransformationMatrix Matrix
리턴 System.Drawing.PointF

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

NodeXLEdgeToGleeEdge() 보호된 메소드

protected NodeXLEdgeToGleeEdge ( IEdge oEdge ) : Microsoft.Glee.Edge
oEdge IEdge
리턴 Microsoft.Glee.Edge

NodeXLVertexToGleeNode() 보호된 메소드

protected NodeXLVertexToGleeNode ( IVertex oVertex ) : Microsoft.Glee.Node
oVertex IVertex
리턴 Microsoft.Glee.Node

OnVertexMoveCore() 보호된 메소드

protected OnVertexMoveCore ( IVertex vertex ) : void
vertex IVertex
리턴 void

SugiyamaLayout() 공개 메소드

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

TransformLayoutCore() 보호된 메소드

protected TransformLayoutCore ( IGraph graph, LayoutContext originalLayoutContext, LayoutContext newLayoutContext ) : void
graph IGraph
originalLayoutContext LayoutContext
newLayoutContext LayoutContext
리턴 void