to_json: Converts to json representation

Description Usage Arguments Value Author(s)

Description

This is a nice function that takes a graph structure and converts it to a json format for use on the web.

Usage

1
to_json(graph, file)

Arguments

graph

An object of type igraph

file

A file to write the output to (default missing)

Value

A textual json representation of the graph

Author(s)

Rodney J. Dyer <rjdyer@vcu.edu>


popgraph documentation built on April 14, 2017, 9:58 p.m.