I have document collections dc1 and dc2 and edge collections ec1 and ec2. I use dc1 and ec1 for graph g1 creation and dc2 and ec2 for graph g2.
I perform some search request and get result set which contains documents d1 from collection dc1 and d2 from collection dc2.
And I want to represent search result set in graph viewer as 2 graphs to be able to graphically exlpore possible relations between d1 and other documents in collection dc1 and so for d2 and documents from dc2.
Can I do it in current version of ArangoDB? Do you know any existing additional apps (services, foxx apps) for it?
Now, as dirty trick I created 3rd document collection DC containing documents from both collections dc1 and dc2 and corresponded edge collection EC containing edges from both collections ec1 and ec2, add new node search result into DC and relations into EC represented found dc1 and dc2 and then how graph build based on DC and EC starting with vertex search result. It let me exlore any relations between found results and document from corresponded initial collections.
I think about creation my own foxx app for it (perhaps with temporal collection or something else) if such does not exists yet.
FILTER f.friendOf == u.userId && f.type == "friend"
– dothebart