Add support for graph with multiple nodes on the first level

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>