The space tree model shown at
http://thejit.org/Jit/Examples/Spacetree/example1.html
is very useful for me as I am implementing a previous-current-next
page flow visualization model to track pages visited on a website in
the order of visits.
I am facing a problem with having duplicate nodes in JSON, something
like this scenario.
Node2 and Node3 are previous pages to Node1. As Node2 and Node3 must
point to Node1 in the graph, I am using two identical entries of Node1
in the JSON as children to Node2 and Node3, one each. Suppose, Node4
and Node5 are children to Node1, the problem comes when plotting the
graph when Node4 or Node5 is selected. There is an ambiguity as to
which node is the grandparent to Node4 as there are two possibilities
with each copy Node1. The graph breaks.
I would appreciate any suggestions or workarounds to implement this
scenario successfully. Thanks for the cool toolkit :)
Venkat