javascript 使用 QUERY 或仅使用 CSS 的水平树/组织结构图/uml?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15665384/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Horizontal tree/org chart/uml using QUERY or just CSS?
提问by ven
Wondering if anyone out there has any pointers to a jquery plugin or any other project which would allow one to create a horizontal tree / org chart like the example here:
想知道是否有人有任何指向 jquery 插件或任何其他项目的指针,这些项目将允许人们创建一个水平树/组织结构图,例如这里的示例:
http://www.yworks.com/products/yfilessilverlight/Demo.yFiles.Graph.Collapse.html
http://www.yworks.com/products/yfilessilverlight/Demo.yFiles.Graph.Collapse.html
or
或者
Something not using flash or silveright though... javascript/jquery/css ideal, especially with a collapsible function!
虽然不使用 flash 或 silveright 的东西... javascript/jquery/css 理想,尤其是具有可折叠功能!
Thanks!
谢谢!
回答by Garrett
You can use JIT's (http://philogb.github.com/jit/demos.html) Space Tree
您可以使用 JIT ( http://philogb.github.com/jit/demos.html) 空间树
http://philogb.github.com/jit/static/v20/Jit/Examples/Spacetree/example1.html
http://philogb.github.com/jit/static/v20/Jit/Examples/Spacetree/example1.html
one more example
再举一个例子