C# Class Smrf.NodeXL.Layouts.RandomLayout

Lays out a graph by placing the vertices in random locations.
If a vertex has a metadata key of with a value of true, it is included in layout calculations but its own location is left unmodified.
Inheritance: LayoutBase
Show file Open project: 2014-sed-team3/term-project

Public Methods

Method Description
AssertValid ( ) : void
RandomLayout ( ) : System

Initializes a new instance of the RandomLayout class.

Protected Methods

Method Description
LayOutGraphCore ( IGraph graph, ICollection verticesToLayOut, LayoutContext layoutContext, BackgroundWorker backgroundWorker ) : System.Boolean

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

LayOutGraphCore() protected method

protected LayOutGraphCore ( IGraph graph, ICollection verticesToLayOut, LayoutContext layoutContext, BackgroundWorker backgroundWorker ) : System.Boolean
graph IGraph
verticesToLayOut ICollection
layoutContext LayoutContext
backgroundWorker System.ComponentModel.BackgroundWorker
return System.Boolean

RandomLayout() public method

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