Questions tagged [arangodb-graph]
8 questions
0
votes
0 answers
How to perform graph traversals with multiple collections in ArangoDB
I have a graph consisting of 3 document collections and 2 edge collections. I want to perform filtering from one doc collection but need to show the result from all three doc collections.
Graph: AssetWorkTime
Documents Collection: assetnew (consists…

Muhammad Syafiq
- 1
- 1
0
votes
0 answers
Arangodb Cluster Migration to New Cluster
We have a Production 3 nodes(agent/co-ordinator/db-server on each node) Arangodb cluster running on EC2 Instances with OS Amazon Linux 1. Currently we are migrating All our infra instances to Amazon Linux 2 OS.
Question: How can i migrate Arangodb…
0
votes
1 answer
How to pass a Collection as a parameter to a user defined function in ArangoDB
I want to calculate the indegree and outdegree of a node in a graph given the vertex and the edge collection. Below is the code that I have written.
UDF function code:
require("@arangodb/aql/functions").register(
"MYFUNCTIONS::VERTEX::INDEGREE",…

Chaitanya Srinevas
- 17
- 4
0
votes
1 answer
Model decentralized architecture using ArangoDB and querying multiple sources at once
I'm new to ArangoDB and was wondering to model a decentralized architecture using it. As it says in the documentation it supports multiple classes of DBs. I want to make a data model that will have multiple graphs as a small distributed system for…

Siraj Munir
- 11
- 1
0
votes
1 answer
Filter neighbour's INBOUND vertices with path labels in ArangoDB
I have the following graph:
I'd like to write an AQL query that returns all vertices which are neighbor's INBOUND vertices colored in RED from the start vertex colored in GREEN.
I tried the following AQL to retrieve red vertices from the green…

Sajitha Liyanage
- 443
- 7
- 18
0
votes
1 answer
With ArangoDB what is the practical difference between 1 named graph with x edge definitions vs x named graphs with 1 edge definition?
Is the difference only logical / housekeeping related?
I did read this question but the answer there only deals with 1 edge definition vs multiple edge definitions within a graph which is now already covered in the documentation. So I'm curious.

RestOfTheBothWorlds
- 601
- 5
- 13
0
votes
1 answer
ArangoDB Get Tree Root Nodes
I’m storing basic hierarchical game trees in ArangoDB as graphs. Each game tree has a start node, and each node (including the start node) 2-5 edges (actions). I have 2 collections, nodes for vertices and actions for edges.
I’m using the Node JS SDK…

ExoticChimp
- 1,884
- 1
- 19
- 37
0
votes
1 answer
ArrangoDB - Get All Possible Path From Given Value
I want a query to get all possible paths that start from a given vertex.
For exa. as in below image,
I want to find all paths that start from "Covid/12109" with Query.
So it returns like this
{ "_from":"Covid/12109","_to":"Covid/12110" }
{…

jay.jivani
- 1,560
- 1
- 16
- 33