I have a collection 'presidents':
{"_key": "1", "name": "George Washington"},
{"_key": "2","name": "John Adams"},
{"_key": "3", "name": "Thomas Jefferson"},
{"_key": "4", "name": "James Madison"}
and an edge collection 'presidents_relations':
{"_from": "presidents/1", "_to": "presidents/4", "linkType": "likes"},
{"_from": "presidents/3", "_to": "presidents/1", "linkType": "likes"},
{"_from": "presidents/2", "_to": "presidents/4", "linkType": "hates"},
{"_from": "presidents/1", "_to": "presidents/2", "linkType": "likes"},
{"_from": "presidents/1", "_to": "presidents/3", "linkType": "hates"}
If I import these into the Graph Viewer, I get this result:
This is not very informative. What I would like instead is something like this:
Is there a way to do this in the Graph Viewer? Preferably with an AQL command?