Organizational Chart Demo (3)

This example shows all the node types that can be rendered with this library. Click on each box to see them. The "10s" series are all "staff" nodes. "11", "12" and "13" are "subordinates" of "10". But, where is "12"? It should be present, because "12A" and "12B" are collaterals... Answer: "12" is a special node with a "visible:false" attribute. This offer a degree of flexibility. Under "121", you will find "1211", "1213" and "1215"; these are "staffleft"; "1212" and "1214" are "stafftop". The "staff" and "collateral" nodes can have children, as in "130B"; note, however, that if you assign children to them, the graph could render not so well. The same is applicable to "staffleft" and "stafftop" nodes with children. These bugs will be fixed in the next release of the library. Remember that besides the node types, they can have a "subtype:dashed" that make the box rendered with another graphics style.


Rendering

(See the JSON code here)


End of rendering

lib_gg_orgchart v1.0.0beta1 - by Gorka G LLona and collaborators - distributed under the LGPL GNU license