用PHP绘制二叉树 [英] draw binary tree with php

查看:146
本文介绍了用PHP绘制二叉树的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个很好的库/API,以使用PHP绘制二叉树. 我尝试使用Image_GraphViz,但似乎无法正常工作.我也看过phpsyntaxtree,但是没有记录.

或者,我也在寻找可以做到这一点的jQuery插件. (只是不是这一个,因为它没有文档).

谢谢

解决方案

我仍然相信 GraphViz 是什么你需要.如果您在使用时遇到问题,则只需发布有关该问题的问题即可.比找到替代工具要好.

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

解决方案

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.

这篇关于用PHP绘制二叉树的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆