Changes in rgexf version 0.17.0 (2026-07-22)
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.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.
Changes in rgexf version 0.16.3 (2024-06-27)
CRAN release: 2024-07-01
- Dynamically loaded components in the Rd files were removed to comply with new CRAN policies.
Changes in rgexf version 0.16.2 (2021-08-10)
CRAN release: 2021-08-12
New features and changes
We now have a hex sticker!
Users can now cite properly
rgexfwith JOSS (seecitation(package="rgexf")).Added a few extra breaks across the examples (suggested by @corneliusfritz).
Improved documentation regarding spells and dynamic graphs (suggested by @jonjoncardoso).
New
head()function allows a glimpse of thenfirst nodes/edges.
Bug fixes
Passing colors with four values (alpha) no longer fails during checks. (reported by @IsabelFE).
The summary function prints nodes’ attributes as expected.
gexf.to.igraphcorrectly processes edge attributes (#38 reported by @balachia).Time range is now correctly computed (#19).
Non-integer ids were incorrectly processed when reading GEXF files.
Changes in rgexf version 0.16.0 (2018-02-05)
CRAN release: 2020-02-17
New features and changes
Function
write.gexfhas a new argument for specifying the GEXF version for now it only changes the header.plot.gexfmethod now usesgexf-jsinstead ofsigma.js.Now
igraph.to.gexfpasses arguments togexf. Before, it was only passingposition. This way users have more flexibility specifying attributes.gexf’snodesVizAttnow has defaults for color, size, and position; this is a requirement ofgexf-js.gexf’snodesVizAttcolor and size now support passing a default for all the nodes. Also, color can be specified as a character scalar (name of the) color, or as an integer (number incolors()).gexfhas a new argument,rescale.node.size. When set toTRUE, thesizevector innodesVizAttis rescaled such that when calling the plot method the largest node spans roughly 5% of the plot.read.gexfnow parses viz attributes (color, position, and size).igraph.to.gexfand vice versa now pass viz attributes and layout.
Changes in rgexf version 0.14.3 (2014-03-09)
New features and changes
New option -digits- in several functions allows controlling for printing precision (reported in issue 16, thanks Nico!).
Function -igraph.to.gexf- now imports attributes.
Bug fixes
Option -defaultedgetype- in the -write.gexf- function now works for static graphs (reported in issue 17, thanks Avitus!).
-datetime- time format in -write.gexf- now works for other formats different from numeric datetime types (reported as issue 15, thanks Thomas Ullmann!).
Correcting errors in -plot.gexf- method, now visual attributes are imported correctly.
Changes in rgexf version 0.13.11 (2013-11-27)
Bug fixes
Included class checks in -gexf- class functions (thanks to Samuel Finegold).
write.gexfdoes not fails when dynamics different fromdoubleare passed (thank you, Samuel Finegold!).Passing weights from igraph to gexf has now been fix (thank you Roberto Brunelli!).
Fixing encoding issues thanks to Yong Cha’s suggestion (thank you!).
Changes in rgexf version 0.13.8 (2013-08-06)
CRAN release: 2013-08-07
Changes in rgexf version 0.13.03 (2013-03-14)
CRAN release: 2013-03-14
New features and changes
New functions
add.node.spellandadd.edge.spellnow allow to work with nodes and edges time spells.New function
check.dpl.edges, written in C, analyzes links and reports duplicates (marking them) and number of times the same link is repeated considering if the graph is directed or not.New function
switch.edges, also written in C, allows to order links representations (source and target) in order to set the smallest id as source and the highest as target.Function
write.gexfnow has an improved error handler. Now parses objects before even opening the XML graph.Edges support id assignment and labeling.
Changes in rgexf version 0.13.01 (2013-01-04)
CRAN release: 2013-01-04
New features and changes
New functions
new.gexf.graph,add.gexf.node,add.gexf.edge,rm.gexf.nodeandrm.gexf.edgeallow to build and manipulategexfobjects from scratch.New function
read.gexfallows to import gexf files asgexfclass objects.gexffunction now it is calledwrite.gexf.Edges now allow weighting.
Viz Attributes (color, shape, size, etc.) can be included in both, nodes and edges.
Real-life datasets have been included.
New function
edge.listbuilds a dataframe of nodes from an edge list.New methods for
gexfobjects:print.gexfandsummary.gexf.