Graph Algorithms Support/Documentation

Moved from GitHub dgraph/2517

Posted by mbande:

As Neo4j has implemented graph algorithms such as PageRank, is there any plan to support these algorithms?
Or provide some documentation(Best Practices) on how to do that on top of dgraph in a distributed manner?

MichelDiz commented :

Can be implemented but need help for (PRs are welcome). Actually we have one algo already supported
https://docs.dgraph.io/query-language#k-shortest-path-queries

And most of the algorithms could be worked via query. It would certainly be more complex, but for anyone who already understands GraphQL + - (and RDF) and knows the algorithms from their head. You’ll do well doing a mix with GraphQL + - and application (yours) level.

We have to keep in mind that GraphQL + - is very different from that used in Neo4j. If we wanna give some support, you have to think about the lang as a whole.

See:

potatomasterrace commented :

is adding some reflexivity based syntatic sugar on classes (django orm style) in https://github.com/dgraph-io/pydgraph provide a better way to make complex algorithms application level only code ?
python seems more fitting for datascience/algorithms