How to get tree view out of the database?

Joined
Nov 16, 2010
Messages
1
Reaction score
0
Hello everyone :
i am working with open source software which is written by python language .
i have a database which contains all the data , and i want to be able to have a tree view out of the database by using python.
i feel bored from searching , i searched a lot on the web but i couldn't find what i want.
i know there is existing many packages , but working with packages is just horrible especially i am using windows OS.
in the database i have 2 tables one for :
1)Nodes(NID,NAME)
2)edges(ID,SNID(source node),DNID(destination node),probability(any float number)
i think the idea behind it is looping over the rows in database ,and for each node it will check if it has child,then it print their information on one level (as they are siblings ),till it reach the level that it has no child .
wish anyone can help :argh:
Amani
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top