Javascript库-如何绘制家谱图或流程图? [英] Javascript Library - How to draw Family Tree Orgchart or Flowchart?
问题描述
我正在寻找一个简单的Javascript库(svg?),可以用来绘制家谱关系.
I'm looking for a simple Javascript Library (svg?) that allow me to draw a family tree relationships.
我在Google上进行了大量搜索,发现了很多有趣的库,例如Raphaël及其扩展名Dracula.Google也有自己的库来制作流程图.
I have searched a lot on google found a lot of interesting libraries like Raphaël and its extention Dracula. Google has its own library to make flowcharts too.
不幸的是,每个库都用单行在节点之间建立关系.如果A和B与C有关系,我将获得2条线:一条从A到C,另一条从B到C.
Unfortunately, every library make a relation between nodes with a single line. If A and B has a relation to C, I will obtain 2 line: one from A to C and one from B to C.
我需要的是从A到B的线(我们称为AB)和从AB到C的线以表示A和B的婚姻.
What I need is a line from A to B (we call it AB) and a line from AB to C to represent the Marriage of A and B.
示例(来源:
谢谢.
推荐答案
我遇到了同样的问题.这是我发现的东西:
I'm having the same problem. Here's what I've found:
您还有其他解决方案吗?
Do you have any other solutions?
这篇关于Javascript库-如何绘制家谱图或流程图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!