Create a sigmajs graph from a GEXF file.

sg_from_gexf(sg, file, sd = NULL)

Arguments

sg

An object of class sigmajsas intatiated by sigmajs.

file

Path to GEXF file.

sd

A SharedData of nodes.

Examples

# NOT RUN {
gexf <- "https://gephi.org/gexf/data/yeast.gexf"

sigmajs() %>%
  sg_from_gexf(gexf)
# }