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 | setTooltipDismissDelay(obj, msecs)
|
obj |
a |
msecs |
an |
None.
Paul Shannon
setTooltipInitialDelay, setTooltip, setNodeTooltipRule, setEdgeTooltipRule, setNodeTooltipDirect, setEdgeTooltipDirect
1 2 3 4 5 6 7 8 9 10 11 12 13 | window.title = 'setTooltipDismissDelay demo'
cw <- new.CytoscapeWindow (window.title, graph=makeSimpleGraph())
# use node type as the tooltip
setNodeTooltipRule (cw, 'type')
# and edgeType
setEdgeTooltipRule (cw, 'edgeType')
displayGraph (cw)
redraw (cw)
layoutNetwork(cw, 'jgraph-spring')
# have the tooltips popup after 200 milliseconds, and then
# disappear after 3000 (3 seconds)
setTooltipInitialDelay (cw, 200)
setTooltipDismissDelay (cw, 3000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.