We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi all,
I have the following problem: I have n points and I have distances between them. I would like to draw them in 3D (or 2D for the time being).
I can start calculating coordinates of each point (take 1st point as (0,0), 2nd point as (x_2, 0) and calculate (x_3, y_3) from the triangles, and so one, for all points, choosing + or -), right?. Before starting to dig into that I would like to understand whether there is something already out there that could make my life easier. I do not much care about the exact rotation, so I just need to plot them.
I guess I need something like cmdscale from matlab.
Thanks in advance for support! Nune
Answers
Just did a little Googling and found this - it may be of interest:
http://en.wikipedia.org/wiki/Force-directed_graph_drawing
Thanks! this was actually very helpful! I got this library http://toxiclibs.org/ and hope to get what I need from it using http://hg.postspectacular.com/toxiclibs/src/689ddcd9bea39d1f8dddad26e971ae4c12b1198e/examples/physics/Shiffmann_ForceDirectedGraph?at=default