      <li><input type='button' id='HieButton' value='Hierarchical layout'></li>
                    <li><input type='button' id='DagreButton' value='Default layout'></li>
                    <li><input type='button' id='FlatButton' value='Compact layout (random)'></li>
                </ul>
            </div>
        </div>
    </div>
    <div id="tools" class="panel panel-primary">
        <div class="panel-heading">Filter edges</div>
        <div class="panel-body">
            {% for t in edge_list|sort 