Write a tidygraph network to GEXF XML format for use with Gephi. Labels are escaped as XML, and directed networks retain their direction.
Examples
# \donttest{
corpus <- sm_example_corpus()
net <- sm_network_cocitation(corpus)
sm_export_gephi(net, tempfile(fileext = ".gexf"))
#> ✔ Network exported to /tmp/RtmpicujyO/file1c5441100549.gexf
# }