Skip to contents

Draw a flow map

flowmap()
Draw a simplified flow map
format(<milkflow>) print(<milkflow>) plot(<milkflow>)
Methods for milkflow objects

Write the figure

write_svg()
Write the SVG of a flow map to a file
write_html()
Write the interactive page of a flow map to a file
write_tikz()
Write the TikZ picture of a flow map to a file
write_geojson()
Write the GeoJSON of a flow map to a file

The drawing contract

flowmap_json() new_milkflow()
Run the core on JSON text

Example data

demo_nodes demo_flows demo_boundary
Synthetic example data

The package

milkflow milkflow-package
milkflow: Simplified Flow Maps in the Style of Transit Maps