Learn R Programming

rgexf (version 0.16.3)

rgexf-package: Build, Import and Export GEXF Graph Files

Description

Create, read and write GEXF (Graph Exchange XML Format) graph files (used in Gephi and others).

Arguments

Author

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]

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.

References

See Also

Examples

Run this code

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
}

Run the code above in your browser using DataLab