Links
You can have different types of links
Rounded linkYou can use OrgChart.LINK_ROUNDED_CORNERS constant to change the radius of the roundet links.
Edge link
Curve link
Link Labels
Link binding in OrgChart JS maps node data to link labels: nodes data:
{ id: "1" },
{ id: "2", pid: "1", createdAt: "Since 08/08/2018" },
{ id: "3", pid: "1", createdAt: "Since 05/04/2018" }
Here is how we bind the link labels:
linkBinding: {
link_field_0: "createdAt"
},
Using the label event you can change the link labels: