Annotate nodes with text and a background
Source:R/geom_node_text_filled.R
geom_node_text_filled.RdThis 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.
Usage
geom_node_text_filled(
mapping = NULL,
data = NULL,
position = "identity",
parse = FALSE,
check_overlap = FALSE,
show.legend = NA,
...
)Arguments
- mapping, data, position, parse, check_overlap, show.legend, ...
Arguments passed to the geom that powers
ggraph::geom_node_text(). Note that the additional arguments of that function such asrepelare not supported here.