Graphs and edges

what i want to do is pretty easy to understand. i want something like this:

  • only in 3d.

shouldn`t be to hard to realize… i think vertexbuffer and mesh will do the job (but yet i am not exactly shure how).

still any hint needed