C# Class Smrf.NodeXL.Layouts.PackedGroupRectangleCalculator

Calculates a rectangle for each group of vertices.
This class is used when a BoxLayoutAlgorithm of is specified.

All methods are static.

Exibir arquivo Open project: 2014-sed-team3/term-project

Public Methods

Method Description
CalculateGroupRectangles ( Rectangle graphRectangle, IList sortedGroups, double alpha ) : void

Private Methods

Method Description
ArrangeRemainingGroupsInFreeSpaces ( Rectangle graphRectangle, IList sortedGroups, double gamma, Int32 iSortedGroupCount, Double dTotalNumberOfVertices ) : System.Boolean
LayoutAllGroupsInDonut ( Rectangle graphRectangle, IList sortedGroups, double alpha, double gamma, double ARs, Int32 iSortedGroupCount, Double dTotalNumberOfVertices ) : void
LayoutAllGroupsInU ( Rectangle graphRectangle, IList sortedGroups, double alpha, double gamma, double ARs, Int32 iSortedGroupCount, Double dTotalNumberOfVertices ) : void
PlaceGroupInFreeBox ( GroupInfo groupToBePlaced, double groupArea, FreeSpaceBox freeBox ) : RectangleF
RecalculateFreeSpace ( LinkedListNode freeSpaceBoxNode, RectangleF boxPlaced ) : void

Method Details

CalculateGroupRectangles() public static method

public static CalculateGroupRectangles ( Rectangle graphRectangle, IList sortedGroups, double alpha ) : void
graphRectangle System.Drawing.Rectangle
sortedGroups IList
alpha double
return void