rgexf-package {rgexf} | R Documentation |
Build, Import and Export GEXF Graph Files
Description
Create, read and write GEXF (Graph Exchange XML Format) graph files (used in Gephi and others).
Details
Using the XML package, it allows the user to easily build/read graph files including attributes, GEXF viz attributes (such as color, size, and position), network dynamics (for both edges and nodes) and edge weighting.
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.
Finally, the functions igraph.to.gexf
and gexf.to.igraph
convert objects from igraph
to gexf
and viceversa keeping
attributes and colors.
Please visit the project home for more information: https://github.com/gvegayon/rgexf.
Note
See the GEXF primer for details on the GEXF graph format: http://gexf.net/1.2draft/gexf-12draft-primer.pdf
Author(s)
Maintainer: George Vega Yon g.vegayon@gmail.com (ORCID)
Other contributors:
Jorge Fábrega Lacoa [contributor]
Joshua Kunst [contributor]
Raphaël Velt (gexf-js library) [copyright holder]
Gephi Consortium (GEXF language) [copyright holder]
Cornelius Fritz (JOSS reviewer) [reviewer]
Jonathan Cardoso Silva (JOSS reviewer) [reviewer]
References
rgexf project site: https://github.com/gvegayon/rgexf
Gephi project site: https://gephi.org/
GEXF project site: https://gexf.net/
gexf-js project website: https://github.com/raphv/gexf-js
Sigmasj project site: https://www.sigmajs.org/
See Also
Useful links:
Examples
if (interactive()) {
demo(gexf) # Example of gexf command using fictional data.
demo(gexfattributes) # Working with attributes.
demo(gexfbasic) # Basic net.
demo(gexfdynamic) # Dynamic net.
demo(edge.list) # Working with edges lists.
demo(gexffull) # All the package.
demo(gexftwitter) # Example with real data of chilean twitter accounts.
demo(gexfdynamicandatt) # Dynamic net with static attributes.
demo(gexfbuildfromscratch) # Example building a net from scratch.
demo(gexfigraph) # Two-way gexf-igraph conversion
demo(gexfrandom) # A nice routine creating a good looking graph
}