Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Javascript/PHP Family Tree Builder with Multiple Parents [closed]

Is there an existing PHP, Javascript, or even command line tool that can build a family tree in HTML (preferably) or at the very least create an image for it? Multiple parents are a requirement. I have been googling this for hours, but to no avail.

For instance, the Google Organizational Chart would be ideal, but it only allows each node to have at most one parent. I need two parents to be possible.

Whatever this website does would also be perfect: http://www.familyecho.com/, but it seems to not be done with javascript and they don't publish the code that actually creates the visualization.

Even connecting to an external website to use their API to generate a visualization would be perfect.

like image 279
Explosion Pills Avatar asked Apr 12 '11 17:04

Explosion Pills


2 Answers

You might be interested in Raphaël, especially this demo.


Edit: I just came across a couple other promising-looking options from this question.

  • Protovis - I knew about this one when I first answered, but didn't think of it at the time. It's really flexible. Check out the examples.
  • Dracula Graph - haven't tried it. It might be too simple for your uses.
like image 128
Matt Ball Avatar answered Nov 04 '22 07:11

Matt Ball


As it's just the JavaScript you're after (I assume, since you're designing your own schema...) the InfoVis framework provides all sorts of complicated relationships - http://thejit.org/static/v20/Jit/Examples/ForceDirected/example1.html.

like image 5
Dan Blows Avatar answered Nov 04 '22 08:11

Dan Blows