简体   繁体   English

在Rails中使用Google的可视化组织结构图

[英]Using Google's visualization organisation chart with Rails

I intend to implement an Organization Chart in my app and the best resource I found to display one was Google's Organisational Chart . 我打算在我的应用中实施组织结构图,而我发现要显示的最佳资源是Google的组织结构图

I'm using awesome_nested_set to maintain a tree structure in the database, and now I need to display the tree as an organization chart, for which I thought I could use the Google Org chart. 我正在使用awesome_nested_set来维护数据库中的树形结构,现在我需要将树形显示为组织结构图,我认为可以使用Google Org图表。 Can it be done? 能做到吗 If so, any tips or resources would be helpful. 如果是这样,任何提示或资源都将有所帮助。 Thanks ! 谢谢 !

So, I found this resource. 所以,我找到了这个资源。 Its called GoogleVisualR . 它称为GoogleVisualR

It makes visualizing Google's org chart really easy, what's more, you write Ruby code and not a line in Javascript (Unless ofcourse you need to customize it). 它使可视化Google的组织结构图变得非常容易,而且,您编写的是Ruby代码,而不是Java语言中的一行(除非您需要对其进行自定义)。 Nice! 真好!

I was working on an Org Chart where i get User-profiles from a list connected to the with manager field. 我正在处理组织结构图,从连接到with经理字段的列表中获取用户个人资料。 I have used KineticJS to make a dynamic org chart and it is working fine for the moment, but i would like to know what others think about it 我已经使用KineticJS制作了动态的组织结构图,目前它工作正常,但是我想知道其他人对此有何看法

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM