2
votes

Last week was released ArangoDB 2.2.0 with many nice changes. I want to refactor some AQL graph queries since the API has changed from 2.x to 2.2.x and many methods are now deprecated. The issue is that I can't create a graph from my node/edge collections from the UI, I'm getting the following error:

Sorry your graph seems to be empty

Having a look at the logs there is no error.

Any clues?

Error screenshot

EDIT:

I include the UI behaviour I commented:

By default, from/to collections do not show up:

From/To collections do not show up

When clicking the add button or near to it, from/to collections fields show up. It's not clear to me I should do it to be able to set up the edge definition.

When clicking the add button or near to it, from/to collections fields show up

3

3 Answers

2
votes

I just found out the issue, a UI related one. When specifying the edge definitions, only "Edge defintions" field is displayed but not "fromCollections" and "toCollections" fields. I was a bit confused about it as well, since in the docs I noticed these concepts (in 2.1.2 only edges collection name was necessary). By clicking in the add button (or around it), these fields show up and everything works as expected when filling them in.

0
votes

The graph viewer expects a graph to contain at least one vertex. This message indicates, that your graph does not contain any data. Please make sure that your vertex collections contain at least one document.

0
votes

I am bit confused by your description. In all versions below 2.2 we offered a dialog to configure your graph viewer before actually showing it (there you could select a vertex and an edge collection). Are you using a bookmarked version of this page? It will not work any more. If this is the case, please use the normal graphs tab from the menu and create a new graph where you reference the collections you already have.

If this is not the case the answer above is correct.