Google Orgchart
创建一个家谱,我结合了三个家庭.
如何在结婚但来自不同家庭的人之间建立界限.
+----------+ +----------+ | Family 1 | | Family 2 | +----------+ +----------+ | | | +-----------+-----------+ | | | +----------+ +----------+ +-----------+ +----------+ | Husband |------| Wife | | Wife's Bro|----| Bro's GF | +----------+ +----------+ +-----------+ +----------+
解决方法
阅读数据格式的文档.
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.
您可以构建多个树,但无法加入它们. (其中一个节点应该有两个父母或兄弟姐妹).
尝试使用其他库:
> lib_gg_orgchart.此库支持兄弟节点:example1,example2
> Dracula Graph Library
> Protovis
> Ftree
…或者可能与Geni整合