ohmygraph-madeapi-adapter
v1.0.2
Published
Adapter for for [ohmygraph](https://npmjs.org/packages/ohmygraph) restgraph
Downloads
5
Readme
Adapter for for ohmygraph restgraph
Usage
<script type="text/javascript" src="ohmygraph-madeapi-adapter.min.js"></script>
Example
var adapter, fs, jref, json, opts;
adapter = require('ohmygraph-madeapi-adapter');
ohmygraph = require('ohmygraph');
json = .... // put your madeapi json string in here
opts = {};
json = adapter.parse(json, '1.0', opts); // convert first
graph = ohmygraph.create( omg_graph, {} ); // lets go ohmygraph!