Sticky tooltips

You can use the containerCoordinates property to reposition HTML overlays so that they are over some specific point inside the visualization.

In this example, we will draw an extra circle in one of the groups using groupColorDecorator and show a HTML tooltip pointing at the circle. Additionally, on every FoamTree redraw, we will reposition the tooltip so that it always points at the circle, regardless of zoom, pan and expose transformations.

See also the context menu example.