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 sigmajs as instantiated 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)

JohnCoene/sigmajs documentation built on Feb. 1, 2021, 12:12 p.m.