Data format and program suggestions

I am writing a program which creates a network based on a .csv file. Consider the example below.

1
2
3
node1,0,1,1
node2,1,0,0
node3,1,0,0


the row corresponding to node1 has a 1 in both the 3rd and 4th columns corresponding to nodes 2 and 3 respectively. This means that nodes 3 and 4 are both connected to node1. I want to compile this data and graph it as a tree. Any suggestions on a software package that will allow me to graph this as a tree?

For 2D:
Qt: wonderful library for graphics, but somewhat difficult to get into at first
SDL: cheap and easy library for graphics, what it lacks in funcionality it makes up for in complete ease of use and portability
SFML: sorta like a bigger (but not necessarily better) SDL

For 3D:
OpenGL: the classic one, totally cross-platform
Direct3D: pretty good I heard, might be windows only

Those are the ones I know something about, there are many more out there

My recommendation for you: SDL
Topic archived. No new replies allowed.