Hi all,
I am trying to integrate RGraph with my data set which is in the form of a Tree. I am using the Javascript implementation of a Tree from the following website
The problem i'm facing with this approach is that when I do a JSON.stringify(tree) where tree is my Tree object, it throws an error stating some cyclic dependency and it can't convert to a JSON string which I believe is the way RGraph expects the input to be. Any ideas on how to solve this problem?
Are there any examples or any pointers as to how to use a Tree data structure with RGraph?
Thanks,
Sharat