Having dictionary with family members how can I create a tree of it?
Dictionary have a structure that looks like this:
{'parent':'Smith', 'children':[
{'parent':'Connor', 'children':[
{'parent':'Alexis','children':[
{'parent':'Joe', 'children':[
{'parent':'Clark','children':[]}]}]},
{'parent':'Sue','children':[]}]},
{'parent':'Cooper', 'children':[
{'parent':'Max','children':[
{'parent':'Luis', 'children':[]},]},
{'parent':'Elvis', 'children':[]},
{'parent':'Steven', 'children':[]}]}]}
After creating family tree, how can I check some dates such as: how to check how many members got entire family or single family of tree.
check how big is entire family tree root or some part of family.
how can I add new members to existing position or to new position inside family tree?
Edit
Adding example of tree:
Smith
Conor
Alexis
Joe
Clark
Sue
Cooper
Max
Luis
Elvis
Steven
Same style as computer system directory.