vor-knowledge-graph icon indicating copy to clipboard operation
vor-knowledge-graph copied to clipboard

Cannot visualise graph

Open sriniraghu16 opened this issue 7 years ago • 3 comments

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 ?

sriniraghu16 avatar Jul 11 '18 06:07 sriniraghu16

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.

tao-pr avatar Jul 11 '18 15:07 tao-pr

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?

sriniraghu16 avatar Jul 12 '18 06:07 sriniraghu16

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?

tao-pr avatar Jul 13 '18 15:07 tao-pr