SquareTreeRenderer

Draws a tree by uniformly subdividing an image into squares. The number of branches at each depth is assumed to be constant and equal to: SquareTreeRendererOptions.Size * SquareTreeRendererOptions.Size

Options

SquareTreeRendererOptions

    public int Size { get; }
    public int ImageSize { get; }
    public float BorderProportion { get; set; }
    public float MinChildDrawSize { get; set; }

    public IViewport Viewport { get; set; }
    public int? MaxDepth { get; set; }

Examples

For more applied examples see 8 Queens Problem and Chess Pieces

Changing BorderProportion

Last updated