GH_GraphicBranch
ReferencesFields
m_parent
#protected GH_GraphicBranch m_parent
m_twigs
#Properties
LongestPathLength
#Find the longest path in this subtree. This property is forwards recursive, meaning children will be measures, but siblings are ignored.
Selected
#Gets or sets a value that represents the selected state of this branch. Setting this value does not affect child branches.
Twigs
#Gets or set the twigs (sub branches) of this branch. If you're setting twigs, consider using the specialized functions instead.
Methods
BG_Colour
#protected Color BG_Colour()
Distribute_Phylogenetic
#Distribute this branch and all subbranches based on an inward solving algorithm. This distribution results in a standard phylogenetic tree layout. Before this function is called it is important that all Leaf branches already have a correct angle.
public void Distribute_Phylogenetic()
FG_Colour
#protected Color FG_Colour()
GrowTree
#Recursively grow a tree that contains all the given paths. This branch will become a new Root.
RenderBranchTag
#RenderNodes
#RenderTags
#RenderTextDot
#RenderWires_Organic
#RenderWires_Schematic
#SolveBezier
#protected void SolveBezier()
twig,
e,
ref PointF
P0,
ref PointF
P1,
ref PointF
P2,
ref PointF
P3
SolveLeafAngles
#Collects all leafs in this tree and distributes them equally inside an angle domain.
public void SolveLeafAngles()
angle,
Main growth direction of tree (in radians).
spread,
Allowed spread of tree (in radians).
angle_per_item,
Maximum angle per item in radians. This results in a more friedly layout of sparse trees.
args
Display arguments to work with.