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.zip(r-4.6-any)netplot_0.4-0.zip(r-4.5-any)
netplot_0.4-0.tgz(r-4.6-any)netplot_0.4-0.tgz(r-4.5-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://usccana.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:

graph-visualizationigraphnetscinetwork-analysisnetwork-visualizationsnastatnet

6.90 score 53 stars 101 scripts 342 downloads 1 mentions 21 exports 18 dependencies

Last updated from:d31e6cd3c5. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK150
source / vignettesOK254
linux-release-x86_64OK211
macos-release-arm64OK96
macos-oldrel-arm64OK96
windows-devel-x86_64OK102
windows-release-x86_64OK97
windows-oldrel-x86_64OK120
wasm-releaseOK130

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

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: 2018-05-23

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

Last update: 2026-07-22
Started: 2018-04-26

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