c0fec0de/anytree

Tree from python nested dictionary

Opened this issue · 0 comments

Hi there,

Hi there,

is there any easy way to create a tree from a python nested dictionary?
For instance, I would like to turn: {'tax': {'a':{'c':{}, 'd':{}}, 'b': {'e':{}, 'f':{}}}}

tax
--- a
------- c
------- d
--- b
------- e
------- f

In general, I do not understand what format the json_importer takes as input. Could you please provide some examples? It there any online editor to first manually design the tree with nodes and arrows and then export it in the right format?

Thank you.