wesnolte / jOrgChart

A jQuery plugin to draw tree-like structures such as OrgCharts.
992 stars 674 forks source link

Render list with multiple nodes on the first level #34

Open gdott9 opened 11 years ago

gdott9 commented 11 years ago

Hello,

Currently, only the first li of a list is displayed with jOrgChart. With this commit, every nodes from the first level will be drawn without a parent on the first line of the graph with a list like :

<ul>
  <li>First</li>
  <li>Second
    <ul>
      <li>Sublevel</li>
    </ul>
  </li>
</ul>
zephiransas commented 11 years ago

+1

bouhmid86 commented 8 years ago

HI , how can we show the nodes of third level contracated by default ? i have a big organization chart and i dont want the client to get all the nodes by default .

Thanks in advance