feat: add connection method to find multiple relationships easily#264
feat: add connection method to find multiple relationships easily#264goungoun wants to merge 0 commit into
Conversation
Codecov Report
@@ Coverage Diff @@
## master #264 +/- ##
==========================================
+ Coverage 88.49% 88.55% +0.06%
==========================================
Files 20 20
Lines 739 743 +4
Branches 57 58 +1
==========================================
+ Hits 654 658 +4
Misses 85 85
Continue to review full report at Codecov.
|
|
this just create the motif pattern as a string? |
|
Yes. I was searching for Cypher like syntax for (v1)-[*1..5]->(v2) pattern, but I was not able to find it. For a query to find some relations in depth, typing the long pattern manually was not good experience actually. It is just a starting point, and applying any better idea will be appreciated. |
|
I see. Kinda like this http://graphframes.github.io/user-guide.html#tab_python_3 Would it more useful to implement support for variable pattern |
|
Right. But, I am not sure about the syntax is good enough. When I google it literally as it is, it detects the query from a bot and blocks my browser. The other concern is, if it is only for Neo4j not open Cyper standards, will it be ok to use? |
|
I think that's Cypher syntax right? I think that's good to have. |
|
Great! Variable-length pattern matching! |
|
Hello @goungoun ! Thanks for that! Any chance you resolve the merge-conflicts and update the PR? |
2982bf5 to
19ddd86
Compare
|
Hello @SemyonSinchenko! Thanks for reminding me. |
|
@SemyonSinchenko, I opened a new PR to continue on the feature. |
This PR added connection method to generate motif query easier. See the examples in test case.