I am using API to build something, but it's not well documentated, so I am moving by guess. I have a 2 variables: g.nodes and g.edges, when I do:
console.log(g.nodes);
console.log(g.edges);
I got output for g.nodes as:
Object {hello: Object, test: Object, test1: Object, test2: Object, test3: Object…}
and for g.edges as :
[Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object]
I understood that g.edges is an array, but what datatype is g.nodes?