有哪些 javascript 树数据结构可用? [英] What javascript tree data structures are available?

查看:32
本文介绍了有哪些 javascript 树数据结构可用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有用于在 javascript 中操作树的好的库?为了清楚起见,我正在寻找数据结构中的树,而不是显示模型.

Are there good libraries for manipulating trees in javascript? Just to be clear, I am looking for tree as in data structure not display model.

推荐答案

以下是一些可能对您有帮助的库:

Here are some libraries that you may find helpful:

arboreal.js,一个用于遍历和操作树状数据结构的微型库"node.js 和浏览器.

arboreal.js, a "micro-library for traversing and manipulating tree-like data structures" in node.js and the browser.

buckets,一个完整、经过充分测试和记录的数据结构库",包括 BST,堆,以及一堆其他好东西.

buckets, a "complete, fully tested and documented data structure library" that includes BSTs, a heap, and a bunch of other goodies.

这篇关于有哪些 javascript 树数据结构可用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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