我有一个'总统'系列:
{"_key": "1", "name": "George Washington"},
{"_key": "2","name": "John Adams"},
{"_key": "3", "name": "Thomas Jefferson"},
{"_key": "4", "name": "James Madison"}
和边缘集合'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"}
如果我将这些导入Graph Viewer,我会得到以下结果:
有没有办法在Graph Viewer中执行此操作?最好使用AQL命令?