Generates network graphs from a JSON.
JavaScript Ruby
Latest commit 81bc647 Sep 30, 2014 root Separated html and js


This gem generates the link and node data needed for a network graph from any JSON. It also allows you to group nodes by a field (for example, group all people by the companies they work for). If you do not want to group nodes, just put in the same field name again.

To use, download the jsontonetworkgraph gem and require it. Then-
n ="jsoninput", "first field to use as node", "field to group first nodes", "second field to use as node", "field to group second nodes by")