Skip to content

feat: Organizational Chart#26261

Merged
nabinhait merged 45 commits intofrappe:version-13-hotfixfrom
ruchamahabal:org-chart
Aug 10, 2021
Merged

feat: Organizational Chart#26261
nabinhait merged 45 commits intofrappe:version-13-hotfixfrom
ruchamahabal:org-chart

Conversation

@ruchamahabal
Copy link
Copy Markdown
Member

@ruchamahabal ruchamahabal commented Jun 29, 2021

Organizational Charts

An organizational chart shows the organizational structure by depicting connections between different employees with their designation, image, and name. In large organizations where it's difficult to remember names, people can interact with the org chart and know the hierarchy through faces and other info. The Edit button navigates to the employee master.

Desktop View

Interactions:

org-chart.mp4

Expand All and Export

  1. Option to expand all the nodes. Interaction is disabled until you collapse all.
  2. Export to PNG
org-chart-export.mp4

Mobile View

image

Untitled 2

After clicking on sibling group:

node-group

Documentation PR: frappe/erpnext_documentation#364

ToDo

  • Optimise rendering
  • Handle multiple root nodes / orphan nodes
  • Expand all nodes
  • Export Chart
  • Tests
  • Documentation

@olamide2
Copy link
Copy Markdown

olamide2 commented Jul 4, 2021

This is Great

Will we be able to change relationship by using drag and drop from the chart ?

@ruchamahabal
Copy link
Copy Markdown
Member Author

This is Great

Will we be able to change relationship by using drag and drop from the chart ?

Thanks. No this is just for visualising the hierarchy based on the "reports to" field and not building the employee tree.

- optimise get_children function

- use promises instead of callbacks

- optimise selectors

- use const wherever possible

- use pure js instead of jquery for connectors for faster rendering
@ruchamahabal ruchamahabal force-pushed the org-chart branch 2 times, most recently from fa55853 to 377c50f Compare July 20, 2021 05:18
@ruchamahabal ruchamahabal marked this pull request as ready for review July 20, 2021 07:07
@aschl
Copy link
Copy Markdown

aschl commented Jul 24, 2021

Closes #4087 and #18819

@ruchamahabal ruchamahabal requested a review from nabinhait July 27, 2021 04:58
Comment thread .github/helper/install.sh
@nabinhait nabinhait merged commit f8031d3 into frappe:version-13-hotfix Aug 10, 2021
@ruchamahabal ruchamahabal mentioned this pull request Aug 10, 2021
6 tasks
@ankush ankush mentioned this pull request Aug 17, 2021
@frappe frappe locked as resolved and limited conversation to collaborators Mar 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants