draw binary tree with php

非 Y 不嫁゛ 提交于 2019-12-21 18:05:22

问题


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


回答1:


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




回答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.



来源:https://stackoverflow.com/questions/2325635/draw-binary-tree-with-php

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!