is it possible/allowed to use a graph Traversal Object to modify attributes of vertices or edges within the config visitor function ?
modify vertex or edges attributes with a Traversal Object in ArangoDB?
138 Views Asked by Salavat2 At
1
There are 1 best solutions below
Related Questions in GRAPH
- Find a MST in O(V+E) Time in a Graph
- Using chart and tooltip
- What clustering algorithms can I consider for graph?
- Clustering on Graph (using Boost Graph Library)
- How to set a domain on an axis and have the axis intervals not constant or take up different amount of interval spaces using d3
- sort graph by distance to end nodes
- Construct and label a uniform graph in NetworkX using dictionaries?
- Plot: Add legend that overlay several Frames
- Labelling nodes in networkx
- Plotting a data frame in R
- How does boost::subgraph work? Can we use filtered graph?
- How do I make a decaying oscilating function in python?
- Deserialize tree given inorder format?
- Having issues with D3 scale and data binding
- ArangoDB graph operations via REST API
Related Questions in TRAVERSAL
- Haskell lens: let binding of Traversal'
- Traversing with XPath?
- How to traverse all nodes of clang AST?
- Smallest cost traversal of an array
- Recurse through selected level of subdirectories
- Timeout on Neo4j traversal framework
- Stop Cypher traversal when where condition on reduce() can no longer be satisfied
- _.findWhere array-object within array-object property equals something
- How to traverse through an editable UITextView String to check for certain words in Swift
- Fastest way to traverse all edge of a directed attributed graph which stores in adjacency matrix
- modify vertex or edges attributes with a Traversal Object in ArangoDB?
- find path between vertices using edge properties in OrientDB
- Is there any way to get column value on the basis of row number?
- Traversal on different criteria using iterator pattern
- Traverse a list of tuples containg a string and list in python
Related Questions in ARANGODB
- ArangoDb get latest document from all collections
- ArangoDB graph operations via REST API
- Opening Foxx API to local network
- How do I access inserted document's _id within a transaction in ArangoDB
- How to approximate execution time of ArangoDB count function
- How to read data from collection in an ArangoDB Foxx app?
- ArangoDB document database and also a graph database? How is it possible?
- Validating array items with joi in a Foxx app
- GRAPH_TRAVERSAL result enclosed in (Array of) Array of Array in Arangodb
- number of 'graphs' in a ArangoDB database
- In Python, how do I create an edge collection and document for an arangodb?
- Arangodb import via http api using node.js
- Is ArangoDB edge document right place to put additional key-value?
- How to call external function in background tasks in arangodb
- ArangoDB create Vertex REST API without knowing the vertex id's
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Right now the Traversal functionality is read-only due to potential side-effects and deadlock situations. We are improving the traversals at the moment, so this feature will be included soon (it might be in a different way than via the visitor function.
As a workaround for the current release you could do the following: 1) Write a visitor function that returns everything necessary to know which attributes on which objects have to be modified (e.g. a list of object _id values). In a second request you can update all of these documents.
2) Write a Foxx microservice that encapsulates both requests, namely: * Start a transaction function with all potential collections (optional) * Execute the traversal and compute the information to update objects. * Update the documents. * Close the transaction function