Table of Contents

Class NodeAutoLayoutHelper.TreeNode

Namespace
Ceres.Editor.Graph
Assembly
Ceres.Graph.Editor.dll
public class NodeAutoLayoutHelper.TreeNode
Inheritance
NodeAutoLayoutHelper.TreeNode
Inherited Members

Constructors

TreeNode(float, float, float, CalculateMode)

public TreeNode(float w, float h, float y, NodeAutoLayoutHelper.CalculateMode calculateMode = CalculateMode.Vertical | CalculateMode.Positive)

Parameters

w float
h float
y float
calculateMode NodeAutoLayoutHelper.CalculateMode

Fields

CalculateMode

public readonly NodeAutoLayoutHelper.CalculateMode CalculateMode

Field Value

NodeAutoLayoutHelper.CalculateMode

change

public float change

Field Value

float

children

public readonly List<NodeAutoLayoutHelper.TreeNode> children

Field Value

List<NodeAutoLayoutHelper.TreeNode>

el

public NodeAutoLayoutHelper.TreeNode el

Field Value

NodeAutoLayoutHelper.TreeNode

er

public NodeAutoLayoutHelper.TreeNode er

Field Value

NodeAutoLayoutHelper.TreeNode

h

public float h

Field Value

float

mod

public float mod

Field Value

float

msel

public float msel

Field Value

float

mser

public float mser

Field Value

float

prelim

public float prelim

Field Value

float

shift

public float shift

Field Value

float

tl

public NodeAutoLayoutHelper.TreeNode tl

Field Value

NodeAutoLayoutHelper.TreeNode

tr

public NodeAutoLayoutHelper.TreeNode tr

Field Value

NodeAutoLayoutHelper.TreeNode

w

public float w

Field Value

float

x

public float x

Field Value

float

y

public float y

Field Value

float

Properties

ChildrenCount

public int ChildrenCount { get; }

Property Value

int

Methods

AddChild(TreeNode)

public void AddChild(NodeAutoLayoutHelper.TreeNode child)

Parameters

child NodeAutoLayoutHelper.TreeNode

GetPos()

public Vector2 GetPos()

Returns

Vector2