I want to draw a binary tree but the thing is I cannot find any correct javascript plugin. I have googled a lot for a javascript plugin but couldn't find any which would help me and the ones I found did not have a lot of documentation.
I retrieve the binary tree in whihc every record knows whose it's parent is and on which side they are on. that data is encoded into json and sent back to ajax call. I want to draw the binary on this data. Can anybody tell me of any plugin that will help me do this
id |user_id| parent_id |side |depth |created_at | updated_at
My data comes back in a json form. Now in this I have the sides on which they are on and the parent id tells that wich user is it's parent. Now data comes back in a json form which has a array each index having an object in the format which I have given in block quotes. Now I want a a jquery library that takes in the user id as to what to display in as text in them and if they have a parent whose its parent is and on which side they are on