sigmajs (version 0.1.2)

sg_from_gexf: Graph from GEXF file

Description

Create a sigmajs graph from a GEXF file.

Usage

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

Run this code
# NOT RUN {
gexf <- system.file("examples/arctic.gexf", package = "sigmajs")

sigmajs() %>% 
  sg_from_gexf(gexf) 

# }

Run the code above in your browser using DataCamp Workspace