Description Usage Arguments Value Author(s) See Also Examples
Specify the number of milliseconds before the tooltip (a small lightweight window) pops up over a node or edge.
1 | setTooltipInitialDelay(obj, msecs)
|
obj |
a |
msecs |
an |
None.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
setTooltipDismissDelay, setTooltip, setNodeTooltipRule, setEdgeTooltipRule, setNodeTooltipDirect, setEdgeTooltipDirect
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | ## Not run:
# WARNING: Method RCy3::setTooltipInitialDelay() is not implemented in RCy3!
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
window.title = 'setTooltipInitialDelay.demo'
cw <- CytoscapeWindow (window.title, graph=makeSimpleGraph())
# use node type as the tooltip
setNodeTooltipRule (cw, 'type')
# and edgeType
setEdgeTooltipRule (cw, 'edgeType')
displayGraph (cw)
layoutNetwork(cw, 'force-directed')
# have the tooltips popup right away, as soon as the mouse hovers
# over a node or edge, and then stay up as long as the mouse
# remains on top of that node or edge
setTooltipInitialDelay (cw, 0)
setTooltipDismissDelay (cw, 0)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.