BubbleTreeItem.draw

Syntax

draw();

Description

The draw method redraws a bubble tree item.

Example

To execute the example, first execute the example on the page with description of the BubbleTreeItem.getNeighbors method.

// Calculate animation frame
item.animationStep(1);
// Redraw element
item.draw();
// Display and draw tooltip
item.switchTooltip(true);
item.drawTooltips();
// Refresh element tooltip settings
item.updateTooltipSettings();
// Refresh tooltip object
item.updateTooltip();

After executing the example a tooltip is displayed, a bubble tree element is redrawn, and animation frame is calculated.

See also:

BubbleTreeItem