prabushitha / gremlin-visualizer

visualize the graph network corresponding to a gremlin query
MIT License
227 stars 70 forks source link

No graph display #25

Open reuableahcim opened 2 years ago

reuableahcim commented 2 years ago

Have been trying to simply display a small graph as I have always done before. Have updated software environment to run

and the latest clone of gremlin-visualizer. Created a couple of graphs through the Console at "a" and "g", with 455 and 11 nodes respectively. Running gremlin-visualizer client on port 3000 and server on 8182 as have always done. I've tried to run it using

issuing "g.V()" and either getting nothing (npm start) or "Invalid query. Please execute a query to get a set of vertices." (npm run client). I've tried to set the proxy server port in package.json and proxy-server.js to 8182 from 3001 to see if that could help but no change in outcomes. Really like your app but am just at a loss.

mugun commented 2 years ago

There is a src/constants.js need to fix const SERVER_URL = 'http://localhost:3001'; export const QUERY_ENDPOINT = ${SERVER_URL}/query; export const COMMON_GREMLIN_ERROR = 'Invalid query. Please execute a query to get a set of vertices'; change SERVER_URL='http://{your node host_name or ip}:3001'; restart gremlin-visualizer and it is worked.

glad4enkonm commented 8 months ago

Have the same problem, constants.js fix is not helping. Maybe the graph itself is empty. 3001 is only the proxy, should I get some message if there is no gremlin running?