Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

Value

A modified version of the sg object.

Examples

## Not run: 
gexf <- "https://gephi.org/gexf/data/yeast.gexf"

sigmajs() %>% 
  sg_from_gexf(gexf) 

## End(Not run)

sigmajs

Interface to 'Sigma.js' Graph Visualization Library

v0.1.5
MIT + file LICENSE
Authors
John Coene [aut, cre, cph] (<https://orcid.org/0000-0002-6637-4107>)
Initial release
2020-06-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.