Package: netplot 0.4-0

George Vega Yon

netplot: Beautiful Graph Drawing

A graph visualization engine that emphasizes on aesthetics at the same time providing default parameters that yield out-of-the-box-nice visualizations. The package is built on top of 'The Grid Graphics Package' and seamlessly work with 'igraph' and 'network' objects.

Authors:George Vega Yon [aut, cre], Porter Bischoff [aut]

netplot_0.4-0.tar.gz
netplot_0.4-0.zip(r-4.7-any)
netplot_0.4-0.tar.gz(r-4.7-any)netplot_0.4-0.tar.gz(r-4.6-any)
netplot_0.4-0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
netplot/json (API)

# Install 'netplot' in R:
install.packages('netplot', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/usccana/netplot/issues

Pkgdown/docs site:https://usccana.github.io

On CRAN:

Conda:

4.18 score 101 scripts 342 downloads 1 mentions 21 exports 18 dependencies

Last updated from:fc794ae6d8. Checks:5 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK150
source / vignettesOK245
linux-release-x86_64OK140
windows-devel-x86_64OK104
wasm-releaseOK144

Exports:altercolor_formulacolorkeycolorRamp2egoget_edge_gparget_gparget_vertex_gparlocate_vertexmake_colorsmake_edges_colorsmake_vertex_colorsnplotnplot_basenplot_legendnpolygonpiechartsegments_gradientset_edge_gparset_gparset_vertex_gpar

Dependencies:clicodacpp11glueigraphlatticelifecyclemagrittrMatrixnetworkpillarpkgconfigrlangsnastatnet.commontibbleutf8vctrs

Graph drawing with netplot
Introduction | Putting all together | Nodes | Edges | Edge width

Last update: 2026-07-23
Started: 2021-06-16

Mapping aesthetics with formulas
A working example | Coloring vertices: vertex.color = ~ attr | Shaping vertices: vertex.nsides = ~ attr | Putting it together | Scaling edges: edge.width = ~ attr | Applying formulas after the fact

Last update: 2026-07-23
Started: 2026-07-23

Mixing netplot with base graphics

Last update: 2026-07-23
Started: 2021-06-16

Readme and manuals

Help Manual

Help pageTopics
Function to create a color keycolorkey
A faster implementation of grDevices::colorRamp for linear interpolation.colorRamp2
Find a vertex in the current plotlocate_vertex
Create a vector of colors for vertices and edgesmake_colors make_edges_colors make_vertex_colors
Edge-color formulas in 'netplot'alter color_formula ego netplot-formulae
Plot a networknetplot nplot nplot.default nplot.igraph nplot.matrix nplot.network print.netplot
'nplot' using base graphicsnplot_base
Add legend to a netplot objectnplot_legend print.netplot_legend
n-sided polygons Calculate the coordinates for an nsided polygonnpolygon
A flexible piechart.piechart
Draw segments colored by gradientssegments_gradient
Set/retrieve graphical parameters of a 'netplot' objectget_edge_gpar get_gpar get_vertex_gpar set_edge_gpar set_gpar set_vertex_gpar