To cite rgexf in publications use the following paper:

Vega Yon G (2021). “Building, Importing, and Exporting GEXF Graph Files with rgexf.” Journal of Open Source Software, 6, 3456. doi:10.21105/joss.03456, https://doi.org/10.21105/joss.03456.

And the actual R package:

Vega Yon G, Fábrega Lacoa J, Kunst J (2024). netdiffuseR: Build, Import and Export GEXF Graph Files. doi:10.5281/zenodo.5182708, R package version 0.16.3, https://github.com/gvegayon/rgexf.

Corresponding BibTeX entries:

  @Article{,
    title = {Building, Importing, and Exporting GEXF Graph Files with
      rgexf},
    author = {George {Vega Yon}},
    journal = {Journal of Open Source Software},
    year = {2021},
    month = {jun},
    volume = {6},
    doi = {10.21105/joss.03456},
    url = {https://doi.org/10.21105/joss.03456},
    pages = {3456},
  }
  @Manual{,
    title = {{{netdiffuseR: Build, Import and Export GEXF Graph
      Files}}},
    author = {George {Vega Yon} and Jorge {Fábrega Lacoa} and Joshua
      Kunst},
    year = {2024},
    note = {R package version 0.16.3},
    url = {https://github.com/gvegayon/rgexf},
    doi = {10.5281/zenodo.5182708},
  }