-
Notifications
You must be signed in to change notification settings - Fork 250
Add connection method to find multiple relationships easily #264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
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! |
This PR added connection method to generate motif query easier. See the examples in test case.