Description Usage Arguments Details
View source: R/graph-viz-fcns.R
Big old wrapper function. Includes div layers: Place, US routes, interstates, and water.
1 2 3 4 5 6 7 8 9 | flow.map.wrapper(
sfx,
gh = NULL,
edge.attr = "n",
log.transform = T,
map.buffer = units::set_units(5, "miles"),
max.dst = units::set_units(5, "miles"),
...
)
|
gh |
A graph object. Recreates based on |
edge.attr |
Edge attribute to map by. 'n' by default. If generating graph with these functions, tstr is tie strength for undirected graph and perc.to.dest or perc.from.origin is for directed graph. |
... |
Arguments passed on to |
TODO: I think main issue here is that including outside of the bounds can mess up what remains in the bounds... -> actually I think it's an issue of plot size and the scale conversion to pixels.. Lines are thinner than a pixel and become invisible depending on plot size. Need to think about how to handle that. See: https://www.tidyverse.org/blog/2020/08/taking-control-of-plot-scaling/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.