Organization Chart
Draw who reports to whom, with people and roles, so you can show an auditor a current organization chart that follows your People list.
Auditors often ask for a current organization chart. In devguard, you draw it from the people and roles in your organization. You place their cards, add job titles and draw the reporting lines. The chart stays linked to People: when someone leaves, their card disappears, and a role card always shows who holds the role today.
The tasks below follow the order of the work:
- Place people on the chart
- Place roles on the chart
- Add job titles and reporting lines
- Group people and add labels
- Save and share the chart
Scripts and integrations: see API below.

Place people on the chart
You need the app role Owner or Admin.
- Open People, then Organization Chart, and choose Edit Chart. A dot grid appears, and cards snap to it when you drag them.
- Open the add menu: right-click the canvas, choose Add in the toolbar at the bottom, or press
aor/. - Under Team, search for a person and choose them. With a right-click, the card appears where you clicked. With Add or a key, it appears in the middle of the chart.
- Drag the card to its place.

Each person can be on the chart only once. For a person outside your organization, such as an external data protection officer, type their name and choose Add … as external person. External cards have a dashed border and the tag External.
Place roles on the chart
A person card names someone; a role card names a responsibility. Use a role card when the chart should not need an edit every time the responsibility changes hands. The card takes its name and its people from Roles.
- In edit mode, open the add menu. Under Roles, search for a role and choose it. Each role can be on the chart only once.
- Drag the card to its place and draw its reporting lines as you would for a person.
- To show who holds the role, choose the arrow on the card. One person appears as a name under the role, and several appear as a list. The chart saves this choice, and the PDF shows the card the same way.
On the saved chart, anyone can open and close a card with the same arrow. That changes the view for them alone.
A card shows No members when nobody holds the role, and on the saved chart it has a warning border. Like a missing job title, this is a gap that an auditor will ask about.
Add job titles and reporting lines
- Click Add job title under the name on a card and type the title, for example "Head of IT".
- To draw a reporting line, drag from one of the four dots on the edge of a card to another card.

On the saved chart, a card without a job title has a warning border. A missing job title is a gap that an auditor will ask about.
To remove a line, right-click it and choose Delete connection, or select it and press Delete or Backspace. To take a person or a role off the chart, right-click the card and choose Remove from chart. This does not change the person's membership or the role.
Group people and add labels
- Open the add menu and choose Add group. A box with a dashed border appears behind the cards.
- Select the group and drag its corners to resize it. Move the cards into it. Click the group's name to change it, for example to "IT".
- Choose Add label for free text, such as a department name or a note.
To delete a group or a label, right-click it and choose Delete.
Auto-format in the bottom toolbar arranges the cards level by level along the reporting lines. Groups and labels keep their places, so check them afterwards.
Save and share the chart
- Choose Save. A dot on Save shows that you have unsaved changes. Cancel discards them and shows the last saved chart.
- To present the chart, choose the fullscreen button next to Edit Chart.
- To give the chart to an auditor, open Reports, find Organization Chart and choose Generate. You get a PDF with all placed people, roles and reporting lines.
The dashboard has an organization chart card. It shows how many people are placed, how many cards are external, and how many members are not on the chart yet. A member counts as placed on their own card or through a role on the chart.
Reference
What happens when people change
| Change on People | On the chart |
|---|---|
| A person is removed from the organization | The card and its lines disappear. |
| A person is deactivated | The card is dimmed until the person is reactivated. |
| A person changes their name or profile picture | The card shows the new name or picture. |
| A role is renamed, or someone joins or leaves it | The role card shows the change. |
| A role is archived or deleted | The card and its lines disappear. |
If you restore an archived role after the chart was saved without it, place the role again.
Permissions
| Action | Owner, admin | Member, auditor | Organization token |
|---|---|---|---|
| View the chart and export the PDF | Yes | Yes | Read over the API, with the Directory area |
| Edit and save the chart | Yes | No | No |
Limits
A chart holds up to 500 cards, labels and groups, and up to 1000 lines.
API
- Base URL:
https://app.devguard.ch/api. - Authentication: send an API token as
Authorization: Bearer <token>. To change the chart, use a personal token of an owner or admin, set to All organizations. Every other token can at most read the chart.
| Call | Endpoint | Organization id |
|---|---|---|
| Read | GET /organization-chart/ | query, required |
| Replace | PUT /organization-chart/ | body, required |
GET returns the saved chart with its nodes and edges, or null if no chart was saved yet. PUT replaces the whole chart and returns { "success": true, "updatedAt": "..." }. Read the chart first and send all nodes back, or you delete the ones you left out.
Each node has an id, a type and a position with x and y:
| Type | Fields in data |
|---|---|
person | memberId (a member id, not a user id), name (last known; the person's current name is what shows), title |
role | roleId, name (last known; the role's current name is what shows), showMembers |
external | name, title |
label | text |
group | label. The node also takes width and height. |
An edge has an id, a source and a target (node ids). sourceHandle and targetHandle name the side of the card: top, right, bottom or left. A person node whose member is no longer in the organization is not shown, and neither is a role node whose role is archived or deleted. PUT does not save a role node whose roleId is not a role of your organization, nor the edges on it.
API=https://app.devguard.ch/api
curl -sS -G "$API/organization-chart/" \
-H "Authorization: Bearer $DG_TOKEN" \
--data-urlencode "organizationId=$DG_ORG" \
| jq '(.nodes // []) | group_by(.type)
| map({(.[0].type): length}) | add'PUT with a token that may not edit returns 403. A body with more than 500 nodes or 1000 edges returns 400.
How is this guide?