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

README

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 = JSONToNetworkGraph.new("jsoninput", "first field to use as node", "field to group first nodes", "second field to use as node", "field to group second nodes by")
n.genJSON