寻找一个家谱 [英] Looking for a Family Tree

查看:186
本文介绍了寻找一个家谱的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为具有HTML5要求的Web应用创建Family Tree功能。我已经搜索并找到了一些JS样本,但我找不到符合我要求的样本。我已经尝试过JIT,Rafael,GoJS等。

I am creating Family Tree feature for my web app with HTML5 requirements. I already searched and found some JS samples, but I haven't find any that fit with my requirements. I already tried JIT, Rafael, GoJS, etc.

我发现这是距离GoJS最近的一个:

I found this to be the closest one is from GoJS:


GoJS fam-tree选项#1

但这还不够。我需要通过拖放功能将一个成员与另一个成员连接起来。

But this not enough. I need to connect one member with another member with drag and drop function.

是否有一些JS符合要求或者至少像GoJS一样操作?由于我需要为GoJS支付许可证,然后定制它,预算紧张。非常感谢。

Is there some JS that may fit with the requirements or at least operate like GoJS? Since I need to pay a license for GoJS AND THEN customize it, the budget is tight. Thank you very much.

推荐答案

您正在寻找的功能内置于GoJS。例如,请查看

组织结构图编辑器示例

The functionality you're looking for is built in to GoJS. For instance have a look at the
Org Chart Editor Sample.

您可以双击节点以添加新人,将节点拖到另一个节点上以更改关系,并绘制链接(通过单击拖动操作)从节点的背景到没有boss的其他节点。

You can double click on nodes in order to add a new person, drag a node onto another in order to change relationships, and draw links (with a click drag operation) from a node's background to other nodes that have no "boss".

(如果你希望节点在这个简单的示例中没有Boss,你可以选择和删除链接)

(If you want a node to have no Boss in this simple sample, you can select and delete links)

这篇关于寻找一个家谱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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