Build, Import, and Export GEXF Graph Files
Overview
Create, read, and write 'GEXF' (Graph Exchange 'XML' Format) graph files (used in 'Gephi' and others). Using the 'XML' package, rgexf allows reading and writing GEXF files, including attributes, 'GEXF' visual attributes (such as color, size, and position), network dynamics (for both edges and nodes), and edges' weights. Users can build/handle graphs element-by-element or massively through data frames, visualize the graph on a web browser through 'gexf-js' (a 'javascript' library), and interact with the 'igraph' package.
**rgexf is back on CRAN!** The package was archived on CRAN on 2026-05-18
because outstanding check issues were not corrected in time. This release
fixes those issues and returns the package to CRAN.
New features and changes
plot.gexf()now renders graphs as an interactive htmlwidget powered by sigma.js v3 and graphology. Node positions, colours, and sizes are read from theviz:*attributes in the GEXF document.- New
sigmajs()function creates a sigma.js htmlwidget from agexfobject or a path to a.gexffile. Shiny helperssigmajsOutput()andrenderSigmajs()are also available. - The legacy gexf-js file-server renderer is preserved as
plot_gexfjs(). Thegexfjs()htmlwidget (inline iframe approach) is likewise kept for backward compatibility.
Show all changes in 0.17.0Hide the rest of the changes in 0.17.0
gexfjs()now accepts agexfobject in addition to a file path, matchingsigmajs().gexfjs()has an explicit sizing policy: the widget now defaults to the full available width ("100%") and a height of"400px"in knitr documents, the browser, and Shiny alike. Bothgexfjs()andsigmajs()honor user-suppliedwidth/height, and their documented defaults were clarified.
Bug fixes
- The
gexfjs()widget rendered an empty main canvas: the bundledconfig.js(which setszoomLevel,showEdges, and other gexf-js defaults) was never loaded into the iframe, making every screen coordinateNaN. - Icons and images in the
gexfjs()widget (zoom, lens, edge buttons, search icon, Gephi logo) did not display: relativeurl(...)references in the CSS cannot resolve inside asrcdociframe, so images are now inlined as base64 data URIs. - The
gexfjs()widget's node-attribute panel was blank and search did not work: the generated DOM was missing the#leftcontentelement, the search form id had a typo (reacherche), and the autocomplete list was clipped by the title bar.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK7 OK2026-07-24
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 18includes a package overview page
- Examples that run
- 100%15 run in a plain check (9 of them under a condition)
- Exported functions with examples
- 92%
- Documented parameters
- 81%
- Return-value docs
- 92%
- Help pages citing references
- 33%
Also includes 11 demo scripts (run with demo())
Downloads
Repository
- PRs merged (all time)
- 89%
- Median days to close, 50 most recently updated closed issues
- 623
- Median days to close, 50 most recently updated closed PRs
- 0
Forks over time
Commits over time
Commit identities over time
16 development-tooling and community-health practices detected across 9 families in the upstream repository
Checks run against github.com/gvegayon/rgexf on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Funding links: GitHub Sponsors
The repository owner accepts GitHub Sponsors
GitHub Pages site last deployed 2026-10-12 · The repository has a site deploy workflow
Show all practicesHide 5 practices
This repository shows signs of AI coding tools.
- GitHub Copilotfirst seen 2025-11-24Seen in the repository: .github/workflows/copilot-setup-steps.ymlPull request: opened by its own accountCommits: 1 by its own account · at least 2 crediting it in the message
- Claude Codefirst seen 2026-07-22Named in .Rbuildignore: .claudePull request it wrote: opened by a project memberCommits: at least 8 crediting it in the message
- Codexfirst seen 2026-07-22Commits: at least 2 crediting it in the message
- Copilot code reviewCommits: at least 1 accepting its review suggestions
- Claude Sonnet 5.53 commits · Oct 2026
- Claude Opus 4.82 commits · Jul 2026
- Claude Opus 51 commit · Aug 2026
- Claude Opus 5.51 commit · Oct 2026
- Claude Sonnet 51 commit · Sep 2026
Dependencies
Installing rgexf adds 39 packages (22 with compiled code, 33 MB of source tarballs). Heaviest: bslib 5.6 MB, igraph 4.8 MB, promises 3.1 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- unarchivedReturned to CRAN2026-07-23
- 0.17.0Latest2026-07-23 · current release · diff ↗ ·
added 7 exports
gexfjs, gexfjsOutput, plot_gexfjs, renderGexfjs, renderSigmajs, sigmajs, sigmajsOutput - archivedRemoved from CRAN2026-05-18issues were not corrected despite reminders
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.16.32024-07-01 · diff ↗
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.16.22021-08-12 · diff ↗
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- unarchivedReturned to CRAN2020-02-17
- 0.16.02020-02-17 · diff ↗ ·
removed 11 exports
.addNodesEdges, .defAtt, .parseEdgesVizAtt, .parseNodesVizAtt, .parseEdgesWeight, .parseEdgesAtt, .parseEdgesId, .parseNodesAtt, .parseEdgesLabel, .parseDataTypes, .build.and.validate.gexfadded 2 exports
gexf, gexf_js_config - archivedRemoved from CRAN2020-01-16check issues were not corrected in time Invalid writes reported by valgrind
- RR 3.6.0 released · 2019-04-26
Show 14 earlier eventsHide 14 earlier events
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- 0.15.32015-03-24 · diff ↗
- archivedRemoved from CRAN2014-12-22maintainer address <george.vega@nodoschile.org> bounced
- RR 3.1.0 released · 2014-04-10
- 0.14.3.112014-03-11 · diff ↗
- 0.13.82013-08-07 · diff ↗ ·
added 4 exports
.parseDataTypes, .build.and.validate.gexf, igraph.to.gexf, gexf.to.igraph - RR 3.0.0 released · 2013-04-03
- 0.13.032013-03-14 · diff ↗ ·
added 11 exports
.parseEdgesVizAtt, .parseNodesVizAtt, .parseEdgesWeight, .parseEdgesAtt, .parseEdgesId, .parseNodesAtt, .parseEdgesLabel, add.node.spell, add.edge.spell, check.dpl.edges, switch.edges - 0.13.012013-01-04 · diff ↗ ·
removed 1 export
gexfadded 8 exports
write.gexf, read.gexf, new.gexf.graph, add.gexf.node, rm.gexf.node, add.gexf.edge, rm.gexf.edge, edge.list - 0.12.062012-06-19
- RR 2.15.0 released · 2012-03-30
Package metadata
- First published
- 2012-06-19
- Total releases
- 10 / 14 yrs
- License
- MIT + file LICENSE OSI · relicensed from GPL (>= 3) in 0.16.0
- Bundled data
- 32 KB / 2 files
- Download size
- 2.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("rgexf")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
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.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.