initializeTreeVertexValues method

void initializeTreeVertexValues(
  1. TreeVertex v
)

Assign initial property values for a TreeVertex.

The values may be inherited, so this method is called while propagating values from the root nodes. This method should not walk the tree, since it is called for each TreeVertex in a depth-first manner starting at a root.

You probably do not need to override this method, but if you do you should call first either the base method or TreeVertex#copyInheritedPropertiesFrom, since they assign most of the TreeVertex property values used to influence the layout. Informational properties such as TreeVertex#descendantCount and TreeVertex#maxGenerationCount will not yet have been initialized by the time this method is called. It is more common to override #assignTreeVertexValues in order to modify a property or two to customize the layout at that node. Please read the Introduction page on Extensions for how to override methods and how to call this base method.

When the TreeVertex#alignment is TreeLayout.AlignmentBusBranching, this will modify the TreeVertex#angle appropriately depending on which side of the bus the vertex is on. @expose @param {TreeVertex} v @since 1.2

Implementation

void initializeTreeVertexValues(_i3.TreeVertex v) {
  _i4.callMethod(
    this,
    'initializeTreeVertexValues',
    [v],
  );
}