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
Add meta_util.schema procedure that generates graph schema as a graph result #187
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks OK, just check out the suggestions I left 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but from the optimization side, I think we should make this change of order when checking if the graph is empty, and make sure tests don't break.
Description
Module
meta_util
can be used to generate a graph schema as a graph result. It can be used like this:It will show graph view only in Lab version >= 2.4.0. For earlier versions of the Lab,
UNWIND
needs to be called on returned object propertiesnodes
andedges
.Pull request type
Module/Algorithm
######################################