vor-knowledge-graph
vor-knowledge-graph copied to clipboard
Cannot visualise graph
When I try to visualise the knowledge graph, I get the graph-data.js but the graph-index.js remains empty and html files are not generated.
================================ [Datasource] Processing : { name: 'vor', mapper: [Function: circularGraphMapper], output: 'graph-data.js' }
[Connected] to OrientDB [vor]. All nodes retrieved... Enumerating edges... Transforming nodes & edges ... Initialising I/O ... Serialising graph to JS ... 118 nodes 100 links Graph HTML is ready in ./HTML/
[Datasource] Processing : { name: 'vorindex', mapper: [Function: indexGraphMapper], output: 'graph-index.js' }
[Connected] to OrientDB [vorindex]. All nodes retrieved... Enumerating edges... Remapping nodes... Initialising I/O ... Serialising graph to JS ... 0 nodes 0 links Graph HTML is ready in ./HTML/
Can anyone help me regarding this ?
Based on your output, the word space data graph-data.js should be written with 118 nodes and 100 links. Can you try opening html/graph-universe.html?
The second part of your output suggests that you don't have an index data generated beforehand. This can be done with build_index.py.
I tried opening "html/graph-universe.html" but could find it empty !! Also the "build_index.py" too seems to be empty. what can be done to overcome this?
build_index.py will generate the index data onto your OrientDB. The output database will be created as vorindex. Can you check if it exists and whether it has some nodes/edges inside?