sg_from_gexf: Graph from GEXF file

Description Usage Arguments Value Examples

View source: R/from_gexf.R

Description

Create a sigmajs graph from a GEXF file.

Usage

1

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

1
2
3
4
5
6
7
## Not run: 
gexf <- "https://gephi.org/gexf/data/yeast.gexf"

sigmajs() %>% 
  sg_from_gexf(gexf) 

## End(Not run)

sigmajs documentation built on July 8, 2020, 5:16 p.m.