View source: R/gspace-glyph-accessors.R
| glyph_list | R Documentation |
The edge glyphs available for use in arrowType codes. This is the
RGraphSpace glyph vocabulary, discovered from the built-in Glyph*
objects at package load.
glyph_list()
## S3 method for class 'gs_glyph_list'
plot(
x,
ncol = 3,
legend_title = "Edge glyphs",
by_group = FALSE,
glyph_size = 3,
key_width = 12,
text_size = 10,
...
)
x |
A |
ncol |
Number of columns of keys (ignored when |
legend_title |
Legend title (ignored when |
by_group |
Logical; if |
glyph_size, key_width, text_size |
Sizes passed to
|
... |
Further arguments passed to |
A data frame of class gs_glyph_list, one row per token.
glyph_legend
# List the glyphs as a data frame
glyphs <- glyph_list()
# Plot the glyphs for visual inspection
plot(glyphs)
# Plot the glyphs in one column per group
plot(glyphs, by_group = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.