-2

In AGEViewer, connection are connected to db cluster. But does not show drop menu items in the current Graph.

For creating a graph, i have run below command and command executed:

SELECT * FROM ag_catalog.create_graph('demo');

But it shows demo graph already exit but not shown on dropdown menu.

Maruf31
  • 17
  • 8

2 Answers2

0

If you only run SELECT * FROM ag_catalog.create_graph('demo'); you will see nothing because you didn't create any vertex or edges.

For creating a vertex run:

SELECT * 
FROM cypher('demo', $$
    CREATE (n)
$$) as (v agtype);

To see the vertex you created run:

SELECT * FROM cypher('demo', $$
MATCH (v)
RETURN v
$$) as (v agtype);
Carla
  • 326
  • 1
  • 7
0

There's a refresh button that loads the new graphs within the dropdown menu, and you can also refresh the entire page. However, if this could be done automatically, it would be nice.

Wendel
  • 763
  • 1
  • 12