Display more information about nodes

I have a visual graph that represents connections between nodes. Users can find the connection between two nodes by typing names of both ends, which then provides all possible paths from start node to end node like this:

enter image description here

I want to find a way to display information such as Parents, Children etc. in a pleasant way. How can I rearrange or change this to be more suitable and comprehensible for users?

Each option in a tree has an action associated with it, for example: clicking Children -> V2 will take them to that node in a graph.