gpt4 book ai didi

javascript - Google Orgchart 创造婚姻

转载 作者:数据小太阳 更新时间:2023-10-29 05:08:27 27 4
gpt4 key购买 nike

嗨,我正在使用 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/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com