Skip to content

netplot

0.4-0Package record

Beautiful Graph Drawing

1packages dependsuggested by 1
5.5Kdownloads / year
62.3%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.4-0
  • Attribute formulas for vertex.nsides, vertex.size, and edge.width now evaluate the right-hand side against the graph's attributes, so expressions such as edge.width = ~ log1p(weight) or vertex.size = ~ degree ^ 2 work in addition to bare attribute names. Previously any non-trivial right-hand side failed with a cryptic the condition has length > 1 error. Missing attributes now produce a clear, informative message.
  • vertex.color = ~ attr now draws a legend appropriate to the attribute type: a categorical key for discrete attributes (factor, logical, low-cardinality integer) and a continuous **color bar** for continuous ones.
  • Documentation overhaul: nplot() now documents the formula interface for mapping vertex/edge aesthetics from graph attributes, the README highlights what sets netplot apart, a package-level help page was added, and the pkgdown reference is organized by feature.
Show all changes in 0.4-0Hide the rest of the changes in 0.4-0
  • New vignette "formulas" demonstrating how to color, shape, and size vertices (and scale edge widths) from graph attributes using formulas.
  • nplot.network() now uses the "weight" edge attribute for edge.width by default (like nplot.igraph() already did), so edge widths reflect edge weights instead of being drawn uniformly. edge.width values are also explicitly re-applied to each edge grob after color post-processing to keep the drawn line widths robust. Closes #17.
  • edge.width.range, vertex.size.range, and vertex.label.range now accept NULL to suppress scaling and use the supplied values as-is.
  • Fixed vertex.rot, which was truncated to an integer and so ignored fractional (radian) rotations; the named "square" shape orientation was corrected as well.
  • edge.line.lty is now validated to be length 1 or one value per plotted edge, and is subset correctly when sample.edges drops edges.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 13.8 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • NOTE12 OK, 1 NOTE2026-06-07
Show 1 earlier changeHide 1 earlier change
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.4-0
READMEYes · 406 wordsVignettesYes · 3 · dynamicNEWSYes · 100% structured · mentions 0.4-0Citation fileNoWebsiteYes · pkgdown
Help pages
13 (1 internal)includes a package overview page
Examples that run
100%12 run in a plain check
Exported functions with examples
100%
Documented parameters
73%
Return-value docs
100%
Help pages citing references
0%

Downloads

5.5K
CRAN downloads in the past year
Rank #6,130 · ~15/day · ~456/mo
Daily download trend is not available in this view yet.
50130 days
1.3K90 days
5.5K1 year
Compare downloads with other packages →
Also on767 r2u11 autocran

Repository

53Stars
2Forks
8Open issues
0Open PRs
1Releases
144Commits
3Commit identities
rstatsrpackagenetwork-analysisnetwork-visualizationigraphgraph-visualizationnetscisna
144 commits · Last activity 2026-09-11 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
90%
Median days to close, 50 most recently updated closed issues
276
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-07-12 · 522026-07-07 · 53
PracticesBeta

12 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/usccana/netplot on 2026-10-11.

Continuous integration (3)
GitHub ActionsR CMD check workflowAppVeyor

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Funding

Funding links: GitHub Sponsors

Docs source (4)
README.qmdpkgdown

GitHub Pages site last deployed 2026-09-11 · The repository has a site deploy workflow

Reproducibility and dev environment (2)
MakefileDev Container
Show all practicesHide 2 practices
Research and citation (1)
CITATION.cff
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • GitHub Copilotfirst seen 2026-06-30
    Pull request: opened by its own account
    Commits: 1 by its own account · at least 1 crediting it in the message
  • Claude Codefirst seen 2026-07-22
    Named in .Rbuildignore: .claude, CLAUDE.md
    Pull request it wrote: opened by a project member
    Commits: at least 3 crediting it in the message
  • Codexfirst seen 2026-08-15
    Commits: at least 1 crediting it in the message
Shared conventions any agent may read, so they name no particular tool.
Seen in the repository: AGENTS.md
Models named in its commits
  • Claude Opus 4.82 commits · Jul 2026
  • Claude Opus 51 commit · Aug 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)

Installing netplot adds 16 packages (11 with compiled code, 10 MB of source tarballs). Heaviest: igraph 4.8 MB, vctrs 1.0 MB, rlang 766 KB.

Depends (2)
R >= 3.4.0grid
Imports (6)
graphicsgrDevicesigraphnetworksnastats
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (2)
Author, Maintainer since 0.1-1 (2021)
Author · added in 0.2-0
Releases (4)

Pick two releases to compare their code metrics.

  • 0.4-0Latest
    record
    2026-07-23 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.3-0
    record
    2024-06-30 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2-0
    record
    2023-09-19 · diff ↗ ·
    added 2 exports
    locate_vertex, nplot_legend
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1-1
    record
    2021-06-16
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-06-16
Total releases
4 / 5 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.4.0
Download size
4.9 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("netplot")
Vega Yon, G., & Bischoff, P. (2026). netplot: Beautiful Graph Drawing (Version 0.4-0) [Computer software]. https://doi.org/10.32614/CRAN.package.netplot

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

The repository also keeps a CITATION.cff.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for netplot version 0.4-0 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy