Skip to content
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

Feedback after the test with G6VP visualization platform #2742

Open
lidongze0629 opened this issue May 25, 2023 · 1 comment
Open

Feedback after the test with G6VP visualization platform #2742

lidongze0629 opened this issue May 25, 2023 · 1 comment

Comments

@lidongze0629
Copy link
Collaborator

lidongze0629 commented May 25, 2023

Here is the feedback after the test of supported gremlin step with the G6VP visualization platform. I believe some of them may helpful for our GIE engine.

  • Query an edge property is not supported yet.
g.E(<id>).valueMap()
  • Could the result of expandPath operator carry the edge information? It'll be helpful for graph visualization. Thanks for @BingqingLyu, a new option ALL_E may be a good solution.
g.V().both("1..3", "knows").with('RESULT_OPT', 'ALL_E')
  • Now, the result of label operator is a list of numeric, which may be confusing for our user.
g.V().label()
[1,1,1,2,2,2,2]
  • The results' order of querying the properties with multiple vertexes is inconsistent with the vertex input. This will cause that we are not able to query the vertex properties in batch
g.V(1,2,3).valueMap()

/cc @longbinlai

@BingqingLyu
Copy link
Collaborator

BingqingLyu commented May 30, 2023

@lidongze0629 For querying the properties with multiple vertexes, you may try:

g.V().as("a").valueMap().order().by(select("a").by("~id"))

then the results are sorted (by global id).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants