addComments method

void addComments(
  1. TreeVertex v
)

Find any associated objects to be positioned along with the LayoutVertex#node.

This looks for visible Node's whose category is "Comment" and that refer to the tree vertex's Node. This method is only called when #comments is true.

You may want to override this method in order to customize how any associated objects are found and how the node's LayoutVertex#bounds are set to reserve space for those associated objects. This method should not walk the tree, since it is called for each TreeVertex in an indeterminate order. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @param {TreeVertex} v @since 1.2

Implementation

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