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
250 stars 85 forks source link

Slinks not working properly other than normal layout when draw lines from subtrees #838

Open ahwar123 opened 4 months ago

ahwar123 commented 4 months ago

I've encountered an issue with the functionality of Chart Slinks in the latest version. The problem arises when attempting to utilize Chart Slinks, as they are not working as expected. Specifically, when we draw line from subtree to parent node. this lines are not draw correctly. This issue is coming on all the layouts except normal layout.

image is for your reference

image

ZornitsaPesheva commented 4 months ago

Please isolate the issue in a code example: https://code.balkan.app/org-chart-js/simple-example#JS

ahwar123 commented 4 months ago

Kindly find sample code below. https://code.balkan.app/slinkdemo#JS

ZornitsaPesheva commented 4 months ago

Thank you. We will try to fix it soon.

ZornitsaPesheva commented 4 months ago

The issue is fixed. Please get the latest version.

ahwar123 commented 4 months ago

Thanks @ZornitsaPesheva for the quick update. Its fixed now.

ahwar123 commented 4 months ago

Hi @ZornitsaPesheva, Hope you are fine.

I am encountering an issue with the organizational chart. The chart operates flawlessly in the local environment, but it encounters an issue when deployed to the production environment. Specifically, the issue arises when handling a larger set of nodes (approximately more than 80 nodes). While the chart functions correctly with a smaller set of nodes, it gets stuck when dealing with a larger dataset.

Additionally, it appears that an API call in the production environment is being affected and becomes unresponsive under these conditions.

I have attached relevant screenshots for your reference to help illustrate the problem. Could you please provide guidance or suggest any troubleshooting steps to resolve this issue?

Thank you for your assistance.

Screenshot_3

Screenshot_4

ZornitsaPesheva commented 4 months ago

Please try to clear the browser cache (Ctrl+F5) and let me know if this fixes the issue.

ahwar123 commented 4 months ago

Yes, i already performed Hard refresh and clear cache of the browser page but still the same issue. The API request remains stuck in a pending state.

ZornitsaPesheva commented 4 months ago

Please give me the result of this: console.log(OrgChart.VERSION)

ahwar123 commented 4 months ago

8.14.40

ZornitsaPesheva commented 4 months ago

Please create a code example to isolate the issue in our Code app: https://code.balkan.app/org-chart-js/simple-example#JS