igraphToJson: igraphToJson

Description Usage Arguments Details Value Author(s) Examples

Description

Convert an igraph object to json

Usage

1
igraphToJson(g, mode = c("NORMAL", "EXTENDED", "EMBEDDED", "COMPACT"))

Arguments

g

An igraph object

mode

graphson mode

Details

Converts an igraph object to json with an array holding an array each for nodes and edges.

Value

A string of json text representing the igraph object as an array holding an array each for nodes and edges.

Author(s)

Jared P. Lander

Examples

1
2

jaredlander/GraphConvert documentation built on May 18, 2019, 3:46 p.m.