draw binary tree with php

2020-07-19 23:52发布

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

2条回答
贪生不怕死
2楼-- · 2020-07-20 00:06

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.

查看更多
【Aperson】
3楼-- · 2020-07-20 00:18

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

查看更多
登录 后发表回答