View source: R/geom_node_text_filled.R
geom_node_text_filled | R Documentation |
This geom behaves like ggraph::geom_node_text()
except that it also inserts
a white background behind the text extending to the left margin. This will
only make sense for a horizontal dendrogram graph layout with the root node
on the left.
geom_node_text_filled(
mapping = NULL,
data = NULL,
position = "identity",
parse = FALSE,
check_overlap = FALSE,
show.legend = NA,
...
)
mapping , data , position , parse , check_overlap , show.legend , ... |
Arguments passed to the geom that powers |
This background covers up part of the grid rendered by the coord layer. The reason that this is done as part of the text instead of as a separate layer is so that we have access to the rendered dimensions of the text grobs.
Layer that draws text and background grobs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.