abm_graph_divisions | R Documentation |
After crawling organizational data, this is used for displaying an interactive graph with a force directed network of the units.
abm_graph_divisions(
base_url = "dash/",
use_size = FALSE,
link_encoder = NULL,
links_excluded = NULL,
link_404 = "",
prune_graph = FALSE
)
base_url |
pattern to prefigate links from nodes with in JS click action |
use_size |
boolean to indicate whether to size bubbles by publication volume, default is FALSE |
link_encoder |
function to use for encoding outgoing link identifiers,
default is NULL but can be set to for example
|
links_excluded |
a set of node ids for which links will be excluded, default NULL |
link_404 |
relative url to use for excluded links |
prune_graph |
boolean to indicate if certain non-research nodes should be removed, default: FALSE |
a force directed network object from NetworkD3
forceNetwork
,JS
## Not run:
if(interactive()){
abm_graph_divisions()
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.