Google Orgchart create marriage

半城伤御伤魂 提交于 2019-12-07 02:13:30

问题


Hi im using Google Orgchart to create a family tree, where I combine three families.

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 |
+----------+      +----------+           +-----------+    +----------+

回答1:


It's impossible with 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. 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.

Column 1 - [optional] The ID of the parent node. This should be the unformatted value from column 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.

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:

  • lib_gg_orgchart. This library support siblings nodes: example1, example2
  • Dracula Graph Library
  • Protovis
  • Ftree

...or maybe integerate with Geni



来源:https://stackoverflow.com/questions/11528321/google-orgchart-create-marriage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!