flow.map.wrapper: flow.map.wrapper

Description Usage Arguments Details

View source: R/graph-viz-fcns.R

Description

Big old wrapper function. Includes div layers: Place, US routes, interstates, and water.

Usage

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"),
  ...
)

Arguments

gh

A graph object. Recreates based on sfx if not supplied

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 setup.gh.wrapper

Details

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/


kmcd39/divflow documentation built on Dec. 21, 2021, 7:38 a.m.