How to create tree doctype and insert data like this image

How to create tree doctype and insert data like this image
image

While creating a new doctype check for is tree field on types of doctypes




just display 3 row the 4 where is it?!

You don’t specify the parent! for 4 and you don’t make is Group?

i could not add new node from view tree see this


It will create a node followed by your naming rules if don’t specify the title field as mandatory

why the left and right field in db is empty??!
and when i add the mandatory field it appear but the check box is still there
but in account tree it does not appear??!
image

Is group checkbox is mandatory by default for tree view to create a childs and groups.
left and right are assigned dynamically.

In account checkbox is appeared and titled by is Group.

but still empty?!

For me they are assigned and used for left and rifgt arrows while updating data.
I think they used as sequence

could you explain the 5 fields