4

I'm looking for a good library / API to draw a binary tree using PHP. I've tried using Image_GraphViz, but it doesn't seem to work. I've also looked at phpsyntaxtree, but its not documented.

Alternatively, I'm also looking for a jQuery plugin that does this. (just not this one because it has no documentation).

Thanks

daniel
  • 1,212
  • 1
  • 18
  • 33

2 Answers2

2

My suggestion is to go with js, because vector graphs are nicer and you can add interactivity anytime.

Try raphael, a good (and perfectly documented) js graph library

homepage | tree graph demo

user187291
  • 53,363
  • 19
  • 95
  • 127
2

I still believe GraphViz is what you need. If you had a problem in using it, just post a question about the problem. It will be better than finding an alternative tool.

Roberto Aloi
  • 30,570
  • 21
  • 75
  • 112