BALKANGraph / OrgChartJS

OrgChart JS is a simple, flexible and highly customizable organization chart plugin for presenting the structure of your organization and the relationships in an elegant way.
https://balkan.app/orgchartjs
247 stars 84 forks source link

Org-Chart: Uncaught RangeError: Maximum call stack size exceeded #812

Closed I-sale7 closed 3 months ago

I-sale7 commented 7 months ago

Greetings,

During the implementation of 3000 nodes into the OrgChart library, we encountered an error:

Uncaught RangeError: Maximum call stack size exceeded

This issue is associated with the following method: OrgChart.local._getNodeHeight = function (node, config). The error manifests when attempting to connect numerous of nodes directly under a single root ID.

ZornitsaPesheva commented 7 months ago

Most probably the source of the issue is an infinity loop with the id's, where a node become also a sub child of itself, but to be sure we need you to create a code example here: https://code.balkan.app/org-chart-js/simple-example#JS

ZornitsaPesheva commented 3 months ago

I am closing this issue as inactive.