Finding path between to vertices

Hi,

I have a model having two vertices (person, call) like

person ----(made call)-----call----(received call)—person

I want to find path between two person whether it is a direct contact or indirect contact by providing two phone number as parameters. I know 1-hop path is easy to find, but i am confused about indirect or multihop path.

can any one please help here.

Thank you,

Hanif

We have built-in APIs to find paths between two vertexes.

https://docs.tigergraph.com/dev/restpp-api/built-in-endpoints#path-finding-algorithms

Do you think above can solve your problem?

Thanks.

Hi Chang,

Thank you very much for the response. This surely is helpful thing but I was more interested in writing a query to retrieve shortest path and display it in the graph studio. if I could the query and modify it accordingly.

Appreciate your help.

Thank you