Describe here the diagramming tool to be translated and how one can get a json formatted description out of it.
http://hsc.fed.wiki/assets/scripts/import-foreign-json.html HEIGHT 240
Add code here to extract nodes and relations from _json_ and add them to _graph_. Remember node ids in _nids_.
nids.m = graph.addNode('Man', {name:'Pat'}) nids.w = graph.addNode('Woman', {name:'Jane'}) nids.c = graph.addNode('Child', {name:'Ward'})
graph.addRel('Mother', nids.w, nids.c) graph.addRel('Father', nids.m, nids.c)