GitHunt
JA

Jakbor32/org-chart-spfx

SPFx Org Chart web part for SharePoint with Graph data, fullscreen search, and customizable templates.

Org Chart (SPFx)

A SharePoint Online web part that visualizes organizational structure using Microsoft Graph.
orgchart-gif

Features

  • movable view allows grab and move the view with the mouse
  • enable/disable search engine search for person + move screen to person
  • set root user by email
  • expanding branches downwards if the user has subordinates
  • removing users from the tree
  • restoring users to the tree
  • enable/disable dark mode in fullscreen mode
  • enable/disable logs
  • enable/disable inactive accounts
  • set max tile size
  • set distance from other tiles
  • enable/disable show photos of people
  • enable/disable show titles of people
  • change tile backgroundcolor + floating on-screen color picker
  • change color of the border of tiles belonging to the same supervisor
  • enable/disable clicking on the tile - takes you to the person's profile
  • node height slider
  • side panel with account info
  • fullscreen centering + preserved tree state

How to Install

Prerequisites

  • Download the latest .sppkg package from GitHub Releases

Deployment Steps

  1. Open SharePoint Admin CenterManage apps

    Manage apps in SharePoint Admin Center

  2. Upload the package

    • Click Upload

    • Select the .sppkg file downloaded in step 1

      Upload and verify app installation

  3. Deploy and approve permissions

    • Click Deploy
    • Approve API permissions when prompted (User.Read.All, Group.Read.All)
  4. Add web part to SharePoint page

    • Navigate to your SharePoint site

    • Edit a page and add the Org Chart web part

      Org Chart web part selection

  5. Configure the web part

    • Set Root user email (the manager whose hierarchy to display)

    • Configure additional options: photos, dark mode, compact view, etc.

    • Publish the page

      Web part configuration panel

Component Version

Version Release date Notes
1.1.0.0 2026-03-12 Side panel, node height slider, on-screen color picker, fullscreen centering, search improvements, bug fixes
1.0.0.0 2026-03-08 Initial release

License

MIT License

Contributors

MIT License
Created March 8, 2026
Updated March 11, 2026