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
Показать файл Открыть проект

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

Метод Описание
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