dabeng / OrgChart-Webcomponents

It's a simple and direct organization chart plugin. Anytime you want a tree-like chart, you can turn to OrgChart.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OrgChart becomes spoiled if a node has a long list of item in it

Corouna opened this issue · comments

As titled,

I tried to create a chart using this in React, so far it works great. Just one issue tho.

In my chart, i have 2 nodes which has a long list on it (say like 10 or more items inside the node). The chart will just display the whole list in one single line, and this will break the page.

Is there a way to limit the amount of items to display per line? Say like for example if i have a node that has 18 items, limit the amount of items per line to 6, so it will show as 3 lines for that nodes instead of one single line.