title: Can't create graph from node/edge collections in ArangoDB 2.2.0
body: <p>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:</p>
  
  <pre><code>Sorry your graph seems to be empty
  </code></pre>
  
  <p>Having a look at the logs there is no error.</p>
  
  <p>Any clues?</p>
  
  <p><img src="https://i.stack.imgur.com/rFMJ5.png" alt="Error screenshot"></p>
  
  <p>EDIT:</p>
  
  <p>I include the UI behaviour I commented:</p>
  
  <p>By default, from/to collections do not show up:</p>
  
  <p><img src="https://i.stack.imgur.com/aMlUl.png" alt="From/To collections do not show up"></p>
  
  <p>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.</p>
  
  <p><img src="https://i.stack.imgur.com/08FLN.png" alt="When clicking the add button or near to it, from/to collections fields show up"></p>