bumbeishvili / org-chart

Highly customizable org chart. Integrations available for Angular, React, Vue
https://stackblitz.com/edit/web-platform-o5t1ha
MIT License
927 stars 330 forks source link

Summary of existing issues: #243

Open bumbeishvili opened 1 year ago

bumbeishvili commented 1 year ago
n1crack commented 1 year ago

I need lazy loading and drag & drop features

I can implement drag & drop. But really need lazy loading.

bumbeishvili commented 1 year ago

I don't plan to add new features (except of what is in the dev branch - 3.0 version) in the near future.

There were some discussions around lazy loading here - https://github.com/bumbeishvili/org-chart/issues/147

It might help you to implement your own

n1crack commented 1 year ago

I missed 3.0 version. Gonna look at it.

I wonder how many nodes it can handle ?

bumbeishvili commented 1 year ago

It's not yet published. Basically, what is added are improved examples and a pagination feature, plan to fix some bugs before I publish it to the main branch, but it's usable to use it right now as it is

bumbeishvili commented 1 year ago

As for the nodes, if the whole tree is expanded, I was able to display 1800 nodes. If limited nodes are expanded, then it can handle tens of thousands of nodes (because they are not actually drawn)

n1crack commented 1 year ago

Ty for the info. btw new example page looks good. I'll add reset view button asap :)

If I can add this button below the node. Then the lazy loading is done :D Probably it wont need any code to the base.

<button
  onclick="chart.addNode({id:'child123',parentId:'100',name:'test',_centered:true}).render()"
>
  Add node to the root
</button>

but it doesn't matter for now. If it can handle 1800 nodes, this is perfect for me. (I think above that count, the user cant handle xD)

bumbeishvili commented 1 year ago

Yes, but please be aware, it will be very slow