- xml - AJAX/Jquery XML 解析
- 具有多重继承的 XML 模式
- .net - 枚举序列化 Json 与 XML
- XML 简单类型、简单内容、复杂类型、复杂内容
嗨,我正在使用 Google Orgchart
创建一个家谱,我将三个家庭组合在一起。
如何在已婚但来自不同家庭的人之间建立界限,如下所示。
+----------+ +----------+
| Family 1 | | Family 2 |
+----------+ +----------+
| |
| +-----------+-----------+
| | |
+----------+ +----------+ +-----------+ +----------+
| Husband |------| Wife | | Wife's Bro|----| Bro's GF |
+----------+ +----------+ +-----------+ +----------+
最佳答案
使用 Google 组织结构图是不可能的。阅读数据格式文档。
A table with three string string columns, where each row represents anode in the orgchart. Here are the three columns:
Column 0 - The node ID. It should be unique among all nodes, and caninclude any characters, including spaces. This is shown on the node.You can specify a formatted value to show on the chart instead, butthe unformatted value is still used as the ID.
Column 1 - [optional]The ID of the parent node. This should be the unformatted value fromcolumn 0 of another row. Leave unspecified for a root node.
Column 2 - [optional] Tool-tip text to show, when a user hovers over this node.
Each node can have zero or one parent node, and zero or more child nodes.
您可以 build 多棵树,但无法将它们连接起来。 (其中一个节点应该有两个 parent 或 sibling )。
尝试使用其他库:
...或者可能与 Geni 整合
关于javascript - Google Orgchart 创造婚姻,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11528321/
我是一名优秀的程序员,十分优秀!