C# Class SharpNeat.View.Graph.GridLayoutManager

An ILayoutManager that positions nodes evenly spaced out on a grid.
Inheritance: ILayoutManager
Mostra file Open project: colgreen/sharpneat

Public Methods

Method Description
Layout ( IOGraph graph, Size layoutArea ) : void

Layout nodes evenly spaced out on a grid.

Private Methods

Method Description
UpdateModelBounds ( GraphNode node, Size &bounds ) : void

Method Details

Layout() public method

Layout nodes evenly spaced out on a grid.
public Layout ( IOGraph graph, Size layoutArea ) : void
graph IOGraph The network/graph structure to be laid out.
layoutArea System.Drawing.Size The area the structure is to be laid out on.
return void