How Relations are created between vertex in graph

graph

(Krishna Raj) #1

Hi Sir,
I can see the relation between the vertex in graph api but i cannot understand which vertex is parent and which vertex is child how to find that through graph api


(Mark Walkom) #2

There's no concept of parent and child in graph, they are simply linked vertices.


(Krishna Raj) #3

but graph will be related based on level hierarchy so how to know which vertex belong to which level

Lets say A is parent of B and C so

   A    -----level 0

B C ------level 1

How to find this in graph

What algorithm they use to create graph


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.