cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

DSL Depth First Search w Domain Agnostic Logic

rlukas
Node Link

Depth First Search - Neo4j Graph Data Science will traverse the graph just as I need, perfect!..  

I am new to DSL Land but looking forward to using it, a lot. I have a tree structure and would like to rollup (accumulate) values from the children nodes into each node in my tree. Depth First Traversal seems perfect. Depth First returns a path but does not seem to have a mechanism to “execute this chunk of code: add the accumulated values to this node” for each node.  Is there a clever way to do this or should I somehow use the returned path, and process that?

Thanks so much for the Advice, given to a newbie.

0 REPLIES 0