Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

230
Views
Gremlin query to get all interconnected vertex value in javascript

Can any one help me to figure out how to fetch content of all vertex which are connected each other in javascript , I need all the values of all vertex which are connected

For example in below diagram I have a business vertex and there are two outgoing edges from business , what I need is all the contents of business vertex and video and image vertex

graph look like this

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Gremlin provides a variety of ways that you might be able to handle this as your description of the desired results was a bit vague. However you will want to use a combination of traversing steps (out() step), filtering steps (has()/hasLabel()) combined with the path() step to get the list of vertices and then return the data using elementMap(). I have put a demonstration of this here:

https://gremlify.com/a78ox51u9os/1

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!