sg_from_gexf: Graph from GEXF file

Description Usage Arguments 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.

Examples

1
2
3
4
gexf <- system.file("examples/arctic.gexf", package = "sigmajs")

sigmajs() %>% 
  sg_from_gexf(gexf) 

JohnCoene/sigmajs documentation built on Nov. 21, 2018, 1:19 p.m.