[英]Javascript Hierarchy/Tree creator
Does anyone know of a javascript or css hierarchy plugin that will accomplish the following:有谁知道将完成以下任务的 javascript 或 css 层次结构插件:
Root
| |
| |
M1 M2
| |
\ /
E
One that will basically do this, start with a root, branch off to two or more nodes, and the possibility that the nodes can meet on a child element below.一个基本上会这样做的,从一个根开始,分支到两个或多个节点,以及节点可以在下面的子元素上相遇的可能性。
Thanks谢谢
You may just need to reverse this.. CSS3 Family Tree你可能只需要扭转这个.. CSS3 家谱
Otherwise you can use Canvas for drawing your required tree structure否则,您可以使用 Canvas 绘制所需的树结构
Or you can use jsPlumb Library .或者您可以使用jsPlumb 库。 See some samples here在此处查看一些示例
Also checkout JavaScript InfoVis Toolkit and GoJS libraries.还可以查看 JavaScript InfoVis Toolkit和GoJS库。
Also checkout D3 library .还结帐D3 库。 Demo1 , Demo2 , Demo3 demo1的, DEMO2 , Demo3
最终使用了我们的原始想法,并使用了http://astuteo.com/slickmap/这使得一些漂亮的层次树。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.