View source: R/graph_visualization.R
add_tooltip | R Documentation |
before passing to Cytoscape, add a tooltip attribute to the graph
add_tooltip(
in_graph,
node_data = c("name", "description"),
description,
separator = "\n"
)
in_graph |
the graph to work with |
node_data |
which pieces of node data to use |
description |
other descriptive text to use |
separator |
what separator to use for the tooltip |
the graph with a new nodeData member "tooltip"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.