简体   繁体   English

Google Orgchart创造了婚姻

[英]Google Orgchart create marriage

Hi im using Google Orgchart to create a family tree, where I combine three families. 您好我正在使用Google Orgchart创建一个家谱,我将三个家庭组合在一起。

How can I create lines between people who are married but from different families like below. 如何在结婚但来自不同家庭的人之间建立界限。

+----------+                  +----------+
| Family 1 |                  | Family 2 |
+----------+                  +----------+
     |                             |
     |                 +-----------+-----------+
     |                 |                       |
+----------+      +----------+           +-----------+    +----------+
|  Husband |------|   Wife   |           | Wife's Bro|----| Bro's GF |
+----------+      +----------+           +-----------+    +----------+

It's impossible with Google Organizational Chart. 使用Google Organizational Chart是不可能的。 Read documentation of data format. 阅读数据格式的文档。

A table with three string string columns, where each row represents a node in the orgchart. 一个包含三个字符串字符串列的表,其中每一行代表组织结构图中的一个节点。 Here are the three columns: 以下是三列:

Column 0 - The node ID. 第0列 - 节点ID。 It should be unique among all nodes, and can include any characters, including spaces. 它应该在所有节点中是唯一的,并且可以包括任何字符,包括空格。 This is shown on the node. 这显示在节点上。 You can specify a formatted value to show on the chart instead, but the unformatted value is still used as the ID. 您可以指定要在图表上显示的格式化值,但未格式化的值仍用作ID。

Column 1 - [optional] The ID of the parent node. 第1列 - [可选]父节点的ID。 This should be the unformatted value from column 0 of another row. 这应该是另一行的第0列的未格式化值。 Leave unspecified for a root node. 保留未指定的根节点。

Column 2 - [optional] Tool-tip text to show, when a user hovers over this node. 第2列 - [可选]当用户将鼠标悬停在此节点上时显示的工具提示文本。

Each node can have zero or one parent node, and zero or more child nodes. 每个节点可以有零个或一个父节点,以及零个或多个子节点。

You can build multiple trees but it's impossible to join them. 您可以构建多个树,但无法加入它们。 (one of node should have two parents or siblings). (其中一个节点应该有两个父母或兄弟姐妹)。


Try using other library: 尝试使用其他库:

...or maybe integerate with Geni ......或者可能与Geni整合

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

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