Skip to content

Assistant

OrgChart React AssistantOrgChart React Assistant

You can specify one or more Assistant nodes in one chart by setting 'assistant'' to true in the Employee declaration:

javascript
{
  id: 7,
  pid: 1,
  tags: ["assistant"],
  name: "Rudy Griffiths",
  title: "Assistant",
  img: "https://cdn.balkan.app/shared/9.jpg"
}

Assistant template

If you want to change the template for assistant nodes, specify a template for the "assistant" tag:

javascript
tags: {
    "assistant": {
        template: "mery"
    }
}

Orientation support

Assistant nodes work in all orientation options:

Assistant Orientation Example

assistantSeparation

You can change the spacing between assistant nodes using assistantSeparation. Default value is 100.

Assistant Orientation Example