简体   繁体   中英

Not able to see edges in web interface of ARANGODB

I have added edge doc as (name of edge is edge1)

{"_from":"test_doc2/2a","_id":"test_edge2/93615","_key":"93615","_rev":"_fcgKVwG--_","_to":"test_doc2/3a"},
{"_from":"test_doc2/3a","_id":"test_edge2/93616","_key":"93616","_rev":"_fcgKVwG--A","_to":"test_doc2/4a"}......

and vertex as(name of document is vertex1)

{"_id":"test_doc2/93490","_key":"93490","_rev":"_fcgIInG---","key":"1a","name":"abc"},
{"_id":"test_doc2/93491","_key":"93491","_rev":"_fcgIInG--_","key":"2a","name":"bcd"}......

and then making a graph in which EDGE is 'edge1' and in from and to both 'vertex1' is selected.

Web 界面上显示的图表

When I want to see this in web interface nodes are visible but not the edges. Why?

The document identifiers referenced in the _from and _to attributes of the edges do not match with the identifiers of your vertices.

For example, you reference "test_doc2/2a" but the actual value is "test_doc2/93491" . The document ID is the collection name, a forward slash and the _key value (note the underscore). The values of other attributes are irrelevant, including your key attribute.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM