C# Class Smrf.NodeXL.Layouts.GraphBinner

Lays out a graph's smaller components in bins.
Inheritance: Object
ファイルを表示 Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Property Type Description
m_iBinLength System.Int32
m_iMaximumVerticesPerBin System.Int32

Public Methods

Method Description
GraphBinner ( ) : System

Initializes a new instance of the GraphBinner class.

LayOutSmallerComponentsInBins ( IGraph graph, ICollection verticesToLayOut, LayoutContext layoutContext, ICollection &remainingVertices, Rectangle &remainingRectangle ) : System.Boolean

Protected Methods

Method Description
GetRemainingVertices ( IList oComponents, Int32 iFirstRemainingComponent ) : ICollection
LayOutComponentInBin ( IGraph oGraph, ICollection oVerticesInComponent, Rectangle oBinRectangle ) : void

Private Methods

Method Description
AssertValid ( ) : void

Method Details

GetRemainingVertices() protected method

protected GetRemainingVertices ( IList oComponents, Int32 iFirstRemainingComponent ) : ICollection
oComponents IList
iFirstRemainingComponent System.Int32
return ICollection

GraphBinner() public method

Initializes a new instance of the GraphBinner class.
public GraphBinner ( ) : System
return System

LayOutComponentInBin() protected method

protected LayOutComponentInBin ( IGraph oGraph, ICollection oVerticesInComponent, Rectangle oBinRectangle ) : void
oGraph IGraph
oVerticesInComponent ICollection
oBinRectangle System.Drawing.Rectangle
return void

LayOutSmallerComponentsInBins() public method

public LayOutSmallerComponentsInBins ( IGraph graph, ICollection verticesToLayOut, LayoutContext layoutContext, ICollection &remainingVertices, Rectangle &remainingRectangle ) : System.Boolean
graph IGraph
verticesToLayOut ICollection
layoutContext LayoutContext
remainingVertices ICollection
remainingRectangle System.Drawing.Rectangle
return System.Boolean

Property Details

m_iBinLength protected_oe property

protected Int32,System m_iBinLength
return System.Int32

m_iMaximumVerticesPerBin protected_oe property

protected Int32,System m_iMaximumVerticesPerBin
return System.Int32