Shows or hides tooltip for the node.
tooltip(el, text)
| el |
HTML Element, DOM Element |
| tooltip |
string, HTML for the tooltip |
Returns
undefined.
Description
This method is used internally to dispay tooltip when sidebar is flat. The tooltip is shown on the right on the node.