Hi,
After reading the doc/examples for two days, well, I can run the simple
Tree example ... but I'm still very confuse with the relationship between Tree
and JSON ... specially, how the "ForeignKey" related to rootValue, tree relationship ....
Could someone provide me an PARENT mode example ? For example,
I want have a tree looks like below:
What's the JSON looks like for this tree ?
How many foreignkey I need in DataSource?
What's the root value ?
Thanks a lot.
Regards
KC
After reading the doc/examples for two days, well, I can run the simple
Tree example ... but I'm still very confuse with the relationship between Tree
and JSON ... specially, how the "ForeignKey" related to rootValue, tree relationship ....
Could someone provide me an PARENT mode example ? For example,
I want have a tree looks like below:
Code:
aaa xxx 111 jjj 222 iii bbb yyy 333 444 zzz 555 kkk lll 666
How many foreignkey I need in DataSource?
What's the root value ?
Thanks a lot.
Regards
KC
Comment