wdesr_load_and_plot | R Documentation |
Conveniently call wdesr_get_graph
and then wdesr_ggplot_graph
.
wdesr_load_and_plot(
wdid,
props = c("composante", "associƩ"),
depth = 3,
active_only = FALSE,
plot_type = "ggplot",
...
)
wdid |
The wikidata id of the root. |
props |
The properties to follows. |
depth |
The depth of the following |
active_only |
TRUE to filter dissolved universities (default to FALSE). |
plot_type |
Either "ggplot" or "plotly" (default to ggplot). |
... |
Additionnal parameters for the plot; see |
A ggplot or a plotly.
Julien Gossa, gossa@unistra.fr
wdesr_clear_cache
wdesr_load_and_plot("Q61716176",c('composante','associƩ'), 1,
node_size = c(10,30), label_sizes = c(3,5), arrow_gap = 0.0,
node_label = "alias", node_type = "text",
edge_label = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.